import { RestApiResponse, ConfigurationRestAPI } from '@binance/common';
export { BadRequestError, ConnectorClientError, ForbiddenError, MINING_REST_API_PROD_URL, MINING_REST_API_TESTNET_URL, NetworkError, NotFoundError, RateLimitBanError, RequiredError, ServerError, TooManyRequestsError, UnauthorizedError } from '@binance/common';

/**
 * Binance Public Mining REST API
 *
 * OpenAPI Specification for the Binance Public Mining REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface AccountListResponseDataInnerListInner
 */
interface AccountListResponseDataInnerListInner {
    /**
     *
     * @type {number}
     * @memberof AccountListResponseDataInnerListInner
     */
    time?: number;
    /**
     *
     * @type {string}
     * @memberof AccountListResponseDataInnerListInner
     */
    hashrate?: string;
    /**
     *
     * @type {string}
     * @memberof AccountListResponseDataInnerListInner
     */
    reject?: string;
}

/**
 * Binance Public Mining REST API
 *
 * OpenAPI Specification for the Binance Public Mining REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface AccountListResponseDataInner
 */
interface AccountListResponseDataInner {
    /**
     *
     * @type {string}
     * @memberof AccountListResponseDataInner
     */
    type?: string;
    /**
     *
     * @type {string}
     * @memberof AccountListResponseDataInner
     */
    userName?: string;
    /**
     *
     * @type {Array<AccountListResponseDataInnerListInner>}
     * @memberof AccountListResponseDataInner
     */
    list?: Array<AccountListResponseDataInnerListInner>;
}

/**
 * Binance Public Mining REST API
 *
 * OpenAPI Specification for the Binance Public Mining REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface AccountListResponse
 */
interface AccountListResponse {
    /**
     *
     * @type {number}
     * @memberof AccountListResponse
     */
    code?: number;
    /**
     *
     * @type {string}
     * @memberof AccountListResponse
     */
    msg?: string;
    /**
     *
     * @type {Array<AccountListResponseDataInner>}
     * @memberof AccountListResponse
     */
    data?: Array<AccountListResponseDataInner>;
}

/**
 * Binance Public Mining REST API
 *
 * OpenAPI Specification for the Binance Public Mining REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface AcquiringAlgorithmResponseDataInner
 */
interface AcquiringAlgorithmResponseDataInner {
    /**
     *
     * @type {string}
     * @memberof AcquiringAlgorithmResponseDataInner
     */
    algoName?: string;
    /**
     *
     * @type {number}
     * @memberof AcquiringAlgorithmResponseDataInner
     */
    algoId?: number;
    /**
     *
     * @type {number}
     * @memberof AcquiringAlgorithmResponseDataInner
     */
    poolIndex?: number;
    /**
     *
     * @type {string}
     * @memberof AcquiringAlgorithmResponseDataInner
     */
    unit?: string;
}

/**
 * Binance Public Mining REST API
 *
 * OpenAPI Specification for the Binance Public Mining REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface AcquiringAlgorithmResponse
 */
interface AcquiringAlgorithmResponse {
    /**
     *
     * @type {number}
     * @memberof AcquiringAlgorithmResponse
     */
    code?: number;
    /**
     *
     * @type {string}
     * @memberof AcquiringAlgorithmResponse
     */
    msg?: string;
    /**
     *
     * @type {Array<AcquiringAlgorithmResponseDataInner>}
     * @memberof AcquiringAlgorithmResponse
     */
    data?: Array<AcquiringAlgorithmResponseDataInner>;
}

/**
 * Binance Public Mining REST API
 *
 * OpenAPI Specification for the Binance Public Mining REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface AcquiringCoinnameResponseDataInner
 */
interface AcquiringCoinnameResponseDataInner {
    /**
     *
     * @type {string}
     * @memberof AcquiringCoinnameResponseDataInner
     */
    coinName?: string;
    /**
     *
     * @type {number}
     * @memberof AcquiringCoinnameResponseDataInner
     */
    coinId?: number;
    /**
     *
     * @type {number}
     * @memberof AcquiringCoinnameResponseDataInner
     */
    poolIndex?: number;
    /**
     *
     * @type {number}
     * @memberof AcquiringCoinnameResponseDataInner
     */
    algoId?: number;
    /**
     *
     * @type {string}
     * @memberof AcquiringCoinnameResponseDataInner
     */
    algoName?: string;
}

/**
 * Binance Public Mining REST API
 *
 * OpenAPI Specification for the Binance Public Mining REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface AcquiringCoinnameResponse
 */
interface AcquiringCoinnameResponse {
    /**
     *
     * @type {number}
     * @memberof AcquiringCoinnameResponse
     */
    code?: number;
    /**
     *
     * @type {string}
     * @memberof AcquiringCoinnameResponse
     */
    msg?: string;
    /**
     *
     * @type {Array<AcquiringCoinnameResponseDataInner>}
     * @memberof AcquiringCoinnameResponse
     */
    data?: Array<AcquiringCoinnameResponseDataInner>;
}

/**
 * Binance Public Mining REST API
 *
 * OpenAPI Specification for the Binance Public Mining REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface BadRequest
 */
interface BadRequest {
    /**
     *
     * @type {number}
     * @memberof BadRequest
     */
    code: number;
    /**
     *
     * @type {string}
     * @memberof BadRequest
     */
    message: string;
}

/**
 * Binance Public Mining REST API
 *
 * OpenAPI Specification for the Binance Public Mining REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface CancelHashrateResaleConfigurationResponse
 */
interface CancelHashrateResaleConfigurationResponse {
    /**
     *
     * @type {number}
     * @memberof CancelHashrateResaleConfigurationResponse
     */
    code?: number;
    /**
     *
     * @type {string}
     * @memberof CancelHashrateResaleConfigurationResponse
     */
    msg?: string;
    /**
     *
     * @type {boolean}
     * @memberof CancelHashrateResaleConfigurationResponse
     */
    data?: boolean;
}

/**
 * Binance Public Mining REST API
 *
 * OpenAPI Specification for the Binance Public Mining REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface EarningsListResponseDataAccountProfitsInner
 */
interface EarningsListResponseDataAccountProfitsInner {
    /**
     *
     * @type {number}
     * @memberof EarningsListResponseDataAccountProfitsInner
     */
    time?: number;
    /**
     *
     * @type {number}
     * @memberof EarningsListResponseDataAccountProfitsInner
     */
    type?: number;
    /**
     *
     * @type {number}
     * @memberof EarningsListResponseDataAccountProfitsInner
     */
    hashTransfer?: number;
    /**
     *
     * @type {number}
     * @memberof EarningsListResponseDataAccountProfitsInner
     */
    transferAmount?: number;
    /**
     *
     * @type {number}
     * @memberof EarningsListResponseDataAccountProfitsInner
     */
    dayHashRate?: number;
    /**
     *
     * @type {number}
     * @memberof EarningsListResponseDataAccountProfitsInner
     */
    profitAmount?: number;
    /**
     *
     * @type {string}
     * @memberof EarningsListResponseDataAccountProfitsInner
     */
    coinName?: string;
    /**
     *
     * @type {number}
     * @memberof EarningsListResponseDataAccountProfitsInner
     */
    status?: number;
}

/**
 * Binance Public Mining REST API
 *
 * OpenAPI Specification for the Binance Public Mining REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface EarningsListResponseData
 */
interface EarningsListResponseData {
    /**
     *
     * @type {Array<EarningsListResponseDataAccountProfitsInner>}
     * @memberof EarningsListResponseData
     */
    accountProfits?: Array<EarningsListResponseDataAccountProfitsInner>;
    /**
     *
     * @type {number}
     * @memberof EarningsListResponseData
     */
    totalNum?: number;
    /**
     *
     * @type {number}
     * @memberof EarningsListResponseData
     */
    pageSize?: number;
}

