@nadohq/nuanze-client 0.53.0 → 0.55.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. package/README.md +8 -6
  2. package/dist/{NuanzeClient-CJI8D65z.cjs → NuanzeClient-C9yQILjc.cjs} +33 -1
  3. package/dist/NuanzeClient-C9yQILjc.cjs.map +1 -0
  4. package/dist/NuanzeClient.cjs +1 -1
  5. package/dist/NuanzeClient.d.cts +28 -1
  6. package/dist/NuanzeClient.d.cts.map +1 -1
  7. package/dist/NuanzeClient.d.ts +28 -1
  8. package/dist/NuanzeClient.d.ts.map +1 -1
  9. package/dist/NuanzeClient.js +33 -1
  10. package/dist/NuanzeClient.js.map +1 -1
  11. package/dist/{NuanzeServerFailureError-Cx8QbH0G.d.cts → NuanzeServerFailureError-DSY-xKVx.d.cts} +2 -2
  12. package/dist/{NuanzeServerFailureError-Cx8QbH0G.d.cts.map → NuanzeServerFailureError-DSY-xKVx.d.cts.map} +1 -1
  13. package/dist/{NuanzeServerFailureError-XY6Sa63q.d.ts → NuanzeServerFailureError-DckOXwP0.d.ts} +2 -2
  14. package/dist/{NuanzeServerFailureError-XY6Sa63q.d.ts.map → NuanzeServerFailureError-DckOXwP0.d.ts.map} +1 -1
  15. package/dist/{clientModelTypes-Cq932LpY.d.ts → clientModelTypes-B22P2pH3.d.cts} +123 -3
  16. package/dist/clientModelTypes-B22P2pH3.d.cts.map +1 -0
  17. package/dist/{clientModelTypes-Cq932LpY.d.cts → clientModelTypes-B22P2pH3.d.ts} +123 -3
  18. package/dist/clientModelTypes-B22P2pH3.d.ts.map +1 -0
  19. package/dist/{clientTypes-C4KxDEuR.d.cts → clientTypes-CJWiS0sM.d.ts} +77 -3
  20. package/dist/clientTypes-CJWiS0sM.d.ts.map +1 -0
  21. package/dist/{clientTypes-DK_rXTKz.d.ts → clientTypes-C_PGq9TZ.d.cts} +77 -3
  22. package/dist/clientTypes-C_PGq9TZ.d.cts.map +1 -0
  23. package/dist/dataMappers.cjs +121 -2
  24. package/dist/dataMappers.cjs.map +1 -1
  25. package/dist/dataMappers.d.cts +35 -5
  26. package/dist/dataMappers.d.cts.map +1 -1
  27. package/dist/dataMappers.d.ts +35 -5
  28. package/dist/dataMappers.d.ts.map +1 -1
  29. package/dist/dataMappers.js +115 -3
  30. package/dist/dataMappers.js.map +1 -1
  31. package/dist/index.cjs +9 -1
  32. package/dist/index.d.cts +7 -7
  33. package/dist/index.d.ts +7 -7
  34. package/dist/index.js +3 -3
  35. package/dist/{serverModelTypes-DREyTkS2.d.ts → serverModelTypes-D0JfVkqd.d.ts} +63 -3
  36. package/dist/serverModelTypes-D0JfVkqd.d.ts.map +1 -0
  37. package/dist/{serverModelTypes-SJs6R1Jb.d.cts → serverModelTypes-D8vC-W1m.d.cts} +63 -3
  38. package/dist/serverModelTypes-D8vC-W1m.d.cts.map +1 -0
  39. package/dist/{serverQueryTypes-CSwEuNlG.d.ts → serverQueryTypes-CflQbxsI.d.ts} +40 -4
  40. package/dist/serverQueryTypes-CflQbxsI.d.ts.map +1 -0
  41. package/dist/{serverQueryTypes-D_8Gn1t0.d.cts → serverQueryTypes-DS0PzfC8.d.cts} +40 -4
  42. package/dist/serverQueryTypes-DS0PzfC8.d.cts.map +1 -0
  43. package/dist/types/NuanzeServerFailureError.d.cts +1 -1
  44. package/dist/types/NuanzeServerFailureError.d.ts +1 -1
  45. package/dist/types/clientModelTypes.cjs +12 -0
  46. package/dist/types/clientModelTypes.cjs.map +1 -1
  47. package/dist/types/clientModelTypes.d.cts +2 -2
  48. package/dist/types/clientModelTypes.d.ts +2 -2
  49. package/dist/types/clientModelTypes.js +12 -1
  50. package/dist/types/clientModelTypes.js.map +1 -1
  51. package/dist/types/clientTypes.d.cts +2 -2
  52. package/dist/types/clientTypes.d.ts +2 -2
  53. package/dist/types/index.cjs +1 -0
  54. package/dist/types/index.d.cts +6 -6
  55. package/dist/types/index.d.ts +6 -6
  56. package/dist/types/index.js +2 -2
  57. package/dist/types/serverModelTypes.d.cts +2 -2
  58. package/dist/types/serverModelTypes.d.ts +2 -2
  59. package/dist/types/serverQueryTypes.cjs.map +1 -1
  60. package/dist/types/serverQueryTypes.d.cts +2 -2
  61. package/dist/types/serverQueryTypes.d.ts +2 -2
  62. package/dist/types/serverQueryTypes.js.map +1 -1
  63. package/package.json +3 -3
  64. package/src/NuanzeClient.ts +50 -0
  65. package/src/dataMappers.ts +154 -0
  66. package/src/types/clientModelTypes.ts +128 -1
  67. package/src/types/clientTypes.ts +81 -0
  68. package/src/types/serverModelTypes.ts +66 -0
  69. package/src/types/serverQueryTypes.ts +42 -0
  70. package/dist/NuanzeClient-CJI8D65z.cjs.map +0 -1
  71. package/dist/clientModelTypes-Cq932LpY.d.cts.map +0 -1
  72. package/dist/clientModelTypes-Cq932LpY.d.ts.map +0 -1
  73. package/dist/clientTypes-C4KxDEuR.d.cts.map +0 -1
  74. package/dist/clientTypes-DK_rXTKz.d.ts.map +0 -1
  75. package/dist/serverModelTypes-DREyTkS2.d.ts.map +0 -1
  76. package/dist/serverModelTypes-SJs6R1Jb.d.cts.map +0 -1
  77. package/dist/serverQueryTypes-CSwEuNlG.d.ts.map +0 -1
  78. package/dist/serverQueryTypes-D_8Gn1t0.d.cts.map +0 -1
@@ -1,7 +1,7 @@
1
- import { $ as NuanzeMarket, A as NuanzeCandleInterval, At as NuanzePositioningTotals, B as NuanzeFlowTimeframe, C as NUANZE_PNL_WINDOWS, Ct as NuanzeOpenPositionSortDirection, D as NUANZE_SOURCE_INTERVALS, Dt as NuanzePositionSide, E as NUANZE_SERIES_METRICS, Et as NuanzePnlWindow, F as NuanzeCoverage, Ft as NuanzeStockFundamentals, G as NuanzeFundamentalsSource, H as NuanzeFundamentalsKeyData, I as NuanzeFlowBucket, It as NuanzeSubaccountLeaderboardItem, J as NuanzeFundingRate, K as NuanzeFundamentalsValuation, L as NuanzeFlowEventType, Lt as NuanzeTradeSide, M as NuanzeCohortPositioningCell, Mt as NuanzeSeriesPoint, N as NuanzeCollateralFlow, Nt as NuanzeSidePositioningCell, O as NUANZE_TRADE_SIDES, Ot as NuanzePositioningCellBase, P as NuanzeCollateralFlowPoint, Pt as NuanzeSourceInterval, Q as NuanzeMarginKind, R as NuanzeFlowEventTypeFilter, Rt as NuanzeWalletPosition, S as NUANZE_PLATFORM_WINDOWS, St as NuanzeOpenPosition, T as NUANZE_POSITION_SIDES, Tt as NuanzePlatformWindow, U as NuanzeFundamentalsPerformance, V as NuanzeFollowedLeaderboardItem, W as NuanzeFundamentalsSocial, X as NuanzeLeaderboardItem, Y as NuanzeLatestTicker, Z as NuanzeLeaderboardTimeframe, _ as NUANZE_NEWS_EVENT_TYPES, _t as NuanzeNewsSentiment, a as NUANZE_FLOW_EVENT_TYPES, at as NuanzeMarketPositionSortDirection, b as NUANZE_NOTIONAL_BUCKETS, bt as NuanzeNotionalBucket, c as NUANZE_FUNDAMENTALS_SOURCES, ct as NuanzeMarketPositioningNotionalBucketResponse, d as NUANZE_MARKET_POSITION_SORT_BYS, dt as NuanzeMarketTradingStatus, et as NuanzeMarketComponentUpdatedAt, f as NUANZE_MARKET_POSITION_SORT_DIRECTIONS, ft as NuanzeMarketVenue, g as NUANZE_NEWS_ENTITY_ROLES, gt as NuanzeNewsEventType, h as NUANZE_MIN_POSITION_USDS, ht as NuanzeNewsEntityRole, i as NUANZE_FLOW_BUCKETS, it as NuanzeMarketPositionSortBy, j as NuanzeCohortKey, jt as NuanzeSeriesMetric, k as NuanzeCandle, kt as NuanzePositioningGroupBy, l as NUANZE_LEADERBOARD_TIMEFRAMES, lt as NuanzeMarketPositioningSideResponse, m as NUANZE_MARKET_VENUES, mt as NuanzeNewsEntity, n as NUANZE_COHORT_KEYS, nt as NuanzeMarketIdentity, o as NUANZE_FLOW_EVENT_TYPE_FILTERS, ot as NuanzeMarketPositioningBase, p as NUANZE_MARKET_TRADING_STATUSES, pt as NuanzeMinPositionUsd, q as NuanzeFundingObservation, r as NUANZE_COVERAGES, rt as NuanzeMarketPosition, s as NUANZE_FLOW_TIMEFRAMES, st as NuanzeMarketPositioningCohortResponse, t as NUANZE_CANDLE_INTERVALS, tt as NuanzeMarketDetail, u as NUANZE_MARGIN_KINDS, ut as NuanzeMarketTrade, v as NUANZE_NEWS_SENTIMENTS, vt as NuanzeNewsStory, w as NUANZE_POSITIONING_GROUP_BYS, wt as NuanzePlatformDeltas, x as NUANZE_OPEN_POSITION_SORT_DIRECTIONS, xt as NuanzeNotionalBucketPositioningCell, y as NUANZE_NEWS_TIERS, yt as NuanzeNewsTier, z as NuanzeFlowTags, zt as NuanzeWalletTrade } from "../clientModelTypes-Cq932LpY.cjs";
2
- import { A as GetNuanzeOpenPositionsResponse, B as GetNuanzeWalletPnlResponse, C as GetNuanzeMarketTradesParams, D as GetNuanzeNewsParams, E as GetNuanzeMarketsResponse, F as GetNuanzeSubaccountLeaderboardPositionResponse, G as GetNuanzeWalletSummaryParams, H as GetNuanzeWalletPnlSeriesResponse, I as GetNuanzeSubaccountLeaderboardResponse, J as GetNuanzeWalletTradesResponse, K as GetNuanzeWalletSummaryResponse, L as GetNuanzeWalletLeaderboardPositionParams, M as GetNuanzePlatformSummaryResponse, N as GetNuanzeSubaccountLeaderboardParams, O as GetNuanzeNewsResponse, P as GetNuanzeSubaccountLeaderboardPositionParams, R as GetNuanzeWalletLeaderboardPositionResponse, S as GetNuanzeMarketPositionsResponse, T as GetNuanzeMarketsParams, U as GetNuanzeWalletPositionsParams, V as GetNuanzeWalletPnlSeriesParams, W as GetNuanzeWalletPositionsResponse, Y as NuanzeMarketSelector, _ as GetNuanzeMarketCandlesParams, a as GetNuanzeCollateralFlowsParams, b as GetNuanzeMarketPositioningResponse, c as GetNuanzeFollowedLeaderboardPositionParams, d as GetNuanzeFundingRatesParams, f as GetNuanzeFundingRatesResponse, g as GetNuanzeMarketByTickerResponse, h as GetNuanzeMarketByTickerParams, i as GetNuanzeCollateralFlowSummaryResponse, j as GetNuanzePlatformSummaryParams, k as GetNuanzeOpenPositionsParams, l as GetNuanzeFollowedLeaderboardPositionResponse, m as GetNuanzeLeaderboardResponse, n as GetNuanzeCollateralFlowSeriesResponse, o as GetNuanzeCollateralFlowsResponse, p as GetNuanzeLeaderboardParams, q as GetNuanzeWalletTradesParams, r as GetNuanzeCollateralFlowSummaryParams, s as GetNuanzeFollowedLeaderboardParams, t as GetNuanzeCollateralFlowSeriesParams, u as GetNuanzeFollowedLeaderboardResponse, v as GetNuanzeMarketCandlesResponse, w as GetNuanzeMarketTradesResponse, x as GetNuanzeMarketPositionsParams, y as GetNuanzeMarketPositioningParams, z as GetNuanzeWalletPnlParams } from "../clientTypes-C4KxDEuR.cjs";
3
- import { A as NuanzeServerStockFundamentals, C as NuanzeServerNotionalBucketPositioningCell, D as NuanzeServerPositioningTotals, E as NuanzeServerPositioningCellBase, M as NuanzeServerWalletPosition, N as NuanzeServerWalletTrade, O as NuanzeServerSeriesPoint, S as NuanzeServerMarketTrade, T as NuanzeServerPlatformDeltas, _ as NuanzeServerMarketPositioningBase, a as NuanzeServerFollowedLeaderboardItem, b as NuanzeServerMarketPositioningResponse, c as NuanzeServerFundamentalsSocial, d as NuanzeServerFundingRate, f as NuanzeServerLatestTicker, g as NuanzeServerMarketPosition, h as NuanzeServerMarketDetail, i as NuanzeServerCollateralFlowPoint, j as NuanzeServerSubaccountLeaderboardItem, k as NuanzeServerSidePositioningCell, l as NuanzeServerFundamentalsValuation, m as NuanzeServerMarket, n as NuanzeServerCohortPositioningCell, o as NuanzeServerFundamentalsKeyData, p as NuanzeServerLeaderboardItem, r as NuanzeServerCollateralFlow, s as NuanzeServerFundamentalsPerformance, t as NuanzeServerCandle, u as NuanzeServerFundingObservation, v as NuanzeServerMarketPositioningCohortResponse, w as NuanzeServerOpenPosition, x as NuanzeServerMarketPositioningSideResponse, y as NuanzeServerMarketPositioningNotionalBucketResponse } from "../serverModelTypes-SJs6R1Jb.cjs";
1
+ import { $ as NuanzeLeaderboardItem, A as NuanzeCandle, At as NuanzePointsTier, B as NuanzeFlowEventType, Bt as NuanzeSubaccountCloseTrade, C as NUANZE_PNL_WINDOWS, Ct as NuanzeNotionalBucket, D as NUANZE_SERIES_METRICS, Dt as NuanzePlatformDeltas, E as NUANZE_POSITION_SIDES, Et as NuanzeOpenPositionSortDirection, F as NuanzeCohortSeriesPoint, Ft as NuanzeSeriesMetric, G as NuanzeFundamentalsKeyData, Gt as NuanzeWalletPosition, H as NuanzeFlowTags, Ht as NuanzeSubaccountLongShortBias, I as NuanzeCollateralFlow, It as NuanzeSeriesPoint, J as NuanzeFundamentalsSource, K as NuanzeFundamentalsPerformance, Kt as NuanzeWalletTrade, L as NuanzeCollateralFlowPoint, Lt as NuanzeSidePositioningCell, M as NuanzeCohort, Mt as NuanzePositioningCellBase, N as NuanzeCohortKey, Nt as NuanzePositioningGroupBy, O as NUANZE_SOURCE_INTERVALS, Ot as NuanzePlatformWindow, P as NuanzeCohortPositioningCell, Pt as NuanzePositioningTotals, Q as NuanzeLatestTicker, R as NuanzeCoverage, Rt as NuanzeSourceInterval, S as NUANZE_PLATFORM_WINDOWS, St as NuanzeNewsTier, T as NUANZE_POSITIONING_GROUP_BYS, Tt as NuanzeOpenPosition, U as NuanzeFlowTimeframe, Ut as NuanzeSubaccountMostTradedMarket, V as NuanzeFlowEventTypeFilter, Vt as NuanzeSubaccountLeaderboardItem, W as NuanzeFollowedLeaderboardItem, Wt as NuanzeTradeSide, X as NuanzeFundingObservation, Y as NuanzeFundamentalsValuation, Z as NuanzeFundingRate, _ as NUANZE_NEWS_EVENT_TYPES, _t as NuanzeNewsEntity, a as NUANZE_FLOW_EVENT_TYPES, at as NuanzeMarketIdentity, b as NUANZE_NOTIONAL_BUCKETS, bt as NuanzeNewsSentiment, c as NUANZE_FUNDAMENTALS_SOURCES, ct as NuanzeMarketPositionSortDirection, d as NUANZE_MARKET_POSITION_SORT_BYS, dt as NuanzeMarketPositioningNotionalBucketResponse, et as NuanzeLeaderboardTimeframe, f as NUANZE_MARKET_POSITION_SORT_DIRECTIONS, ft as NuanzeMarketPositioningSideResponse, g as NUANZE_NEWS_ENTITY_ROLES, gt as NuanzeMinPositionUsd, h as NUANZE_MIN_POSITION_USDS, ht as NuanzeMarketVenue, i as NUANZE_FLOW_BUCKETS, it as NuanzeMarketDetail, j as NuanzeCandleInterval, jt as NuanzePositionSide, k as NUANZE_TRADE_SIDES, kt as NuanzePnlWindow, l as NUANZE_LEADERBOARD_TIMEFRAMES, lt as NuanzeMarketPositioningBase, m as NUANZE_MARKET_VENUES, mt as NuanzeMarketTradingStatus, n as NUANZE_COHORT_KEYS, nt as NuanzeMarket, o as NUANZE_FLOW_EVENT_TYPE_FILTERS, ot as NuanzeMarketPosition, p as NUANZE_MARKET_TRADING_STATUSES, pt as NuanzeMarketTrade, q as NuanzeFundamentalsSocial, r as NUANZE_COVERAGES, rt as NuanzeMarketComponentUpdatedAt, s as NUANZE_FLOW_TIMEFRAMES, st as NuanzeMarketPositionSortBy, t as NUANZE_CANDLE_INTERVALS, tt as NuanzeMarginKind, u as NUANZE_MARGIN_KINDS, ut as NuanzeMarketPositioningCohortResponse, v as NUANZE_NEWS_SENTIMENTS, vt as NuanzeNewsEntityRole, w as NUANZE_POINTS_TIERS, wt as NuanzeNotionalBucketPositioningCell, x as NUANZE_OPEN_POSITION_SORT_DIRECTIONS, xt as NuanzeNewsStory, y as NUANZE_NEWS_TIERS, yt as NuanzeNewsEventType, z as NuanzeFlowBucket, zt as NuanzeStockFundamentals } from "../clientModelTypes-B22P2pH3.cjs";
2
+ import { A as GetNuanzeOpenPositionsParams, B as GetNuanzeWalletLeaderboardPositionParams, C as GetNuanzeMarketPositionsResponse, D as GetNuanzeMarketsResponse, E as GetNuanzeMarketsParams, F as GetNuanzeSubaccountLeaderboardPositionParams, G as GetNuanzeWalletPnlSeriesResponse, H as GetNuanzeWalletPnlParams, I as GetNuanzeSubaccountLeaderboardPositionResponse, J as GetNuanzeWalletSummaryParams, K as GetNuanzeWalletPositionsParams, L as GetNuanzeSubaccountLeaderboardResponse, M as GetNuanzePlatformSummaryParams, N as GetNuanzePlatformSummaryResponse, O as GetNuanzeNewsParams, P as GetNuanzeSubaccountLeaderboardParams, Q as NuanzeMarketSelector, R as GetNuanzeSubaccountStatsParams, S as GetNuanzeMarketPositionsParams, T as GetNuanzeMarketTradesResponse, U as GetNuanzeWalletPnlResponse, V as GetNuanzeWalletLeaderboardPositionResponse, W as GetNuanzeWalletPnlSeriesParams, X as GetNuanzeWalletTradesParams, Y as GetNuanzeWalletSummaryResponse, Z as GetNuanzeWalletTradesResponse, _ as GetNuanzeMarketByTickerResponse, a as GetNuanzeCollateralFlowSummaryResponse, b as GetNuanzeMarketPositioningParams, c as GetNuanzeFollowedLeaderboardParams, d as GetNuanzeFollowedLeaderboardResponse, f as GetNuanzeFundingRatesParams, g as GetNuanzeMarketByTickerParams, h as GetNuanzeLeaderboardResponse, i as GetNuanzeCollateralFlowSummaryParams, j as GetNuanzeOpenPositionsResponse, k as GetNuanzeNewsResponse, l as GetNuanzeFollowedLeaderboardPositionParams, m as GetNuanzeLeaderboardParams, n as GetNuanzeCollateralFlowSeriesParams, o as GetNuanzeCollateralFlowsParams, p as GetNuanzeFundingRatesResponse, q as GetNuanzeWalletPositionsResponse, r as GetNuanzeCollateralFlowSeriesResponse, s as GetNuanzeCollateralFlowsResponse, t as GetNuanzeCohortsResponse, u as GetNuanzeFollowedLeaderboardPositionResponse, v as GetNuanzeMarketCandlesParams, w as GetNuanzeMarketTradesParams, x as GetNuanzeMarketPositioningResponse, y as GetNuanzeMarketCandlesResponse, z as GetNuanzeSubaccountStatsResponse } from "../clientTypes-C_PGq9TZ.cjs";
3
+ import { A as NuanzeServerSeriesPoint, C as NuanzeServerMarketPositioningSideResponse, D as NuanzeServerPlatformDeltas, E as NuanzeServerOpenPosition, F as NuanzeServerSubaccountLongShortBias, I as NuanzeServerSubaccountMostTradedMarket, L as NuanzeServerWalletPosition, M as NuanzeServerStockFundamentals, N as NuanzeServerSubaccountCloseTrade, O as NuanzeServerPositioningCellBase, P as NuanzeServerSubaccountLeaderboardItem, R as NuanzeServerWalletTrade, S as NuanzeServerMarketPositioningResponse, T as NuanzeServerNotionalBucketPositioningCell, _ as NuanzeServerMarketDetail, a as NuanzeServerCollateralFlow, b as NuanzeServerMarketPositioningCohortResponse, c as NuanzeServerFundamentalsKeyData, d as NuanzeServerFundamentalsValuation, f as NuanzeServerFundingObservation, g as NuanzeServerMarket, h as NuanzeServerLeaderboardItem, i as NuanzeServerCohortSeriesPoint, j as NuanzeServerSidePositioningCell, k as NuanzeServerPositioningTotals, l as NuanzeServerFundamentalsPerformance, m as NuanzeServerLatestTicker, n as NuanzeServerCohort, o as NuanzeServerCollateralFlowPoint, p as NuanzeServerFundingRate, r as NuanzeServerCohortPositioningCell, s as NuanzeServerFollowedLeaderboardItem, t as NuanzeServerCandle, u as NuanzeServerFundamentalsSocial, v as NuanzeServerMarketPosition, w as NuanzeServerMarketTrade, x as NuanzeServerMarketPositioningNotionalBucketResponse, y as NuanzeServerMarketPositioningBase } from "../serverModelTypes-D8vC-W1m.cjs";
4
4
  import { n as NuanzeErrorCode, t as NUANZE_ERROR_CODES } from "../nuanzeErrorCodes-DWzJGzaI.cjs";
