Type Alias PrivateRestResult<T>

PrivateRestResult<T>: T extends "AddExport"
    ? PrivateRestTypes.PrivateEndpoints.AddExport.Result
    : T extends "AddOrder"
        ? PrivateRestTypes.PrivateEndpoints.AddOrder.Result
        : T extends "AddOrderBatch"
            ? PrivateRestTypes.PrivateEndpoints.AddOrderBatch.Result
            : T extends "AmendOrder"
                ? PrivateRestTypes.PrivateEndpoints.AmendOrder.Result
                : T extends "Balance"
                    ? PrivateRestTypes.PrivateEndpoints.Balance.Result
                    : T extends "BalanceEx"
                        ? PrivateRestTypes.PrivateEndpoints.BalanceEx.Result
                        : T extends "CancelAll"
                            ? PrivateRestTypes.PrivateEndpoints.CancelAll.Result
                            : T extends "CancelAllOrdersAfter"
                                ? PrivateRestTypes.PrivateEndpoints.CancelAllOrdersAfter.Result
                                : T extends "CancelOrder"
                                    ? PrivateRestTypes.PrivateEndpoints.CancelOrder.Result
                                    : T extends "CancelOrderBatch"
                                        ? PrivateRestTypes.PrivateEndpoints.CancelOrderBatch.Result
                                        : (...) extends (...)
                                            ? (...)
                                            : (...)

Type Parameters