/**
 * Binance Public Mining REST API
 *
 * OpenAPI Specification for the Binance Public Mining REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface EarningsListResponse
 */
interface EarningsListResponse {
    /**
     *
     * @type {number}
     * @memberof EarningsListResponse
     */
    code?: number;
    /**
     *
     * @type {string}
     * @memberof EarningsListResponse
     */
    msg?: string;
    /**
     *
     * @type {EarningsListResponseData}
     * @memberof EarningsListResponse
     */
    data?: EarningsListResponseData;
}

/**
 * Binance Public Mining REST API
 *
 * OpenAPI Specification for the Binance Public Mining REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface ExtraBonusListResponseDataOtherProfitsInner
 */
interface ExtraBonusListResponseDataOtherProfitsInner {
    /**
     *
     * @type {number}
     * @memberof ExtraBonusListResponseDataOtherProfitsInner
     */
    time?: number;
    /**
     *
     * @type {string}
     * @memberof ExtraBonusListResponseDataOtherProfitsInner
     */
    coinName?: string;
    /**
     *
     * @type {number}
     * @memberof ExtraBonusListResponseDataOtherProfitsInner
     */
    type?: number;
    /**
     *
     * @type {number}
     * @memberof ExtraBonusListResponseDataOtherProfitsInner
     */
    profitAmount?: number;
    /**
     *
     * @type {number}
     * @memberof ExtraBonusListResponseDataOtherProfitsInner
     */
    status?: number;
}

/**
 * Binance Public Mining REST API
 *
 * OpenAPI Specification for the Binance Public Mining REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface ExtraBonusListResponseData
 */
interface ExtraBonusListResponseData {
    /**
     *
     * @type {Array<ExtraBonusListResponseDataOtherProfitsInner>}
     * @memberof ExtraBonusListResponseData
     */
    otherProfits?: Array<ExtraBonusListResponseDataOtherProfitsInner>;
    /**
     *
     * @type {number}
     * @memberof ExtraBonusListResponseData
     */
    totalNum?: number;
    /**
     *
     * @type {number}
     * @memberof ExtraBonusListResponseData
     */
    pageSize?: number;
}

/**
 * Binance Public Mining REST API
 *
 * OpenAPI Specification for the Binance Public Mining REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface ExtraBonusListResponse
 */
interface ExtraBonusListResponse {
    /**
     *
     * @type {number}
     * @memberof ExtraBonusListResponse
     */
    code?: number;
    /**
     *
     * @type {string}
     * @memberof ExtraBonusListResponse
     */
    msg?: string;
    /**
     *
     * @type {ExtraBonusListResponseData}
     * @memberof ExtraBonusListResponse
     */
    data?: ExtraBonusListResponseData;
}

/**
 * Binance Public Mining REST API
 *
 * OpenAPI Specification for the Binance Public Mining REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface HashrateResaleDetailResponseDataProfitTransferDetailsInner
 */
interface HashrateResaleDetailResponseDataProfitTransferDetailsInner {
    /**
     *
     * @type {string}
     * @memberof HashrateResaleDetailResponseDataProfitTransferDetailsInner
     */
    poolUsername?: string;
    /**
     *
     * @type {string}
     * @memberof HashrateResaleDetailResponseDataProfitTransferDetailsInner
     */
    toPoolUsername?: string;
    /**
     *
     * @type {string}
     * @memberof HashrateResaleDetailResponseDataProfitTransferDetailsInner
     */
    algoName?: string;
    /**
     *
     * @type {number}
     * @memberof HashrateResaleDetailResponseDataProfitTransferDetailsInner
     */
    hashRate?: number;
    /**
     *
     * @type {number}
     * @memberof HashrateResaleDetailResponseDataProfitTransferDetailsInner
     */
    day?: number;
    /**
     *
     * @type {number}
     * @memberof HashrateResaleDetailResponseDataProfitTransferDetailsInner
     */
    amount?: number;
    /**
     *
     * @type {string}
     * @memberof HashrateResaleDetailResponseDataProfitTransferDetailsInner
     */
    coinName?: string;
}

/**
 * Binance Public Mining REST API
 *
 * OpenAPI Specification for the Binance Public Mining REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface HashrateResaleDetailResponseData
 */
interface HashrateResaleDetailResponseData {
    /**
     *
     * @type {Array<HashrateResaleDetailResponseDataProfitTransferDetailsInner>}
     * @memberof HashrateResaleDetailResponseData
     */
    profitTransferDetails?: Array<HashrateResaleDetailResponseDataProfitTransferDetailsInner>;
    /**
     *
     * @type {number}
     * @memberof HashrateResaleDetailResponseData
     */
    totalNum?: number;
    /**
     *
     * @type {number}
     * @memberof HashrateResaleDetailResponseData
     */
    pageSize?: number;
}

/**
 * Binance Public Mining REST API
 *
 * OpenAPI Specification for the Binance Public Mining REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface HashrateResaleDetailResponse
 */
interface HashrateResaleDetailResponse {
    /**
     *
     * @type {number}
     * @memberof HashrateResaleDetailResponse
     */
    code?: number;
    /**
     *
     * @type {string}
     * @memberof HashrateResaleDetailResponse
     */
    msg?: string;
    /**
     *
     * @type {HashrateResaleDetailResponseData}
     * @memberof HashrateResaleDetailResponse
     */
    data?: HashrateResaleDetailResponseData;
}

/**
 * Binance Public Mining REST API
 *
 * OpenAPI Specification for the Binance Public Mining REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface HashrateResaleListResponseDataConfigDetailsInner
 */
interface HashrateResaleListResponseDataConfigDetailsInner {
    /**
     *
     * @type {number}
     * @memberof HashrateResaleListResponseDataConfigDetailsInner
     */
    configId?: number;
    /**
     *
     * @type {string}
     * @memberof HashrateResaleListResponseDataConfigDetailsInner
     */
    poolUsername?: string;
    /**
     *
     * @type {string}
     * @memberof HashrateResaleListResponseDataConfigDetailsInner
     */
    toPoolUsername?: string;
    /**
     *
     * @type {string}
     * @memberof HashrateResaleListResponseDataConfigDetailsInner
     */
    algoName?: string;
    /**
     *
     * @type {number}
     * @memberof HashrateResaleListResponseDataConfigDetailsInner
     */
    hashRate?: number;
    /**
     *
     * @type {number}
     * @memberof HashrateResaleListResponseDataConfigDetailsInner
     */
    startDay?: number;
    /**
     *
     * @type {number}
     * @memberof HashrateResaleListResponseDataConfigDetailsInner
     */
    endDay?: number;
    /**
     *
     * @type {number}
     * @memberof HashrateResaleListResponseDataConfigDetailsInner
     */
    status?: number;
}

/**
 * Binance Public Mining REST API
 *
 * OpenAPI Specification for the Binance Public Mining REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface HashrateResaleListResponseData
 */
interface HashrateResaleListResponseData {
    /**
     *
     * @type {Array<HashrateResaleListResponseDataConfigDetailsInner>}
     * @memberof HashrateResaleListResponseData
     */
    configDetails?: Array<HashrateResaleListResponseDataConfigDetailsInner>;
    /**
     *
     * @type {number}
     * @memberof HashrateResaleListResponseData
     */
    totalNum?: number;
    /**
     *
     * @type {number}
     * @memberof HashrateResaleListResponseData
     */
    pageSize?: number;
}