5
- import { C as NuanzeServerWalletSummaryResponse, S as NuanzeServerWalletPositionsResponse, T as isNuanzeServerFailureResponse, _ as NuanzeServerSubaccountLeaderboardPositionResponse, a as NuanzeServerFollowedLeaderboardPositionResponse, b as NuanzeServerWalletPnlResponse, c as NuanzeServerLeaderboardResponse, d as NuanzeServerMarketPositionsResponse, f as NuanzeServerMarketTradesResponse, g as NuanzeServerPlatformSummaryResponse, h as NuanzeServerOpenPositionsResponse, i as NuanzeServerFailureResponse, l as NuanzeServerMarketByTickerResponse, m as NuanzeServerNewsResponse, n as NuanzeServerCollateralFlowSummaryResponse, o as NuanzeServerFollowedLeaderboardResponse, p as NuanzeServerMarketsResponse, r as NuanzeServerCollateralFlowsResponse, s as NuanzeServerFundingRatesResponse, t as NuanzeServerCollateralFlowSeriesResponse, u as NuanzeServerMarketCandlesResponse, v as NuanzeServerSubaccountLeaderboardResponse, w as NuanzeServerWalletTradesResponse, x as NuanzeServerWalletPnlSeriesResponse, y as NuanzeServerWalletLeaderboardPositionResponse } from "../serverQueryTypes-D_8Gn1t0.cjs";
6
- import { t as NuanzeServerFailureError } from "../NuanzeServerFailureError-Cx8QbH0G.cjs";
7
- export { GetNuanzeCollateralFlowSeriesParams, GetNuanzeCollateralFlowSeriesResponse, GetNuanzeCollateralFlowSummaryParams, GetNuanzeCollateralFlowSummaryResponse, GetNuanzeCollateralFlowsParams, GetNuanzeCollateralFlowsResponse, GetNuanzeFollowedLeaderboardParams, GetNuanzeFollowedLeaderboardPositionParams, GetNuanzeFollowedLeaderboardPositionResponse, GetNuanzeFollowedLeaderboardResponse, GetNuanzeFundingRatesParams, GetNuanzeFundingRatesResponse, GetNuanzeLeaderboardParams, GetNuanzeLeaderboardResponse, GetNuanzeMarketByTickerParams, GetNuanzeMarketByTickerResponse, GetNuanzeMarketCandlesParams, GetNuanzeMarketCandlesResponse, GetNuanzeMarketPositioningParams, GetNuanzeMarketPositioningResponse, GetNuanzeMarketPositionsParams, GetNuanzeMarketPositionsResponse, GetNuanzeMarketTradesParams, GetNuanzeMarketTradesResponse, GetNuanzeMarketsParams, GetNuanzeMarketsResponse, GetNuanzeNewsParams, GetNuanzeNewsResponse, GetNuanzeOpenPositionsParams, GetNuanzeOpenPositionsResponse, GetNuanzePlatformSummaryParams, GetNuanzePlatformSummaryResponse, GetNuanzeSubaccountLeaderboardParams, GetNuanzeSubaccountLeaderboardPositionParams, GetNuanzeSubaccountLeaderboardPositionResponse, GetNuanzeSubaccountLeaderboardResponse, GetNuanzeWalletLeaderboardPositionParams, GetNuanzeWalletLeaderboardPositionResponse, GetNuanzeWalletPnlParams, GetNuanzeWalletPnlResponse, GetNuanzeWalletPnlSeriesParams, GetNuanzeWalletPnlSeriesResponse, GetNuanzeWalletPositionsParams, GetNuanzeWalletPositionsResponse, GetNuanzeWalletSummaryParams, GetNuanzeWalletSummaryResponse, GetNuanzeWalletTradesParams, GetNuanzeWalletTradesResponse, NUANZE_CANDLE_INTERVALS, NUANZE_COHORT_KEYS, NUANZE_COVERAGES, NUANZE_ERROR_CODES, NUANZE_FLOW_BUCKETS, NUANZE_FLOW_EVENT_TYPES, NUANZE_FLOW_EVENT_TYPE_FILTERS, NUANZE_FLOW_TIMEFRAMES, NUANZE_FUNDAMENTALS_SOURCES, NUANZE_LEADERBOARD_TIMEFRAMES, NUANZE_MARGIN_KINDS, NUANZE_MARKET_POSITION_SORT_BYS, NUANZE_MARKET_POSITION_SORT_DIRECTIONS, NUANZE_MARKET_TRADING_STATUSES, NUANZE_MARKET_VENUES, NUANZE_MIN_POSITION_USDS, NUANZE_NEWS_ENTITY_ROLES, NUANZE_NEWS_EVENT_TYPES, NUANZE_NEWS_SENTIMENTS, NUANZE_NEWS_TIERS, NUANZE_NOTIONAL_BUCKETS, NUANZE_OPEN_POSITION_SORT_DIRECTIONS, NUANZE_PLATFORM_WINDOWS, NUANZE_PNL_WINDOWS, NUANZE_POSITIONING_GROUP_BYS, NUANZE_POSITION_SIDES, NUANZE_SERIES_METRICS, NUANZE_SOURCE_INTERVALS, NUANZE_TRADE_SIDES, NuanzeCandle, NuanzeCandleInterval, NuanzeCohortKey, NuanzeCohortPositioningCell, NuanzeCollateralFlow, NuanzeCollateralFlowPoint, NuanzeCoverage, NuanzeErrorCode, NuanzeFlowBucket, NuanzeFlowEventType, NuanzeFlowEventTypeFilter, NuanzeFlowTags, NuanzeFlowTimeframe, NuanzeFollowedLeaderboardItem, NuanzeFundamentalsKeyData, NuanzeFundamentalsPerformance, NuanzeFundamentalsSocial, NuanzeFundamentalsSource, NuanzeFundamentalsValuation, NuanzeFundingObservation, NuanzeFundingRate, NuanzeLatestTicker, NuanzeLeaderboardItem, NuanzeLeaderboardTimeframe, NuanzeMarginKind, NuanzeMarket, NuanzeMarketComponentUpdatedAt, NuanzeMarketDetail, NuanzeMarketIdentity, NuanzeMarketPosition, NuanzeMarketPositionSortBy, NuanzeMarketPositionSortDirection, NuanzeMarketPositioningBase, NuanzeMarketPositioningCohortResponse, NuanzeMarketPositioningNotionalBucketResponse, NuanzeMarketPositioningSideResponse, NuanzeMarketSelector, NuanzeMarketTrade, NuanzeMarketTradingStatus, NuanzeMarketVenue, NuanzeMinPositionUsd, NuanzeNewsEntity, NuanzeNewsEntityRole, NuanzeNewsEventType, NuanzeNewsSentiment, NuanzeNewsStory, NuanzeNewsTier, NuanzeNotionalBucket, NuanzeNotionalBucketPositioningCell, NuanzeOpenPosition, NuanzeOpenPositionSortDirection, NuanzePlatformDeltas, NuanzePlatformWindow, NuanzePnlWindow, NuanzePositionSide, NuanzePositioningCellBase, NuanzePositioningGroupBy, NuanzePositioningTotals, NuanzeSeriesMetric, NuanzeSeriesPoint, NuanzeServerCandle, NuanzeServerCohortPositioningCell, NuanzeServerCollateralFlow, NuanzeServerCollateralFlowPoint, NuanzeServerCollateralFlowSeriesResponse, NuanzeServerCollateralFlowSummaryResponse, NuanzeServerCollateralFlowsResponse, NuanzeServerFailureError, NuanzeServerFailureResponse, NuanzeServerFollowedLeaderboardItem, NuanzeServerFollowedLeaderboardPositionResponse, NuanzeServerFollowedLeaderboardResponse, NuanzeServerFundamentalsKeyData, NuanzeServerFundamentalsPerformance, NuanzeServerFundamentalsSocial, NuanzeServerFundamentalsValuation, NuanzeServerFundingObservation, NuanzeServerFundingRate, NuanzeServerFundingRatesResponse, NuanzeServerLatestTicker, NuanzeServerLeaderboardItem, NuanzeServerLeaderboardResponse, NuanzeServerMarket, NuanzeServerMarketByTickerResponse, NuanzeServerMarketCandlesResponse, NuanzeServerMarketDetail, NuanzeServerMarketPosition, NuanzeServerMarketPositioningBase, NuanzeServerMarketPositioningCohortResponse, NuanzeServerMarketPositioningNotionalBucketResponse, NuanzeServerMarketPositioningResponse, NuanzeServerMarketPositioningSideResponse, NuanzeServerMarketPositionsResponse, NuanzeServerMarketTrade, NuanzeServerMarketTradesResponse, NuanzeServerMarketsResponse, NuanzeServerNewsResponse, NuanzeServerNotionalBucketPositioningCell, NuanzeServerOpenPosition, NuanzeServerOpenPositionsResponse, NuanzeServerPlatformDeltas, NuanzeServerPlatformSummaryResponse, NuanzeServerPositioningCellBase, NuanzeServerPositioningTotals, NuanzeServerSeriesPoint, NuanzeServerSidePositioningCell, NuanzeServerStockFundamentals, NuanzeServerSubaccountLeaderboardItem, NuanzeServerSubaccountLeaderboardPositionResponse, NuanzeServerSubaccountLeaderboardResponse, NuanzeServerWalletLeaderboardPositionResponse, NuanzeServerWalletPnlResponse, NuanzeServerWalletPnlSeriesResponse, NuanzeServerWalletPosition, NuanzeServerWalletPositionsResponse, NuanzeServerWalletSummaryResponse, NuanzeServerWalletTrade, NuanzeServerWalletTradesResponse, NuanzeSidePositioningCell, NuanzeSourceInterval, NuanzeStockFundamentals, NuanzeSubaccountLeaderboardItem, NuanzeTradeSide, NuanzeWalletPosition, NuanzeWalletTrade, isNuanzeServerFailureResponse };
5
+ import { C as NuanzeServerWalletPnlSeriesResponse, D as isNuanzeServerFailureResponse, E as NuanzeServerWalletTradesResponse, S as NuanzeServerWalletPnlResponse, T as NuanzeServerWalletSummaryResponse, _ as NuanzeServerPlatformSummaryResponse, a as NuanzeServerFailureResponse, b as NuanzeServerSubaccountStatsResponse, c as NuanzeServerFundingRatesResponse, d as NuanzeServerMarketCandlesResponse, f as NuanzeServerMarketPositionsResponse, g as NuanzeServerOpenPositionsResponse, h as NuanzeServerNewsResponse, i as NuanzeServerCollateralFlowsResponse, l as NuanzeServerLeaderboardResponse, m as NuanzeServerMarketsResponse, n as NuanzeServerCollateralFlowSeriesResponse, o as NuanzeServerFollowedLeaderboardPositionResponse, p as NuanzeServerMarketTradesResponse, r as NuanzeServerCollateralFlowSummaryResponse, s as NuanzeServerFollowedLeaderboardResponse, t as NuanzeServerCohortsResponse, u as NuanzeServerMarketByTickerResponse, v as NuanzeServerSubaccountLeaderboardPositionResponse, w as NuanzeServerWalletPositionsResponse, x as NuanzeServerWalletLeaderboardPositionResponse, y as NuanzeServerSubaccountLeaderboardResponse } from "../serverQueryTypes-DS0PzfC8.cjs";
6
+ import { t as NuanzeServerFailureError } from "../NuanzeServerFailureError-DSY-xKVx.cjs";
7
+ export { GetNuanzeCohortsResponse, GetNuanzeCollateralFlowSeriesParams, GetNuanzeCollateralFlowSeriesResponse, GetNuanzeCollateralFlowSummaryParams, GetNuanzeCollateralFlowSummaryResponse, GetNuanzeCollateralFlowsParams, GetNuanzeCollateralFlowsResponse, GetNuanzeFollowedLeaderboardParams, GetNuanzeFollowedLeaderboardPositionParams, GetNuanzeFollowedLeaderboardPositionResponse, GetNuanzeFollowedLeaderboardResponse, GetNuanzeFundingRatesParams, GetNuanzeFundingRatesResponse, GetNuanzeLeaderboardParams, GetNuanzeLeaderboardResponse, GetNuanzeMarketByTickerParams, GetNuanzeMarketByTickerResponse, GetNuanzeMarketCandlesParams, GetNuanzeMarketCandlesResponse, GetNuanzeMarketPositioningParams, GetNuanzeMarketPositioningResponse, GetNuanzeMarketPositionsParams, GetNuanzeMarketPositionsResponse, GetNuanzeMarketTradesParams, GetNuanzeMarketTradesResponse, GetNuanzeMarketsParams, GetNuanzeMarketsResponse, GetNuanzeNewsParams, GetNuanzeNewsResponse, GetNuanzeOpenPositionsParams, GetNuanzeOpenPositionsResponse, GetNuanzePlatformSummaryParams, GetNuanzePlatformSummaryResponse, GetNuanzeSubaccountLeaderboardParams, GetNuanzeSubaccountLeaderboardPositionParams, GetNuanzeSubaccountLeaderboardPositionResponse, GetNuanzeSubaccountLeaderboardResponse, GetNuanzeSubaccountStatsParams, GetNuanzeSubaccountStatsResponse, GetNuanzeWalletLeaderboardPositionParams, GetNuanzeWalletLeaderboardPositionResponse, GetNuanzeWalletPnlParams, GetNuanzeWalletPnlResponse, GetNuanzeWalletPnlSeriesParams, GetNuanzeWalletPnlSeriesResponse, GetNuanzeWalletPositionsParams, GetNuanzeWalletPositionsResponse, GetNuanzeWalletSummaryParams, GetNuanzeWalletSummaryResponse, GetNuanzeWalletTradesParams, GetNuanzeWalletTradesResponse, NUANZE_CANDLE_INTERVALS, NUANZE_COHORT_KEYS, NUANZE_COVERAGES, NUANZE_ERROR_CODES, NUANZE_FLOW_BUCKETS, NUANZE_FLOW_EVENT_TYPES, NUANZE_FLOW_EVENT_TYPE_FILTERS, NUANZE_FLOW_TIMEFRAMES, NUANZE_FUNDAMENTALS_SOURCES, NUANZE_LEADERBOARD_TIMEFRAMES, NUANZE_MARGIN_KINDS, NUANZE_MARKET_POSITION_SORT_BYS, NUANZE_MARKET_POSITION_SORT_DIRECTIONS, NUANZE_MARKET_TRADING_STATUSES, NUANZE_MARKET_VENUES, NUANZE_MIN_POSITION_USDS, NUANZE_NEWS_ENTITY_ROLES, NUANZE_NEWS_EVENT_TYPES, NUANZE_NEWS_SENTIMENTS, NUANZE_NEWS_TIERS, NUANZE_NOTIONAL_BUCKETS, NUANZE_OPEN_POSITION_SORT_DIRECTIONS, NUANZE_PLATFORM_WINDOWS, NUANZE_PNL_WINDOWS, NUANZE_POINTS_TIERS, NUANZE_POSITIONING_GROUP_BYS, NUANZE_POSITION_SIDES, NUANZE_SERIES_METRICS, NUANZE_SOURCE_INTERVALS, NUANZE_TRADE_SIDES, NuanzeCandle, NuanzeCandleInterval, NuanzeCohort, NuanzeCohortKey, NuanzeCohortPositioningCell, NuanzeCohortSeriesPoint, NuanzeCollateralFlow, NuanzeCollateralFlowPoint, NuanzeCoverage, NuanzeErrorCode, NuanzeFlowBucket, NuanzeFlowEventType, NuanzeFlowEventTypeFilter, NuanzeFlowTags, NuanzeFlowTimeframe, NuanzeFollowedLeaderboardItem, NuanzeFundamentalsKeyData, NuanzeFundamentalsPerformance, NuanzeFundamentalsSocial, NuanzeFundamentalsSource, NuanzeFundamentalsValuation, NuanzeFundingObservation, NuanzeFundingRate, NuanzeLatestTicker, NuanzeLeaderboardItem, NuanzeLeaderboardTimeframe, NuanzeMarginKind, NuanzeMarket, NuanzeMarketComponentUpdatedAt, NuanzeMarketDetail, NuanzeMarketIdentity, NuanzeMarketPosition, NuanzeMarketPositionSortBy, NuanzeMarketPositionSortDirection, NuanzeMarketPositioningBase, NuanzeMarketPositioningCohortResponse, NuanzeMarketPositioningNotionalBucketResponse, NuanzeMarketPositioningSideResponse, NuanzeMarketSelector, NuanzeMarketTrade, NuanzeMarketTradingStatus, NuanzeMarketVenue, NuanzeMinPositionUsd, NuanzeNewsEntity, NuanzeNewsEntityRole, NuanzeNewsEventType, NuanzeNewsSentiment, NuanzeNewsStory, NuanzeNewsTier, NuanzeNotionalBucket, NuanzeNotionalBucketPositioningCell, NuanzeOpenPosition, NuanzeOpenPositionSortDirection, NuanzePlatformDeltas, NuanzePlatformWindow, NuanzePnlWindow, NuanzePointsTier, NuanzePositionSide, NuanzePositioningCellBase, NuanzePositioningGroupBy, NuanzePositioningTotals, NuanzeSeriesMetric, NuanzeSeriesPoint, NuanzeServerCandle, NuanzeServerCohort, NuanzeServerCohortPositioningCell, NuanzeServerCohortSeriesPoint, NuanzeServerCohortsResponse, NuanzeServerCollateralFlow, NuanzeServerCollateralFlowPoint, NuanzeServerCollateralFlowSeriesResponse, NuanzeServerCollateralFlowSummaryResponse, NuanzeServerCollateralFlowsResponse, NuanzeServerFailureError, NuanzeServerFailureResponse, NuanzeServerFollowedLeaderboardItem, NuanzeServerFollowedLeaderboardPositionResponse, NuanzeServerFollowedLeaderboardResponse, NuanzeServerFundamentalsKeyData, NuanzeServerFundamentalsPerformance, NuanzeServerFundamentalsSocial, NuanzeServerFundamentalsValuation, NuanzeServerFundingObservation, NuanzeServerFundingRate, NuanzeServerFundingRatesResponse, NuanzeServerLatestTicker, NuanzeServerLeaderboardItem, NuanzeServerLeaderboardResponse, NuanzeServerMarket, NuanzeServerMarketByTickerResponse, NuanzeServerMarketCandlesResponse, NuanzeServerMarketDetail, NuanzeServerMarketPosition, NuanzeServerMarketPositioningBase, NuanzeServerMarketPositioningCohortResponse, NuanzeServerMarketPositioningNotionalBucketResponse, NuanzeServerMarketPositioningResponse, NuanzeServerMarketPositioningSideResponse, NuanzeServerMarketPositionsResponse, NuanzeServerMarketTrade, NuanzeServerMarketTradesResponse, NuanzeServerMarketsResponse, NuanzeServerNewsResponse, NuanzeServerNotionalBucketPositioningCell, NuanzeServerOpenPosition, NuanzeServerOpenPositionsResponse, NuanzeServerPlatformDeltas, NuanzeServerPlatformSummaryResponse, NuanzeServerPositioningCellBase, NuanzeServerPositioningTotals, NuanzeServerSeriesPoint, NuanzeServerSidePositioningCell, NuanzeServerStockFundamentals, NuanzeServerSubaccountCloseTrade, NuanzeServerSubaccountLeaderboardItem, NuanzeServerSubaccountLeaderboardPositionResponse, NuanzeServerSubaccountLeaderboardResponse, NuanzeServerSubaccountLongShortBias, NuanzeServerSubaccountMostTradedMarket, NuanzeServerSubaccountStatsResponse, NuanzeServerWalletLeaderboardPositionResponse, NuanzeServerWalletPnlResponse, NuanzeServerWalletPnlSeriesResponse, NuanzeServerWalletPosition, NuanzeServerWalletPositionsResponse, NuanzeServerWalletSummaryResponse, NuanzeServerWalletTrade, NuanzeServerWalletTradesResponse, NuanzeSidePositioningCell, NuanzeSourceInterval, NuanzeStockFundamentals, NuanzeSubaccountCloseTrade, NuanzeSubaccountLeaderboardItem, NuanzeSubaccountLongShortBias, NuanzeSubaccountMostTradedMarket, NuanzeTradeSide, NuanzeWalletPosition, NuanzeWalletTrade, isNuanzeServerFailureResponse };
@@ -1,7 +1,7 @@
1
- import { $ as NuanzeMarket, A as NuanzeCandleInterval, At as NuanzePositioningTotals, B as NuanzeFlowTimeframe, C as NUANZE_PNL_WINDOWS, Ct as NuanzeOpenPositionSortDirection, D as NUANZE_SOURCE_INTERVALS, Dt as NuanzePositionSide, E as NUANZE_SERIES_METRICS, Et as NuanzePnlWindow, F as NuanzeCoverage, Ft as NuanzeStockFundamentals, G as NuanzeFundamentalsSource, H as NuanzeFundamentalsKeyData, I as NuanzeFlowBucket, It as NuanzeSubaccountLeaderboardItem, J as NuanzeFundingRate, K as NuanzeFundamentalsValuation, L as NuanzeFlowEventType, Lt as NuanzeTradeSide, M as NuanzeCohortPositioningCell, Mt as NuanzeSeriesPoint, N as NuanzeCollateralFlow, Nt as NuanzeSidePositioningCell, O as NUANZE_TRADE_SIDES, Ot as NuanzePositioningCellBase, P as NuanzeCollateralFlowPoint, Pt as NuanzeSourceInterval, Q as NuanzeMarginKind, R as NuanzeFlowEventTypeFilter, Rt as NuanzeWalletPosition, S as NUANZE_PLATFORM_WINDOWS, St as NuanzeOpenPosition, T as NUANZE_POSITION_SIDES, Tt as NuanzePlatformWindow, U as NuanzeFundamentalsPerformance, V as NuanzeFollowedLeaderboardItem, W as NuanzeFundamentalsSocial, X as NuanzeLeaderboardItem, Y as NuanzeLatestTicker, Z as NuanzeLeaderboardTimeframe, _ as NUANZE_NEWS_EVENT_TYPES, _t as NuanzeNewsSentiment, a as NUANZE_FLOW_EVENT_TYPES, at as NuanzeMarketPositionSortDirection, b as NUANZE_NOTIONAL_BUCKETS, bt as NuanzeNotionalBucket, c as NUANZE_FUNDAMENTALS_SOURCES, ct as NuanzeMarketPositioningNotionalBucketResponse, d as NUANZE_MARKET_POSITION_SORT_BYS, dt as NuanzeMarketTradingStatus, et as NuanzeMarketComponentUpdatedAt, f as NUANZE_MARKET_POSITION_SORT_DIRECTIONS, ft as NuanzeMarketVenue, g as NUANZE_NEWS_ENTITY_ROLES, gt as NuanzeNewsEventType, h as NUANZE_MIN_POSITION_USDS, ht as NuanzeNewsEntityRole, i as NUANZE_FLOW_BUCKETS, it as NuanzeMarketPositionSortBy, j as NuanzeCohortKey, jt as NuanzeSeriesMetric, k as NuanzeCandle, kt as NuanzePositioningGroupBy, l as NUANZE_LEADERBOARD_TIMEFRAMES, lt as NuanzeMarketPositioningSideResponse, m as NUANZE_MARKET_VENUES, mt as NuanzeNewsEntity, n as NUANZE_COHORT_KEYS, nt as NuanzeMarketIdentity, o as NUANZE_FLOW_EVENT_TYPE_FILTERS, ot as NuanzeMarketPositioningBase, p as NUANZE_MARKET_TRADING_STATUSES, pt as NuanzeMinPositionUsd, q as NuanzeFundingObservation, r as NUANZE_COVERAGES, rt as NuanzeMarketPosition, s as NUANZE_FLOW_TIMEFRAMES, st as NuanzeMarketPositioningCohortResponse, t as NUANZE_CANDLE_INTERVALS, tt as NuanzeMarketDetail, u as NUANZE_MARGIN_KINDS, ut as NuanzeMarketTrade, v as NUANZE_NEWS_SENTIMENTS, vt as NuanzeNewsStory, w as NUANZE_POSITIONING_GROUP_BYS, wt as NuanzePlatformDeltas, x as NUANZE_OPEN_POSITION_SORT_DIRECTIONS, xt as NuanzeNotionalBucketPositioningCell, y as NUANZE_NEWS_TIERS, yt as NuanzeNewsTier, z as NuanzeFlowTags, zt as NuanzeWalletTrade } from "../clientModelTypes-Cq932LpY.js";
2
- import { A as GetNuanzeOpenPositionsResponse, B as GetNuanzeWalletPnlResponse, C as GetNuanzeMarketTradesParams, D as GetNuanzeNewsParams, E as GetNuanzeMarketsResponse, F as GetNuanzeSubaccountLeaderboardPositionResponse, G as GetNuanzeWalletSummaryParams, H as GetNuanzeWalletPnlSeriesResponse, I as GetNuanzeSubaccountLeaderboardResponse, J as GetNuanzeWalletTradesResponse, K as GetNuanzeWalletSummaryResponse, L as GetNuanzeWalletLeaderboardPositionParams, M as GetNuanzePlatformSummaryResponse, N as GetNuanzeSubaccountLeaderboardParams, O as GetNuanzeNewsResponse, P as GetNuanzeSubaccountLeaderboardPositionParams, R as GetNuanzeWalletLeaderboardPositionResponse, S as GetNuanzeMarketPositionsResponse, T as GetNuanzeMarketsParams, U as GetNuanzeWalletPositionsParams, V as GetNuanzeWalletPnlSeriesParams, W as GetNuanzeWalletPositionsResponse, Y as NuanzeMarketSelector, _ as GetNuanzeMarketCandlesParams, a as GetNuanzeCollateralFlowsParams, b as GetNuanzeMarketPositioningResponse, c as GetNuanzeFollowedLeaderboardPositionParams, d as GetNuanzeFundingRatesParams, f as GetNuanzeFundingRatesResponse, g as GetNuanzeMarketByTickerResponse, h as GetNuanzeMarketByTickerParams, i as GetNuanzeCollateralFlowSummaryResponse, j as GetNuanzePlatformSummaryParams, k as GetNuanzeOpenPositionsParams, l as GetNuanzeFollowedLeaderboardPositionResponse, m as GetNuanzeLeaderboardResponse, n as GetNuanzeCollateralFlowSeriesResponse, o as GetNuanzeCollateralFlowsResponse, p as GetNuanzeLeaderboardParams, q as GetNuanzeWalletTradesParams, r as GetNuanzeCollateralFlowSummaryParams, s as GetNuanzeFollowedLeaderboardParams, t as GetNuanzeCollateralFlowSeriesParams, u as GetNuanzeFollowedLeaderboardResponse, v as GetNuanzeMarketCandlesResponse, w as GetNuanzeMarketTradesResponse, x as GetNuanzeMarketPositionsParams, y as GetNuanzeMarketPositioningParams, z as GetNuanzeWalletPnlParams } from "../clientTypes-DK_rXTKz.js";
3
- import { A as NuanzeServerStockFundamentals, C as NuanzeServerNotionalBucketPositioningCell, D as NuanzeServerPositioningTotals, E as NuanzeServerPositioningCellBase, M as NuanzeServerWalletPosition, N as NuanzeServerWalletTrade, O as NuanzeServerSeriesPoint, S as NuanzeServerMarketTrade, T as NuanzeServerPlatformDeltas, _ as NuanzeServerMarketPositioningBase, a as NuanzeServerFollowedLeaderboardItem, b as NuanzeServerMarketPositioningResponse, c as NuanzeServerFundamentalsSocial, d as NuanzeServerFundingRate, f as NuanzeServerLatestTicker, g as NuanzeServerMarketPosition, h as NuanzeServerMarketDetail, i as NuanzeServerCollateralFlowPoint, j as NuanzeServerSubaccountLeaderboardItem, k as NuanzeServerSidePositioningCell, l as NuanzeServerFundamentalsValuation, m as NuanzeServerMarket, n as NuanzeServerCohortPositioningCell, o as NuanzeServerFundamentalsKeyData, p as NuanzeServerLeaderboardItem, r as NuanzeServerCollateralFlow, s as NuanzeServerFundamentalsPerformance, t as NuanzeServerCandle, u as NuanzeServerFundingObservation, v as NuanzeServerMarketPositioningCohortResponse, w as NuanzeServerOpenPosition, x as NuanzeServerMarketPositioningSideResponse, y as NuanzeServerMarketPositioningNotionalBucketResponse } from "../serverModelTypes-DREyTkS2.js";
1
+ import { $ as NuanzeLeaderboardItem, A as NuanzeCandle, At as NuanzePointsTier, B as NuanzeFlowEventType, Bt as NuanzeSubaccountCloseTrade, C as NUANZE_PNL_WINDOWS, Ct as NuanzeNotionalBucket, D as NUANZE_SERIES_METRICS, Dt as NuanzePlatformDeltas, E as NUANZE_POSITION_SIDES, Et as NuanzeOpenPositionSortDirection, F as NuanzeCohortSeriesPoint, Ft as NuanzeSeriesMetric, G as NuanzeFundamentalsKeyData, Gt as NuanzeWalletPosition, H as NuanzeFlowTags, Ht as NuanzeSubaccountLongShortBias, I as NuanzeCollateralFlow, It as NuanzeSeriesPoint, J as NuanzeFundamentalsSource, K as NuanzeFundamentalsPerformance, Kt as NuanzeWalletTrade, L as NuanzeCollateralFlowPoint, Lt as NuanzeSidePositioningCell, M as NuanzeCohort, Mt as NuanzePositioningCellBase, N as NuanzeCohortKey, Nt as NuanzePositioningGroupBy, O as NUANZE_SOURCE_INTERVALS, Ot as NuanzePlatformWindow, P as NuanzeCohortPositioningCell, Pt as NuanzePositioningTotals, Q as NuanzeLatestTicker, R as NuanzeCoverage, Rt as NuanzeSourceInterval, S as NUANZE_PLATFORM_WINDOWS, St as NuanzeNewsTier, T as NUANZE_POSITIONING_GROUP_BYS, Tt as NuanzeOpenPosition, U as NuanzeFlowTimeframe, Ut as NuanzeSubaccountMostTradedMarket, V as NuanzeFlowEventTypeFilter, Vt as NuanzeSubaccountLeaderboardItem, W as NuanzeFollowedLeaderboardItem, Wt as NuanzeTradeSide, X as NuanzeFundingObservation, Y as NuanzeFundamentalsValuation, Z as NuanzeFundingRate, _ as NUANZE_NEWS_EVENT_TYPES, _t as NuanzeNewsEntity, a as NUANZE_FLOW_EVENT_TYPES, at as NuanzeMarketIdentity, b as NUANZE_NOTIONAL_BUCKETS, bt as NuanzeNewsSentiment, c as NUANZE_FUNDAMENTALS_SOURCES, ct as NuanzeMarketPositionSortDirection, d as NUANZE_MARKET_POSITION_SORT_BYS, dt as NuanzeMarketPositioningNotionalBucketResponse, et as NuanzeLeaderboardTimeframe, f as NUANZE_MARKET_POSITION_SORT_DIRECTIONS, ft as NuanzeMarketPositioningSideResponse, g as NUANZE_NEWS_ENTITY_ROLES, gt as NuanzeMinPositionUsd, h as NUANZE_MIN_POSITION_USDS, ht as NuanzeMarketVenue, i as NUANZE_FLOW_BUCKETS, it as NuanzeMarketDetail, j as NuanzeCandleInterval, jt as NuanzePositionSide, k as NUANZE_TRADE_SIDES, kt as NuanzePnlWindow, l as NUANZE_LEADERBOARD_TIMEFRAMES, lt as NuanzeMarketPositioningBase, m as NUANZE_MARKET_VENUES, mt as NuanzeMarketTradingStatus, n as NUANZE_COHORT_KEYS, nt as NuanzeMarket, o as NUANZE_FLOW_EVENT_TYPE_FILTERS, ot as NuanzeMarketPosition, p as NUANZE_MARKET_TRADING_STATUSES, pt as NuanzeMarketTrade, q as NuanzeFundamentalsSocial, r as NUANZE_COVERAGES, rt as NuanzeMarketComponentUpdatedAt, s as NUANZE_FLOW_TIMEFRAMES, st as NuanzeMarketPositionSortBy, t as NUANZE_CANDLE_INTERVALS, tt as NuanzeMarginKind, u as NUANZE_MARGIN_KINDS, ut as NuanzeMarketPositioningCohortResponse, v as NUANZE_NEWS_SENTIMENTS, vt as NuanzeNewsEntityRole, w as NUANZE_POINTS_TIERS, wt as NuanzeNotionalBucketPositioningCell, x as NUANZE_OPEN_POSITION_SORT_DIRECTIONS, xt as NuanzeNewsStory, y as NUANZE_NEWS_TIERS, yt as NuanzeNewsEventType, z as NuanzeFlowBucket, zt as NuanzeStockFundamentals } from "../clientModelTypes-B22P2pH3.js";
2
+ import { A as GetNuanzeOpenPositionsParams, B as GetNuanzeWalletLeaderboardPositionParams, C as GetNuanzeMarketPositionsResponse, D as GetNuanzeMarketsResponse, E as GetNuanzeMarketsParams, F as GetNuanzeSubaccountLeaderboardPositionParams, G as GetNuanzeWalletPnlSeriesResponse, H as GetNuanzeWalletPnlParams, I as GetNuanzeSubaccountLeaderboardPositionResponse, J as GetNuanzeWalletSummaryParams, K as GetNuanzeWalletPositionsParams, L as GetNuanzeSubaccountLeaderboardResponse, M as GetNuanzePlatformSummaryParams, N as GetNuanzePlatformSummaryResponse, O as GetNuanzeNewsParams, P as GetNuanzeSubaccountLeaderboardParams, Q as NuanzeMarketSelector, R as GetNuanzeSubaccountStatsParams, S as GetNuanzeMarketPositionsParams, T as GetNuanzeMarketTradesResponse, U as GetNuanzeWalletPnlResponse, V as GetNuanzeWalletLeaderboardPositionResponse, W as GetNuanzeWalletPnlSeriesParams, X as GetNuanzeWalletTradesParams, Y as GetNuanzeWalletSummaryResponse, Z as GetNuanzeWalletTradesResponse, _ as GetNuanzeMarketByTickerResponse, a as GetNuanzeCollateralFlowSummaryResponse, b as GetNuanzeMarketPositioningParams, c as GetNuanzeFollowedLeaderboardParams, d as GetNuanzeFollowedLeaderboardResponse, f as GetNuanzeFundingRatesParams, g as GetNuanzeMarketByTickerParams, h as GetNuanzeLeaderboardResponse, i as GetNuanzeCollateralFlowSummaryParams, j as GetNuanzeOpenPositionsResponse, k as GetNuanzeNewsResponse, l as GetNuanzeFollowedLeaderboardPositionParams, m as GetNuanzeLeaderboardParams, n as GetNuanzeCollateralFlowSeriesParams, o as GetNuanzeCollateralFlowsParams, p as GetNuanzeFundingRatesResponse, q as GetNuanzeWalletPositionsResponse, r as GetNuanzeCollateralFlowSeriesResponse, s as GetNuanzeCollateralFlowsResponse, t as GetNuanzeCohortsResponse, u as GetNuanzeFollowedLeaderboardPositionResponse, v as GetNuanzeMarketCandlesParams, w as GetNuanzeMarketTradesParams, x as GetNuanzeMarketPositioningResponse, y as GetNuanzeMarketCandlesResponse, z as GetNuanzeSubaccountStatsResponse } from "../clientTypes-CJWiS0sM.js";
3
+ import { A as NuanzeServerSeriesPoint, C as NuanzeServerMarketPositioningSideResponse, D as NuanzeServerPlatformDeltas, E as NuanzeServerOpenPosition, F as NuanzeServerSubaccountLongShortBias, I as NuanzeServerSubaccountMostTradedMarket, L as NuanzeServerWalletPosition, M as NuanzeServerStockFundamentals, N as NuanzeServerSubaccountCloseTrade, O as NuanzeServerPositioningCellBase, P as NuanzeServerSubaccountLeaderboardItem, R as NuanzeServerWalletTrade, S as NuanzeServerMarketPositioningResponse, T as NuanzeServerNotionalBucketPositioningCell, _ as NuanzeServerMarketDetail, a as NuanzeServerCollateralFlow, b as NuanzeServerMarketPositioningCohortResponse, c as NuanzeServerFundamentalsKeyData, d as NuanzeServerFundamentalsValuation, f as NuanzeServerFundingObservation, g as NuanzeServerMarket, h as NuanzeServerLeaderboardItem, i as NuanzeServerCohortSeriesPoint, j as NuanzeServerSidePositioningCell, k as NuanzeServerPositioningTotals, l as NuanzeServerFundamentalsPerformance, m as NuanzeServerLatestTicker, n as NuanzeServerCohort, o as NuanzeServerCollateralFlowPoint, p as NuanzeServerFundingRate, r as NuanzeServerCohortPositioningCell, s as NuanzeServerFollowedLeaderboardItem, t as NuanzeServerCandle, u as NuanzeServerFundamentalsSocial, v as NuanzeServerMarketPosition, w as NuanzeServerMarketTrade, x as NuanzeServerMarketPositioningNotionalBucketResponse, y as NuanzeServerMarketPositioningBase } from "../serverModelTypes-D0JfVkqd.js";
4
4
  import { n as NuanzeErrorCode, t as NUANZE_ERROR_CODES } from "../nuanzeErrorCodes-DWzJGzaI.js";