/**
 * Binance Public Mining REST API
 *
 * OpenAPI Specification for the Binance Public Mining REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface HashrateResaleListResponse
 */
interface HashrateResaleListResponse {
    /**
     *
     * @type {number}
     * @memberof HashrateResaleListResponse
     */
    code?: number;
    /**
     *
     * @type {string}
     * @memberof HashrateResaleListResponse
     */
    msg?: string;
    /**
     *
     * @type {HashrateResaleListResponseData}
     * @memberof HashrateResaleListResponse
     */
    data?: HashrateResaleListResponseData;
}

/**
 * Binance Public Mining REST API
 *
 * OpenAPI Specification for the Binance Public Mining REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface HashrateResaleRequestResponse
 */
interface HashrateResaleRequestResponse {
    /**
     *
     * @type {number}
     * @memberof HashrateResaleRequestResponse
     */
    code?: number;
    /**
     *
     * @type {string}
     * @memberof HashrateResaleRequestResponse
     */
    msg?: string;
    /**
     *
     * @type {number}
     * @memberof HashrateResaleRequestResponse
     */
    data?: number;
}

/**
 * Binance Public Mining REST API
 *
 * OpenAPI Specification for the Binance Public Mining REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface MiningAccountEarningResponseDataAccountProfitsInner
 */
interface MiningAccountEarningResponseDataAccountProfitsInner {
    /**
     *
     * @type {number}
     * @memberof MiningAccountEarningResponseDataAccountProfitsInner
     */
    time?: number;
    /**
     *
     * @type {string}
     * @memberof MiningAccountEarningResponseDataAccountProfitsInner
     */
    coinName?: string;
    /**
     *
     * @type {number}
     * @memberof MiningAccountEarningResponseDataAccountProfitsInner
     */
    type?: number;
    /**
     *
     * @type {number}
     * @memberof MiningAccountEarningResponseDataAccountProfitsInner
     */
    puid?: number;
    /**
     *
     * @type {string}
     * @memberof MiningAccountEarningResponseDataAccountProfitsInner
     */
    subName?: string;
    /**
     *
     * @type {number}
     * @memberof MiningAccountEarningResponseDataAccountProfitsInner
     */
    amount?: number;
}

/**
 * Binance Public Mining REST API
 *
 * OpenAPI Specification for the Binance Public Mining REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface MiningAccountEarningResponseData
 */
interface MiningAccountEarningResponseData {
    /**
     *
     * @type {Array<MiningAccountEarningResponseDataAccountProfitsInner>}
     * @memberof MiningAccountEarningResponseData
     */
    accountProfits?: Array<MiningAccountEarningResponseDataAccountProfitsInner>;
    /**
     *
     * @type {number}
     * @memberof MiningAccountEarningResponseData
     */
    totalNum?: number;
    /**
     *
     * @type {number}
     * @memberof MiningAccountEarningResponseData
     */
    pageSize?: number;
}

/**
 * Binance Public Mining REST API
 *
 * OpenAPI Specification for the Binance Public Mining REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface MiningAccountEarningResponse
 */
interface MiningAccountEarningResponse {
    /**
     *
     * @type {number}
     * @memberof MiningAccountEarningResponse
     */
    code?: number;
    /**
     *
     * @type {string}
     * @memberof MiningAccountEarningResponse
     */
    msg?: string;
    /**
     *
     * @type {MiningAccountEarningResponseData}
     * @memberof MiningAccountEarningResponse
     */
    data?: MiningAccountEarningResponseData;
}

/**
 * Binance Public Mining REST API
 *
 * OpenAPI Specification for the Binance Public Mining REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface RequestForDetailMinerListResponseDataInnerHashrateDatasInner
 */
interface RequestForDetailMinerListResponseDataInnerHashrateDatasInner {
    /**
     *
     * @type {number}
     * @memberof RequestForDetailMinerListResponseDataInnerHashrateDatasInner
     */
    time?: number;
    /**
     *
     * @type {string}
     * @memberof RequestForDetailMinerListResponseDataInnerHashrateDatasInner
     */
    hashrate?: string;
    /**
     *
     * @type {number}
     * @memberof RequestForDetailMinerListResponseDataInnerHashrateDatasInner
     */
    reject?: number;
}

/**
 * Binance Public Mining REST API
 *
 * OpenAPI Specification for the Binance Public Mining REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface RequestForDetailMinerListResponseDataInner
 */
interface RequestForDetailMinerListResponseDataInner {
    /**
     *
     * @type {string}
     * @memberof RequestForDetailMinerListResponseDataInner
     */
    workerName?: string;
    /**
     *
     * @type {string}
     * @memberof RequestForDetailMinerListResponseDataInner
     */
    type?: string;
    /**
     *
     * @type {Array<RequestForDetailMinerListResponseDataInnerHashrateDatasInner>}
     * @memberof RequestForDetailMinerListResponseDataInner
     */
    hashrateDatas?: Array<RequestForDetailMinerListResponseDataInnerHashrateDatasInner>;
}

/**
 * Binance Public Mining REST API
 *
 * OpenAPI Specification for the Binance Public Mining REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface RequestForDetailMinerListResponse
 */
interface RequestForDetailMinerListResponse {
    /**
     *
     * @type {number}
     * @memberof RequestForDetailMinerListResponse
     */
    code?: number;
    /**
     *
     * @type {string}
     * @memberof RequestForDetailMinerListResponse
     */
    msg?: string;
    /**
     *
     * @type {Array<RequestForDetailMinerListResponseDataInner>}
     * @memberof RequestForDetailMinerListResponse
     */
    data?: Array<RequestForDetailMinerListResponseDataInner>;
}

/**
 * Binance Public Mining REST API
 *
 * OpenAPI Specification for the Binance Public Mining REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface RequestForMinerListResponseDataWorkerDatasInner
 */
interface RequestForMinerListResponseDataWorkerDatasInner {
    /**
     *
     * @type {string}
     * @memberof RequestForMinerListResponseDataWorkerDatasInner
     */
    workerId?: string;
    /**
     *
     * @type {string}
     * @memberof RequestForMinerListResponseDataWorkerDatasInner
     */
    workerName?: string;
    /**
     *
     * @type {number}
     * @memberof RequestForMinerListResponseDataWorkerDatasInner
     */
    status?: number;
    /**
     *
     * @type {number}
     * @memberof RequestForMinerListResponseDataWorkerDatasInner
     */
    hashRate?: number;
    /**
     *
     * @type {number}
     * @memberof RequestForMinerListResponseDataWorkerDatasInner
     */
    dayHashRate?: number;
    /**
     *
     * @type {number}
     * @memberof RequestForMinerListResponseDataWorkerDatasInner
     */
    rejectRate?: number;
    /**
     *
     * @type {number}
     * @memberof RequestForMinerListResponseDataWorkerDatasInner
     */
    lastShareTime?: number;
}

/**
 * Binance Public Mining REST API
 *
 * OpenAPI Specification for the Binance Public Mining REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface RequestForMinerListResponseData
 */
interface RequestForMinerListResponseData {
    /**
     *
     * @type {Array<RequestForMinerListResponseDataWorkerDatasInner>}
     * @memberof RequestForMinerListResponseData
     */
    workerDatas?: Array<RequestForMinerListResponseDataWorkerDatasInner>;
    /**
     *
     * @type {number}
     * @memberof RequestForMinerListResponseData
     */
    totalNum?: number;
    /**
     *
     * @type {number}
     * @memberof RequestForMinerListResponseData
     */
    pageSize?: number;
}

/**
 * Binance Public Mining REST API
 *
 * OpenAPI Specification for the Binance Public Mining REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface RequestForMinerListResponse
 */
interface RequestForMinerListResponse {
    /**
     *
     * @type {number}
     * @memberof RequestForMinerListResponse
     */
    code?: number;
    /**
     *
     * @type {string}
     * @memberof RequestForMinerListResponse
     */
    msg?: string;
    /**
     *
     * @type {RequestForMinerListResponseData}
     * @memberof RequestForMinerListResponse
     */
    data?: RequestForMinerListResponseData;
}

/**
 * Binance Public Mining REST API
 *
 * OpenAPI Specification for the Binance Public Mining REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface StatisticListResponseDataProfitToday
 */
interface StatisticListResponseDataProfitToday {
    /**
     *
     * @type {string}
     * @memberof StatisticListResponseDataProfitToday
     */
    BTC?: string;
    /**
     *
     * @type {string}
     * @memberof StatisticListResponseDataProfitToday
     */
    BSV?: string;
    /**
     *
     * @type {string}
     * @memberof StatisticListResponseDataProfitToday
     */
    BCH?: string;
}

/**
 * Binance Public Mining REST API
 *
 * OpenAPI Specification for the Binance Public Mining REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface StatisticListResponseData
 */
interface StatisticListResponseData {
    /**
     *
     * @type {string}
     * @memberof StatisticListResponseData
     */
    fifteenMinHashRate?: string;
    /**
     *
     * @type {string}
     * @memberof StatisticListResponseData
     */
    dayHashRate?: string;
    /**
     *
     * @type {number}
     * @memberof StatisticListResponseData
     */
    validNum?: number;
    /**
     *
     * @type {number}
     * @memberof StatisticListResponseData
     */
    invalidNum?: number;
    /**
     *
     * @type {StatisticListResponseDataProfitToday}
     * @memberof StatisticListResponseData
     */
    profitToday?: StatisticListResponseDataProfitToday;
    /**
     *
     * @type {StatisticListResponseDataProfitToday}
     * @memberof StatisticListResponseData
     */
    profitYesterday?: StatisticListResponseDataProfitToday;
    /**
     *
     * @type {string}
     * @memberof StatisticListResponseData
     */
    userName?: string;
    /**
     *
     * @type {string}
     * @memberof StatisticListResponseData
     */
    unit?: string;
    /**
     *
     * @type {string}
     * @memberof StatisticListResponseData
     */
    algo?: string;
}

/**
 * Binance Public Mining REST API
 *
 * OpenAPI Specification for the Binance Public Mining REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface StatisticListResponse
 */
interface StatisticListResponse {
    /**
     *
     * @type {number}
     * @memberof StatisticListResponse
     */
    code?: number;
    /**
     *
     * @type {string}
     * @memberof StatisticListResponse
     */
    msg?: string;
    /**
     *
     * @type {StatisticListResponseData}
     * @memberof StatisticListResponse
     */
    data?: StatisticListResponseData;
}

/**
 * Binance Public Mining REST API
 *
 * OpenAPI Specification for the Binance Public Mining REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 * MiningApi - interface
 * @interface MiningApi
 */
interface MiningApiInterface {
    /**
     * Query Account List
     *
     * Weight: 5
     *
     * @summary Account List(USER_DATA)
     * @param {AccountListRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MiningApiInterface
     */
    accountList(requestParameters: AccountListRequest): Promise<RestApiResponse<AccountListResponse>>;
    /**
     * Acquiring Algorithm
     *
     * Weight: 1
     *
     * @summary Acquiring Algorithm(MARKET_DATA)
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MiningApiInterface
     */
    acquiringAlgorithm(): Promise<RestApiResponse<AcquiringAlgorithmResponse>>;
    /**
     * Acquiring CoinName
     *
     * Weight: 1
     *
     * @summary Acquiring CoinName(MARKET_DATA)
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MiningApiInterface
     */
    acquiringCoinname(): Promise<RestApiResponse<AcquiringCoinnameResponse>>;
    /**
     *
     * Weight: 5
     *
     * @summary Cancel hashrate resale configuration(USER_DATA)
     * @param {CancelHashrateResaleConfigurationRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MiningApiInterface
     */
    cancelHashrateResaleConfiguration(requestParameters: CancelHashrateResaleConfigurationRequest): Promise<RestApiResponse<CancelHashrateResaleConfigurationResponse>>;
    /**
     * Query Earnings List
     *
     * Weight: 5
     *
     * @summary Earnings List(USER_DATA)
     * @param {EarningsListRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MiningApiInterface
     */
    earningsList(requestParameters: EarningsListRequest): Promise<RestApiResponse<EarningsListResponse>>;
    /**
     * Extra Bonus List
     *
     * Weight: 5
     *
     * @summary Extra Bonus List(USER_DATA)
     * @param {ExtraBonusListRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MiningApiInterface
     */
    extraBonusList(requestParameters: ExtraBonusListRequest): Promise<RestApiResponse<ExtraBonusListResponse>>;
    /**
     * Hashrate Resale Detail(USER_DATA)
     *
     * Weight: 5
     *
     * @summary Hashrate Resale Detail(USER_DATA)
     * @param {HashrateResaleDetailRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MiningApiInterface
     */
    hashrateResaleDetail(requestParameters: HashrateResaleDetailRequest): Promise<RestApiResponse<HashrateResaleDetailResponse>>;
    /**
     * Hashrate Resale List
     *
     * Weight: 5
     *
     * @summary Hashrate Resale List
     * @param {HashrateResaleListRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MiningApiInterface
     */
    hashrateResaleList(requestParameters?: HashrateResaleListRequest): Promise<RestApiResponse<HashrateResaleListResponse>>;
    /**
     * Hashrate Resale Request
     *
     * Weight: 5
     *
     * @summary Hashrate Resale Request(USER_DATA)
     * @param {HashrateResaleRequestRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MiningApiInterface
     */
    hashrateResaleRequest(requestParameters: HashrateResaleRequestRequest): Promise<RestApiResponse<HashrateResaleRequestResponse>>;
    /**
     * Mining Account Earning
     *
     * Weight: 5
     *
     * @summary Mining Account Earning(USER_DATA)
     * @param {MiningAccountEarningRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MiningApiInterface
     */
    miningAccountEarning(requestParameters: MiningAccountEarningRequest): Promise<RestApiResponse<MiningAccountEarningResponse>>;
    /**
     * Request for Detail Miner List
     *
     * Weight: 5
     *
     * @summary Request for Detail Miner List(USER_DATA)
     * @param {RequestForDetailMinerListRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MiningApiInterface
     */
    requestForDetailMinerList(requestParameters: RequestForDetailMinerListRequest): Promise<RestApiResponse<RequestForDetailMinerListResponse>>;
    /**
     * Request for Miner List
     *
     * Weight: 5
     *
     * @summary Request for Miner List(USER_DATA)
     * @param {RequestForMinerListRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MiningApiInterface
     */
    requestForMinerList(requestParameters: RequestForMinerListRequest): Promise<RestApiResponse<RequestForMinerListResponse>>;
    /**
     * Statistic List
     *
     * Weight: 5
     *
     * @summary Statistic List(USER_DATA)
     * @param {StatisticListRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MiningApiInterface
     */
    statisticList(requestParameters: StatisticListRequest): Promise<RestApiResponse<StatisticListResponse>>;
}
/**
 * Request parameters for accountList operation in MiningApi.
 * @interface AccountListRequest
 */