5
- import { C as NuanzeServerWalletSummaryResponse, S as NuanzeServerWalletPositionsResponse, T as isNuanzeServerFailureResponse, _ as NuanzeServerSubaccountLeaderboardPositionResponse, a as NuanzeServerFollowedLeaderboardPositionResponse, b as NuanzeServerWalletPnlResponse, c as NuanzeServerLeaderboardResponse, d as NuanzeServerMarketPositionsResponse, f as NuanzeServerMarketTradesResponse, g as NuanzeServerPlatformSummaryResponse, h as NuanzeServerOpenPositionsResponse, i as NuanzeServerFailureResponse, l as NuanzeServerMarketByTickerResponse, m as NuanzeServerNewsResponse, n as NuanzeServerCollateralFlowSummaryResponse, o as NuanzeServerFollowedLeaderboardResponse, p as NuanzeServerMarketsResponse, r as NuanzeServerCollateralFlowsResponse, s as NuanzeServerFundingRatesResponse, t as NuanzeServerCollateralFlowSeriesResponse, u as NuanzeServerMarketCandlesResponse, v as NuanzeServerSubaccountLeaderboardResponse, w as NuanzeServerWalletTradesResponse, x as NuanzeServerWalletPnlSeriesResponse, y as NuanzeServerWalletLeaderboardPositionResponse } from "../serverQueryTypes-CSwEuNlG.js";
6
- import { t as NuanzeServerFailureError } from "../NuanzeServerFailureError-XY6Sa63q.js";
7
- export { GetNuanzeCollateralFlowSeriesParams, GetNuanzeCollateralFlowSeriesResponse, GetNuanzeCollateralFlowSummaryParams, GetNuanzeCollateralFlowSummaryResponse, GetNuanzeCollateralFlowsParams, GetNuanzeCollateralFlowsResponse, GetNuanzeFollowedLeaderboardParams, GetNuanzeFollowedLeaderboardPositionParams, GetNuanzeFollowedLeaderboardPositionResponse, GetNuanzeFollowedLeaderboardResponse, GetNuanzeFundingRatesParams, GetNuanzeFundingRatesResponse, GetNuanzeLeaderboardParams, GetNuanzeLeaderboardResponse, GetNuanzeMarketByTickerParams, GetNuanzeMarketByTickerResponse, GetNuanzeMarketCandlesParams, GetNuanzeMarketCandlesResponse, GetNuanzeMarketPositioningParams, GetNuanzeMarketPositioningResponse, GetNuanzeMarketPositionsParams, GetNuanzeMarketPositionsResponse, GetNuanzeMarketTradesParams, GetNuanzeMarketTradesResponse, GetNuanzeMarketsParams, GetNuanzeMarketsResponse, GetNuanzeNewsParams, GetNuanzeNewsResponse, GetNuanzeOpenPositionsParams, GetNuanzeOpenPositionsResponse, GetNuanzePlatformSummaryParams, GetNuanzePlatformSummaryResponse, GetNuanzeSubaccountLeaderboardParams, GetNuanzeSubaccountLeaderboardPositionParams, GetNuanzeSubaccountLeaderboardPositionResponse, GetNuanzeSubaccountLeaderboardResponse, GetNuanzeWalletLeaderboardPositionParams, GetNuanzeWalletLeaderboardPositionResponse, GetNuanzeWalletPnlParams, GetNuanzeWalletPnlResponse, GetNuanzeWalletPnlSeriesParams, GetNuanzeWalletPnlSeriesResponse, GetNuanzeWalletPositionsParams, GetNuanzeWalletPositionsResponse, GetNuanzeWalletSummaryParams, GetNuanzeWalletSummaryResponse, GetNuanzeWalletTradesParams, GetNuanzeWalletTradesResponse, NUANZE_CANDLE_INTERVALS, NUANZE_COHORT_KEYS, NUANZE_COVERAGES, NUANZE_ERROR_CODES, NUANZE_FLOW_BUCKETS, NUANZE_FLOW_EVENT_TYPES, NUANZE_FLOW_EVENT_TYPE_FILTERS, NUANZE_FLOW_TIMEFRAMES, NUANZE_FUNDAMENTALS_SOURCES, NUANZE_LEADERBOARD_TIMEFRAMES, NUANZE_MARGIN_KINDS, NUANZE_MARKET_POSITION_SORT_BYS, NUANZE_MARKET_POSITION_SORT_DIRECTIONS, NUANZE_MARKET_TRADING_STATUSES, NUANZE_MARKET_VENUES, NUANZE_MIN_POSITION_USDS, NUANZE_NEWS_ENTITY_ROLES, NUANZE_NEWS_EVENT_TYPES, NUANZE_NEWS_SENTIMENTS, NUANZE_NEWS_TIERS, NUANZE_NOTIONAL_BUCKETS, NUANZE_OPEN_POSITION_SORT_DIRECTIONS, NUANZE_PLATFORM_WINDOWS, NUANZE_PNL_WINDOWS, NUANZE_POSITIONING_GROUP_BYS, NUANZE_POSITION_SIDES, NUANZE_SERIES_METRICS, NUANZE_SOURCE_INTERVALS, NUANZE_TRADE_SIDES, NuanzeCandle, NuanzeCandleInterval, NuanzeCohortKey, NuanzeCohortPositioningCell, NuanzeCollateralFlow, NuanzeCollateralFlowPoint, NuanzeCoverage, NuanzeErrorCode, NuanzeFlowBucket, NuanzeFlowEventType, NuanzeFlowEventTypeFilter, NuanzeFlowTags, NuanzeFlowTimeframe, NuanzeFollowedLeaderboardItem, NuanzeFundamentalsKeyData, NuanzeFundamentalsPerformance, NuanzeFundamentalsSocial, NuanzeFundamentalsSource, NuanzeFundamentalsValuation, NuanzeFundingObservation, NuanzeFundingRate, NuanzeLatestTicker, NuanzeLeaderboardItem, NuanzeLeaderboardTimeframe, NuanzeMarginKind, NuanzeMarket, NuanzeMarketComponentUpdatedAt, NuanzeMarketDetail, NuanzeMarketIdentity, NuanzeMarketPosition, NuanzeMarketPositionSortBy, NuanzeMarketPositionSortDirection, NuanzeMarketPositioningBase, NuanzeMarketPositioningCohortResponse, NuanzeMarketPositioningNotionalBucketResponse, NuanzeMarketPositioningSideResponse, NuanzeMarketSelector, NuanzeMarketTrade, NuanzeMarketTradingStatus, NuanzeMarketVenue, NuanzeMinPositionUsd, NuanzeNewsEntity, NuanzeNewsEntityRole, NuanzeNewsEventType, NuanzeNewsSentiment, NuanzeNewsStory, NuanzeNewsTier, NuanzeNotionalBucket, NuanzeNotionalBucketPositioningCell, NuanzeOpenPosition, NuanzeOpenPositionSortDirection, NuanzePlatformDeltas, NuanzePlatformWindow, NuanzePnlWindow, NuanzePositionSide, NuanzePositioningCellBase, NuanzePositioningGroupBy, NuanzePositioningTotals, NuanzeSeriesMetric, NuanzeSeriesPoint, NuanzeServerCandle, NuanzeServerCohortPositioningCell, NuanzeServerCollateralFlow, NuanzeServerCollateralFlowPoint, NuanzeServerCollateralFlowSeriesResponse, NuanzeServerCollateralFlowSummaryResponse, NuanzeServerCollateralFlowsResponse, NuanzeServerFailureError, NuanzeServerFailureResponse, NuanzeServerFollowedLeaderboardItem, NuanzeServerFollowedLeaderboardPositionResponse, NuanzeServerFollowedLeaderboardResponse, NuanzeServerFundamentalsKeyData, NuanzeServerFundamentalsPerformance, NuanzeServerFundamentalsSocial, NuanzeServerFundamentalsValuation, NuanzeServerFundingObservation, NuanzeServerFundingRate, NuanzeServerFundingRatesResponse, NuanzeServerLatestTicker, NuanzeServerLeaderboardItem, NuanzeServerLeaderboardResponse, NuanzeServerMarket, NuanzeServerMarketByTickerResponse, NuanzeServerMarketCandlesResponse, NuanzeServerMarketDetail, NuanzeServerMarketPosition, NuanzeServerMarketPositioningBase, NuanzeServerMarketPositioningCohortResponse, NuanzeServerMarketPositioningNotionalBucketResponse, NuanzeServerMarketPositioningResponse, NuanzeServerMarketPositioningSideResponse, NuanzeServerMarketPositionsResponse, NuanzeServerMarketTrade, NuanzeServerMarketTradesResponse, NuanzeServerMarketsResponse, NuanzeServerNewsResponse, NuanzeServerNotionalBucketPositioningCell, NuanzeServerOpenPosition, NuanzeServerOpenPositionsResponse, NuanzeServerPlatformDeltas, NuanzeServerPlatformSummaryResponse, NuanzeServerPositioningCellBase, NuanzeServerPositioningTotals, NuanzeServerSeriesPoint, NuanzeServerSidePositioningCell, NuanzeServerStockFundamentals, NuanzeServerSubaccountLeaderboardItem, NuanzeServerSubaccountLeaderboardPositionResponse, NuanzeServerSubaccountLeaderboardResponse, NuanzeServerWalletLeaderboardPositionResponse, NuanzeServerWalletPnlResponse, NuanzeServerWalletPnlSeriesResponse, NuanzeServerWalletPosition, NuanzeServerWalletPositionsResponse, NuanzeServerWalletSummaryResponse, NuanzeServerWalletTrade, NuanzeServerWalletTradesResponse, NuanzeSidePositioningCell, NuanzeSourceInterval, NuanzeStockFundamentals, NuanzeSubaccountLeaderboardItem, NuanzeTradeSide, NuanzeWalletPosition, NuanzeWalletTrade, isNuanzeServerFailureResponse };
5
+ import { C as NuanzeServerWalletPnlSeriesResponse, D as isNuanzeServerFailureResponse, E as NuanzeServerWalletTradesResponse, S as NuanzeServerWalletPnlResponse, T as NuanzeServerWalletSummaryResponse, _ as NuanzeServerPlatformSummaryResponse, a as NuanzeServerFailureResponse, b as NuanzeServerSubaccountStatsResponse, c as NuanzeServerFundingRatesResponse, d as NuanzeServerMarketCandlesResponse, f as NuanzeServerMarketPositionsResponse, g as NuanzeServerOpenPositionsResponse, h as NuanzeServerNewsResponse, i as NuanzeServerCollateralFlowsResponse, l as NuanzeServerLeaderboardResponse, m as NuanzeServerMarketsResponse, n as NuanzeServerCollateralFlowSeriesResponse, o as NuanzeServerFollowedLeaderboardPositionResponse, p as NuanzeServerMarketTradesResponse, r as NuanzeServerCollateralFlowSummaryResponse, s as NuanzeServerFollowedLeaderboardResponse, t as NuanzeServerCohortsResponse, u as NuanzeServerMarketByTickerResponse, v as NuanzeServerSubaccountLeaderboardPositionResponse, w as NuanzeServerWalletPositionsResponse, x as NuanzeServerWalletLeaderboardPositionResponse, y as NuanzeServerSubaccountLeaderboardResponse } from "../serverQueryTypes-CflQbxsI.js";
6
+ import { t as NuanzeServerFailureError } from "../NuanzeServerFailureError-DckOXwP0.js";
7
+ export { GetNuanzeCohortsResponse, GetNuanzeCollateralFlowSeriesParams, GetNuanzeCollateralFlowSeriesResponse, GetNuanzeCollateralFlowSummaryParams, GetNuanzeCollateralFlowSummaryResponse, GetNuanzeCollateralFlowsParams, GetNuanzeCollateralFlowsResponse, GetNuanzeFollowedLeaderboardParams, GetNuanzeFollowedLeaderboardPositionParams, GetNuanzeFollowedLeaderboardPositionResponse, GetNuanzeFollowedLeaderboardResponse, GetNuanzeFundingRatesParams, GetNuanzeFundingRatesResponse, GetNuanzeLeaderboardParams, GetNuanzeLeaderboardResponse, GetNuanzeMarketByTickerParams, GetNuanzeMarketByTickerResponse, GetNuanzeMarketCandlesParams, GetNuanzeMarketCandlesResponse, GetNuanzeMarketPositioningParams, GetNuanzeMarketPositioningResponse, GetNuanzeMarketPositionsParams, GetNuanzeMarketPositionsResponse, GetNuanzeMarketTradesParams, GetNuanzeMarketTradesResponse, GetNuanzeMarketsParams, GetNuanzeMarketsResponse, GetNuanzeNewsParams, GetNuanzeNewsResponse, GetNuanzeOpenPositionsParams, GetNuanzeOpenPositionsResponse, GetNuanzePlatformSummaryParams, GetNuanzePlatformSummaryResponse, GetNuanzeSubaccountLeaderboardParams, GetNuanzeSubaccountLeaderboardPositionParams, GetNuanzeSubaccountLeaderboardPositionResponse, GetNuanzeSubaccountLeaderboardResponse, GetNuanzeSubaccountStatsParams, GetNuanzeSubaccountStatsResponse, GetNuanzeWalletLeaderboardPositionParams, GetNuanzeWalletLeaderboardPositionResponse, GetNuanzeWalletPnlParams, GetNuanzeWalletPnlResponse, GetNuanzeWalletPnlSeriesParams, GetNuanzeWalletPnlSeriesResponse, GetNuanzeWalletPositionsParams, GetNuanzeWalletPositionsResponse, GetNuanzeWalletSummaryParams, GetNuanzeWalletSummaryResponse, GetNuanzeWalletTradesParams, GetNuanzeWalletTradesResponse, NUANZE_CANDLE_INTERVALS, NUANZE_COHORT_KEYS, NUANZE_COVERAGES, NUANZE_ERROR_CODES, NUANZE_FLOW_BUCKETS, NUANZE_FLOW_EVENT_TYPES, NUANZE_FLOW_EVENT_TYPE_FILTERS, NUANZE_FLOW_TIMEFRAMES, NUANZE_FUNDAMENTALS_SOURCES, NUANZE_LEADERBOARD_TIMEFRAMES, NUANZE_MARGIN_KINDS, NUANZE_MARKET_POSITION_SORT_BYS, NUANZE_MARKET_POSITION_SORT_DIRECTIONS, NUANZE_MARKET_TRADING_STATUSES, NUANZE_MARKET_VENUES, NUANZE_MIN_POSITION_USDS, NUANZE_NEWS_ENTITY_ROLES, NUANZE_NEWS_EVENT_TYPES, NUANZE_NEWS_SENTIMENTS, NUANZE_NEWS_TIERS, NUANZE_NOTIONAL_BUCKETS, NUANZE_OPEN_POSITION_SORT_DIRECTIONS, NUANZE_PLATFORM_WINDOWS, NUANZE_PNL_WINDOWS, NUANZE_POINTS_TIERS, NUANZE_POSITIONING_GROUP_BYS, NUANZE_POSITION_SIDES, NUANZE_SERIES_METRICS, NUANZE_SOURCE_INTERVALS, NUANZE_TRADE_SIDES, NuanzeCandle, NuanzeCandleInterval, NuanzeCohort, NuanzeCohortKey, NuanzeCohortPositioningCell, NuanzeCohortSeriesPoint, NuanzeCollateralFlow, NuanzeCollateralFlowPoint, NuanzeCoverage, NuanzeErrorCode, NuanzeFlowBucket, NuanzeFlowEventType, NuanzeFlowEventTypeFilter, NuanzeFlowTags, NuanzeFlowTimeframe, NuanzeFollowedLeaderboardItem, NuanzeFundamentalsKeyData, NuanzeFundamentalsPerformance, NuanzeFundamentalsSocial, NuanzeFundamentalsSource, NuanzeFundamentalsValuation, NuanzeFundingObservation, NuanzeFundingRate, NuanzeLatestTicker, NuanzeLeaderboardItem, NuanzeLeaderboardTimeframe, NuanzeMarginKind, NuanzeMarket, NuanzeMarketComponentUpdatedAt, NuanzeMarketDetail, NuanzeMarketIdentity, NuanzeMarketPosition, NuanzeMarketPositionSortBy, NuanzeMarketPositionSortDirection, NuanzeMarketPositioningBase, NuanzeMarketPositioningCohortResponse, NuanzeMarketPositioningNotionalBucketResponse, NuanzeMarketPositioningSideResponse, NuanzeMarketSelector, NuanzeMarketTrade, NuanzeMarketTradingStatus, NuanzeMarketVenue, NuanzeMinPositionUsd, NuanzeNewsEntity, NuanzeNewsEntityRole, NuanzeNewsEventType, NuanzeNewsSentiment, NuanzeNewsStory, NuanzeNewsTier, NuanzeNotionalBucket, NuanzeNotionalBucketPositioningCell, NuanzeOpenPosition, NuanzeOpenPositionSortDirection, NuanzePlatformDeltas, NuanzePlatformWindow, NuanzePnlWindow, NuanzePointsTier, NuanzePositionSide, NuanzePositioningCellBase, NuanzePositioningGroupBy, NuanzePositioningTotals, NuanzeSeriesMetric, NuanzeSeriesPoint, NuanzeServerCandle, NuanzeServerCohort, NuanzeServerCohortPositioningCell, NuanzeServerCohortSeriesPoint, NuanzeServerCohortsResponse, NuanzeServerCollateralFlow, NuanzeServerCollateralFlowPoint, NuanzeServerCollateralFlowSeriesResponse, NuanzeServerCollateralFlowSummaryResponse, NuanzeServerCollateralFlowsResponse, NuanzeServerFailureError, NuanzeServerFailureResponse, NuanzeServerFollowedLeaderboardItem, NuanzeServerFollowedLeaderboardPositionResponse, NuanzeServerFollowedLeaderboardResponse, NuanzeServerFundamentalsKeyData, NuanzeServerFundamentalsPerformance, NuanzeServerFundamentalsSocial, NuanzeServerFundamentalsValuation, NuanzeServerFundingObservation, NuanzeServerFundingRate, NuanzeServerFundingRatesResponse, NuanzeServerLatestTicker, NuanzeServerLeaderboardItem, NuanzeServerLeaderboardResponse, NuanzeServerMarket, NuanzeServerMarketByTickerResponse, NuanzeServerMarketCandlesResponse, NuanzeServerMarketDetail, NuanzeServerMarketPosition, NuanzeServerMarketPositioningBase, NuanzeServerMarketPositioningCohortResponse, NuanzeServerMarketPositioningNotionalBucketResponse, NuanzeServerMarketPositioningResponse, NuanzeServerMarketPositioningSideResponse, NuanzeServerMarketPositionsResponse, NuanzeServerMarketTrade, NuanzeServerMarketTradesResponse, NuanzeServerMarketsResponse, NuanzeServerNewsResponse, NuanzeServerNotionalBucketPositioningCell, NuanzeServerOpenPosition, NuanzeServerOpenPositionsResponse, NuanzeServerPlatformDeltas, NuanzeServerPlatformSummaryResponse, NuanzeServerPositioningCellBase, NuanzeServerPositioningTotals, NuanzeServerSeriesPoint, NuanzeServerSidePositioningCell, NuanzeServerStockFundamentals, NuanzeServerSubaccountCloseTrade, NuanzeServerSubaccountLeaderboardItem, NuanzeServerSubaccountLeaderboardPositionResponse, NuanzeServerSubaccountLeaderboardResponse, NuanzeServerSubaccountLongShortBias, NuanzeServerSubaccountMostTradedMarket, NuanzeServerSubaccountStatsResponse, NuanzeServerWalletLeaderboardPositionResponse, NuanzeServerWalletPnlResponse, NuanzeServerWalletPnlSeriesResponse, NuanzeServerWalletPosition, NuanzeServerWalletPositionsResponse, NuanzeServerWalletSummaryResponse, NuanzeServerWalletTrade, NuanzeServerWalletTradesResponse, NuanzeSidePositioningCell, NuanzeSourceInterval, NuanzeStockFundamentals, NuanzeSubaccountCloseTrade, NuanzeSubaccountLeaderboardItem, NuanzeSubaccountLongShortBias, NuanzeSubaccountMostTradedMarket, NuanzeTradeSide, NuanzeWalletPosition, NuanzeWalletTrade, isNuanzeServerFailureResponse };
@@ -1,5 +1,5 @@
1
1
  import { NuanzeServerFailureError } from "./NuanzeServerFailureError.js";
2
2
  import { isNuanzeServerFailureResponse } from "./serverQueryTypes.js";
3
- import { NUANZE_CANDLE_INTERVALS, NUANZE_COHORT_KEYS, NUANZE_COVERAGES, NUANZE_FLOW_BUCKETS, NUANZE_FLOW_EVENT_TYPES, NUANZE_FLOW_EVENT_TYPE_FILTERS, NUANZE_FLOW_TIMEFRAMES, NUANZE_FUNDAMENTALS_SOURCES, NUANZE_LEADERBOARD_TIMEFRAMES, NUANZE_MARGIN_KINDS, NUANZE_MARKET_POSITION_SORT_BYS, NUANZE_MARKET_POSITION_SORT_DIRECTIONS, NUANZE_MARKET_TRADING_STATUSES, NUANZE_MARKET_VENUES, NUANZE_MIN_POSITION_USDS, NUANZE_NEWS_ENTITY_ROLES, NUANZE_NEWS_EVENT_TYPES, NUANZE_NEWS_SENTIMENTS, NUANZE_NEWS_TIERS, NUANZE_NOTIONAL_BUCKETS, NUANZE_OPEN_POSITION_SORT_DIRECTIONS, NUANZE_PLATFORM_WINDOWS, NUANZE_PNL_WINDOWS, NUANZE_POSITIONING_GROUP_BYS, NUANZE_POSITION_SIDES, NUANZE_SERIES_METRICS, NUANZE_SOURCE_INTERVALS, NUANZE_TRADE_SIDES } from "./clientModelTypes.js";
3
+ import { NUANZE_CANDLE_INTERVALS, NUANZE_COHORT_KEYS, NUANZE_COVERAGES, NUANZE_FLOW_BUCKETS, NUANZE_FLOW_EVENT_TYPES, NUANZE_FLOW_EVENT_TYPE_FILTERS, NUANZE_FLOW_TIMEFRAMES, NUANZE_FUNDAMENTALS_SOURCES, NUANZE_LEADERBOARD_TIMEFRAMES, NUANZE_MARGIN_KINDS, NUANZE_MARKET_POSITION_SORT_BYS, NUANZE_MARKET_POSITION_SORT_DIRECTIONS, NUANZE_MARKET_TRADING_STATUSES, NUANZE_MARKET_VENUES, NUANZE_MIN_POSITION_USDS, NUANZE_NEWS_ENTITY_ROLES, NUANZE_NEWS_EVENT_TYPES, NUANZE_NEWS_SENTIMENTS, NUANZE_NEWS_TIERS, NUANZE_NOTIONAL_BUCKETS, NUANZE_OPEN_POSITION_SORT_DIRECTIONS, NUANZE_PLATFORM_WINDOWS, NUANZE_PNL_WINDOWS, NUANZE_POINTS_TIERS, NUANZE_POSITIONING_GROUP_BYS, NUANZE_POSITION_SIDES, NUANZE_SERIES_METRICS, NUANZE_SOURCE_INTERVALS, NUANZE_TRADE_SIDES } from "./clientModelTypes.js";
4
4
  import { NUANZE_ERROR_CODES } from "./nuanzeErrorCodes.js";