interface AccountListRequest {
    /**
     * Algorithm(sha256) sha256
     * @type {string}
     * @memberof MiningApiAccountList
     */
    readonly algo: string;
    /**
     * Mining account test
     * @type {string}
     * @memberof MiningApiAccountList
     */
    readonly userName: string;
    /**
     *
     * @type {number}
     * @memberof MiningApiAccountList
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for cancelHashrateResaleConfiguration operation in MiningApi.
 * @interface CancelHashrateResaleConfigurationRequest
 */
interface CancelHashrateResaleConfigurationRequest {
    /**
     * Mining ID 168
     * @type {number}
     * @memberof MiningApiCancelHashrateResaleConfiguration
     */
    readonly configId: number;
    /**
     * Mining account test
     * @type {string}
     * @memberof MiningApiCancelHashrateResaleConfiguration
     */
    readonly userName: string;
    /**
     *
     * @type {number}
     * @memberof MiningApiCancelHashrateResaleConfiguration
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for earningsList operation in MiningApi.
 * @interface EarningsListRequest
 */
interface EarningsListRequest {
    /**
     * Algorithm(sha256) sha256
     * @type {string}
     * @memberof MiningApiEarningsList
     */
    readonly algo: string;
    /**
     * Mining account test
     * @type {string}
     * @memberof MiningApiEarningsList
     */
    readonly userName: string;
    /**
     * Coin Name
     * @type {string}
     * @memberof MiningApiEarningsList
     */
    readonly coin?: string;
    /**
     * Millisecond timestamp
     * @type {number}
     * @memberof MiningApiEarningsList
     */
    readonly startDate?: number;
    /**
     * Millisecond timestamp
     * @type {number}
     * @memberof MiningApiEarningsList
     */
    readonly endDate?: number;
    /**
     * Page number, empty default first page, starting from 1
     * @type {number}
     * @memberof MiningApiEarningsList
     */
    readonly pageIndex?: number;
    /**
     * Min 10,Max 200
     * @type {number}
     * @memberof MiningApiEarningsList
     */
    readonly pageSize?: number;
    /**
     *
     * @type {number}
     * @memberof MiningApiEarningsList
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for extraBonusList operation in MiningApi.
 * @interface ExtraBonusListRequest
 */
interface ExtraBonusListRequest {
    /**
     * Algorithm(sha256) sha256
     * @type {string}
     * @memberof MiningApiExtraBonusList
     */
    readonly algo: string;
    /**
     * Mining account test
     * @type {string}
     * @memberof MiningApiExtraBonusList
     */
    readonly userName: string;
    /**
     * Coin Name
     * @type {string}
     * @memberof MiningApiExtraBonusList
     */
    readonly coin?: string;
    /**
     * Millisecond timestamp
     * @type {number}
     * @memberof MiningApiExtraBonusList
     */
    readonly startDate?: number;
    /**
     * Millisecond timestamp
     * @type {number}
     * @memberof MiningApiExtraBonusList
     */
    readonly endDate?: number;
    /**
     * Page number, empty default first page, starting from 1
     * @type {number}
     * @memberof MiningApiExtraBonusList
     */
    readonly pageIndex?: number;
    /**
     * Min 10,Max 200
     * @type {number}
     * @memberof MiningApiExtraBonusList
     */
    readonly pageSize?: number;
    /**
     *
     * @type {number}
     * @memberof MiningApiExtraBonusList
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for hashrateResaleDetail operation in MiningApi.
 * @interface HashrateResaleDetailRequest
 */
interface HashrateResaleDetailRequest {
    /**
     * Mining ID 168
     * @type {number}
     * @memberof MiningApiHashrateResaleDetail
     */
    readonly configId: number;
    /**
     * Mining account test
     * @type {string}
     * @memberof MiningApiHashrateResaleDetail
     */
    readonly userName: string;
    /**
     * Page number, empty default first page, starting from 1
     * @type {number}
     * @memberof MiningApiHashrateResaleDetail
     */
    readonly pageIndex?: number;
    /**
     * Min 10,Max 200
     * @type {number}
     * @memberof MiningApiHashrateResaleDetail
     */
    readonly pageSize?: number;
    /**
     *
     * @type {number}
     * @memberof MiningApiHashrateResaleDetail
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for hashrateResaleList operation in MiningApi.
 * @interface HashrateResaleListRequest
 */
interface HashrateResaleListRequest {
    /**
     * Page number, empty default first page, starting from 1
     * @type {number}
     * @memberof MiningApiHashrateResaleList
     */
    readonly pageIndex?: number;
    /**
     * Min 10,Max 200
     * @type {number}
     * @memberof MiningApiHashrateResaleList
     */
    readonly pageSize?: number;
    /**
     *
     * @type {number}
     * @memberof MiningApiHashrateResaleList
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for hashrateResaleRequest operation in MiningApi.
 * @interface HashrateResaleRequestRequest
 */
interface HashrateResaleRequestRequest {
    /**
     * Mining account test
     * @type {string}
     * @memberof MiningApiHashrateResaleRequest
     */
    readonly userName: string;
    /**
     * Algorithm(sha256) sha256
     * @type {string}
     * @memberof MiningApiHashrateResaleRequest
     */
    readonly algo: string;
    /**
     * Resale End Time (Millisecond timestamp) 1617659086000
     * @type {number}
     * @memberof MiningApiHashrateResaleRequest
     */
    readonly endDate: number;
    /**
     * Resale Start Time(Millisecond timestamp) 1607659086000
     * @type {number}
     * @memberof MiningApiHashrateResaleRequest
     */
    readonly startDate: number;
    /**
     * Mining Account S19pro
     * @type {string}
     * @memberof MiningApiHashrateResaleRequest
     */
    readonly toPoolUser: string;
    /**
     * Resale hashrate h/s must be transferred (BTC is greater than 500000000000 ETH is greater than 500000) 100000000
     * @type {number}
     * @memberof MiningApiHashrateResaleRequest
     */
    readonly hashRate: number;
    /**
     *
     * @type {number}
     * @memberof MiningApiHashrateResaleRequest
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for miningAccountEarning operation in MiningApi.
 * @interface MiningAccountEarningRequest
 */
interface MiningAccountEarningRequest {
    /**
     * Algorithm(sha256) sha256
     * @type {string}
     * @memberof MiningApiMiningAccountEarning
     */
    readonly algo: string;
    /**
     * Millisecond timestamp
     * @type {number}
     * @memberof MiningApiMiningAccountEarning
     */
    readonly startDate?: number;
    /**
     * Millisecond timestamp
     * @type {number}
     * @memberof MiningApiMiningAccountEarning
     */
    readonly endDate?: number;
    /**
     * Page number, empty default first page, starting from 1
     * @type {number}
     * @memberof MiningApiMiningAccountEarning
     */
    readonly pageIndex?: number;
    /**
     * Min 10,Max 200
     * @type {number}
     * @memberof MiningApiMiningAccountEarning
     */
    readonly pageSize?: number;
    /**
     *
     * @type {number}
     * @memberof MiningApiMiningAccountEarning
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for requestForDetailMinerList operation in MiningApi.
 * @interface RequestForDetailMinerListRequest
 */
interface RequestForDetailMinerListRequest {
    /**
     * Algorithm(sha256) sha256
     * @type {string}
     * @memberof MiningApiRequestForDetailMinerList
     */
    readonly algo: string;
    /**
     * Mining account test
     * @type {string}
     * @memberof MiningApiRequestForDetailMinerList
     */
    readonly userName: string;
    /**
     * Miner’s name(required) bhdc1.16A10404B
     * @type {string}
     * @memberof MiningApiRequestForDetailMinerList
     */
    readonly workerName: string;
    /**
     *
     * @type {number}
     * @memberof MiningApiRequestForDetailMinerList
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for requestForMinerList operation in MiningApi.
 * @interface RequestForMinerListRequest
 */
interface RequestForMinerListRequest {
    /**
     * Algorithm(sha256) sha256
     * @type {string}
     * @memberof MiningApiRequestForMinerList
     */
    readonly algo: string;
    /**
     * Mining account test
     * @type {string}
     * @memberof MiningApiRequestForMinerList
     */
    readonly userName: string;
    /**
     * Page number, empty default first page, starting from 1
     * @type {number}
     * @memberof MiningApiRequestForMinerList
     */
    readonly pageIndex?: number;
    /**
     * sort sequence(default=0)0 positive sequence，1 negative sequence
     * @type {number}
     * @memberof MiningApiRequestForMinerList
     */
    readonly sort?: number;
    /**
     * Sort by( default 1): <br></br>1: miner name, <br></br>2: real-time computing power, <br></br>3: daily average computing power, <br></br>4: real-time rejection rate, <br></br>5: last submission time
     * @type {number}
     * @memberof MiningApiRequestForMinerList
     */
    readonly sortColumn?: number;
    /**
     * miners status(default=0),0 all，1 valid，2 invalid，3 failure
     * @type {number}
     * @memberof MiningApiRequestForMinerList
     */
    readonly workerStatus?: number;
    /**
     *
     * @type {number}
     * @memberof MiningApiRequestForMinerList
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for statisticList operation in MiningApi.
 * @interface StatisticListRequest
 */
interface StatisticListRequest {
    /**
     * Algorithm(sha256) sha256
     * @type {string}
     * @memberof MiningApiStatisticList
     */
    readonly algo: string;
    /**
     * Mining account test
     * @type {string}
     * @memberof MiningApiStatisticList
     */
    readonly userName: string;
    /**
     *
     * @type {number}
     * @memberof MiningApiStatisticList
     */
    readonly recvWindow?: number;
}
/**
 * MiningApi - object-oriented interface
 * @class MiningApi
 */
declare class MiningApi implements MiningApiInterface {
    private readonly configuration;
    private localVarAxiosParamCreator;
    constructor(configuration: ConfigurationRestAPI);
    /**
     * Query Account List
     *
     * Weight: 5
     *
     * @summary Account List(USER_DATA)
     * @param {AccountListRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<AccountListResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MiningApi
     * @see {@link https://developers.binance.com/docs/mining/rest-api/Account-List Binance API Documentation}
     */
    accountList(requestParameters: AccountListRequest): Promise<RestApiResponse<AccountListResponse>>;
    /**
     * Acquiring Algorithm
     *
     * Weight: 1
     *
     * @summary Acquiring Algorithm(MARKET_DATA)
     * @returns {Promise<RestApiResponse<AcquiringAlgorithmResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MiningApi
     * @see {@link https://developers.binance.com/docs/mining/rest-api/Acquiring-Algorithm Binance API Documentation}
     */
    acquiringAlgorithm(): Promise<RestApiResponse<AcquiringAlgorithmResponse>>;
    /**
     * Acquiring CoinName
     *
     * Weight: 1
     *
     * @summary Acquiring CoinName(MARKET_DATA)
     * @returns {Promise<RestApiResponse<AcquiringCoinnameResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MiningApi
     * @see {@link https://developers.binance.com/docs/mining/rest-api/Acquiring-CoinName Binance API Documentation}
     */
    acquiringCoinname(): Promise<RestApiResponse<AcquiringCoinnameResponse>>;
    /**
     *
     * Weight: 5
     *
     * @summary Cancel hashrate resale configuration(USER_DATA)
     * @param {CancelHashrateResaleConfigurationRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<CancelHashrateResaleConfigurationResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MiningApi
     * @see {@link https://developers.binance.com/docs/mining/rest-api/Cancel-hashrate-resale-configuration Binance API Documentation}
     */
    cancelHashrateResaleConfiguration(requestParameters: CancelHashrateResaleConfigurationRequest): Promise<RestApiResponse<CancelHashrateResaleConfigurationResponse>>;
    /**
     * Query Earnings List
     *
     * Weight: 5
     *
     * @summary Earnings List(USER_DATA)
     * @param {EarningsListRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<EarningsListResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MiningApi
     * @see {@link https://developers.binance.com/docs/mining/rest-api/Earnings-List Binance API Documentation}
     */
    earningsList(requestParameters: EarningsListRequest): Promise<RestApiResponse<EarningsListResponse>>;
    /**
     * Extra Bonus List
     *
     * Weight: 5
     *
     * @summary Extra Bonus List(USER_DATA)
     * @param {ExtraBonusListRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<ExtraBonusListResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MiningApi
     * @see {@link https://developers.binance.com/docs/mining/rest-api/Extra-Bonus-List Binance API Documentation}
     */
    extraBonusList(requestParameters: ExtraBonusListRequest): Promise<RestApiResponse<ExtraBonusListResponse>>;
    /**
     * Hashrate Resale Detail(USER_DATA)
     *
     * Weight: 5
     *
     * @summary Hashrate Resale Detail(USER_DATA)
     * @param {HashrateResaleDetailRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<HashrateResaleDetailResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MiningApi
     * @see {@link https://developers.binance.com/docs/mining/rest-api/Hashrate-Resale-Detail Binance API Documentation}
     */
    hashrateResaleDetail(requestParameters: HashrateResaleDetailRequest): Promise<RestApiResponse<HashrateResaleDetailResponse>>;
    /**
     * Hashrate Resale List
     *
     * Weight: 5
     *
     * @summary Hashrate Resale List
     * @param {HashrateResaleListRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<HashrateResaleListResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MiningApi
     * @see {@link https://developers.binance.com/docs/mining/rest-api/Hashrate-Resale-List Binance API Documentation}
     */
    hashrateResaleList(requestParameters?: HashrateResaleListRequest): Promise<RestApiResponse<HashrateResaleListResponse>>;
    /**
     * Hashrate Resale Request
     *
     * Weight: 5
     *
     * @summary Hashrate Resale Request(USER_DATA)
     * @param {HashrateResaleRequestRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<HashrateResaleRequestResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MiningApi
     * @see {@link https://developers.binance.com/docs/mining/rest-api/Hashrate-Resale-Request Binance API Documentation}
     */
    hashrateResaleRequest(requestParameters: HashrateResaleRequestRequest): Promise<RestApiResponse<HashrateResaleRequestResponse>>;
    /**
     * Mining Account Earning
     *
     * Weight: 5
     *
     * @summary Mining Account Earning(USER_DATA)
     * @param {MiningAccountEarningRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<MiningAccountEarningResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MiningApi
     * @see {@link https://developers.binance.com/docs/mining/rest-api/Mining-Account-Earning Binance API Documentation}
     */
    miningAccountEarning(requestParameters: MiningAccountEarningRequest): Promise<RestApiResponse<MiningAccountEarningResponse>>;
    /**
     * Request for Detail Miner List
     *
     * Weight: 5
     *
     * @summary Request for Detail Miner List(USER_DATA)
     * @param {RequestForDetailMinerListRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<RequestForDetailMinerListResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MiningApi
     * @see {@link https://developers.binance.com/docs/mining/rest-api/Request-for-Detail-Miner-List Binance API Documentation}
     */
    requestForDetailMinerList(requestParameters: RequestForDetailMinerListRequest): Promise<RestApiResponse<RequestForDetailMinerListResponse>>;
    /**
     * Request for Miner List
     *
     * Weight: 5
     *
     * @summary Request for Miner List(USER_DATA)
     * @param {RequestForMinerListRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<RequestForMinerListResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MiningApi
     * @see {@link https://developers.binance.com/docs/mining/rest-api/Request-for-Miner-List Binance API Documentation}
     */
    requestForMinerList(requestParameters: RequestForMinerListRequest): Promise<RestApiResponse<RequestForMinerListResponse>>;
    /**
     * Statistic List
     *
     * Weight: 5
     *
     * @summary Statistic List(USER_DATA)
     * @param {StatisticListRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<StatisticListResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MiningApi
     * @see {@link https://developers.binance.com/docs/mining/rest-api/Statistic-List Binance API Documentation}
     */
    statisticList(requestParameters: StatisticListRequest): Promise<RestApiResponse<StatisticListResponse>>;
}

/**
 * Binance Public Mining REST API
 *
 * OpenAPI Specification for the Binance Public Mining REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

declare class RestAPI {
    private configuration;
    private miningApi;
    constructor(configuration: ConfigurationRestAPI);
    /**
     * Generic function to send a request.
     * @param endpoint - The API endpoint to call.
     * @param method - HTTP method to use (GET, POST, DELETE, etc.).
     * @param params - Query parameters for the request.
     *
     * @returns A promise resolving to the response data object.
     */
    sendRequest<T>(endpoint: string, method: 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH', params?: Record<string, unknown>): Promise<RestApiResponse<T>>;
    /**
     * Generic function to send a signed request.
     * @param endpoint - The API endpoint to call.
     * @param method - HTTP method to use (GET, POST, DELETE, etc.).
     * @param params - Query parameters for the request.
     *
     * @returns A promise resolving to the response data object.
     */
    sendSignedRequest<T>(endpoint: string, method: 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH', params?: Record<string, unknown>): Promise<RestApiResponse<T>>;
    /**
     * Query Account List
     *
     * Weight: 5
     *
     * @summary Account List(USER_DATA)
     * @param {AccountListRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<AccountListResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/mining/rest-api/Account-List Binance API Documentation}
     */
    accountList(requestParameters: AccountListRequest): Promise<RestApiResponse<AccountListResponse>>;
    /**
     * Acquiring Algorithm
     *
     * Weight: 1
     *
     * @summary Acquiring Algorithm(MARKET_DATA)
     * @returns {Promise<RestApiResponse<AcquiringAlgorithmResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/mining/rest-api/Acquiring-Algorithm Binance API Documentation}
     */
    acquiringAlgorithm(): Promise<RestApiResponse<AcquiringAlgorithmResponse>>;
    /**
     * Acquiring CoinName
     *
     * Weight: 1
     *
     * @summary Acquiring CoinName(MARKET_DATA)
     * @returns {Promise<RestApiResponse<AcquiringCoinnameResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/mining/rest-api/Acquiring-CoinName Binance API Documentation}
     */
    acquiringCoinname(): Promise<RestApiResponse<AcquiringCoinnameResponse>>;
    /**
     *
     * Weight: 5
     *
     * @summary Cancel hashrate resale configuration(USER_DATA)
     * @param {CancelHashrateResaleConfigurationRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<CancelHashrateResaleConfigurationResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/mining/rest-api/Cancel-hashrate-resale-configuration Binance API Documentation}
     */
    cancelHashrateResaleConfiguration(requestParameters: CancelHashrateResaleConfigurationRequest): Promise<RestApiResponse<CancelHashrateResaleConfigurationResponse>>;
    /**
     * Query Earnings List
     *
     * Weight: 5
     *
     * @summary Earnings List(USER_DATA)
     * @param {EarningsListRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<EarningsListResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/mining/rest-api/Earnings-List Binance API Documentation}
     */
    earningsList(requestParameters: EarningsListRequest): Promise<RestApiResponse<EarningsListResponse>>;
    /**
     * Extra Bonus List
     *
     * Weight: 5
     *
     * @summary Extra Bonus List(USER_DATA)
     * @param {ExtraBonusListRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<ExtraBonusListResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/mining/rest-api/Extra-Bonus-List Binance API Documentation}
     */
    extraBonusList(requestParameters: ExtraBonusListRequest): Promise<RestApiResponse<ExtraBonusListResponse>>;
    /**
     * Hashrate Resale Detail(USER_DATA)
     *
     * Weight: 5
     *
     * @summary Hashrate Resale Detail(USER_DATA)
     * @param {HashrateResaleDetailRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<HashrateResaleDetailResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/mining/rest-api/Hashrate-Resale-Detail Binance API Documentation}
     */
    hashrateResaleDetail(requestParameters: HashrateResaleDetailRequest): Promise<RestApiResponse<HashrateResaleDetailResponse>>;
    /**
     * Hashrate Resale List
     *
     * Weight: 5
     *
     * @summary Hashrate Resale List
     * @param {HashrateResaleListRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<HashrateResaleListResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/mining/rest-api/Hashrate-Resale-List Binance API Documentation}
     */
    hashrateResaleList(requestParameters?: HashrateResaleListRequest): Promise<RestApiResponse<HashrateResaleListResponse>>;
    /**
     * Hashrate Resale Request
     *
     * Weight: 5
     *
     * @summary Hashrate Resale Request(USER_DATA)
     * @param {HashrateResaleRequestRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<HashrateResaleRequestResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/mining/rest-api/Hashrate-Resale-Request Binance API Documentation}
     */
    hashrateResaleRequest(requestParameters: HashrateResaleRequestRequest): Promise<RestApiResponse<HashrateResaleRequestResponse>>;
    /**
     * Mining Account Earning
     *
     * Weight: 5
     *
     * @summary Mining Account Earning(USER_DATA)
     * @param {MiningAccountEarningRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<MiningAccountEarningResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/mining/rest-api/Mining-Account-Earning Binance API Documentation}
     */
    miningAccountEarning(requestParameters: MiningAccountEarningRequest): Promise<RestApiResponse<MiningAccountEarningResponse>>;
    /**
     * Request for Detail Miner List
     *
     * Weight: 5
     *
     * @summary Request for Detail Miner List(USER_DATA)
     * @param {RequestForDetailMinerListRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<RequestForDetailMinerListResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/mining/rest-api/Request-for-Detail-Miner-List Binance API Documentation}
     */
    requestForDetailMinerList(requestParameters: RequestForDetailMinerListRequest): Promise<RestApiResponse<RequestForDetailMinerListResponse>>;
    /**
     * Request for Miner List
     *
     * Weight: 5
     *
     * @summary Request for Miner List(USER_DATA)
     * @param {RequestForMinerListRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<RequestForMinerListResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/mining/rest-api/Request-for-Miner-List Binance API Documentation}
     */
    requestForMinerList(requestParameters: RequestForMinerListRequest): Promise<RestApiResponse<RequestForMinerListResponse>>;
    /**
     * Statistic List
     *
     * Weight: 5
     *
     * @summary Statistic List(USER_DATA)
     * @param {StatisticListRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<StatisticListResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/mining/rest-api/Statistic-List Binance API Documentation}
     */
    statisticList(requestParameters: StatisticListRequest): Promise<RestApiResponse<StatisticListResponse>>;
}

/**
 * Binance Public Mining REST API
 *
 * OpenAPI Specification for the Binance Public Mining REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

type index_AccountListRequest = AccountListRequest;
type index_AccountListResponse = AccountListResponse;
type index_AccountListResponseDataInner = AccountListResponseDataInner;
type index_AccountListResponseDataInnerListInner = AccountListResponseDataInnerListInner;
type index_AcquiringAlgorithmResponse = AcquiringAlgorithmResponse;
type index_AcquiringAlgorithmResponseDataInner = AcquiringAlgorithmResponseDataInner;
type index_AcquiringCoinnameResponse = AcquiringCoinnameResponse;
type index_AcquiringCoinnameResponseDataInner = AcquiringCoinnameResponseDataInner;
type index_BadRequest = BadRequest;
type index_CancelHashrateResaleConfigurationRequest = CancelHashrateResaleConfigurationRequest;
type index_CancelHashrateResaleConfigurationResponse = CancelHashrateResaleConfigurationResponse;
type index_EarningsListRequest = EarningsListRequest;
type index_EarningsListResponse = EarningsListResponse;
type index_EarningsListResponseData = EarningsListResponseData;
type index_EarningsListResponseDataAccountProfitsInner = EarningsListResponseDataAccountProfitsInner;
type index_ExtraBonusListRequest = ExtraBonusListRequest;
type index_ExtraBonusListResponse = ExtraBonusListResponse;
type index_ExtraBonusListResponseData = ExtraBonusListResponseData;
type index_ExtraBonusListResponseDataOtherProfitsInner = ExtraBonusListResponseDataOtherProfitsInner;
type index_HashrateResaleDetailRequest = HashrateResaleDetailRequest;
type index_HashrateResaleDetailResponse = HashrateResaleDetailResponse;
type index_HashrateResaleDetailResponseData = HashrateResaleDetailResponseData;
type index_HashrateResaleDetailResponseDataProfitTransferDetailsInner = HashrateResaleDetailResponseDataProfitTransferDetailsInner;
type index_HashrateResaleListRequest = HashrateResaleListRequest;
type index_HashrateResaleListResponse = HashrateResaleListResponse;
type index_HashrateResaleListResponseData = HashrateResaleListResponseData;
type index_HashrateResaleListResponseDataConfigDetailsInner = HashrateResaleListResponseDataConfigDetailsInner;
type index_HashrateResaleRequestRequest = HashrateResaleRequestRequest;
type index_HashrateResaleRequestResponse = HashrateResaleRequestResponse;
type index_MiningAccountEarningRequest = MiningAccountEarningRequest;
type index_MiningAccountEarningResponse = MiningAccountEarningResponse;
type index_MiningAccountEarningResponseData = MiningAccountEarningResponseData;
type index_MiningAccountEarningResponseDataAccountProfitsInner = MiningAccountEarningResponseDataAccountProfitsInner;
type index_MiningApi = MiningApi;
declare const index_MiningApi: typeof MiningApi;
type index_MiningApiInterface = MiningApiInterface;
type index_RequestForDetailMinerListRequest = RequestForDetailMinerListRequest;
type index_RequestForDetailMinerListResponse = RequestForDetailMinerListResponse;
type index_RequestForDetailMinerListResponseDataInner = RequestForDetailMinerListResponseDataInner;
type index_RequestForDetailMinerListResponseDataInnerHashrateDatasInner = RequestForDetailMinerListResponseDataInnerHashrateDatasInner;
type index_RequestForMinerListRequest = RequestForMinerListRequest;
type index_RequestForMinerListResponse = RequestForMinerListResponse;
type index_RequestForMinerListResponseData = RequestForMinerListResponseData;
type index_RequestForMinerListResponseDataWorkerDatasInner = RequestForMinerListResponseDataWorkerDatasInner;
type index_RestAPI = RestAPI;
declare const index_RestAPI: typeof RestAPI;
type index_StatisticListRequest = StatisticListRequest;
type index_StatisticListResponse = StatisticListResponse;
type index_StatisticListResponseData = StatisticListResponseData;
type index_StatisticListResponseDataProfitToday = StatisticListResponseDataProfitToday;
declare namespace index {
  export {
    index_AccountListRequest as AccountListRequest,
    index_AccountListResponse as AccountListResponse,
    index_AccountListResponseDataInner as AccountListResponseDataInner,
    index_AccountListResponseDataInnerListInner as AccountListResponseDataInnerListInner,
    index_AcquiringAlgorithmResponse as AcquiringAlgorithmResponse,
    index_AcquiringAlgorithmResponseDataInner as AcquiringAlgorithmResponseDataInner,
    index_AcquiringCoinnameResponse as AcquiringCoinnameResponse,
    index_AcquiringCoinnameResponseDataInner as AcquiringCoinnameResponseDataInner,
    index_BadRequest as BadRequest,
    index_CancelHashrateResaleConfigurationRequest as CancelHashrateResaleConfigurationRequest,
    index_CancelHashrateResaleConfigurationResponse as CancelHashrateResaleConfigurationResponse,
    index_EarningsListRequest as EarningsListRequest,
    index_EarningsListResponse as EarningsListResponse,
    index_EarningsListResponseData as EarningsListResponseData,
    index_EarningsListResponseDataAccountProfitsInner as EarningsListResponseDataAccountProfitsInner,
    index_ExtraBonusListRequest as ExtraBonusListRequest,
    index_ExtraBonusListResponse as ExtraBonusListResponse,
    index_ExtraBonusListResponseData as ExtraBonusListResponseData,
    index_ExtraBonusListResponseDataOtherProfitsInner as ExtraBonusListResponseDataOtherProfitsInner,
    index_HashrateResaleDetailRequest as HashrateResaleDetailRequest,
    index_HashrateResaleDetailResponse as HashrateResaleDetailResponse,
    index_HashrateResaleDetailResponseData as HashrateResaleDetailResponseData,
    index_HashrateResaleDetailResponseDataProfitTransferDetailsInner as HashrateResaleDetailResponseDataProfitTransferDetailsInner,
    index_HashrateResaleListRequest as HashrateResaleListRequest,
    index_HashrateResaleListResponse as HashrateResaleListResponse,
    index_HashrateResaleListResponseData as HashrateResaleListResponseData,
    index_HashrateResaleListResponseDataConfigDetailsInner as HashrateResaleListResponseDataConfigDetailsInner,
    index_HashrateResaleRequestRequest as HashrateResaleRequestRequest,
    index_HashrateResaleRequestResponse as HashrateResaleRequestResponse,
    index_MiningAccountEarningRequest as MiningAccountEarningRequest,
    index_MiningAccountEarningResponse as MiningAccountEarningResponse,
    index_MiningAccountEarningResponseData as MiningAccountEarningResponseData,
    index_MiningAccountEarningResponseDataAccountProfitsInner as MiningAccountEarningResponseDataAccountProfitsInner,
    index_MiningApi as MiningApi,
    index_MiningApiInterface as MiningApiInterface,
    index_RequestForDetailMinerListRequest as RequestForDetailMinerListRequest,
    index_RequestForDetailMinerListResponse as RequestForDetailMinerListResponse,
    index_RequestForDetailMinerListResponseDataInner as RequestForDetailMinerListResponseDataInner,
    index_RequestForDetailMinerListResponseDataInnerHashrateDatasInner as RequestForDetailMinerListResponseDataInnerHashrateDatasInner,
    index_RequestForMinerListRequest as RequestForMinerListRequest,
    index_RequestForMinerListResponse as RequestForMinerListResponse,
    index_RequestForMinerListResponseData as RequestForMinerListResponseData,
    index_RequestForMinerListResponseDataWorkerDatasInner as RequestForMinerListResponseDataWorkerDatasInner,
    index_RestAPI as RestAPI,
    index_StatisticListRequest as StatisticListRequest,
    index_StatisticListResponse as StatisticListResponse,
    index_StatisticListResponseData as StatisticListResponseData,
    index_StatisticListResponseDataProfitToday as StatisticListResponseDataProfitToday,
  };
}

interface ConfigurationMining {
    configurationRestAPI?: ConfigurationRestAPI;
}
declare class Mining {
    restAPI: RestAPI;
    constructor(config: ConfigurationMining);
}

export { ConfigurationMining, Mining, index as MiningRestAPI };