5
- export { NUANZE_CANDLE_INTERVALS, NUANZE_COHORT_KEYS, NUANZE_COVERAGES, NUANZE_ERROR_CODES, NUANZE_FLOW_BUCKETS, NUANZE_FLOW_EVENT_TYPES, NUANZE_FLOW_EVENT_TYPE_FILTERS, NUANZE_FLOW_TIMEFRAMES, NUANZE_FUNDAMENTALS_SOURCES, NUANZE_LEADERBOARD_TIMEFRAMES, NUANZE_MARGIN_KINDS, NUANZE_MARKET_POSITION_SORT_BYS, NUANZE_MARKET_POSITION_SORT_DIRECTIONS, NUANZE_MARKET_TRADING_STATUSES, NUANZE_MARKET_VENUES, NUANZE_MIN_POSITION_USDS, NUANZE_NEWS_ENTITY_ROLES, NUANZE_NEWS_EVENT_TYPES, NUANZE_NEWS_SENTIMENTS, NUANZE_NEWS_TIERS, NUANZE_NOTIONAL_BUCKETS, NUANZE_OPEN_POSITION_SORT_DIRECTIONS, NUANZE_PLATFORM_WINDOWS, NUANZE_PNL_WINDOWS, NUANZE_POSITIONING_GROUP_BYS, NUANZE_POSITION_SIDES, NUANZE_SERIES_METRICS, NUANZE_SOURCE_INTERVALS, NUANZE_TRADE_SIDES, NuanzeServerFailureError, isNuanzeServerFailureResponse };
5
+ export { NUANZE_CANDLE_INTERVALS, NUANZE_COHORT_KEYS, NUANZE_COVERAGES, NUANZE_ERROR_CODES, NUANZE_FLOW_BUCKETS, NUANZE_FLOW_EVENT_TYPES, NUANZE_FLOW_EVENT_TYPE_FILTERS, NUANZE_FLOW_TIMEFRAMES, NUANZE_FUNDAMENTALS_SOURCES, NUANZE_LEADERBOARD_TIMEFRAMES, NUANZE_MARGIN_KINDS, NUANZE_MARKET_POSITION_SORT_BYS, NUANZE_MARKET_POSITION_SORT_DIRECTIONS, NUANZE_MARKET_TRADING_STATUSES, NUANZE_MARKET_VENUES, NUANZE_MIN_POSITION_USDS, NUANZE_NEWS_ENTITY_ROLES, NUANZE_NEWS_EVENT_TYPES, NUANZE_NEWS_SENTIMENTS, NUANZE_NEWS_TIERS, NUANZE_NOTIONAL_BUCKETS, NUANZE_OPEN_POSITION_SORT_DIRECTIONS, NUANZE_PLATFORM_WINDOWS, NUANZE_PNL_WINDOWS, NUANZE_POINTS_TIERS, NUANZE_POSITIONING_GROUP_BYS, NUANZE_POSITION_SIDES, NUANZE_SERIES_METRICS, NUANZE_SOURCE_INTERVALS, NUANZE_TRADE_SIDES, NuanzeServerFailureError, isNuanzeServerFailureResponse };
@@ -1,2 +1,2 @@
1
- import { A as NuanzeServerStockFundamentals, C as NuanzeServerNotionalBucketPositioningCell, D as NuanzeServerPositioningTotals, E as NuanzeServerPositioningCellBase, M as NuanzeServerWalletPosition, N as NuanzeServerWalletTrade, O as NuanzeServerSeriesPoint, S as NuanzeServerMarketTrade, T as NuanzeServerPlatformDeltas, _ as NuanzeServerMarketPositioningBase, a as NuanzeServerFollowedLeaderboardItem, b as NuanzeServerMarketPositioningResponse, c as NuanzeServerFundamentalsSocial, d as NuanzeServerFundingRate, f as NuanzeServerLatestTicker, g as NuanzeServerMarketPosition, h as NuanzeServerMarketDetail, i as NuanzeServerCollateralFlowPoint, j as NuanzeServerSubaccountLeaderboardItem, k as NuanzeServerSidePositioningCell, l as NuanzeServerFundamentalsValuation, m as NuanzeServerMarket, n as NuanzeServerCohortPositioningCell, o as NuanzeServerFundamentalsKeyData, p as NuanzeServerLeaderboardItem, r as NuanzeServerCollateralFlow, s as NuanzeServerFundamentalsPerformance, t as NuanzeServerCandle, u as NuanzeServerFundingObservation, v as NuanzeServerMarketPositioningCohortResponse, w as NuanzeServerOpenPosition, x as NuanzeServerMarketPositioningSideResponse, y as NuanzeServerMarketPositioningNotionalBucketResponse } from "../serverModelTypes-SJs6R1Jb.cjs";
2
- export { NuanzeServerCandle, NuanzeServerCohortPositioningCell, NuanzeServerCollateralFlow, NuanzeServerCollateralFlowPoint, NuanzeServerFollowedLeaderboardItem, NuanzeServerFundamentalsKeyData, NuanzeServerFundamentalsPerformance, NuanzeServerFundamentalsSocial, NuanzeServerFundamentalsValuation, NuanzeServerFundingObservation, NuanzeServerFundingRate, NuanzeServerLatestTicker, NuanzeServerLeaderboardItem, NuanzeServerMarket, NuanzeServerMarketDetail, NuanzeServerMarketPosition, NuanzeServerMarketPositioningBase, NuanzeServerMarketPositioningCohortResponse, NuanzeServerMarketPositioningNotionalBucketResponse, NuanzeServerMarketPositioningResponse, NuanzeServerMarketPositioningSideResponse, NuanzeServerMarketTrade, NuanzeServerNotionalBucketPositioningCell, NuanzeServerOpenPosition, NuanzeServerPlatformDeltas, NuanzeServerPositioningCellBase, NuanzeServerPositioningTotals, NuanzeServerSeriesPoint, NuanzeServerSidePositioningCell, NuanzeServerStockFundamentals, NuanzeServerSubaccountLeaderboardItem, NuanzeServerWalletPosition, NuanzeServerWalletTrade };
1
+ import { A as NuanzeServerSeriesPoint, C as NuanzeServerMarketPositioningSideResponse, D as NuanzeServerPlatformDeltas, E as NuanzeServerOpenPosition, F as NuanzeServerSubaccountLongShortBias, I as NuanzeServerSubaccountMostTradedMarket, L as NuanzeServerWalletPosition, M as NuanzeServerStockFundamentals, N as NuanzeServerSubaccountCloseTrade, O as NuanzeServerPositioningCellBase, P as NuanzeServerSubaccountLeaderboardItem, R as NuanzeServerWalletTrade, S as NuanzeServerMarketPositioningResponse, T as NuanzeServerNotionalBucketPositioningCell, _ as NuanzeServerMarketDetail, a as NuanzeServerCollateralFlow, b as NuanzeServerMarketPositioningCohortResponse, c as NuanzeServerFundamentalsKeyData, d as NuanzeServerFundamentalsValuation, f as NuanzeServerFundingObservation, g as NuanzeServerMarket, h as NuanzeServerLeaderboardItem, i as NuanzeServerCohortSeriesPoint, j as NuanzeServerSidePositioningCell, k as NuanzeServerPositioningTotals, l as NuanzeServerFundamentalsPerformance, m as NuanzeServerLatestTicker, n as NuanzeServerCohort, o as NuanzeServerCollateralFlowPoint, p as NuanzeServerFundingRate, r as NuanzeServerCohortPositioningCell, s as NuanzeServerFollowedLeaderboardItem, t as NuanzeServerCandle, u as NuanzeServerFundamentalsSocial, v as NuanzeServerMarketPosition, w as NuanzeServerMarketTrade, x as NuanzeServerMarketPositioningNotionalBucketResponse, y as NuanzeServerMarketPositioningBase } from "../serverModelTypes-D8vC-W1m.cjs";
2
+ export { NuanzeServerCandle, NuanzeServerCohort, NuanzeServerCohortPositioningCell, NuanzeServerCohortSeriesPoint, NuanzeServerCollateralFlow, NuanzeServerCollateralFlowPoint, NuanzeServerFollowedLeaderboardItem, NuanzeServerFundamentalsKeyData, NuanzeServerFundamentalsPerformance, NuanzeServerFundamentalsSocial, NuanzeServerFundamentalsValuation, NuanzeServerFundingObservation, NuanzeServerFundingRate, NuanzeServerLatestTicker, NuanzeServerLeaderboardItem, NuanzeServerMarket, NuanzeServerMarketDetail, NuanzeServerMarketPosition, NuanzeServerMarketPositioningBase, NuanzeServerMarketPositioningCohortResponse, NuanzeServerMarketPositioningNotionalBucketResponse, NuanzeServerMarketPositioningResponse, NuanzeServerMarketPositioningSideResponse, NuanzeServerMarketTrade, NuanzeServerNotionalBucketPositioningCell, NuanzeServerOpenPosition, NuanzeServerPlatformDeltas, NuanzeServerPositioningCellBase, NuanzeServerPositioningTotals, NuanzeServerSeriesPoint, NuanzeServerSidePositioningCell, NuanzeServerStockFundamentals, NuanzeServerSubaccountCloseTrade, NuanzeServerSubaccountLeaderboardItem, NuanzeServerSubaccountLongShortBias, NuanzeServerSubaccountMostTradedMarket, NuanzeServerWalletPosition, NuanzeServerWalletTrade };
@@ -1,2 +1,2 @@
1
- import { A as NuanzeServerStockFundamentals, C as NuanzeServerNotionalBucketPositioningCell, D as NuanzeServerPositioningTotals, E as NuanzeServerPositioningCellBase, M as NuanzeServerWalletPosition, N as NuanzeServerWalletTrade, O as NuanzeServerSeriesPoint, S as NuanzeServerMarketTrade, T as NuanzeServerPlatformDeltas, _ as NuanzeServerMarketPositioningBase, a as NuanzeServerFollowedLeaderboardItem, b as NuanzeServerMarketPositioningResponse, c as NuanzeServerFundamentalsSocial, d as NuanzeServerFundingRate, f as NuanzeServerLatestTicker, g as NuanzeServerMarketPosition, h as NuanzeServerMarketDetail, i as NuanzeServerCollateralFlowPoint, j as NuanzeServerSubaccountLeaderboardItem, k as NuanzeServerSidePositioningCell, l as NuanzeServerFundamentalsValuation, m as NuanzeServerMarket, n as NuanzeServerCohortPositioningCell, o as NuanzeServerFundamentalsKeyData, p as NuanzeServerLeaderboardItem, r as NuanzeServerCollateralFlow, s as NuanzeServerFundamentalsPerformance, t as NuanzeServerCandle, u as NuanzeServerFundingObservation, v as NuanzeServerMarketPositioningCohortResponse, w as NuanzeServerOpenPosition, x as NuanzeServerMarketPositioningSideResponse, y as NuanzeServerMarketPositioningNotionalBucketResponse } from "../serverModelTypes-DREyTkS2.js";
2
- export { NuanzeServerCandle, NuanzeServerCohortPositioningCell, NuanzeServerCollateralFlow, NuanzeServerCollateralFlowPoint, NuanzeServerFollowedLeaderboardItem, NuanzeServerFundamentalsKeyData, NuanzeServerFundamentalsPerformance, NuanzeServerFundamentalsSocial, NuanzeServerFundamentalsValuation, NuanzeServerFundingObservation, NuanzeServerFundingRate, NuanzeServerLatestTicker, NuanzeServerLeaderboardItem, NuanzeServerMarket, NuanzeServerMarketDetail, NuanzeServerMarketPosition, NuanzeServerMarketPositioningBase, NuanzeServerMarketPositioningCohortResponse, NuanzeServerMarketPositioningNotionalBucketResponse, NuanzeServerMarketPositioningResponse, NuanzeServerMarketPositioningSideResponse, NuanzeServerMarketTrade, NuanzeServerNotionalBucketPositioningCell, NuanzeServerOpenPosition, NuanzeServerPlatformDeltas, NuanzeServerPositioningCellBase, NuanzeServerPositioningTotals, NuanzeServerSeriesPoint, NuanzeServerSidePositioningCell, NuanzeServerStockFundamentals, NuanzeServerSubaccountLeaderboardItem, NuanzeServerWalletPosition, NuanzeServerWalletTrade };
1
+ import { A as NuanzeServerSeriesPoint, C as NuanzeServerMarketPositioningSideResponse, D as NuanzeServerPlatformDeltas, E as NuanzeServerOpenPosition, F as NuanzeServerSubaccountLongShortBias, I as NuanzeServerSubaccountMostTradedMarket, L as NuanzeServerWalletPosition, M as NuanzeServerStockFundamentals, N as NuanzeServerSubaccountCloseTrade, O as NuanzeServerPositioningCellBase, P as NuanzeServerSubaccountLeaderboardItem, R as NuanzeServerWalletTrade, S as NuanzeServerMarketPositioningResponse, T as NuanzeServerNotionalBucketPositioningCell, _ as NuanzeServerMarketDetail, a as NuanzeServerCollateralFlow, b as NuanzeServerMarketPositioningCohortResponse, c as NuanzeServerFundamentalsKeyData, d as NuanzeServerFundamentalsValuation, f as NuanzeServerFundingObservation, g as NuanzeServerMarket, h as NuanzeServerLeaderboardItem, i as NuanzeServerCohortSeriesPoint, j as NuanzeServerSidePositioningCell, k as NuanzeServerPositioningTotals, l as NuanzeServerFundamentalsPerformance, m as NuanzeServerLatestTicker, n as NuanzeServerCohort, o as NuanzeServerCollateralFlowPoint, p as NuanzeServerFundingRate, r as NuanzeServerCohortPositioningCell, s as NuanzeServerFollowedLeaderboardItem, t as NuanzeServerCandle, u as NuanzeServerFundamentalsSocial, v as NuanzeServerMarketPosition, w as NuanzeServerMarketTrade, x as NuanzeServerMarketPositioningNotionalBucketResponse, y as NuanzeServerMarketPositioningBase } from "../serverModelTypes-D0JfVkqd.js";
2
+ export { NuanzeServerCandle, NuanzeServerCohort, NuanzeServerCohortPositioningCell, NuanzeServerCohortSeriesPoint, NuanzeServerCollateralFlow, NuanzeServerCollateralFlowPoint, NuanzeServerFollowedLeaderboardItem, NuanzeServerFundamentalsKeyData, NuanzeServerFundamentalsPerformance, NuanzeServerFundamentalsSocial, NuanzeServerFundamentalsValuation, NuanzeServerFundingObservation, NuanzeServerFundingRate, NuanzeServerLatestTicker, NuanzeServerLeaderboardItem, NuanzeServerMarket, NuanzeServerMarketDetail, NuanzeServerMarketPosition, NuanzeServerMarketPositioningBase, NuanzeServerMarketPositioningCohortResponse, NuanzeServerMarketPositioningNotionalBucketResponse, NuanzeServerMarketPositioningResponse, NuanzeServerMarketPositioningSideResponse, NuanzeServerMarketTrade, NuanzeServerNotionalBucketPositioningCell, NuanzeServerOpenPosition, NuanzeServerPlatformDeltas, NuanzeServerPositioningCellBase, NuanzeServerPositioningTotals, NuanzeServerSeriesPoint, NuanzeServerSidePositioningCell, NuanzeServerStockFundamentals, NuanzeServerSubaccountCloseTrade, NuanzeServerSubaccountLeaderboardItem, NuanzeServerSubaccountLongShortBias, NuanzeServerSubaccountMostTradedMarket, NuanzeServerWalletPosition, NuanzeServerWalletTrade };
@@ -1 +1 @@
1
- {"version":3,"file":"serverQueryTypes.cjs","names":[],"sources":["../../src/types/serverQueryTypes.ts"],"sourcesContent":["import type {\n NuanzeCandleInterval,\n NuanzeCoverage,\n NuanzeFlowBucket,\n NuanzeFlowTimeframe,\n NuanzeLeaderboardTimeframe,\n NuanzeMarketVenue,\n NuanzePlatformWindow,\n NuanzePnlWindow,\n NuanzeSeriesMetric,\n NuanzeSourceInterval,\n} from './clientModelTypes';\nimport { NuanzeNewsStory } from './clientModelTypes';\nimport { NuanzeErrorCode } from './nuanzeErrorCodes';\nimport {\n NuanzeServerCandle,\n NuanzeServerCollateralFlow,\n NuanzeServerCollateralFlowPoint,\n NuanzeServerFollowedLeaderboardItem,\n NuanzeServerFundingRate,\n NuanzeServerLeaderboardItem,\n NuanzeServerMarket,\n NuanzeServerMarketDetail,\n NuanzeServerMarketPosition,\n NuanzeServerMarketTrade,\n NuanzeServerOpenPosition,\n NuanzeServerPlatformDeltas,\n NuanzeServerSeriesPoint,\n NuanzeServerSubaccountLeaderboardItem,\n NuanzeServerWalletPosition,\n NuanzeServerWalletTrade,\n} from './serverModelTypes';\n\n/**\n * Failure envelope returned with every non-2xx response.\n *\n * Structurally unrelated to `BaseServerFailureResponse`: Nuanze nests a string `code` under `error`\n * instead of carrying a top-level numeric `error_code` and `status: 'failure'`.\n */\nexport interface NuanzeServerFailureResponse {\n error: {\n code: NuanzeErrorCode;\n message: string;\n requestId: string;\n };\n}\n\n/**\n * `GET /markets` response as returned on the wire.\n */\nexport interface NuanzeServerMarketsResponse {\n markets: NuanzeServerMarket[];\n count: number;\n asOf: string;\n}\n\n/**\n * `GET /news` response as returned on the wire. Stories have no decimals.\n */\nexport interface NuanzeServerNewsResponse {\n stories: NuanzeNewsStory[];\n nextCursor: string | null;\n asOf: string;\n}\n\n/**\n * `GET /markets/{ticker}` response as returned on the wire. The `{ticker}` path segment accepts a\n * canonical ticker, legacy source symbol, or numeric product ID.\n */\nexport type NuanzeServerMarketByTickerResponse = NuanzeServerMarketDetail;\n\n/**\n * `GET /funding/rates` response as returned on the wire.\n */\nexport interface NuanzeServerFundingRatesResponse {\n rates: NuanzeServerFundingRate[];\n asOf: string;\n}\n\n/**\n * `GET /leaderboard` response as returned on the wire.\n */\nexport interface NuanzeServerLeaderboardResponse {\n timeframe: NuanzeLeaderboardTimeframe;\n items: NuanzeServerLeaderboardItem[];\n limit: number;\n offset: number;\n total: number;\n viewer: NuanzeServerLeaderboardItem | null;\n asOf: string;\n}\n\n/**\n * `GET /leaderboard/wallets/{address}` response as returned on the wire.\n */\nexport interface NuanzeServerWalletLeaderboardPositionResponse {\n timeframe: NuanzeLeaderboardTimeframe;\n item: NuanzeServerLeaderboardItem | null;\n asOf: string;\n}\n\n/**\n * `GET /leaderboard/subaccounts` response as returned on the wire.\n */\nexport interface NuanzeServerSubaccountLeaderboardResponse {\n timeframe: NuanzeLeaderboardTimeframe;\n totalCount: number;\n items: NuanzeServerSubaccountLeaderboardItem[];\n nextCursor: string | null;\n viewer: {\n filteredRank: number | null;\n item: NuanzeServerSubaccountLeaderboardItem | null;\n } | null;\n asOf: string;\n}\n\n/**\n * `GET /leaderboard/subaccounts/{subaccountHex}` response as returned on the wire.\n */\nexport interface NuanzeServerSubaccountLeaderboardPositionResponse {\n timeframe: NuanzeLeaderboardTimeframe;\n filteredRank: number | null;\n item: NuanzeServerSubaccountLeaderboardItem | null;\n asOf: string;\n}\n\n/**\n * `GET /wallets/leaderboard` response as returned on the wire.\n */\nexport interface NuanzeServerFollowedLeaderboardResponse {\n timeframe: NuanzeLeaderboardTimeframe;\n items: NuanzeServerFollowedLeaderboardItem[];\n nextCursor: string | null;\n viewer: {\n filteredRank: number | null;\n item: NuanzeServerFollowedLeaderboardItem | null;\n } | null;\n asOf: string;\n}\n\n/**\n * `GET /wallets/leaderboard/followed/{viewAs}` response as returned on the wire.\n */\nexport interface NuanzeServerFollowedLeaderboardPositionResponse {\n timeframe: NuanzeLeaderboardTimeframe;\n filteredRank: number | null;\n item: NuanzeServerFollowedLeaderboardItem | null;\n asOf: string;\n}\n\n/**\n * `GET /platform/summary` response as returned on the wire.\n */\nexport interface NuanzeServerPlatformSummaryResponse {\n window: NuanzePlatformWindow;\n volume24h: string;\n trades24h: number;\n traders24h: number;\n windowVolume: string;\n windowTrades: number;\n windowTraders: number;\n deltas: NuanzeServerPlatformDeltas;\n asOf: string;\n}\n\n/**\n * `GET /wallets/{address}` response as returned on the wire.\n */\nexport interface NuanzeServerWalletSummaryResponse {\n address: string;\n subaccountName: string | null;\n subaccountCount: number;\n pnlWindow: NuanzePnlWindow;\n accountPnl: string;\n windowPnl: string;\n equity: string | null;\n cumulativeVolume: string;\n windowVolume: string;\n totalTrades: number;\n wins: number;\n losses: number;\n winRate: string | null;\n snapshotAt: string;\n coverage: NuanzeCoverage;\n asOf: string;\n}\n\n/**\n * `GET /wallets/{address}/positions` response as returned on the wire.\n */\nexport interface NuanzeServerWalletPositionsResponse {\n address: string;\n positions: NuanzeServerWalletPosition[];\n count: number;\n newestSnapshotAt: string | null;\n oldestSnapshotAt: string | null;\n asOf: string;\n}\n\n/**\n * `GET /markets/{ticker}/trades` response as returned on the wire. The `{ticker}` path segment\n * accepts a canonical ticker, legacy source symbol, or numeric product ID.\n */\nexport interface NuanzeServerMarketTradesResponse {\n productId: number;\n symbol: string;\n ticker: string;\n venue: NuanzeMarketVenue;\n trades: NuanzeServerMarketTrade[];\n nextCursor: string | null;\n asOf: string;\n}\n\n/**\n * `GET /markets/{ticker}/candles` response as returned on the wire. The `{ticker}` path segment\n * accepts a canonical ticker, legacy source symbol, or numeric product ID.\n */\nexport interface NuanzeServerMarketCandlesResponse {\n productId: number;\n symbol: string;\n ticker: string;\n venue: NuanzeMarketVenue;\n interval: NuanzeCandleInterval;\n candles: NuanzeServerCandle[];\n asOf: string;\n}\n\n/**\n * `GET /wallets/{address}/trades` response as returned on the wire.\n */\nexport interface NuanzeServerWalletTradesResponse {\n address: string;\n trades: NuanzeServerWalletTrade[];\n nextCursor: string | null;\n asOf: string;\n}\n\n/**\n * `GET /wallets/{address}/pnl` response as returned on the wire.\n */\nexport interface NuanzeServerWalletPnlResponse {\n address: string;\n subaccountName: string | null;\n window: NuanzePnlWindow;\n windowStart: string;\n windowEnd: string;\n openingAccountPnl: string;\n latestAccountPnl: string;\n windowPnl: string;\n openingEquity: string | null;\n latestEquity: string | null;\n volumeDelta: string;\n sourceInterval: NuanzeSourceInterval;\n latestSnapshotAt: string;\n coverage: NuanzeCoverage;\n asOf: string;\n}\n\n/**\n * `GET /wallets/{address}/pnl/series` response as returned on the wire.\n */\nexport interface NuanzeServerWalletPnlSeriesResponse {\n address: string;\n subaccountName: string | null;\n metric: NuanzeSeriesMetric;\n window: NuanzePnlWindow;\n points: NuanzeServerSeriesPoint[];\n sourceInterval: NuanzeSourceInterval;\n coverage: NuanzeCoverage;\n asOf: string;\n}\n\n/**\n * `GET /flows` response as returned on the wire.\n */\nexport interface NuanzeServerCollateralFlowsResponse {\n events: NuanzeServerCollateralFlow[];\n nextCursor: string | null;\n asOf: string;\n}\n\n/**\n * `GET /flows/summary` response as returned on the wire.\n */\nexport interface NuanzeServerCollateralFlowSummaryResponse {\n timeframe: NuanzeFlowTimeframe;\n deposited: string;\n withdrawn: string;\n net: string;\n gross: string;\n depositCount: number;\n withdrawalCount: number;\n valuedCount: number;\n unvaluedCount: number;\n priorNet: string | null;\n asOf: string;\n}\n\n/**\n * `GET /flows/series` response as returned on the wire.\n */\nexport interface NuanzeServerCollateralFlowSeriesResponse {\n timeframe: NuanzeFlowTimeframe;\n bucket: NuanzeFlowBucket;\n points: NuanzeServerCollateralFlowPoint[];\n asOf: string;\n}\n\n/**\n * `GET /markets/{ticker}/positions` response as returned on the wire. The `{ticker}` path segment\n * accepts a canonical ticker, legacy source symbol, or numeric product ID.\n */\nexport interface NuanzeServerMarketPositionsResponse {\n productId: number;\n symbol: string;\n ticker: string;\n venue: NuanzeMarketVenue;\n positions: NuanzeServerMarketPosition[];\n nextCursor: string | null;\n dataUpdatedAt: string | null;\n asOf: string;\n}\n\n/**\n * `GET /positions` response as returned on the wire.\n */\nexport interface NuanzeServerOpenPositionsResponse {\n positions: NuanzeServerOpenPosition[];\n nextCursor: string | null;\n dataUpdatedAt: string | null;\n asOf: string;\n}\n\n/**\n * Checks whether a response body is a Nuanze failure envelope. The `code` is not compared against\n * {@link NUANZE_ERROR_CODES}, so a code added by a newer API release still reaches the caller.\n */\nexport function isNuanzeServerFailureResponse(\n data: unknown,\n): data is NuanzeServerFailureResponse {\n if (typeof data !== 'object' || data === null || !('error' in data)) {\n return false;\n }\n\n const { error } = data;\n return (\n typeof error === 'object' &&\n error !== null &&\n typeof (error as { code?: unknown }).code === 'string' &&\n typeof (error as { message?: unknown }).message === 'string'\n );\n}\n"],"mappings":";;;;;;AAiVA,SAAgB,8BACd,MACqC;CACrC,IAAI,OAAO,SAAS,YAAY,SAAS,QAAQ,EAAE,WAAW,OAC5D,OAAO;CAGT,MAAM,EAAE,UAAU;CAClB,OACE,OAAO,UAAU,YACjB,UAAU,QACV,OAAQ,MAA6B,SAAS,YAC9C,OAAQ,MAAgC,YAAY;AAExD"}
1
+ {"version":3,"file":"serverQueryTypes.cjs","names":[],"sources":["../../src/types/serverQueryTypes.ts"],"sourcesContent":["import type {\n NuanzeCandleInterval,\n NuanzeCoverage,\n NuanzeFlowBucket,\n NuanzeFlowTimeframe,\n NuanzeLeaderboardTimeframe,\n NuanzeMarketVenue,\n NuanzePlatformWindow,\n NuanzePnlWindow,\n NuanzeSeriesMetric,\n NuanzeSourceInterval,\n} from './clientModelTypes';\nimport { NuanzeNewsStory } from './clientModelTypes';\nimport { NuanzeErrorCode } from './nuanzeErrorCodes';\nimport {\n NuanzeServerCandle,\n NuanzeServerCohort,\n NuanzeServerCollateralFlow,\n NuanzeServerCollateralFlowPoint,\n NuanzeServerFollowedLeaderboardItem,\n NuanzeServerFundingRate,\n NuanzeServerLeaderboardItem,\n NuanzeServerMarket,\n NuanzeServerMarketDetail,\n NuanzeServerMarketPosition,\n NuanzeServerMarketTrade,\n NuanzeServerOpenPosition,\n NuanzeServerPlatformDeltas,\n NuanzeServerSeriesPoint,\n NuanzeServerSubaccountCloseTrade,\n NuanzeServerSubaccountLeaderboardItem,\n NuanzeServerSubaccountLongShortBias,\n NuanzeServerSubaccountMostTradedMarket,\n NuanzeServerWalletPosition,\n NuanzeServerWalletTrade,\n} from './serverModelTypes';\n\n/**\n * Failure envelope returned with every non-2xx response.\n *\n * Structurally unrelated to `BaseServerFailureResponse`: Nuanze nests a string `code` under `error`\n * instead of carrying a top-level numeric `error_code` and `status: 'failure'`.\n */\nexport interface NuanzeServerFailureResponse {\n error: {\n code: NuanzeErrorCode;\n message: string;\n requestId: string;\n };\n}\n\n/**\n * `GET /markets` response as returned on the wire.\n */\nexport interface NuanzeServerMarketsResponse {\n markets: NuanzeServerMarket[];\n count: number;\n asOf: string;\n}\n\n/**\n * `GET /news` response as returned on the wire. Stories have no decimals.\n */\nexport interface NuanzeServerNewsResponse {\n stories: NuanzeNewsStory[];\n nextCursor: string | null;\n asOf: string;\n}\n\n/**\n * `GET /markets/{ticker}` response as returned on the wire. The `{ticker}` path segment accepts a\n * canonical ticker, legacy source symbol, or numeric product ID.\n */\nexport type NuanzeServerMarketByTickerResponse = NuanzeServerMarketDetail;\n\n/**\n * `GET /funding/rates` response as returned on the wire.\n */\nexport interface NuanzeServerFundingRatesResponse {\n rates: NuanzeServerFundingRate[];\n asOf: string;\n}\n\n/**\n * `GET /leaderboard` response as returned on the wire.\n */\nexport interface NuanzeServerLeaderboardResponse {\n timeframe: NuanzeLeaderboardTimeframe;\n items: NuanzeServerLeaderboardItem[];\n limit: number;\n offset: number;\n total: number;\n viewer: NuanzeServerLeaderboardItem | null;\n asOf: string;\n}\n\n/**\n * `GET /leaderboard/wallets/{address}` response as returned on the wire.\n */\nexport interface NuanzeServerWalletLeaderboardPositionResponse {\n timeframe: NuanzeLeaderboardTimeframe;\n item: NuanzeServerLeaderboardItem | null;\n asOf: string;\n}\n\n/**\n * `GET /leaderboard/subaccounts` response as returned on the wire.\n */\nexport interface NuanzeServerSubaccountLeaderboardResponse {\n timeframe: NuanzeLeaderboardTimeframe;\n totalCount: number;\n items: NuanzeServerSubaccountLeaderboardItem[];\n nextCursor: string | null;\n viewer: {\n filteredRank: number | null;\n item: NuanzeServerSubaccountLeaderboardItem | null;\n } | null;\n asOf: string;\n}\n\n/**\n * `GET /leaderboard/subaccounts/{subaccountHex}` response as returned on the wire.\n */\nexport interface NuanzeServerSubaccountLeaderboardPositionResponse {\n timeframe: NuanzeLeaderboardTimeframe;\n filteredRank: number | null;\n item: NuanzeServerSubaccountLeaderboardItem | null;\n asOf: string;\n}\n\n/**\n * `GET /subaccounts/{subaccountHex}` response as returned on the wire.\n */\nexport interface NuanzeServerSubaccountStatsResponse {\n subaccountHex: string;\n timeframe: NuanzeLeaderboardTimeframe;\n owner: string;\n subaccountName: string;\n username: string | null;\n displayName: string | null;\n pnl: string | null;\n wins: number;\n losses: number;\n winRate: string | null;\n trades: number;\n productIds: number[];\n productCount: number;\n globalRank: number | null;\n filteredRank: number | null;\n cumulativeVolume: string;\n windowVolume: string;\n windowPnl: string;\n averageLeverage: string | null;\n bestTrade: NuanzeServerSubaccountCloseTrade | null;\n worstTrade: NuanzeServerSubaccountCloseTrade | null;\n longShortBias: NuanzeServerSubaccountLongShortBias;\n mostTradedMarket: NuanzeServerSubaccountMostTradedMarket | null;\n asOf: string;\n}\n\n/**\n * `GET /wallets/leaderboard` response as returned on the wire.\n */\nexport interface NuanzeServerFollowedLeaderboardResponse {\n timeframe: NuanzeLeaderboardTimeframe;\n items: NuanzeServerFollowedLeaderboardItem[];\n nextCursor: string | null;\n viewer: {\n filteredRank: number | null;\n item: NuanzeServerFollowedLeaderboardItem | null;\n } | null;\n asOf: string;\n}\n\n/**\n * `GET /wallets/leaderboard/followed/{viewAs}` response as returned on the wire.\n */\nexport interface NuanzeServerFollowedLeaderboardPositionResponse {\n timeframe: NuanzeLeaderboardTimeframe;\n filteredRank: number | null;\n item: NuanzeServerFollowedLeaderboardItem | null;\n asOf: string;\n}\n\n/**\n * `GET /platform/summary` response as returned on the wire.\n */\nexport interface NuanzeServerPlatformSummaryResponse {\n window: NuanzePlatformWindow;\n volume24h: string;\n trades24h: number;\n traders24h: number;\n windowVolume: string;\n windowTrades: number;\n windowTraders: number;\n deltas: NuanzeServerPlatformDeltas;\n asOf: string;\n}\n\n/**\n * `GET /cohorts` response as returned on the wire.\n */\nexport interface NuanzeServerCohortsResponse {\n items: NuanzeServerCohort[];\n asOf: string;\n}\n\n/**\n * `GET /wallets/{address}` response as returned on the wire.\n */\nexport interface NuanzeServerWalletSummaryResponse {\n address: string;\n subaccountName: string | null;\n subaccountCount: number;\n pnlWindow: NuanzePnlWindow;\n accountPnl: string;\n windowPnl: string;\n equity: string | null;\n cumulativeVolume: string;\n windowVolume: string;\n totalTrades: number;\n wins: number;\n losses: number;\n winRate: string | null;\n snapshotAt: string;\n coverage: NuanzeCoverage;\n asOf: string;\n}\n\n/**\n * `GET /wallets/{address}/positions` response as returned on the wire.\n */\nexport interface NuanzeServerWalletPositionsResponse {\n address: string;\n positions: NuanzeServerWalletPosition[];\n count: number;\n newestSnapshotAt: string | null;\n oldestSnapshotAt: string | null;\n asOf: string;\n}\n\n/**\n * `GET /markets/{ticker}/trades` response as returned on the wire. The `{ticker}` path segment\n * accepts a canonical ticker, legacy source symbol, or numeric product ID.\n */\nexport interface NuanzeServerMarketTradesResponse {\n productId: number;\n symbol: string;\n ticker: string;\n venue: NuanzeMarketVenue;\n trades: NuanzeServerMarketTrade[];\n nextCursor: string | null;\n asOf: string;\n}\n\n/**\n * `GET /markets/{ticker}/candles` response as returned on the wire. The `{ticker}` path segment\n * accepts a canonical ticker, legacy source symbol, or numeric product ID.\n */\nexport interface NuanzeServerMarketCandlesResponse {\n productId: number;\n symbol: string;\n ticker: string;\n venue: NuanzeMarketVenue;\n interval: NuanzeCandleInterval;\n candles: NuanzeServerCandle[];\n asOf: string;\n}\n\n/**\n * `GET /wallets/{address}/trades` response as returned on the wire.\n */\nexport interface NuanzeServerWalletTradesResponse {\n address: string;\n trades: NuanzeServerWalletTrade[];\n nextCursor: string | null;\n asOf: string;\n}\n\n/**\n * `GET /wallets/{address}/pnl` response as returned on the wire.\n */\nexport interface NuanzeServerWalletPnlResponse {\n address: string;\n subaccountName: string | null;\n window: NuanzePnlWindow;\n windowStart: string;\n windowEnd: string;\n openingAccountPnl: string;\n latestAccountPnl: string;\n windowPnl: string;\n openingEquity: string | null;\n latestEquity: string | null;\n volumeDelta: string;\n sourceInterval: NuanzeSourceInterval;\n latestSnapshotAt: string;\n coverage: NuanzeCoverage;\n asOf: string;\n}\n\n/**\n * `GET /wallets/{address}/pnl/series` response as returned on the wire.\n */\nexport interface NuanzeServerWalletPnlSeriesResponse {\n address: string;\n subaccountName: string | null;\n metric: NuanzeSeriesMetric;\n window: NuanzePnlWindow;\n points: NuanzeServerSeriesPoint[];\n sourceInterval: NuanzeSourceInterval;\n coverage: NuanzeCoverage;\n asOf: string;\n}\n\n/**\n * `GET /flows` response as returned on the wire.\n */\nexport interface NuanzeServerCollateralFlowsResponse {\n events: NuanzeServerCollateralFlow[];\n nextCursor: string | null;\n asOf: string;\n}\n\n/**\n * `GET /flows/summary` response as returned on the wire.\n */\nexport interface NuanzeServerCollateralFlowSummaryResponse {\n timeframe: NuanzeFlowTimeframe;\n deposited: string;\n withdrawn: string;\n net: string;\n gross: string;\n depositCount: number;\n withdrawalCount: number;\n valuedCount: number;\n unvaluedCount: number;\n priorNet: string | null;\n asOf: string;\n}\n\n/**\n * `GET /flows/series` response as returned on the wire.\n */\nexport interface NuanzeServerCollateralFlowSeriesResponse {\n timeframe: NuanzeFlowTimeframe;\n bucket: NuanzeFlowBucket;\n points: NuanzeServerCollateralFlowPoint[];\n asOf: string;\n}\n\n/**\n * `GET /markets/{ticker}/positions` response as returned on the wire. The `{ticker}` path segment\n * accepts a canonical ticker, legacy source symbol, or numeric product ID.\n */\nexport interface NuanzeServerMarketPositionsResponse {\n productId: number;\n symbol: string;\n ticker: string;\n venue: NuanzeMarketVenue;\n positions: NuanzeServerMarketPosition[];\n nextCursor: string | null;\n dataUpdatedAt: string | null;\n asOf: string;\n}\n\n/**\n * `GET /positions` response as returned on the wire.\n */\nexport interface NuanzeServerOpenPositionsResponse {\n positions: NuanzeServerOpenPosition[];\n nextCursor: string | null;\n dataUpdatedAt: string | null;\n asOf: string;\n}\n\n/**\n * Checks whether a response body is a Nuanze failure envelope. The `code` is not compared against\n * {@link NUANZE_ERROR_CODES}, so a code added by a newer API release still reaches the caller.\n */\nexport function isNuanzeServerFailureResponse(\n data: unknown,\n): data is NuanzeServerFailureResponse {\n if (typeof data !== 'object' || data === null || !('error' in data)) {\n return false;\n }\n\n const { error } = data;\n return (\n typeof error === 'object' &&\n error !== null &&\n typeof (error as { code?: unknown }).code === 'string' &&\n typeof (error as { message?: unknown }).message === 'string'\n );\n}\n"],"mappings":";;;;;;AA2XA,SAAgB,8BACd,MACqC;CACrC,IAAI,OAAO,SAAS,YAAY,SAAS,QAAQ,EAAE,WAAW,OAC5D,OAAO;CAGT,MAAM,EAAE,UAAU;CAClB,OACE,OAAO,UAAU,YACjB,UAAU,QACV,OAAQ,MAA6B,SAAS,YAC9C,OAAQ,MAAgC,YAAY;AAExD"}
@@ -1,2 +1,2 @@
1
- import { C as NuanzeServerWalletSummaryResponse, S as NuanzeServerWalletPositionsResponse, T as isNuanzeServerFailureResponse, _ as NuanzeServerSubaccountLeaderboardPositionResponse, a as NuanzeServerFollowedLeaderboardPositionResponse, b as NuanzeServerWalletPnlResponse, c as NuanzeServerLeaderboardResponse, d as NuanzeServerMarketPositionsResponse, f as NuanzeServerMarketTradesResponse, g as NuanzeServerPlatformSummaryResponse, h as NuanzeServerOpenPositionsResponse, i as NuanzeServerFailureResponse, l as NuanzeServerMarketByTickerResponse, m as NuanzeServerNewsResponse, n as NuanzeServerCollateralFlowSummaryResponse, o as NuanzeServerFollowedLeaderboardResponse, p as NuanzeServerMarketsResponse, r as NuanzeServerCollateralFlowsResponse, s as NuanzeServerFundingRatesResponse, t as NuanzeServerCollateralFlowSeriesResponse, u as NuanzeServerMarketCandlesResponse, v as NuanzeServerSubaccountLeaderboardResponse, w as NuanzeServerWalletTradesResponse, x as NuanzeServerWalletPnlSeriesResponse, y as NuanzeServerWalletLeaderboardPositionResponse } from "../serverQueryTypes-D_8Gn1t0.cjs";
2
- export { NuanzeServerCollateralFlowSeriesResponse, NuanzeServerCollateralFlowSummaryResponse, NuanzeServerCollateralFlowsResponse, NuanzeServerFailureResponse, NuanzeServerFollowedLeaderboardPositionResponse, NuanzeServerFollowedLeaderboardResponse, NuanzeServerFundingRatesResponse, NuanzeServerLeaderboardResponse, NuanzeServerMarketByTickerResponse, NuanzeServerMarketCandlesResponse, NuanzeServerMarketPositionsResponse, NuanzeServerMarketTradesResponse, NuanzeServerMarketsResponse, NuanzeServerNewsResponse, NuanzeServerOpenPositionsResponse, NuanzeServerPlatformSummaryResponse, NuanzeServerSubaccountLeaderboardPositionResponse, NuanzeServerSubaccountLeaderboardResponse, NuanzeServerWalletLeaderboardPositionResponse, NuanzeServerWalletPnlResponse, NuanzeServerWalletPnlSeriesResponse, NuanzeServerWalletPositionsResponse, NuanzeServerWalletSummaryResponse, NuanzeServerWalletTradesResponse, isNuanzeServerFailureResponse };
1
+ import { C as NuanzeServerWalletPnlSeriesResponse, D as isNuanzeServerFailureResponse, E as NuanzeServerWalletTradesResponse, S as NuanzeServerWalletPnlResponse, T as NuanzeServerWalletSummaryResponse, _ as NuanzeServerPlatformSummaryResponse, a as NuanzeServerFailureResponse, b as NuanzeServerSubaccountStatsResponse, c as NuanzeServerFundingRatesResponse, d as NuanzeServerMarketCandlesResponse, f as NuanzeServerMarketPositionsResponse, g as NuanzeServerOpenPositionsResponse, h as NuanzeServerNewsResponse, i as NuanzeServerCollateralFlowsResponse, l as NuanzeServerLeaderboardResponse, m as NuanzeServerMarketsResponse, n as NuanzeServerCollateralFlowSeriesResponse, o as NuanzeServerFollowedLeaderboardPositionResponse, p as NuanzeServerMarketTradesResponse, r as NuanzeServerCollateralFlowSummaryResponse, s as NuanzeServerFollowedLeaderboardResponse, t as NuanzeServerCohortsResponse, u as NuanzeServerMarketByTickerResponse, v as NuanzeServerSubaccountLeaderboardPositionResponse, w as NuanzeServerWalletPositionsResponse, x as NuanzeServerWalletLeaderboardPositionResponse, y as NuanzeServerSubaccountLeaderboardResponse } from "../serverQueryTypes-DS0PzfC8.cjs";
2
+ export { NuanzeServerCohortsResponse, NuanzeServerCollateralFlowSeriesResponse, NuanzeServerCollateralFlowSummaryResponse, NuanzeServerCollateralFlowsResponse, NuanzeServerFailureResponse, NuanzeServerFollowedLeaderboardPositionResponse, NuanzeServerFollowedLeaderboardResponse, NuanzeServerFundingRatesResponse, NuanzeServerLeaderboardResponse, NuanzeServerMarketByTickerResponse, NuanzeServerMarketCandlesResponse, NuanzeServerMarketPositionsResponse, NuanzeServerMarketTradesResponse, NuanzeServerMarketsResponse, NuanzeServerNewsResponse, NuanzeServerOpenPositionsResponse, NuanzeServerPlatformSummaryResponse, NuanzeServerSubaccountLeaderboardPositionResponse, NuanzeServerSubaccountLeaderboardResponse, NuanzeServerSubaccountStatsResponse, NuanzeServerWalletLeaderboardPositionResponse, NuanzeServerWalletPnlResponse, NuanzeServerWalletPnlSeriesResponse, NuanzeServerWalletPositionsResponse, NuanzeServerWalletSummaryResponse, NuanzeServerWalletTradesResponse, isNuanzeServerFailureResponse };
@@ -1,2 +1,2 @@
1
- import { C as NuanzeServerWalletSummaryResponse, S as NuanzeServerWalletPositionsResponse, T as isNuanzeServerFailureResponse, _ as NuanzeServerSubaccountLeaderboardPositionResponse, a as NuanzeServerFollowedLeaderboardPositionResponse, b as NuanzeServerWalletPnlResponse, c as NuanzeServerLeaderboardResponse, d as NuanzeServerMarketPositionsResponse, f as NuanzeServerMarketTradesResponse, g as NuanzeServerPlatformSummaryResponse, h as NuanzeServerOpenPositionsResponse, i as NuanzeServerFailureResponse, l as NuanzeServerMarketByTickerResponse, m as NuanzeServerNewsResponse, n as NuanzeServerCollateralFlowSummaryResponse, o as NuanzeServerFollowedLeaderboardResponse, p as NuanzeServerMarketsResponse, r as NuanzeServerCollateralFlowsResponse, s as NuanzeServerFundingRatesResponse, t as NuanzeServerCollateralFlowSeriesResponse, u as NuanzeServerMarketCandlesResponse, v as NuanzeServerSubaccountLeaderboardResponse, w as NuanzeServerWalletTradesResponse, x as NuanzeServerWalletPnlSeriesResponse, y as NuanzeServerWalletLeaderboardPositionResponse } from "../serverQueryTypes-CSwEuNlG.js";
2
- export { NuanzeServerCollateralFlowSeriesResponse, NuanzeServerCollateralFlowSummaryResponse, NuanzeServerCollateralFlowsResponse, NuanzeServerFailureResponse, NuanzeServerFollowedLeaderboardPositionResponse, NuanzeServerFollowedLeaderboardResponse, NuanzeServerFundingRatesResponse, NuanzeServerLeaderboardResponse, NuanzeServerMarketByTickerResponse, NuanzeServerMarketCandlesResponse, NuanzeServerMarketPositionsResponse, NuanzeServerMarketTradesResponse, NuanzeServerMarketsResponse, NuanzeServerNewsResponse, NuanzeServerOpenPositionsResponse, NuanzeServerPlatformSummaryResponse, NuanzeServerSubaccountLeaderboardPositionResponse, NuanzeServerSubaccountLeaderboardResponse, NuanzeServerWalletLeaderboardPositionResponse, NuanzeServerWalletPnlResponse, NuanzeServerWalletPnlSeriesResponse, NuanzeServerWalletPositionsResponse, NuanzeServerWalletSummaryResponse, NuanzeServerWalletTradesResponse, isNuanzeServerFailureResponse };
1
+ import { C as NuanzeServerWalletPnlSeriesResponse, D as isNuanzeServerFailureResponse, E as NuanzeServerWalletTradesResponse, S as NuanzeServerWalletPnlResponse, T as NuanzeServerWalletSummaryResponse, _ as NuanzeServerPlatformSummaryResponse, a as NuanzeServerFailureResponse, b as NuanzeServerSubaccountStatsResponse, c as NuanzeServerFundingRatesResponse, d as NuanzeServerMarketCandlesResponse, f as NuanzeServerMarketPositionsResponse, g as NuanzeServerOpenPositionsResponse, h as NuanzeServerNewsResponse, i as NuanzeServerCollateralFlowsResponse, l as NuanzeServerLeaderboardResponse, m as NuanzeServerMarketsResponse, n as NuanzeServerCollateralFlowSeriesResponse, o as NuanzeServerFollowedLeaderboardPositionResponse, p as NuanzeServerMarketTradesResponse, r as NuanzeServerCollateralFlowSummaryResponse, s as NuanzeServerFollowedLeaderboardResponse, t as NuanzeServerCohortsResponse, u as NuanzeServerMarketByTickerResponse, v as NuanzeServerSubaccountLeaderboardPositionResponse, w as NuanzeServerWalletPositionsResponse, x as NuanzeServerWalletLeaderboardPositionResponse, y as NuanzeServerSubaccountLeaderboardResponse } from "../serverQueryTypes-CflQbxsI.js";
2
+ export { NuanzeServerCohortsResponse, NuanzeServerCollateralFlowSeriesResponse, NuanzeServerCollateralFlowSummaryResponse, NuanzeServerCollateralFlowsResponse, NuanzeServerFailureResponse, NuanzeServerFollowedLeaderboardPositionResponse, NuanzeServerFollowedLeaderboardResponse, NuanzeServerFundingRatesResponse, NuanzeServerLeaderboardResponse, NuanzeServerMarketByTickerResponse, NuanzeServerMarketCandlesResponse, NuanzeServerMarketPositionsResponse, NuanzeServerMarketTradesResponse, NuanzeServerMarketsResponse, NuanzeServerNewsResponse, NuanzeServerOpenPositionsResponse, NuanzeServerPlatformSummaryResponse, NuanzeServerSubaccountLeaderboardPositionResponse, NuanzeServerSubaccountLeaderboardResponse, NuanzeServerSubaccountStatsResponse, NuanzeServerWalletLeaderboardPositionResponse, NuanzeServerWalletPnlResponse, NuanzeServerWalletPnlSeriesResponse, NuanzeServerWalletPositionsResponse, NuanzeServerWalletSummaryResponse, NuanzeServerWalletTradesResponse, isNuanzeServerFailureResponse };
@@ -1 +1 @@
1
- {"version":3,"file":"serverQueryTypes.js","names":[],"sources":["../../src/types/serverQueryTypes.ts"],"sourcesContent":["import type {\n NuanzeCandleInterval,\n NuanzeCoverage,\n NuanzeFlowBucket,\n NuanzeFlowTimeframe,\n NuanzeLeaderboardTimeframe,\n NuanzeMarketVenue,\n NuanzePlatformWindow,\n NuanzePnlWindow,\n NuanzeSeriesMetric,\n NuanzeSourceInterval,\n} from './clientModelTypes';\nimport { NuanzeNewsStory } from './clientModelTypes';\nimport { NuanzeErrorCode } from './nuanzeErrorCodes';\nimport {\n NuanzeServerCandle,\n NuanzeServerCollateralFlow,\n NuanzeServerCollateralFlowPoint,\n NuanzeServerFollowedLeaderboardItem,\n NuanzeServerFundingRate,\n NuanzeServerLeaderboardItem,\n NuanzeServerMarket,\n NuanzeServerMarketDetail,\n NuanzeServerMarketPosition,\n NuanzeServerMarketTrade,\n NuanzeServerOpenPosition,\n NuanzeServerPlatformDeltas,\n NuanzeServerSeriesPoint,\n NuanzeServerSubaccountLeaderboardItem,\n NuanzeServerWalletPosition,\n NuanzeServerWalletTrade,\n} from './serverModelTypes';\n\n/**\n * Failure envelope returned with every non-2xx response.\n *\n * Structurally unrelated to `BaseServerFailureResponse`: Nuanze nests a string `code` under `error`\n * instead of carrying a top-level numeric `error_code` and `status: 'failure'`.\n */\nexport interface NuanzeServerFailureResponse {\n error: {\n code: NuanzeErrorCode;\n message: string;\n requestId: string;\n };\n}\n\n/**\n * `GET /markets` response as returned on the wire.\n */\nexport interface NuanzeServerMarketsResponse {\n markets: NuanzeServerMarket[];\n count: number;\n asOf: string;\n}\n\n/**\n * `GET /news` response as returned on the wire. Stories have no decimals.\n */\nexport interface NuanzeServerNewsResponse {\n stories: NuanzeNewsStory[];\n nextCursor: string | null;\n asOf: string;\n}\n\n/**\n * `GET /markets/{ticker}` response as returned on the wire. The `{ticker}` path segment accepts a\n * canonical ticker, legacy source symbol, or numeric product ID.\n */\nexport type NuanzeServerMarketByTickerResponse = NuanzeServerMarketDetail;\n\n/**\n * `GET /funding/rates` response as returned on the wire.\n */\nexport interface NuanzeServerFundingRatesResponse {\n rates: NuanzeServerFundingRate[];\n asOf: string;\n}\n\n/**\n * `GET /leaderboard` response as returned on the wire.\n */\nexport interface NuanzeServerLeaderboardResponse {\n timeframe: NuanzeLeaderboardTimeframe;\n items: NuanzeServerLeaderboardItem[];\n limit: number;\n offset: number;\n total: number;\n viewer: NuanzeServerLeaderboardItem | null;\n asOf: string;\n}\n\n/**\n * `GET /leaderboard/wallets/{address}` response as returned on the wire.\n */\nexport interface NuanzeServerWalletLeaderboardPositionResponse {\n timeframe: NuanzeLeaderboardTimeframe;\n item: NuanzeServerLeaderboardItem | null;\n asOf: string;\n}\n\n/**\n * `GET /leaderboard/subaccounts` response as returned on the wire.\n */\nexport interface NuanzeServerSubaccountLeaderboardResponse {\n timeframe: NuanzeLeaderboardTimeframe;\n totalCount: number;\n items: NuanzeServerSubaccountLeaderboardItem[];\n nextCursor: string | null;\n viewer: {\n filteredRank: number | null;\n item: NuanzeServerSubaccountLeaderboardItem | null;\n } | null;\n asOf: string;\n}\n\n/**\n * `GET /leaderboard/subaccounts/{subaccountHex}` response as returned on the wire.\n */\nexport interface NuanzeServerSubaccountLeaderboardPositionResponse {\n timeframe: NuanzeLeaderboardTimeframe;\n filteredRank: number | null;\n item: NuanzeServerSubaccountLeaderboardItem | null;\n asOf: string;\n}\n\n/**\n * `GET /wallets/leaderboard` response as returned on the wire.\n */\nexport interface NuanzeServerFollowedLeaderboardResponse {\n timeframe: NuanzeLeaderboardTimeframe;\n items: NuanzeServerFollowedLeaderboardItem[];\n nextCursor: string | null;\n viewer: {\n filteredRank: number | null;\n item: NuanzeServerFollowedLeaderboardItem | null;\n } | null;\n asOf: string;\n}\n\n/**\n * `GET /wallets/leaderboard/followed/{viewAs}` response as returned on the wire.\n */\nexport interface NuanzeServerFollowedLeaderboardPositionResponse {\n timeframe: NuanzeLeaderboardTimeframe;\n filteredRank: number | null;\n item: NuanzeServerFollowedLeaderboardItem | null;\n asOf: string;\n}\n\n/**\n * `GET /platform/summary` response as returned on the wire.\n */\nexport interface NuanzeServerPlatformSummaryResponse {\n window: NuanzePlatformWindow;\n volume24h: string;\n trades24h: number;\n traders24h: number;\n windowVolume: string;\n windowTrades: number;\n windowTraders: number;\n deltas: NuanzeServerPlatformDeltas;\n asOf: string;\n}\n\n/**\n * `GET /wallets/{address}` response as returned on the wire.\n */\nexport interface NuanzeServerWalletSummaryResponse {\n address: string;\n subaccountName: string | null;\n subaccountCount: number;\n pnlWindow: NuanzePnlWindow;\n accountPnl: string;\n windowPnl: string;\n equity: string | null;\n cumulativeVolume: string;\n windowVolume: string;\n totalTrades: number;\n wins: number;\n losses: number;\n winRate: string | null;\n snapshotAt: string;\n coverage: NuanzeCoverage;\n asOf: string;\n}\n\n/**\n * `GET /wallets/{address}/positions` response as returned on the wire.\n */\nexport interface NuanzeServerWalletPositionsResponse {\n address: string;\n positions: NuanzeServerWalletPosition[];\n count: number;\n newestSnapshotAt: string | null;\n oldestSnapshotAt: string | null;\n asOf: string;\n}\n\n/**\n * `GET /markets/{ticker}/trades` response as returned on the wire. The `{ticker}` path segment\n * accepts a canonical ticker, legacy source symbol, or numeric product ID.\n */\nexport interface NuanzeServerMarketTradesResponse {\n productId: number;\n symbol: string;\n ticker: string;\n venue: NuanzeMarketVenue;\n trades: NuanzeServerMarketTrade[];\n nextCursor: string | null;\n asOf: string;\n}\n\n/**\n * `GET /markets/{ticker}/candles` response as returned on the wire. The `{ticker}` path segment\n * accepts a canonical ticker, legacy source symbol, or numeric product ID.\n */\nexport interface NuanzeServerMarketCandlesResponse {\n productId: number;\n symbol: string;\n ticker: string;\n venue: NuanzeMarketVenue;\n interval: NuanzeCandleInterval;\n candles: NuanzeServerCandle[];\n asOf: string;\n}\n\n/**\n * `GET /wallets/{address}/trades` response as returned on the wire.\n */\nexport interface NuanzeServerWalletTradesResponse {\n address: string;\n trades: NuanzeServerWalletTrade[];\n nextCursor: string | null;\n asOf: string;\n}\n\n/**\n * `GET /wallets/{address}/pnl` response as returned on the wire.\n */\nexport interface NuanzeServerWalletPnlResponse {\n address: string;\n subaccountName: string | null;\n window: NuanzePnlWindow;\n windowStart: string;\n windowEnd: string;\n openingAccountPnl: string;\n latestAccountPnl: string;\n windowPnl: string;\n openingEquity: string | null;\n latestEquity: string | null;\n volumeDelta: string;\n sourceInterval: NuanzeSourceInterval;\n latestSnapshotAt: string;\n coverage: NuanzeCoverage;\n asOf: string;\n}\n\n/**\n * `GET /wallets/{address}/pnl/series` response as returned on the wire.\n */\nexport interface NuanzeServerWalletPnlSeriesResponse {\n address: string;\n subaccountName: string | null;\n metric: NuanzeSeriesMetric;\n window: NuanzePnlWindow;\n points: NuanzeServerSeriesPoint[];\n sourceInterval: NuanzeSourceInterval;\n coverage: NuanzeCoverage;\n asOf: string;\n}\n\n/**\n * `GET /flows` response as returned on the wire.\n */\nexport interface NuanzeServerCollateralFlowsResponse {\n events: NuanzeServerCollateralFlow[];\n nextCursor: string | null;\n asOf: string;\n}\n\n/**\n * `GET /flows/summary` response as returned on the wire.\n */\nexport interface NuanzeServerCollateralFlowSummaryResponse {\n timeframe: NuanzeFlowTimeframe;\n deposited: string;\n withdrawn: string;\n net: string;\n gross: string;\n depositCount: number;\n withdrawalCount: number;\n valuedCount: number;\n unvaluedCount: number;\n priorNet: string | null;\n asOf: string;\n}\n\n/**\n * `GET /flows/series` response as returned on the wire.\n */\nexport interface NuanzeServerCollateralFlowSeriesResponse {\n timeframe: NuanzeFlowTimeframe;\n bucket: NuanzeFlowBucket;\n points: NuanzeServerCollateralFlowPoint[];\n asOf: string;\n}\n\n/**\n * `GET /markets/{ticker}/positions` response as returned on the wire. The `{ticker}` path segment\n * accepts a canonical ticker, legacy source symbol, or numeric product ID.\n */\nexport interface NuanzeServerMarketPositionsResponse {\n productId: number;\n symbol: string;\n ticker: string;\n venue: NuanzeMarketVenue;\n positions: NuanzeServerMarketPosition[];\n nextCursor: string | null;\n dataUpdatedAt: string | null;\n asOf: string;\n}\n\n/**\n * `GET /positions` response as returned on the wire.\n */\nexport interface NuanzeServerOpenPositionsResponse {\n positions: NuanzeServerOpenPosition[];\n nextCursor: string | null;\n dataUpdatedAt: string | null;\n asOf: string;\n}\n\n/**\n * Checks whether a response body is a Nuanze failure envelope. The `code` is not compared against\n * {@link NUANZE_ERROR_CODES}, so a code added by a newer API release still reaches the caller.\n */\nexport function isNuanzeServerFailureResponse(\n data: unknown,\n): data is NuanzeServerFailureResponse {\n if (typeof data !== 'object' || data === null || !('error' in data)) {\n return false;\n }\n\n const { error } = data;\n return (\n typeof error === 'object' &&\n error !== null &&\n typeof (error as { code?: unknown }).code === 'string' &&\n typeof (error as { message?: unknown }).message === 'string'\n );\n}\n"],"mappings":";;;;;AAiVA,SAAgB,8BACd,MACqC;CACrC,IAAI,OAAO,SAAS,YAAY,SAAS,QAAQ,EAAE,WAAW,OAC5D,OAAO;CAGT,MAAM,EAAE,UAAU;CAClB,OACE,OAAO,UAAU,YACjB,UAAU,QACV,OAAQ,MAA6B,SAAS,YAC9C,OAAQ,MAAgC,YAAY;AAExD"}
1
+ {"version":3,"file":"serverQueryTypes.js","names":[],"sources":["../../src/types/serverQueryTypes.ts"],"sourcesContent":["import type {\n NuanzeCandleInterval,\n NuanzeCoverage,\n NuanzeFlowBucket,\n NuanzeFlowTimeframe,\n NuanzeLeaderboardTimeframe,\n NuanzeMarketVenue,\n NuanzePlatformWindow,\n NuanzePnlWindow,\n NuanzeSeriesMetric,\n NuanzeSourceInterval,\n} from './clientModelTypes';\nimport { NuanzeNewsStory } from './clientModelTypes';\nimport { NuanzeErrorCode } from './nuanzeErrorCodes';\nimport {\n NuanzeServerCandle,\n NuanzeServerCohort,\n NuanzeServerCollateralFlow,\n NuanzeServerCollateralFlowPoint,\n NuanzeServerFollowedLeaderboardItem,\n NuanzeServerFundingRate,\n NuanzeServerLeaderboardItem,\n NuanzeServerMarket,\n NuanzeServerMarketDetail,\n NuanzeServerMarketPosition,\n NuanzeServerMarketTrade,\n NuanzeServerOpenPosition,\n NuanzeServerPlatformDeltas,\n NuanzeServerSeriesPoint,\n NuanzeServerSubaccountCloseTrade,\n NuanzeServerSubaccountLeaderboardItem,\n NuanzeServerSubaccountLongShortBias,\n NuanzeServerSubaccountMostTradedMarket,\n NuanzeServerWalletPosition,\n NuanzeServerWalletTrade,\n} from './serverModelTypes';\n\n/**\n * Failure envelope returned with every non-2xx response.\n *\n * Structurally unrelated to `BaseServerFailureResponse`: Nuanze nests a string `code` under `error`\n * instead of carrying a top-level numeric `error_code` and `status: 'failure'`.\n */\nexport interface NuanzeServerFailureResponse {\n error: {\n code: NuanzeErrorCode;\n message: string;\n requestId: string;\n };\n}\n\n/**\n * `GET /markets` response as returned on the wire.\n */\nexport interface NuanzeServerMarketsResponse {\n markets: NuanzeServerMarket[];\n count: number;\n asOf: string;\n}\n\n/**\n * `GET /news` response as returned on the wire. Stories have no decimals.\n */\nexport interface NuanzeServerNewsResponse {\n stories: NuanzeNewsStory[];\n nextCursor: string | null;\n asOf: string;\n}\n\n/**\n * `GET /markets/{ticker}` response as returned on the wire. The `{ticker}` path segment accepts a\n * canonical ticker, legacy source symbol, or numeric product ID.\n */\nexport type NuanzeServerMarketByTickerResponse = NuanzeServerMarketDetail;\n\n/**\n * `GET /funding/rates` response as returned on the wire.\n */\nexport interface NuanzeServerFundingRatesResponse {\n rates: NuanzeServerFundingRate[];\n asOf: string;\n}\n\n/**\n * `GET /leaderboard` response as returned on the wire.\n */\nexport interface NuanzeServerLeaderboardResponse {\n timeframe: NuanzeLeaderboardTimeframe;\n items: NuanzeServerLeaderboardItem[];\n limit: number;\n offset: number;\n total: number;\n viewer: NuanzeServerLeaderboardItem | null;\n asOf: string;\n}\n\n/**\n * `GET /leaderboard/wallets/{address}` response as returned on the wire.\n */\nexport interface NuanzeServerWalletLeaderboardPositionResponse {\n timeframe: NuanzeLeaderboardTimeframe;\n item: NuanzeServerLeaderboardItem | null;\n asOf: string;\n}\n\n/**\n * `GET /leaderboard/subaccounts` response as returned on the wire.\n */\nexport interface NuanzeServerSubaccountLeaderboardResponse {\n timeframe: NuanzeLeaderboardTimeframe;\n totalCount: number;\n items: NuanzeServerSubaccountLeaderboardItem[];\n nextCursor: string | null;\n viewer: {\n filteredRank: number | null;\n item: NuanzeServerSubaccountLeaderboardItem | null;\n } | null;\n asOf: string;\n}\n\n/**\n * `GET /leaderboard/subaccounts/{subaccountHex}` response as returned on the wire.\n */\nexport interface NuanzeServerSubaccountLeaderboardPositionResponse {\n timeframe: NuanzeLeaderboardTimeframe;\n filteredRank: number | null;\n item: NuanzeServerSubaccountLeaderboardItem | null;\n asOf: string;\n}\n\n/**\n * `GET /subaccounts/{subaccountHex}` response as returned on the wire.\n */\nexport interface NuanzeServerSubaccountStatsResponse {\n subaccountHex: string;\n timeframe: NuanzeLeaderboardTimeframe;\n owner: string;\n subaccountName: string;\n username: string | null;\n displayName: string | null;\n pnl: string | null;\n wins: number;\n losses: number;\n winRate: string | null;\n trades: number;\n productIds: number[];\n productCount: number;\n globalRank: number | null;\n filteredRank: number | null;\n cumulativeVolume: string;\n windowVolume: string;\n windowPnl: string;\n averageLeverage: string | null;\n bestTrade: NuanzeServerSubaccountCloseTrade | null;\n worstTrade: NuanzeServerSubaccountCloseTrade | null;\n longShortBias: NuanzeServerSubaccountLongShortBias;\n mostTradedMarket: NuanzeServerSubaccountMostTradedMarket | null;\n asOf: string;\n}\n\n/**\n * `GET /wallets/leaderboard` response as returned on the wire.\n */\nexport interface NuanzeServerFollowedLeaderboardResponse {\n timeframe: NuanzeLeaderboardTimeframe;\n items: NuanzeServerFollowedLeaderboardItem[];\n nextCursor: string | null;\n viewer: {\n filteredRank: number | null;\n item: NuanzeServerFollowedLeaderboardItem | null;\n } | null;\n asOf: string;\n}\n\n/**\n * `GET /wallets/leaderboard/followed/{viewAs}` response as returned on the wire.\n */\nexport interface NuanzeServerFollowedLeaderboardPositionResponse {\n timeframe: NuanzeLeaderboardTimeframe;\n filteredRank: number | null;\n item: NuanzeServerFollowedLeaderboardItem | null;\n asOf: string;\n}\n\n/**\n * `GET /platform/summary` response as returned on the wire.\n */\nexport interface NuanzeServerPlatformSummaryResponse {\n window: NuanzePlatformWindow;\n volume24h: string;\n trades24h: number;\n traders24h: number;\n windowVolume: string;\n windowTrades: number;\n windowTraders: number;\n deltas: NuanzeServerPlatformDeltas;\n asOf: string;\n}\n\n/**\n * `GET /cohorts` response as returned on the wire.\n */\nexport interface NuanzeServerCohortsResponse {\n items: NuanzeServerCohort[];\n asOf: string;\n}\n\n/**\n * `GET /wallets/{address}` response as returned on the wire.\n */\nexport interface NuanzeServerWalletSummaryResponse {\n address: string;\n subaccountName: string | null;\n subaccountCount: number;\n pnlWindow: NuanzePnlWindow;\n accountPnl: string;\n windowPnl: string;\n equity: string | null;\n cumulativeVolume: string;\n windowVolume: string;\n totalTrades: number;\n wins: number;\n losses: number;\n winRate: string | null;\n snapshotAt: string;\n coverage: NuanzeCoverage;\n asOf: string;\n}\n\n/**\n * `GET /wallets/{address}/positions` response as returned on the wire.\n */\nexport interface NuanzeServerWalletPositionsResponse {\n address: string;\n positions: NuanzeServerWalletPosition[];\n count: number;\n newestSnapshotAt: string | null;\n oldestSnapshotAt: string | null;\n asOf: string;\n}\n\n/**\n * `GET /markets/{ticker}/trades` response as returned on the wire. The `{ticker}` path segment\n * accepts a canonical ticker, legacy source symbol, or numeric product ID.\n */\nexport interface NuanzeServerMarketTradesResponse {\n productId: number;\n symbol: string;\n ticker: string;\n venue: NuanzeMarketVenue;\n trades: NuanzeServerMarketTrade[];\n nextCursor: string | null;\n asOf: string;\n}\n\n/**\n * `GET /markets/{ticker}/candles` response as returned on the wire. The `{ticker}` path segment\n * accepts a canonical ticker, legacy source symbol, or numeric product ID.\n */\nexport interface NuanzeServerMarketCandlesResponse {\n productId: number;\n symbol: string;\n ticker: string;\n venue: NuanzeMarketVenue;\n interval: NuanzeCandleInterval;\n candles: NuanzeServerCandle[];\n asOf: string;\n}\n\n/**\n * `GET /wallets/{address}/trades` response as returned on the wire.\n */\nexport interface NuanzeServerWalletTradesResponse {\n address: string;\n trades: NuanzeServerWalletTrade[];\n nextCursor: string | null;\n asOf: string;\n}\n\n/**\n * `GET /wallets/{address}/pnl` response as returned on the wire.\n */\nexport interface NuanzeServerWalletPnlResponse {\n address: string;\n subaccountName: string | null;\n window: NuanzePnlWindow;\n windowStart: string;\n windowEnd: string;\n openingAccountPnl: string;\n latestAccountPnl: string;\n windowPnl: string;\n openingEquity: string | null;\n latestEquity: string | null;\n volumeDelta: string;\n sourceInterval: NuanzeSourceInterval;\n latestSnapshotAt: string;\n coverage: NuanzeCoverage;\n asOf: string;\n}\n\n/**\n * `GET /wallets/{address}/pnl/series` response as returned on the wire.\n */\nexport interface NuanzeServerWalletPnlSeriesResponse {\n address: string;\n subaccountName: string | null;\n metric: NuanzeSeriesMetric;\n window: NuanzePnlWindow;\n points: NuanzeServerSeriesPoint[];\n sourceInterval: NuanzeSourceInterval;\n coverage: NuanzeCoverage;\n asOf: string;\n}\n\n/**\n * `GET /flows` response as returned on the wire.\n */\nexport interface NuanzeServerCollateralFlowsResponse {\n events: NuanzeServerCollateralFlow[];\n nextCursor: string | null;\n asOf: string;\n}\n\n/**\n * `GET /flows/summary` response as returned on the wire.\n */\nexport interface NuanzeServerCollateralFlowSummaryResponse {\n timeframe: NuanzeFlowTimeframe;\n deposited: string;\n withdrawn: string;\n net: string;\n gross: string;\n depositCount: number;\n withdrawalCount: number;\n valuedCount: number;\n unvaluedCount: number;\n priorNet: string | null;\n asOf: string;\n}\n\n/**\n * `GET /flows/series` response as returned on the wire.\n */\nexport interface NuanzeServerCollateralFlowSeriesResponse {\n timeframe: NuanzeFlowTimeframe;\n bucket: NuanzeFlowBucket;\n points: NuanzeServerCollateralFlowPoint[];\n asOf: string;\n}\n\n/**\n * `GET /markets/{ticker}/positions` response as returned on the wire. The `{ticker}` path segment\n * accepts a canonical ticker, legacy source symbol, or numeric product ID.\n */\nexport interface NuanzeServerMarketPositionsResponse {\n productId: number;\n symbol: string;\n ticker: string;\n venue: NuanzeMarketVenue;\n positions: NuanzeServerMarketPosition[];\n nextCursor: string | null;\n dataUpdatedAt: string | null;\n asOf: string;\n}\n\n/**\n * `GET /positions` response as returned on the wire.\n */\nexport interface NuanzeServerOpenPositionsResponse {\n positions: NuanzeServerOpenPosition[];\n nextCursor: string | null;\n dataUpdatedAt: string | null;\n asOf: string;\n}\n\n/**\n * Checks whether a response body is a Nuanze failure envelope. The `code` is not compared against\n * {@link NUANZE_ERROR_CODES}, so a code added by a newer API release still reaches the caller.\n */\nexport function isNuanzeServerFailureResponse(\n data: unknown,\n): data is NuanzeServerFailureResponse {\n if (typeof data !== 'object' || data === null || !('error' in data)) {\n return false;\n }\n\n const { error } = data;\n return (\n typeof error === 'object' &&\n error !== null &&\n typeof (error as { code?: unknown }).code === 'string' &&\n typeof (error as { message?: unknown }).message === 'string'\n );\n}\n"],"mappings":";;;;;AA2XA,SAAgB,8BACd,MACqC;CACrC,IAAI,OAAO,SAAS,YAAY,SAAS,QAAQ,EAAE,WAAW,OAC5D,OAAO;CAGT,MAAM,EAAE,UAAU;CAClB,OACE,OAAO,UAAU,YACjB,UAAU,QACV,OAAQ,MAA6B,SAAS,YAC9C,OAAQ,MAAgC,YAAY;AAExD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nadohq/nuanze-client",
3
- "version": "0.53.0",
3
+ "version": "0.55.0",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "description": "HTTP client for the Nuanze public analytics API - markets, wallets, trades, candles, flows, positioning, and open positions",
@@ -41,7 +41,7 @@
41
41
  "module": "./dist/index.js",
42
42
  "types": "./dist/index.d.ts",
43
43
  "dependencies": {
44
- "@nadohq/shared": "^0.53.0",
44
+ "@nadohq/shared": "^0.55.0",
45
45
  "axios": "1.16.1"
46
46
  },
47
47
  "peerDependencies": {
@@ -50,5 +50,5 @@
50
50
  "devDependencies": {
51
51
  "bignumber.js": "11.1.1"
52
52
  },
53
- "gitHead": "94a4731d08230a234122e6d225b59208313d846f"
53
+ "gitHead": "b76772999226b64d52b03662246c7e98ba5b7d06"
54
54
  }
@@ -1,5 +1,6 @@
1
1
  import axios, { AxiosInstance, AxiosResponse } from 'axios';
2
2
  import {
3
+ mapNuanzeCohortsResponse,
3
4
  mapNuanzeCollateralFlowSeriesResponse,
4
5
  mapNuanzeCollateralFlowSummaryResponse,
5
6
  mapNuanzeCollateralFlowsResponse,
@@ -18,6 +19,7 @@ import {
18
19
  mapNuanzePlatformSummaryResponse,
19
20
  mapNuanzeSubaccountLeaderboardPositionResponse,
20
21
  mapNuanzeSubaccountLeaderboardResponse,
22
+ mapNuanzeSubaccountStatsResponse,
21
23
  mapNuanzeWalletLeaderboardPositionResponse,
22
24
  mapNuanzeWalletPnlResponse,
23
25
  mapNuanzeWalletPnlSeriesResponse,
@@ -26,6 +28,7 @@ import {
26
28
  mapNuanzeWalletTradesResponse,
27
29
  } from './dataMappers';
28
30
  import {
31
+ GetNuanzeCohortsResponse,
29
32
  GetNuanzeCollateralFlowSeriesParams,
30
33
  GetNuanzeCollateralFlowSeriesResponse,
31
34
  GetNuanzeCollateralFlowSummaryParams,
@@ -62,6 +65,8 @@ import {
62
65
  GetNuanzeSubaccountLeaderboardPositionParams,
63
66
  GetNuanzeSubaccountLeaderboardPositionResponse,
64
67
  GetNuanzeSubaccountLeaderboardResponse,
68
+ GetNuanzeSubaccountStatsParams,
69
+ GetNuanzeSubaccountStatsResponse,
65
70
  GetNuanzeWalletLeaderboardPositionParams,
66
71
  GetNuanzeWalletLeaderboardPositionResponse,
67
72
  GetNuanzeWalletPnlParams,
@@ -79,6 +84,7 @@ import {
79
84
  import { NuanzeServerFailureError } from './types/NuanzeServerFailureError';
80
85
  import { NuanzeServerMarketPositioningResponse } from './types/serverModelTypes';
81
86
  import {
87
+ NuanzeServerCohortsResponse,
82
88
  NuanzeServerCollateralFlowSeriesResponse,
83
89
  NuanzeServerCollateralFlowSummaryResponse,
84
90
  NuanzeServerCollateralFlowsResponse,
@@ -96,6 +102,7 @@ import {
96
102
  NuanzeServerPlatformSummaryResponse,
97
103
  NuanzeServerSubaccountLeaderboardPositionResponse,
98
104
  NuanzeServerSubaccountLeaderboardResponse,
105
+ NuanzeServerSubaccountStatsResponse,
99
106
  NuanzeServerWalletLeaderboardPositionResponse,
100
107
  NuanzeServerWalletPnlResponse,
101
108
  NuanzeServerWalletPnlSeriesResponse,
@@ -301,6 +308,31 @@ export class NuanzeClient {
301
308
  );
302
309
  }
303
310
 
311
+ /**
312
+ * Gets every trader stat card for one subaccount by explicit bytes32 subaccount hex
313
+ * (the SDK `subaccountToHex` form): leaderboard rank and window PnL, snapshot volume,
314
+ * average leverage over current isolated perp legs, best/worst close-event trade in the
315
+ * window, point-in-time long/short bias from current open perp legs, and the most-traded
316
+ * market. Best/worst trade, leverage, bias percentages, and most-traded market are null
317
+ * when the subaccount has no closes, isolated margin, open positions, or activity rows
318
+ * respectively.
319
+ *
320
+ * @throws {NuanzeServerFailureError} With `BAD_REQUEST` when the timeframe is invalid,
321
+ * `INVALID_SUBACCOUNT` when the subaccount hex is malformed, or `WALLET_NOT_FOUND` when
322
+ * the hex is unknown.
323
+ */
324
+ async getSubaccountStats(
325
+ params: GetNuanzeSubaccountStatsParams,
326
+ ): Promise<GetNuanzeSubaccountStatsResponse> {
327
+ const { subaccountHex, ...query } = params;
328
+ return mapNuanzeSubaccountStatsResponse(
329
+ await this.getJson<NuanzeServerSubaccountStatsResponse>(
330
+ `/subaccounts/${encodeURIComponent(subaccountHex)}`,
331
+ query,
332
+ ),
333
+ );
334
+ }
335
+
304
336
  /**
305
337
  * Gets platform activity summary from five-minute aggregates.
306
338
  *
@@ -317,6 +349,24 @@ export class NuanzeClient {
317
349
  );
318
350
  }
319
351
 
352
+ /**
353
+ * Gets the six fixed wallet cohorts of the nuanze.co cohorts page. Every wallet that has traded
354
+ * belongs to exactly one, chosen by its lifetime equity-basis account PnL summed across its
355
+ * subaccounts: `extremely_profitable` [1,000,000, +inf), `very_profitable` [100,000, 1,000,000),
356
+ * `profitable` [0, 100,000), `unprofitable` [-100,000, 0), `very_unprofitable` [-1,000,000,
357
+ * -100,000), and `rekt` (-inf, -1,000,000), the same cohorts as `getMarketPositioning` with
358
+ * `groupBy: 'cohort'`. All six are always returned in that order, each with PnL totals,
359
+ * profit/loss wallet counts, lifetime trades, and the members' current open perp notional split
360
+ * long/short; `longPct` and `shortPct` are null when the cohort is flat. `series` samples the
361
+ * cohort's long percentage every four hours over the last 30 days, oldest first. Membership and
362
+ * aggregates refresh about every five minutes, series points every four hours.
363
+ */
364
+ async getCohorts(): Promise<GetNuanzeCohortsResponse> {
365
+ return mapNuanzeCohortsResponse(
366
+ await this.getJson<NuanzeServerCohortsResponse>('/cohorts'),
367
+ );
368
+ }
369
+
320
370
  /**
321
371
  * Gets a keyset-paginated leaderboard for every subaccount a supplied bytes32 subaccount actively
322
372
  * follows, sorted by PnL descending with nulls last. The follower does not need a claimed