@nadohq/nuanze-client 0.41.0 → 0.42.1

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 (87) hide show
  1. package/README.md +2 -9
  2. package/dist/{NuanzeClient-BUjoXpWV.cjs → NuanzeClient-CEmOugzW.cjs} +27 -28
  3. package/dist/NuanzeClient-CEmOugzW.cjs.map +1 -0
  4. package/dist/NuanzeClient.cjs +1 -1
  5. package/dist/NuanzeClient.d.cts +21 -22
  6. package/dist/NuanzeClient.d.cts.map +1 -1
  7. package/dist/NuanzeClient.d.ts +21 -22
  8. package/dist/NuanzeClient.d.ts.map +1 -1
  9. package/dist/NuanzeClient.js +27 -28
  10. package/dist/NuanzeClient.js.map +1 -1
  11. package/dist/{NuanzeServerFailureError-DqWaKEMA.d.ts → NuanzeServerFailureError-C2iF5q-P.d.ts} +4 -4
  12. package/dist/{NuanzeServerFailureError-DqWaKEMA.d.ts.map → NuanzeServerFailureError-C2iF5q-P.d.ts.map} +1 -1
  13. package/dist/{NuanzeServerFailureError-B9EhXPyW.d.cts → NuanzeServerFailureError-CMeSnmPF.d.cts} +4 -4
  14. package/dist/{NuanzeServerFailureError-B9EhXPyW.d.cts.map → NuanzeServerFailureError-CMeSnmPF.d.cts.map} +1 -1
  15. package/dist/{clientModelTypes-A-D7ER-p.d.ts → clientModelTypes-DNPU1Q4B.d.ts} +48 -6
  16. package/dist/{clientModelTypes-A-D7ER-p.d.ts.map → clientModelTypes-DNPU1Q4B.d.ts.map} +1 -1
  17. package/dist/{clientModelTypes-BLPA-e3V.d.cts → clientModelTypes-YrD7pXq6.d.cts} +48 -6
  18. package/dist/{clientModelTypes-BLPA-e3V.d.cts.map → clientModelTypes-YrD7pXq6.d.cts.map} +1 -1
  19. package/dist/{clientTypes-Du2RLy4W.d.cts → clientTypes-PhICTa52.d.cts} +56 -13
  20. package/dist/clientTypes-PhICTa52.d.cts.map +1 -0
  21. package/dist/{clientTypes-DdpinbkS.d.ts → clientTypes-t9TgQnqp.d.ts} +56 -13
  22. package/dist/clientTypes-t9TgQnqp.d.ts.map +1 -0
  23. package/dist/dataMappers.cjs +40 -4
  24. package/dist/dataMappers.cjs.map +1 -1
  25. package/dist/dataMappers.d.cts +14 -6
  26. package/dist/dataMappers.d.cts.map +1 -1
  27. package/dist/dataMappers.d.ts +14 -6
  28. package/dist/dataMappers.d.ts.map +1 -1
  29. package/dist/dataMappers.js +38 -4
  30. package/dist/dataMappers.js.map +1 -1
  31. package/dist/index.cjs +3 -1
  32. package/dist/index.d.cts +8 -8
  33. package/dist/index.d.ts +8 -8
  34. package/dist/index.js +2 -2
  35. package/dist/{nuanzeErrorCodes-Dh6juim0.d.ts → nuanzeErrorCodes-DMoRcCHK.d.cts} +2 -2
  36. package/dist/{nuanzeErrorCodes-CWCTWh2k.d.cts.map → nuanzeErrorCodes-DMoRcCHK.d.cts.map} +1 -1
  37. package/dist/{nuanzeErrorCodes-CWCTWh2k.d.cts → nuanzeErrorCodes-DewKYqCe.d.ts} +2 -2
  38. package/dist/nuanzeErrorCodes-DewKYqCe.d.ts.map +1 -0
  39. package/dist/{serverModelTypes-D-vS_7uc.d.ts → serverModelTypes-BJzL4GkE.d.cts} +23 -3
  40. package/dist/serverModelTypes-BJzL4GkE.d.cts.map +1 -0
  41. package/dist/{serverModelTypes-DZDxdIzz.d.cts → serverModelTypes-Ch4IifDo.d.ts} +23 -3
  42. package/dist/serverModelTypes-Ch4IifDo.d.ts.map +1 -0
  43. package/dist/{serverQueryTypes-e7HWmE8t.d.ts → serverQueryTypes-BDI5rETc.d.ts} +17 -7
  44. package/dist/serverQueryTypes-BDI5rETc.d.ts.map +1 -0
  45. package/dist/{serverQueryTypes-BBIFZZ36.d.cts → serverQueryTypes-RBQQXK5Y.d.cts} +17 -7
  46. package/dist/serverQueryTypes-RBQQXK5Y.d.cts.map +1 -0
  47. package/dist/types/NuanzeServerFailureError.cjs.map +1 -1
  48. package/dist/types/NuanzeServerFailureError.d.cts +1 -1
  49. package/dist/types/NuanzeServerFailureError.d.ts +1 -1
  50. package/dist/types/NuanzeServerFailureError.js.map +1 -1
  51. package/dist/types/clientModelTypes.cjs.map +1 -1
  52. package/dist/types/clientModelTypes.d.cts +2 -2
  53. package/dist/types/clientModelTypes.d.ts +2 -2
  54. package/dist/types/clientModelTypes.js.map +1 -1
  55. package/dist/types/clientTypes.d.cts +2 -2
  56. package/dist/types/clientTypes.d.ts +2 -2
  57. package/dist/types/index.d.cts +7 -7
  58. package/dist/types/index.d.ts +7 -7
  59. package/dist/types/nuanzeErrorCodes.cjs +1 -1
  60. package/dist/types/nuanzeErrorCodes.cjs.map +1 -1
  61. package/dist/types/nuanzeErrorCodes.d.cts +1 -1
  62. package/dist/types/nuanzeErrorCodes.d.ts +1 -1
  63. package/dist/types/nuanzeErrorCodes.js +1 -1
  64. package/dist/types/nuanzeErrorCodes.js.map +1 -1
  65. package/dist/types/serverModelTypes.d.cts +2 -2
  66. package/dist/types/serverModelTypes.d.ts +2 -2
  67. package/dist/types/serverQueryTypes.cjs.map +1 -1
  68. package/dist/types/serverQueryTypes.d.cts +2 -2
  69. package/dist/types/serverQueryTypes.d.ts +2 -2
  70. package/dist/types/serverQueryTypes.js.map +1 -1
  71. package/package.json +3 -3
  72. package/src/NuanzeClient.ts +38 -29
  73. package/src/dataMappers.ts +46 -2
  74. package/src/types/NuanzeServerFailureError.ts +1 -1
  75. package/src/types/clientModelTypes.ts +47 -4
  76. package/src/types/clientTypes.ts +56 -10
  77. package/src/types/nuanzeErrorCodes.ts +1 -1
  78. package/src/types/serverModelTypes.ts +21 -0
  79. package/src/types/serverQueryTypes.ts +14 -2
  80. package/dist/NuanzeClient-BUjoXpWV.cjs.map +0 -1
  81. package/dist/clientTypes-DdpinbkS.d.ts.map +0 -1
  82. package/dist/clientTypes-Du2RLy4W.d.cts.map +0 -1
  83. package/dist/nuanzeErrorCodes-Dh6juim0.d.ts.map +0 -1
  84. package/dist/serverModelTypes-D-vS_7uc.d.ts.map +0 -1
  85. package/dist/serverModelTypes-DZDxdIzz.d.cts.map +0 -1
  86. package/dist/serverQueryTypes-BBIFZZ36.d.cts.map +0 -1
  87. package/dist/serverQueryTypes-e7HWmE8t.d.ts.map +0 -1
@@ -1,2 +1,2 @@
1
- import { A as GetNuanzePlatformSummaryResponse, B as GetNuanzeWalletTradesResponse, C as GetNuanzeMarketsParams, D as GetNuanzeOpenPositionsParams, E as GetNuanzeNewsResponse, F as GetNuanzeWalletPositionsParams, I as GetNuanzeWalletPositionsResponse, L as GetNuanzeWalletSummaryParams, M as GetNuanzeWalletPnlResponse, N as GetNuanzeWalletPnlSeriesParams, O as GetNuanzeOpenPositionsResponse, P as GetNuanzeWalletPnlSeriesResponse, R as GetNuanzeWalletSummaryResponse, S as GetNuanzeMarketTradesResponse, T as GetNuanzeNewsParams, _ as GetNuanzeMarketPositioningParams, a as GetNuanzeCollateralFlowsParams, b as GetNuanzeMarketPositionsResponse, c as GetNuanzeFollowedLeaderboardResponse, d as GetNuanzeLeaderboardParams, f as GetNuanzeLeaderboardResponse, g as GetNuanzeMarketCandlesResponse, h as GetNuanzeMarketCandlesParams, i as GetNuanzeCollateralFlowSummaryResponse, j as GetNuanzeWalletPnlParams, k as GetNuanzePlatformSummaryParams, l as GetNuanzeFundingRatesParams, m as GetNuanzeMarketByTickerResponse, n as GetNuanzeCollateralFlowSeriesResponse, o as GetNuanzeCollateralFlowsResponse, p as GetNuanzeMarketByTickerParams, r as GetNuanzeCollateralFlowSummaryParams, s as GetNuanzeFollowedLeaderboardParams, t as GetNuanzeCollateralFlowSeriesParams, u as GetNuanzeFundingRatesResponse, v as GetNuanzeMarketPositioningResponse, w as GetNuanzeMarketsResponse, x as GetNuanzeMarketTradesParams, y as GetNuanzeMarketPositionsParams, z as GetNuanzeWalletTradesParams } from "../clientTypes-Du2RLy4W.cjs";
2
- export { GetNuanzeCollateralFlowSeriesParams, GetNuanzeCollateralFlowSeriesResponse, GetNuanzeCollateralFlowSummaryParams, GetNuanzeCollateralFlowSummaryResponse, GetNuanzeCollateralFlowsParams, GetNuanzeCollateralFlowsResponse, GetNuanzeFollowedLeaderboardParams, GetNuanzeFollowedLeaderboardResponse, GetNuanzeFundingRatesParams, GetNuanzeFundingRatesResponse, GetNuanzeLeaderboardParams, GetNuanzeLeaderboardResponse, GetNuanzeMarketByTickerParams, GetNuanzeMarketByTickerResponse, GetNuanzeMarketCandlesParams, GetNuanzeMarketCandlesResponse, GetNuanzeMarketPositioningParams, GetNuanzeMarketPositioningResponse, GetNuanzeMarketPositionsParams, GetNuanzeMarketPositionsResponse, GetNuanzeMarketTradesParams, GetNuanzeMarketTradesResponse, GetNuanzeMarketsParams, GetNuanzeMarketsResponse, GetNuanzeNewsParams, GetNuanzeNewsResponse, GetNuanzeOpenPositionsParams, GetNuanzeOpenPositionsResponse, GetNuanzePlatformSummaryParams, GetNuanzePlatformSummaryResponse, GetNuanzeWalletPnlParams, GetNuanzeWalletPnlResponse, GetNuanzeWalletPnlSeriesParams, GetNuanzeWalletPnlSeriesResponse, GetNuanzeWalletPositionsParams, GetNuanzeWalletPositionsResponse, GetNuanzeWalletSummaryParams, GetNuanzeWalletSummaryResponse, GetNuanzeWalletTradesParams, GetNuanzeWalletTradesResponse };
1
+ import { A as GetNuanzePlatformSummaryResponse, B as GetNuanzeWalletSummaryResponse, C as GetNuanzeMarketsParams, D as GetNuanzeOpenPositionsParams, E as GetNuanzeNewsResponse, F as GetNuanzeWalletPnlSeriesParams, H as GetNuanzeWalletTradesResponse, I as GetNuanzeWalletPnlSeriesResponse, L as GetNuanzeWalletPositionsParams, M as GetNuanzeSubaccountLeaderboardResponse, N as GetNuanzeWalletPnlParams, O as GetNuanzeOpenPositionsResponse, P as GetNuanzeWalletPnlResponse, R as GetNuanzeWalletPositionsResponse, S as GetNuanzeMarketTradesResponse, T as GetNuanzeNewsParams, V as GetNuanzeWalletTradesParams, _ as GetNuanzeMarketPositioningParams, a as GetNuanzeCollateralFlowsParams, b as GetNuanzeMarketPositionsResponse, c as GetNuanzeFollowedLeaderboardResponse, d as GetNuanzeLeaderboardParams, f as GetNuanzeLeaderboardResponse, g as GetNuanzeMarketCandlesResponse, h as GetNuanzeMarketCandlesParams, i as GetNuanzeCollateralFlowSummaryResponse, j as GetNuanzeSubaccountLeaderboardParams, k as GetNuanzePlatformSummaryParams, l as GetNuanzeFundingRatesParams, m as GetNuanzeMarketByTickerResponse, n as GetNuanzeCollateralFlowSeriesResponse, o as GetNuanzeCollateralFlowsResponse, p as GetNuanzeMarketByTickerParams, r as GetNuanzeCollateralFlowSummaryParams, s as GetNuanzeFollowedLeaderboardParams, t as GetNuanzeCollateralFlowSeriesParams, u as GetNuanzeFundingRatesResponse, v as GetNuanzeMarketPositioningResponse, w as GetNuanzeMarketsResponse, x as GetNuanzeMarketTradesParams, y as GetNuanzeMarketPositionsParams, z as GetNuanzeWalletSummaryParams } from "../clientTypes-PhICTa52.cjs";
2
+ export { GetNuanzeCollateralFlowSeriesParams, GetNuanzeCollateralFlowSeriesResponse, GetNuanzeCollateralFlowSummaryParams, GetNuanzeCollateralFlowSummaryResponse, GetNuanzeCollateralFlowsParams, GetNuanzeCollateralFlowsResponse, GetNuanzeFollowedLeaderboardParams, GetNuanzeFollowedLeaderboardResponse, GetNuanzeFundingRatesParams, GetNuanzeFundingRatesResponse, GetNuanzeLeaderboardParams, GetNuanzeLeaderboardResponse, GetNuanzeMarketByTickerParams, GetNuanzeMarketByTickerResponse, GetNuanzeMarketCandlesParams, GetNuanzeMarketCandlesResponse, GetNuanzeMarketPositioningParams, GetNuanzeMarketPositioningResponse, GetNuanzeMarketPositionsParams, GetNuanzeMarketPositionsResponse, GetNuanzeMarketTradesParams, GetNuanzeMarketTradesResponse, GetNuanzeMarketsParams, GetNuanzeMarketsResponse, GetNuanzeNewsParams, GetNuanzeNewsResponse, GetNuanzeOpenPositionsParams, GetNuanzeOpenPositionsResponse, GetNuanzePlatformSummaryParams, GetNuanzePlatformSummaryResponse, GetNuanzeSubaccountLeaderboardParams, GetNuanzeSubaccountLeaderboardResponse, GetNuanzeWalletPnlParams, GetNuanzeWalletPnlResponse, GetNuanzeWalletPnlSeriesParams, GetNuanzeWalletPnlSeriesResponse, GetNuanzeWalletPositionsParams, GetNuanzeWalletPositionsResponse, GetNuanzeWalletSummaryParams, GetNuanzeWalletSummaryResponse, GetNuanzeWalletTradesParams, GetNuanzeWalletTradesResponse };
@@ -1,2 +1,2 @@
1
- import { A as GetNuanzePlatformSummaryResponse, B as GetNuanzeWalletTradesResponse, C as GetNuanzeMarketsParams, D as GetNuanzeOpenPositionsParams, E as GetNuanzeNewsResponse, F as GetNuanzeWalletPositionsParams, I as GetNuanzeWalletPositionsResponse, L as GetNuanzeWalletSummaryParams, M as GetNuanzeWalletPnlResponse, N as GetNuanzeWalletPnlSeriesParams, O as GetNuanzeOpenPositionsResponse, P as GetNuanzeWalletPnlSeriesResponse, R as GetNuanzeWalletSummaryResponse, S as GetNuanzeMarketTradesResponse, T as GetNuanzeNewsParams, _ as GetNuanzeMarketPositioningParams, a as GetNuanzeCollateralFlowsParams, b as GetNuanzeMarketPositionsResponse, c as GetNuanzeFollowedLeaderboardResponse, d as GetNuanzeLeaderboardParams, f as GetNuanzeLeaderboardResponse, g as GetNuanzeMarketCandlesResponse, h as GetNuanzeMarketCandlesParams, i as GetNuanzeCollateralFlowSummaryResponse, j as GetNuanzeWalletPnlParams, k as GetNuanzePlatformSummaryParams, l as GetNuanzeFundingRatesParams, m as GetNuanzeMarketByTickerResponse, n as GetNuanzeCollateralFlowSeriesResponse, o as GetNuanzeCollateralFlowsResponse, p as GetNuanzeMarketByTickerParams, r as GetNuanzeCollateralFlowSummaryParams, s as GetNuanzeFollowedLeaderboardParams, t as GetNuanzeCollateralFlowSeriesParams, u as GetNuanzeFundingRatesResponse, v as GetNuanzeMarketPositioningResponse, w as GetNuanzeMarketsResponse, x as GetNuanzeMarketTradesParams, y as GetNuanzeMarketPositionsParams, z as GetNuanzeWalletTradesParams } from "../clientTypes-DdpinbkS.js";
2
- export { GetNuanzeCollateralFlowSeriesParams, GetNuanzeCollateralFlowSeriesResponse, GetNuanzeCollateralFlowSummaryParams, GetNuanzeCollateralFlowSummaryResponse, GetNuanzeCollateralFlowsParams, GetNuanzeCollateralFlowsResponse, GetNuanzeFollowedLeaderboardParams, GetNuanzeFollowedLeaderboardResponse, GetNuanzeFundingRatesParams, GetNuanzeFundingRatesResponse, GetNuanzeLeaderboardParams, GetNuanzeLeaderboardResponse, GetNuanzeMarketByTickerParams, GetNuanzeMarketByTickerResponse, GetNuanzeMarketCandlesParams, GetNuanzeMarketCandlesResponse, GetNuanzeMarketPositioningParams, GetNuanzeMarketPositioningResponse, GetNuanzeMarketPositionsParams, GetNuanzeMarketPositionsResponse, GetNuanzeMarketTradesParams, GetNuanzeMarketTradesResponse, GetNuanzeMarketsParams, GetNuanzeMarketsResponse, GetNuanzeNewsParams, GetNuanzeNewsResponse, GetNuanzeOpenPositionsParams, GetNuanzeOpenPositionsResponse, GetNuanzePlatformSummaryParams, GetNuanzePlatformSummaryResponse, GetNuanzeWalletPnlParams, GetNuanzeWalletPnlResponse, GetNuanzeWalletPnlSeriesParams, GetNuanzeWalletPnlSeriesResponse, GetNuanzeWalletPositionsParams, GetNuanzeWalletPositionsResponse, GetNuanzeWalletSummaryParams, GetNuanzeWalletSummaryResponse, GetNuanzeWalletTradesParams, GetNuanzeWalletTradesResponse };
1
+ import { A as GetNuanzePlatformSummaryResponse, B as GetNuanzeWalletSummaryResponse, C as GetNuanzeMarketsParams, D as GetNuanzeOpenPositionsParams, E as GetNuanzeNewsResponse, F as GetNuanzeWalletPnlSeriesParams, H as GetNuanzeWalletTradesResponse, I as GetNuanzeWalletPnlSeriesResponse, L as GetNuanzeWalletPositionsParams, M as GetNuanzeSubaccountLeaderboardResponse, N as GetNuanzeWalletPnlParams, O as GetNuanzeOpenPositionsResponse, P as GetNuanzeWalletPnlResponse, R as GetNuanzeWalletPositionsResponse, S as GetNuanzeMarketTradesResponse, T as GetNuanzeNewsParams, V as GetNuanzeWalletTradesParams, _ as GetNuanzeMarketPositioningParams, a as GetNuanzeCollateralFlowsParams, b as GetNuanzeMarketPositionsResponse, c as GetNuanzeFollowedLeaderboardResponse, d as GetNuanzeLeaderboardParams, f as GetNuanzeLeaderboardResponse, g as GetNuanzeMarketCandlesResponse, h as GetNuanzeMarketCandlesParams, i as GetNuanzeCollateralFlowSummaryResponse, j as GetNuanzeSubaccountLeaderboardParams, k as GetNuanzePlatformSummaryParams, l as GetNuanzeFundingRatesParams, m as GetNuanzeMarketByTickerResponse, n as GetNuanzeCollateralFlowSeriesResponse, o as GetNuanzeCollateralFlowsResponse, p as GetNuanzeMarketByTickerParams, r as GetNuanzeCollateralFlowSummaryParams, s as GetNuanzeFollowedLeaderboardParams, t as GetNuanzeCollateralFlowSeriesParams, u as GetNuanzeFundingRatesResponse, v as GetNuanzeMarketPositioningResponse, w as GetNuanzeMarketsResponse, x as GetNuanzeMarketTradesParams, y as GetNuanzeMarketPositionsParams, z as GetNuanzeWalletSummaryParams } from "../clientTypes-t9TgQnqp.js";
2
+ export { GetNuanzeCollateralFlowSeriesParams, GetNuanzeCollateralFlowSeriesResponse, GetNuanzeCollateralFlowSummaryParams, GetNuanzeCollateralFlowSummaryResponse, GetNuanzeCollateralFlowsParams, GetNuanzeCollateralFlowsResponse, GetNuanzeFollowedLeaderboardParams, GetNuanzeFollowedLeaderboardResponse, GetNuanzeFundingRatesParams, GetNuanzeFundingRatesResponse, GetNuanzeLeaderboardParams, GetNuanzeLeaderboardResponse, GetNuanzeMarketByTickerParams, GetNuanzeMarketByTickerResponse, GetNuanzeMarketCandlesParams, GetNuanzeMarketCandlesResponse, GetNuanzeMarketPositioningParams, GetNuanzeMarketPositioningResponse, GetNuanzeMarketPositionsParams, GetNuanzeMarketPositionsResponse, GetNuanzeMarketTradesParams, GetNuanzeMarketTradesResponse, GetNuanzeMarketsParams, GetNuanzeMarketsResponse, GetNuanzeNewsParams, GetNuanzeNewsResponse, GetNuanzeOpenPositionsParams, GetNuanzeOpenPositionsResponse, GetNuanzePlatformSummaryParams, GetNuanzePlatformSummaryResponse, GetNuanzeSubaccountLeaderboardParams, GetNuanzeSubaccountLeaderboardResponse, GetNuanzeWalletPnlParams, GetNuanzeWalletPnlResponse, GetNuanzeWalletPnlSeriesParams, GetNuanzeWalletPnlSeriesResponse, GetNuanzeWalletPositionsParams, GetNuanzeWalletPositionsResponse, GetNuanzeWalletSummaryParams, GetNuanzeWalletSummaryResponse, GetNuanzeWalletTradesParams, GetNuanzeWalletTradesResponse };
@@ -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 NuanzeTradeSide, J as NuanzeFundingRate, K as NuanzeFundamentalsValuation, L as NuanzeFlowEventType, Lt as NuanzeWalletPosition, 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 NuanzeWalletTrade, 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 } from "../clientModelTypes-BLPA-e3V.cjs";
2
- import { A as GetNuanzePlatformSummaryResponse, B as GetNuanzeWalletTradesResponse, C as GetNuanzeMarketsParams, D as GetNuanzeOpenPositionsParams, E as GetNuanzeNewsResponse, F as GetNuanzeWalletPositionsParams, I as GetNuanzeWalletPositionsResponse, L as GetNuanzeWalletSummaryParams, M as GetNuanzeWalletPnlResponse, N as GetNuanzeWalletPnlSeriesParams, O as GetNuanzeOpenPositionsResponse, P as GetNuanzeWalletPnlSeriesResponse, R as GetNuanzeWalletSummaryResponse, S as GetNuanzeMarketTradesResponse, T as GetNuanzeNewsParams, _ as GetNuanzeMarketPositioningParams, a as GetNuanzeCollateralFlowsParams, b as GetNuanzeMarketPositionsResponse, c as GetNuanzeFollowedLeaderboardResponse, d as GetNuanzeLeaderboardParams, f as GetNuanzeLeaderboardResponse, g as GetNuanzeMarketCandlesResponse, h as GetNuanzeMarketCandlesParams, i as GetNuanzeCollateralFlowSummaryResponse, j as GetNuanzeWalletPnlParams, k as GetNuanzePlatformSummaryParams, l as GetNuanzeFundingRatesParams, m as GetNuanzeMarketByTickerResponse, n as GetNuanzeCollateralFlowSeriesResponse, o as GetNuanzeCollateralFlowsResponse, p as GetNuanzeMarketByTickerParams, r as GetNuanzeCollateralFlowSummaryParams, s as GetNuanzeFollowedLeaderboardParams, t as GetNuanzeCollateralFlowSeriesParams, u as GetNuanzeFundingRatesResponse, v as GetNuanzeMarketPositioningResponse, w as GetNuanzeMarketsResponse, x as GetNuanzeMarketTradesParams, y as GetNuanzeMarketPositionsParams, z as GetNuanzeWalletTradesParams } from "../clientTypes-Du2RLy4W.cjs";
3
- import { A as NuanzeServerStockFundamentals, C as NuanzeServerNotionalBucketPositioningCell, D as NuanzeServerPositioningTotals, E as NuanzeServerPositioningCellBase, M 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 NuanzeServerWalletPosition, 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-DZDxdIzz.cjs";
4
- import { n as NuanzeErrorCode, t as NUANZE_ERROR_CODES } from "../nuanzeErrorCodes-CWCTWh2k.cjs";
5
- import { _ as NuanzeServerWalletPnlSeriesResponse, a as NuanzeServerFollowedLeaderboardResponse, b as NuanzeServerWalletTradesResponse, c as NuanzeServerMarketByTickerResponse, d as NuanzeServerMarketTradesResponse, f as NuanzeServerMarketsResponse, g as NuanzeServerWalletPnlResponse, h as NuanzeServerPlatformSummaryResponse, i as NuanzeServerFailureResponse, l as NuanzeServerMarketCandlesResponse, m as NuanzeServerOpenPositionsResponse, n as NuanzeServerCollateralFlowSummaryResponse, o as NuanzeServerFundingRatesResponse, p as NuanzeServerNewsResponse, r as NuanzeServerCollateralFlowsResponse, s as NuanzeServerLeaderboardResponse, t as NuanzeServerCollateralFlowSeriesResponse, u as NuanzeServerMarketPositionsResponse, v as NuanzeServerWalletPositionsResponse, x as isNuanzeServerFailureResponse, y as NuanzeServerWalletSummaryResponse } from "../serverQueryTypes-BBIFZZ36.cjs";
6
- import { t as NuanzeServerFailureError } from "../NuanzeServerFailureError-B9EhXPyW.cjs";
7
- export { GetNuanzeCollateralFlowSeriesParams, GetNuanzeCollateralFlowSeriesResponse, GetNuanzeCollateralFlowSummaryParams, GetNuanzeCollateralFlowSummaryResponse, GetNuanzeCollateralFlowsParams, GetNuanzeCollateralFlowsResponse, GetNuanzeFollowedLeaderboardParams, GetNuanzeFollowedLeaderboardResponse, GetNuanzeFundingRatesParams, GetNuanzeFundingRatesResponse, GetNuanzeLeaderboardParams, GetNuanzeLeaderboardResponse, GetNuanzeMarketByTickerParams, GetNuanzeMarketByTickerResponse, GetNuanzeMarketCandlesParams, GetNuanzeMarketCandlesResponse, GetNuanzeMarketPositioningParams, GetNuanzeMarketPositioningResponse, GetNuanzeMarketPositionsParams, GetNuanzeMarketPositionsResponse, GetNuanzeMarketTradesParams, GetNuanzeMarketTradesResponse, GetNuanzeMarketsParams, GetNuanzeMarketsResponse, GetNuanzeNewsParams, GetNuanzeNewsResponse, GetNuanzeOpenPositionsParams, GetNuanzeOpenPositionsResponse, GetNuanzePlatformSummaryParams, GetNuanzePlatformSummaryResponse, 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, 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, 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, NuanzeServerWalletPnlResponse, NuanzeServerWalletPnlSeriesResponse, NuanzeServerWalletPosition, NuanzeServerWalletPositionsResponse, NuanzeServerWalletSummaryResponse, NuanzeServerWalletTrade, NuanzeServerWalletTradesResponse, NuanzeSidePositioningCell, NuanzeSourceInterval, NuanzeStockFundamentals, NuanzeTradeSide, NuanzeWalletPosition, NuanzeWalletTrade, isNuanzeServerFailureResponse };
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-YrD7pXq6.cjs";
2
+ import { A as GetNuanzePlatformSummaryResponse, B as GetNuanzeWalletSummaryResponse, C as GetNuanzeMarketsParams, D as GetNuanzeOpenPositionsParams, E as GetNuanzeNewsResponse, F as GetNuanzeWalletPnlSeriesParams, H as GetNuanzeWalletTradesResponse, I as GetNuanzeWalletPnlSeriesResponse, L as GetNuanzeWalletPositionsParams, M as GetNuanzeSubaccountLeaderboardResponse, N as GetNuanzeWalletPnlParams, O as GetNuanzeOpenPositionsResponse, P as GetNuanzeWalletPnlResponse, R as GetNuanzeWalletPositionsResponse, S as GetNuanzeMarketTradesResponse, T as GetNuanzeNewsParams, V as GetNuanzeWalletTradesParams, _ as GetNuanzeMarketPositioningParams, a as GetNuanzeCollateralFlowsParams, b as GetNuanzeMarketPositionsResponse, c as GetNuanzeFollowedLeaderboardResponse, d as GetNuanzeLeaderboardParams, f as GetNuanzeLeaderboardResponse, g as GetNuanzeMarketCandlesResponse, h as GetNuanzeMarketCandlesParams, i as GetNuanzeCollateralFlowSummaryResponse, j as GetNuanzeSubaccountLeaderboardParams, k as GetNuanzePlatformSummaryParams, l as GetNuanzeFundingRatesParams, m as GetNuanzeMarketByTickerResponse, n as GetNuanzeCollateralFlowSeriesResponse, o as GetNuanzeCollateralFlowsResponse, p as GetNuanzeMarketByTickerParams, r as GetNuanzeCollateralFlowSummaryParams, s as GetNuanzeFollowedLeaderboardParams, t as GetNuanzeCollateralFlowSeriesParams, u as GetNuanzeFundingRatesResponse, v as GetNuanzeMarketPositioningResponse, w as GetNuanzeMarketsResponse, x as GetNuanzeMarketTradesParams, y as GetNuanzeMarketPositionsParams, z as GetNuanzeWalletSummaryParams } from "../clientTypes-PhICTa52.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-BJzL4GkE.cjs";
4
+ import { n as NuanzeErrorCode, t as NUANZE_ERROR_CODES } from "../nuanzeErrorCodes-DMoRcCHK.cjs";
5
+ import { S as isNuanzeServerFailureResponse, _ as NuanzeServerWalletPnlResponse, a as NuanzeServerFollowedLeaderboardResponse, b as NuanzeServerWalletSummaryResponse, c as NuanzeServerMarketByTickerResponse, d as NuanzeServerMarketTradesResponse, f as NuanzeServerMarketsResponse, g as NuanzeServerSubaccountLeaderboardResponse, h as NuanzeServerPlatformSummaryResponse, i as NuanzeServerFailureResponse, l as NuanzeServerMarketCandlesResponse, m as NuanzeServerOpenPositionsResponse, n as NuanzeServerCollateralFlowSummaryResponse, o as NuanzeServerFundingRatesResponse, p as NuanzeServerNewsResponse, r as NuanzeServerCollateralFlowsResponse, s as NuanzeServerLeaderboardResponse, t as NuanzeServerCollateralFlowSeriesResponse, u as NuanzeServerMarketPositionsResponse, v as NuanzeServerWalletPnlSeriesResponse, x as NuanzeServerWalletTradesResponse, y as NuanzeServerWalletPositionsResponse } from "../serverQueryTypes-RBQQXK5Y.cjs";
6
+ import { t as NuanzeServerFailureError } from "../NuanzeServerFailureError-CMeSnmPF.cjs";
7
+ export { GetNuanzeCollateralFlowSeriesParams, GetNuanzeCollateralFlowSeriesResponse, GetNuanzeCollateralFlowSummaryParams, GetNuanzeCollateralFlowSummaryResponse, GetNuanzeCollateralFlowsParams, GetNuanzeCollateralFlowsResponse, GetNuanzeFollowedLeaderboardParams, GetNuanzeFollowedLeaderboardResponse, GetNuanzeFundingRatesParams, GetNuanzeFundingRatesResponse, GetNuanzeLeaderboardParams, GetNuanzeLeaderboardResponse, GetNuanzeMarketByTickerParams, GetNuanzeMarketByTickerResponse, GetNuanzeMarketCandlesParams, GetNuanzeMarketCandlesResponse, GetNuanzeMarketPositioningParams, GetNuanzeMarketPositioningResponse, GetNuanzeMarketPositionsParams, GetNuanzeMarketPositionsResponse, GetNuanzeMarketTradesParams, GetNuanzeMarketTradesResponse, GetNuanzeMarketsParams, GetNuanzeMarketsResponse, GetNuanzeNewsParams, GetNuanzeNewsResponse, GetNuanzeOpenPositionsParams, GetNuanzeOpenPositionsResponse, GetNuanzePlatformSummaryParams, GetNuanzePlatformSummaryResponse, GetNuanzeSubaccountLeaderboardParams, GetNuanzeSubaccountLeaderboardResponse, 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, 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, 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, NuanzeServerSubaccountLeaderboardResponse, NuanzeServerWalletPnlResponse, NuanzeServerWalletPnlSeriesResponse, NuanzeServerWalletPosition, NuanzeServerWalletPositionsResponse, NuanzeServerWalletSummaryResponse, NuanzeServerWalletTrade, NuanzeServerWalletTradesResponse, NuanzeSidePositioningCell, NuanzeSourceInterval, NuanzeStockFundamentals, NuanzeSubaccountLeaderboardItem, 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 NuanzeTradeSide, J as NuanzeFundingRate, K as NuanzeFundamentalsValuation, L as NuanzeFlowEventType, Lt as NuanzeWalletPosition, 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 NuanzeWalletTrade, 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 } from "../clientModelTypes-A-D7ER-p.js";
2
- import { A as GetNuanzePlatformSummaryResponse, B as GetNuanzeWalletTradesResponse, C as GetNuanzeMarketsParams, D as GetNuanzeOpenPositionsParams, E as GetNuanzeNewsResponse, F as GetNuanzeWalletPositionsParams, I as GetNuanzeWalletPositionsResponse, L as GetNuanzeWalletSummaryParams, M as GetNuanzeWalletPnlResponse, N as GetNuanzeWalletPnlSeriesParams, O as GetNuanzeOpenPositionsResponse, P as GetNuanzeWalletPnlSeriesResponse, R as GetNuanzeWalletSummaryResponse, S as GetNuanzeMarketTradesResponse, T as GetNuanzeNewsParams, _ as GetNuanzeMarketPositioningParams, a as GetNuanzeCollateralFlowsParams, b as GetNuanzeMarketPositionsResponse, c as GetNuanzeFollowedLeaderboardResponse, d as GetNuanzeLeaderboardParams, f as GetNuanzeLeaderboardResponse, g as GetNuanzeMarketCandlesResponse, h as GetNuanzeMarketCandlesParams, i as GetNuanzeCollateralFlowSummaryResponse, j as GetNuanzeWalletPnlParams, k as GetNuanzePlatformSummaryParams, l as GetNuanzeFundingRatesParams, m as GetNuanzeMarketByTickerResponse, n as GetNuanzeCollateralFlowSeriesResponse, o as GetNuanzeCollateralFlowsResponse, p as GetNuanzeMarketByTickerParams, r as GetNuanzeCollateralFlowSummaryParams, s as GetNuanzeFollowedLeaderboardParams, t as GetNuanzeCollateralFlowSeriesParams, u as GetNuanzeFundingRatesResponse, v as GetNuanzeMarketPositioningResponse, w as GetNuanzeMarketsResponse, x as GetNuanzeMarketTradesParams, y as GetNuanzeMarketPositionsParams, z as GetNuanzeWalletTradesParams } from "../clientTypes-DdpinbkS.js";
3
- import { A as NuanzeServerStockFundamentals, C as NuanzeServerNotionalBucketPositioningCell, D as NuanzeServerPositioningTotals, E as NuanzeServerPositioningCellBase, M 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 NuanzeServerWalletPosition, 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-D-vS_7uc.js";
4
- import { n as NuanzeErrorCode, t as NUANZE_ERROR_CODES } from "../nuanzeErrorCodes-Dh6juim0.js";
5
- import { _ as NuanzeServerWalletPnlSeriesResponse, a as NuanzeServerFollowedLeaderboardResponse, b as NuanzeServerWalletTradesResponse, c as NuanzeServerMarketByTickerResponse, d as NuanzeServerMarketTradesResponse, f as NuanzeServerMarketsResponse, g as NuanzeServerWalletPnlResponse, h as NuanzeServerPlatformSummaryResponse, i as NuanzeServerFailureResponse, l as NuanzeServerMarketCandlesResponse, m as NuanzeServerOpenPositionsResponse, n as NuanzeServerCollateralFlowSummaryResponse, o as NuanzeServerFundingRatesResponse, p as NuanzeServerNewsResponse, r as NuanzeServerCollateralFlowsResponse, s as NuanzeServerLeaderboardResponse, t as NuanzeServerCollateralFlowSeriesResponse, u as NuanzeServerMarketPositionsResponse, v as NuanzeServerWalletPositionsResponse, x as isNuanzeServerFailureResponse, y as NuanzeServerWalletSummaryResponse } from "../serverQueryTypes-e7HWmE8t.js";
6
- import { t as NuanzeServerFailureError } from "../NuanzeServerFailureError-DqWaKEMA.js";
7
- export { GetNuanzeCollateralFlowSeriesParams, GetNuanzeCollateralFlowSeriesResponse, GetNuanzeCollateralFlowSummaryParams, GetNuanzeCollateralFlowSummaryResponse, GetNuanzeCollateralFlowsParams, GetNuanzeCollateralFlowsResponse, GetNuanzeFollowedLeaderboardParams, GetNuanzeFollowedLeaderboardResponse, GetNuanzeFundingRatesParams, GetNuanzeFundingRatesResponse, GetNuanzeLeaderboardParams, GetNuanzeLeaderboardResponse, GetNuanzeMarketByTickerParams, GetNuanzeMarketByTickerResponse, GetNuanzeMarketCandlesParams, GetNuanzeMarketCandlesResponse, GetNuanzeMarketPositioningParams, GetNuanzeMarketPositioningResponse, GetNuanzeMarketPositionsParams, GetNuanzeMarketPositionsResponse, GetNuanzeMarketTradesParams, GetNuanzeMarketTradesResponse, GetNuanzeMarketsParams, GetNuanzeMarketsResponse, GetNuanzeNewsParams, GetNuanzeNewsResponse, GetNuanzeOpenPositionsParams, GetNuanzeOpenPositionsResponse, GetNuanzePlatformSummaryParams, GetNuanzePlatformSummaryResponse, 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, 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, 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, NuanzeServerWalletPnlResponse, NuanzeServerWalletPnlSeriesResponse, NuanzeServerWalletPosition, NuanzeServerWalletPositionsResponse, NuanzeServerWalletSummaryResponse, NuanzeServerWalletTrade, NuanzeServerWalletTradesResponse, NuanzeSidePositioningCell, NuanzeSourceInterval, NuanzeStockFundamentals, NuanzeTradeSide, NuanzeWalletPosition, NuanzeWalletTrade, isNuanzeServerFailureResponse };
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-DNPU1Q4B.js";
2
+ import { A as GetNuanzePlatformSummaryResponse, B as GetNuanzeWalletSummaryResponse, C as GetNuanzeMarketsParams, D as GetNuanzeOpenPositionsParams, E as GetNuanzeNewsResponse, F as GetNuanzeWalletPnlSeriesParams, H as GetNuanzeWalletTradesResponse, I as GetNuanzeWalletPnlSeriesResponse, L as GetNuanzeWalletPositionsParams, M as GetNuanzeSubaccountLeaderboardResponse, N as GetNuanzeWalletPnlParams, O as GetNuanzeOpenPositionsResponse, P as GetNuanzeWalletPnlResponse, R as GetNuanzeWalletPositionsResponse, S as GetNuanzeMarketTradesResponse, T as GetNuanzeNewsParams, V as GetNuanzeWalletTradesParams, _ as GetNuanzeMarketPositioningParams, a as GetNuanzeCollateralFlowsParams, b as GetNuanzeMarketPositionsResponse, c as GetNuanzeFollowedLeaderboardResponse, d as GetNuanzeLeaderboardParams, f as GetNuanzeLeaderboardResponse, g as GetNuanzeMarketCandlesResponse, h as GetNuanzeMarketCandlesParams, i as GetNuanzeCollateralFlowSummaryResponse, j as GetNuanzeSubaccountLeaderboardParams, k as GetNuanzePlatformSummaryParams, l as GetNuanzeFundingRatesParams, m as GetNuanzeMarketByTickerResponse, n as GetNuanzeCollateralFlowSeriesResponse, o as GetNuanzeCollateralFlowsResponse, p as GetNuanzeMarketByTickerParams, r as GetNuanzeCollateralFlowSummaryParams, s as GetNuanzeFollowedLeaderboardParams, t as GetNuanzeCollateralFlowSeriesParams, u as GetNuanzeFundingRatesResponse, v as GetNuanzeMarketPositioningResponse, w as GetNuanzeMarketsResponse, x as GetNuanzeMarketTradesParams, y as GetNuanzeMarketPositionsParams, z as GetNuanzeWalletSummaryParams } from "../clientTypes-t9TgQnqp.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-Ch4IifDo.js";
4
+ import { n as NuanzeErrorCode, t as NUANZE_ERROR_CODES } from "../nuanzeErrorCodes-DewKYqCe.js";
5
+ import { S as isNuanzeServerFailureResponse, _ as NuanzeServerWalletPnlResponse, a as NuanzeServerFollowedLeaderboardResponse, b as NuanzeServerWalletSummaryResponse, c as NuanzeServerMarketByTickerResponse, d as NuanzeServerMarketTradesResponse, f as NuanzeServerMarketsResponse, g as NuanzeServerSubaccountLeaderboardResponse, h as NuanzeServerPlatformSummaryResponse, i as NuanzeServerFailureResponse, l as NuanzeServerMarketCandlesResponse, m as NuanzeServerOpenPositionsResponse, n as NuanzeServerCollateralFlowSummaryResponse, o as NuanzeServerFundingRatesResponse, p as NuanzeServerNewsResponse, r as NuanzeServerCollateralFlowsResponse, s as NuanzeServerLeaderboardResponse, t as NuanzeServerCollateralFlowSeriesResponse, u as NuanzeServerMarketPositionsResponse, v as NuanzeServerWalletPnlSeriesResponse, x as NuanzeServerWalletTradesResponse, y as NuanzeServerWalletPositionsResponse } from "../serverQueryTypes-BDI5rETc.js";
6
+ import { t as NuanzeServerFailureError } from "../NuanzeServerFailureError-C2iF5q-P.js";
7
+ export { GetNuanzeCollateralFlowSeriesParams, GetNuanzeCollateralFlowSeriesResponse, GetNuanzeCollateralFlowSummaryParams, GetNuanzeCollateralFlowSummaryResponse, GetNuanzeCollateralFlowsParams, GetNuanzeCollateralFlowsResponse, GetNuanzeFollowedLeaderboardParams, GetNuanzeFollowedLeaderboardResponse, GetNuanzeFundingRatesParams, GetNuanzeFundingRatesResponse, GetNuanzeLeaderboardParams, GetNuanzeLeaderboardResponse, GetNuanzeMarketByTickerParams, GetNuanzeMarketByTickerResponse, GetNuanzeMarketCandlesParams, GetNuanzeMarketCandlesResponse, GetNuanzeMarketPositioningParams, GetNuanzeMarketPositioningResponse, GetNuanzeMarketPositionsParams, GetNuanzeMarketPositionsResponse, GetNuanzeMarketTradesParams, GetNuanzeMarketTradesResponse, GetNuanzeMarketsParams, GetNuanzeMarketsResponse, GetNuanzeNewsParams, GetNuanzeNewsResponse, GetNuanzeOpenPositionsParams, GetNuanzeOpenPositionsResponse, GetNuanzePlatformSummaryParams, GetNuanzePlatformSummaryResponse, GetNuanzeSubaccountLeaderboardParams, GetNuanzeSubaccountLeaderboardResponse, 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, 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, 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, NuanzeServerSubaccountLeaderboardResponse, NuanzeServerWalletPnlResponse, NuanzeServerWalletPnlSeriesResponse, NuanzeServerWalletPosition, NuanzeServerWalletPositionsResponse, NuanzeServerWalletSummaryResponse, NuanzeServerWalletTrade, NuanzeServerWalletTradesResponse, NuanzeSidePositioningCell, NuanzeSourceInterval, NuanzeStockFundamentals, NuanzeSubaccountLeaderboardItem, NuanzeTradeSide, NuanzeWalletPosition, NuanzeWalletTrade, isNuanzeServerFailureResponse };
@@ -15,13 +15,13 @@ const NUANZE_ERROR_CODES = [
15
15
  "MARKET_SELECTOR_MISMATCH",
16
16
  "MARKET_NOT_FOUND",
17
17
  "WALLET_NOT_FOUND",
18
+ "USERNAME_NOT_FOUND",
18
19
  "UNSUPPORTED_INTERVAL",
19
20
  "UNSUPPORTED_BUCKET",
20
21
  "RANGE_TOO_LARGE",
21
22
  "NOT_FOUND",
22
23
  "METHOD_NOT_ALLOWED",
23
24
  "PAYLOAD_TOO_LARGE",
24
- "RATE_LIMITED",
25
25
  "INTERNAL_ERROR",
26
26
  "DEPENDENCY_UNAVAILABLE",
27
27
  "GATEWAY_TIMEOUT"
@@ -1 +1 @@
1
- {"version":3,"file":"nuanzeErrorCodes.cjs","names":[],"sources":["../../src/types/nuanzeErrorCodes.ts"],"sourcesContent":["/**\n * Error codes returned by the Nuanze API, in the order the service declares them. The codes are part\n * of the published contract and additive only, so a client release can only ever lag behind on new\n * ones - it never has to unlearn a code.\n */\nexport const NUANZE_ERROR_CODES = [\n 'BAD_REQUEST',\n 'INVALID_CURSOR',\n 'CURSOR_FILTER_MISMATCH',\n 'INVALID_ADDRESS',\n 'INVALID_SUBACCOUNT',\n 'AMBIGUOUS_MARKET',\n 'MARKET_SELECTOR_MISMATCH',\n 'MARKET_NOT_FOUND',\n 'WALLET_NOT_FOUND',\n 'UNSUPPORTED_INTERVAL',\n 'UNSUPPORTED_BUCKET',\n 'RANGE_TOO_LARGE',\n 'NOT_FOUND',\n 'METHOD_NOT_ALLOWED',\n 'PAYLOAD_TOO_LARGE',\n 'RATE_LIMITED',\n 'INTERNAL_ERROR',\n 'DEPENDENCY_UNAVAILABLE',\n 'GATEWAY_TIMEOUT',\n] as const;\n\n/**\n * Union of all known Nuanze API error codes.\n */\nexport type NuanzeErrorCode = (typeof NUANZE_ERROR_CODES)[number];\n"],"mappings":";;;;;;;AAKA,MAAa,qBAAqB;CAChC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF"}
1
+ {"version":3,"file":"nuanzeErrorCodes.cjs","names":[],"sources":["../../src/types/nuanzeErrorCodes.ts"],"sourcesContent":["/**\n * Error codes returned by the Nuanze API, in the order the service declares them. The codes are part\n * of the published contract and additive only, so a client release can only ever lag behind on new\n * ones - it never has to unlearn a code.\n */\nexport const NUANZE_ERROR_CODES = [\n 'BAD_REQUEST',\n 'INVALID_CURSOR',\n 'CURSOR_FILTER_MISMATCH',\n 'INVALID_ADDRESS',\n 'INVALID_SUBACCOUNT',\n 'AMBIGUOUS_MARKET',\n 'MARKET_SELECTOR_MISMATCH',\n 'MARKET_NOT_FOUND',\n 'WALLET_NOT_FOUND',\n 'USERNAME_NOT_FOUND',\n 'UNSUPPORTED_INTERVAL',\n 'UNSUPPORTED_BUCKET',\n 'RANGE_TOO_LARGE',\n 'NOT_FOUND',\n 'METHOD_NOT_ALLOWED',\n 'PAYLOAD_TOO_LARGE',\n 'INTERNAL_ERROR',\n 'DEPENDENCY_UNAVAILABLE',\n 'GATEWAY_TIMEOUT',\n] as const;\n\n/**\n * Union of all known Nuanze API error codes.\n */\nexport type NuanzeErrorCode = (typeof NUANZE_ERROR_CODES)[number];\n"],"mappings":";;;;;;;AAKA,MAAa,qBAAqB;CAChC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF"}
@@ -1,2 +1,2 @@
1
- import { n as NuanzeErrorCode, t as NUANZE_ERROR_CODES } from "../nuanzeErrorCodes-CWCTWh2k.cjs";
1
+ import { n as NuanzeErrorCode, t as NUANZE_ERROR_CODES } from "../nuanzeErrorCodes-DMoRcCHK.cjs";
2
2
  export { NUANZE_ERROR_CODES, NuanzeErrorCode };
@@ -1,2 +1,2 @@
1
- import { n as NuanzeErrorCode, t as NUANZE_ERROR_CODES } from "../nuanzeErrorCodes-Dh6juim0.js";
1
+ import { n as NuanzeErrorCode, t as NUANZE_ERROR_CODES } from "../nuanzeErrorCodes-DewKYqCe.js";
2
2
  export { NUANZE_ERROR_CODES, NuanzeErrorCode };
@@ -14,13 +14,13 @@ const NUANZE_ERROR_CODES = [
14
14
  "MARKET_SELECTOR_MISMATCH",
15
15
  "MARKET_NOT_FOUND",
16
16
  "WALLET_NOT_FOUND",
17
+ "USERNAME_NOT_FOUND",
17
18
  "UNSUPPORTED_INTERVAL",
18
19
  "UNSUPPORTED_BUCKET",
19
20
  "RANGE_TOO_LARGE",
20
21
  "NOT_FOUND",
21
22
  "METHOD_NOT_ALLOWED",
22
23
  "PAYLOAD_TOO_LARGE",
23
- "RATE_LIMITED",
24
24
  "INTERNAL_ERROR",
25
25
  "DEPENDENCY_UNAVAILABLE",
26
26
  "GATEWAY_TIMEOUT"
@@ -1 +1 @@
1
- {"version":3,"file":"nuanzeErrorCodes.js","names":[],"sources":["../../src/types/nuanzeErrorCodes.ts"],"sourcesContent":["/**\n * Error codes returned by the Nuanze API, in the order the service declares them. The codes are part\n * of the published contract and additive only, so a client release can only ever lag behind on new\n * ones - it never has to unlearn a code.\n */\nexport const NUANZE_ERROR_CODES = [\n 'BAD_REQUEST',\n 'INVALID_CURSOR',\n 'CURSOR_FILTER_MISMATCH',\n 'INVALID_ADDRESS',\n 'INVALID_SUBACCOUNT',\n 'AMBIGUOUS_MARKET',\n 'MARKET_SELECTOR_MISMATCH',\n 'MARKET_NOT_FOUND',\n 'WALLET_NOT_FOUND',\n 'UNSUPPORTED_INTERVAL',\n 'UNSUPPORTED_BUCKET',\n 'RANGE_TOO_LARGE',\n 'NOT_FOUND',\n 'METHOD_NOT_ALLOWED',\n 'PAYLOAD_TOO_LARGE',\n 'RATE_LIMITED',\n 'INTERNAL_ERROR',\n 'DEPENDENCY_UNAVAILABLE',\n 'GATEWAY_TIMEOUT',\n] as const;\n\n/**\n * Union of all known Nuanze API error codes.\n */\nexport type NuanzeErrorCode = (typeof NUANZE_ERROR_CODES)[number];\n"],"mappings":";;;;;;AAKA,MAAa,qBAAqB;CAChC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF"}
1
+ {"version":3,"file":"nuanzeErrorCodes.js","names":[],"sources":["../../src/types/nuanzeErrorCodes.ts"],"sourcesContent":["/**\n * Error codes returned by the Nuanze API, in the order the service declares them. The codes are part\n * of the published contract and additive only, so a client release can only ever lag behind on new\n * ones - it never has to unlearn a code.\n */\nexport const NUANZE_ERROR_CODES = [\n 'BAD_REQUEST',\n 'INVALID_CURSOR',\n 'CURSOR_FILTER_MISMATCH',\n 'INVALID_ADDRESS',\n 'INVALID_SUBACCOUNT',\n 'AMBIGUOUS_MARKET',\n 'MARKET_SELECTOR_MISMATCH',\n 'MARKET_NOT_FOUND',\n 'WALLET_NOT_FOUND',\n 'USERNAME_NOT_FOUND',\n 'UNSUPPORTED_INTERVAL',\n 'UNSUPPORTED_BUCKET',\n 'RANGE_TOO_LARGE',\n 'NOT_FOUND',\n 'METHOD_NOT_ALLOWED',\n 'PAYLOAD_TOO_LARGE',\n 'INTERNAL_ERROR',\n 'DEPENDENCY_UNAVAILABLE',\n 'GATEWAY_TIMEOUT',\n] as const;\n\n/**\n * Union of all known Nuanze API error codes.\n */\nexport type NuanzeErrorCode = (typeof NUANZE_ERROR_CODES)[number];\n"],"mappings":";;;;;;AAKA,MAAa,qBAAqB;CAChC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF"}
@@ -1,2 +1,2 @@
1
- import { A as NuanzeServerStockFundamentals, C as NuanzeServerNotionalBucketPositioningCell, D as NuanzeServerPositioningTotals, E as NuanzeServerPositioningCellBase, M 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 NuanzeServerWalletPosition, 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-DZDxdIzz.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, NuanzeServerWalletPosition, NuanzeServerWalletTrade };
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-BJzL4GkE.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,2 +1,2 @@
1
- import { A as NuanzeServerStockFundamentals, C as NuanzeServerNotionalBucketPositioningCell, D as NuanzeServerPositioningTotals, E as NuanzeServerPositioningCellBase, M 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 NuanzeServerWalletPosition, 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-D-vS_7uc.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, NuanzeServerWalletPosition, NuanzeServerWalletTrade };
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-Ch4IifDo.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 +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 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.\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 asOf: string;\n}\n\n/**\n * `POST /wallets/leaderboard` response as returned on the wire.\n */\nexport interface NuanzeServerFollowedLeaderboardResponse {\n timeframe: NuanzeLeaderboardTimeframe;\n items: NuanzeServerFollowedLeaderboardItem[];\n count: number;\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.\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.\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.\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":";;;;;;AA2RA,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 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.\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 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 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 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.\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.\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.\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":";;;;;;AAuSA,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 { _ as NuanzeServerWalletPnlSeriesResponse, a as NuanzeServerFollowedLeaderboardResponse, b as NuanzeServerWalletTradesResponse, c as NuanzeServerMarketByTickerResponse, d as NuanzeServerMarketTradesResponse, f as NuanzeServerMarketsResponse, g as NuanzeServerWalletPnlResponse, h as NuanzeServerPlatformSummaryResponse, i as NuanzeServerFailureResponse, l as NuanzeServerMarketCandlesResponse, m as NuanzeServerOpenPositionsResponse, n as NuanzeServerCollateralFlowSummaryResponse, o as NuanzeServerFundingRatesResponse, p as NuanzeServerNewsResponse, r as NuanzeServerCollateralFlowsResponse, s as NuanzeServerLeaderboardResponse, t as NuanzeServerCollateralFlowSeriesResponse, u as NuanzeServerMarketPositionsResponse, v as NuanzeServerWalletPositionsResponse, x as isNuanzeServerFailureResponse, y as NuanzeServerWalletSummaryResponse } from "../serverQueryTypes-BBIFZZ36.cjs";
2
- export { NuanzeServerCollateralFlowSeriesResponse, NuanzeServerCollateralFlowSummaryResponse, NuanzeServerCollateralFlowsResponse, NuanzeServerFailureResponse, NuanzeServerFollowedLeaderboardResponse, NuanzeServerFundingRatesResponse, NuanzeServerLeaderboardResponse, NuanzeServerMarketByTickerResponse, NuanzeServerMarketCandlesResponse, NuanzeServerMarketPositionsResponse, NuanzeServerMarketTradesResponse, NuanzeServerMarketsResponse, NuanzeServerNewsResponse, NuanzeServerOpenPositionsResponse, NuanzeServerPlatformSummaryResponse, NuanzeServerWalletPnlResponse, NuanzeServerWalletPnlSeriesResponse, NuanzeServerWalletPositionsResponse, NuanzeServerWalletSummaryResponse, NuanzeServerWalletTradesResponse, isNuanzeServerFailureResponse };
1
+ import { S as isNuanzeServerFailureResponse, _ as NuanzeServerWalletPnlResponse, a as NuanzeServerFollowedLeaderboardResponse, b as NuanzeServerWalletSummaryResponse, c as NuanzeServerMarketByTickerResponse, d as NuanzeServerMarketTradesResponse, f as NuanzeServerMarketsResponse, g as NuanzeServerSubaccountLeaderboardResponse, h as NuanzeServerPlatformSummaryResponse, i as NuanzeServerFailureResponse, l as NuanzeServerMarketCandlesResponse, m as NuanzeServerOpenPositionsResponse, n as NuanzeServerCollateralFlowSummaryResponse, o as NuanzeServerFundingRatesResponse, p as NuanzeServerNewsResponse, r as NuanzeServerCollateralFlowsResponse, s as NuanzeServerLeaderboardResponse, t as NuanzeServerCollateralFlowSeriesResponse, u as NuanzeServerMarketPositionsResponse, v as NuanzeServerWalletPnlSeriesResponse, x as NuanzeServerWalletTradesResponse, y as NuanzeServerWalletPositionsResponse } from "../serverQueryTypes-RBQQXK5Y.cjs";
2
+ export { NuanzeServerCollateralFlowSeriesResponse, NuanzeServerCollateralFlowSummaryResponse, NuanzeServerCollateralFlowsResponse, NuanzeServerFailureResponse, NuanzeServerFollowedLeaderboardResponse, NuanzeServerFundingRatesResponse, NuanzeServerLeaderboardResponse, NuanzeServerMarketByTickerResponse, NuanzeServerMarketCandlesResponse, NuanzeServerMarketPositionsResponse, NuanzeServerMarketTradesResponse, NuanzeServerMarketsResponse, NuanzeServerNewsResponse, NuanzeServerOpenPositionsResponse, NuanzeServerPlatformSummaryResponse, NuanzeServerSubaccountLeaderboardResponse, NuanzeServerWalletPnlResponse, NuanzeServerWalletPnlSeriesResponse, NuanzeServerWalletPositionsResponse, NuanzeServerWalletSummaryResponse, NuanzeServerWalletTradesResponse, isNuanzeServerFailureResponse };
@@ -1,2 +1,2 @@
1
- import { _ as NuanzeServerWalletPnlSeriesResponse, a as NuanzeServerFollowedLeaderboardResponse, b as NuanzeServerWalletTradesResponse, c as NuanzeServerMarketByTickerResponse, d as NuanzeServerMarketTradesResponse, f as NuanzeServerMarketsResponse, g as NuanzeServerWalletPnlResponse, h as NuanzeServerPlatformSummaryResponse, i as NuanzeServerFailureResponse, l as NuanzeServerMarketCandlesResponse, m as NuanzeServerOpenPositionsResponse, n as NuanzeServerCollateralFlowSummaryResponse, o as NuanzeServerFundingRatesResponse, p as NuanzeServerNewsResponse, r as NuanzeServerCollateralFlowsResponse, s as NuanzeServerLeaderboardResponse, t as NuanzeServerCollateralFlowSeriesResponse, u as NuanzeServerMarketPositionsResponse, v as NuanzeServerWalletPositionsResponse, x as isNuanzeServerFailureResponse, y as NuanzeServerWalletSummaryResponse } from "../serverQueryTypes-e7HWmE8t.js";
2
- export { NuanzeServerCollateralFlowSeriesResponse, NuanzeServerCollateralFlowSummaryResponse, NuanzeServerCollateralFlowsResponse, NuanzeServerFailureResponse, NuanzeServerFollowedLeaderboardResponse, NuanzeServerFundingRatesResponse, NuanzeServerLeaderboardResponse, NuanzeServerMarketByTickerResponse, NuanzeServerMarketCandlesResponse, NuanzeServerMarketPositionsResponse, NuanzeServerMarketTradesResponse, NuanzeServerMarketsResponse, NuanzeServerNewsResponse, NuanzeServerOpenPositionsResponse, NuanzeServerPlatformSummaryResponse, NuanzeServerWalletPnlResponse, NuanzeServerWalletPnlSeriesResponse, NuanzeServerWalletPositionsResponse, NuanzeServerWalletSummaryResponse, NuanzeServerWalletTradesResponse, isNuanzeServerFailureResponse };
1
+ import { S as isNuanzeServerFailureResponse, _ as NuanzeServerWalletPnlResponse, a as NuanzeServerFollowedLeaderboardResponse, b as NuanzeServerWalletSummaryResponse, c as NuanzeServerMarketByTickerResponse, d as NuanzeServerMarketTradesResponse, f as NuanzeServerMarketsResponse, g as NuanzeServerSubaccountLeaderboardResponse, h as NuanzeServerPlatformSummaryResponse, i as NuanzeServerFailureResponse, l as NuanzeServerMarketCandlesResponse, m as NuanzeServerOpenPositionsResponse, n as NuanzeServerCollateralFlowSummaryResponse, o as NuanzeServerFundingRatesResponse, p as NuanzeServerNewsResponse, r as NuanzeServerCollateralFlowsResponse, s as NuanzeServerLeaderboardResponse, t as NuanzeServerCollateralFlowSeriesResponse, u as NuanzeServerMarketPositionsResponse, v as NuanzeServerWalletPnlSeriesResponse, x as NuanzeServerWalletTradesResponse, y as NuanzeServerWalletPositionsResponse } from "../serverQueryTypes-BDI5rETc.js";
2
+ export { NuanzeServerCollateralFlowSeriesResponse, NuanzeServerCollateralFlowSummaryResponse, NuanzeServerCollateralFlowsResponse, NuanzeServerFailureResponse, NuanzeServerFollowedLeaderboardResponse, NuanzeServerFundingRatesResponse, NuanzeServerLeaderboardResponse, NuanzeServerMarketByTickerResponse, NuanzeServerMarketCandlesResponse, NuanzeServerMarketPositionsResponse, NuanzeServerMarketTradesResponse, NuanzeServerMarketsResponse, NuanzeServerNewsResponse, NuanzeServerOpenPositionsResponse, NuanzeServerPlatformSummaryResponse, NuanzeServerSubaccountLeaderboardResponse, 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 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.\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 asOf: string;\n}\n\n/**\n * `POST /wallets/leaderboard` response as returned on the wire.\n */\nexport interface NuanzeServerFollowedLeaderboardResponse {\n timeframe: NuanzeLeaderboardTimeframe;\n items: NuanzeServerFollowedLeaderboardItem[];\n count: number;\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.\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.\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.\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":";;;;;AA2RA,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 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.\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 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 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 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.\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.\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.\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":";;;;;AAuSA,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.41.0",
3
+ "version": "0.42.1",
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.41.0",
44
+ "@nadohq/shared": "^0.42.1",
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": "bd534f98c5e429aafc861e1fcc4a639ffd2850a6"
53
+ "gitHead": "1d0747b4be30ef4c907e5049ee51a34fac272dde"
54
54
  }
@@ -15,6 +15,7 @@ import {
15
15
  mapNuanzeNewsResponse,
16
16
  mapNuanzeOpenPositionsResponse,
17
17
  mapNuanzePlatformSummaryResponse,
18
+ mapNuanzeSubaccountLeaderboardResponse,
18
19
  mapNuanzeWalletPnlResponse,
19
20
  mapNuanzeWalletPnlSeriesResponse,
20
21
  mapNuanzeWalletPositionsResponse,
@@ -52,6 +53,8 @@ import {
52
53
  GetNuanzeOpenPositionsResponse,
53
54
  GetNuanzePlatformSummaryParams,
54
55
  GetNuanzePlatformSummaryResponse,
56
+ GetNuanzeSubaccountLeaderboardParams,
57
+ GetNuanzeSubaccountLeaderboardResponse,
55
58
  GetNuanzeWalletPnlParams,
56
59
  GetNuanzeWalletPnlResponse,
57
60
  GetNuanzeWalletPnlSeriesParams,
@@ -80,6 +83,7 @@ import {
80
83
  NuanzeServerNewsResponse,
81
84
  NuanzeServerOpenPositionsResponse,
82
85
  NuanzeServerPlatformSummaryResponse,
86
+ NuanzeServerSubaccountLeaderboardResponse,
83
87
  NuanzeServerWalletPnlResponse,
84
88
  NuanzeServerWalletPnlSeriesResponse,
85
89
  NuanzeServerWalletPositionsResponse,
@@ -105,11 +109,7 @@ export interface NuanzeClientOpts {
105
109
  * Read-only and credential-free, so unlike the other service clients it takes no wallet client or
106
110
  * linked signer. It also sends no `x-nado-client-type` header: Nuanze is a public API that does not
107
111
  * attribute traffic per client, and its `Access-Control-Allow-Headers` does not list the header, so
108
- * sending it would fail CORS preflight in the browser. Most operations are GET;
109
- * {@link NuanzeClient.getFollowedLeaderboard} is a non-mutating POST whose body carries a followed
110
- * set larger than a query string can reliably hold. The API meters a weighted token bucket per
111
- * client IP and reports its state in the `RateLimit-Limit`, `RateLimit-Remaining`, and
112
- * `RateLimit-Reset` response headers; add an interceptor on {@link axiosInstance} to observe them.
112
+ * sending it would fail CORS preflight in the browser. All operations are GET.
113
113
  */
114
114
  export class NuanzeClient {
115
115
  readonly opts: NuanzeClientOpts;
@@ -200,7 +200,7 @@ export class NuanzeClient {
200
200
 
201
201
  /**
202
202
  * Gets the account PnL leaderboard. Equity-basis account PnL includes realized and unrealized
203
- * movement plus funding and is not realized PnL. All-time analytics cost five rate-limit units.
203
+ * movement plus funding and is not realized PnL.
204
204
  *
205
205
  * @throws {NuanzeServerFailureError} With `BAD_REQUEST` if a filter value is invalid.
206
206
  */
@@ -215,6 +215,25 @@ export class NuanzeClient {
215
215
  );
216
216
  }
217
217
 
218
+ /**
219
+ * Gets the global public leaderboard of username-claimed subaccounts. Results are sorted by
220
+ * equity-basis account PnL descending with nulls last. `globalRank` is independent of the active
221
+ * privacy and trading filters. Pagination uses a filter-bound opaque cursor.
222
+ *
223
+ * @throws {NuanzeServerFailureError} With `BAD_REQUEST`, `INVALID_CURSOR`, or
224
+ * `CURSOR_FILTER_MISMATCH` when filters or the cursor are invalid.
225
+ */
226
+ async getSubaccountLeaderboard(
227
+ params: GetNuanzeSubaccountLeaderboardParams = {},
228
+ ): Promise<GetNuanzeSubaccountLeaderboardResponse> {
229
+ return mapNuanzeSubaccountLeaderboardResponse(
230
+ await this.getJson<NuanzeServerSubaccountLeaderboardResponse>(
231
+ '/leaderboard/subaccounts',
232
+ params,
233
+ ),
234
+ );
235
+ }
236
+
218
237
  /**
219
238
  * Gets platform activity summary from five-minute aggregates.
220
239
  *
@@ -232,20 +251,19 @@ export class NuanzeClient {
232
251
  }
233
252
 
234
253
  /**
235
- * Gets leaderboard stats for a set of followed subaccounts. POST rather than GET so the body can
236
- * carry up to 300 `subaccountHex` values. The response preserves request order. Subaccounts with
237
- * no data in the window are backfilled with `pnl: null`, `globalRank: null`, zero counts, and an
238
- * empty `productIds`. Costs five rate-limit units. The response is not cached.
254
+ * Gets a keyset-paginated leaderboard for every subaccount a username actively follows, sorted
255
+ * by PnL descending with nulls last. Subaccounts with no PnL in the window are included by
256
+ * default with null PnL/rank, zero counts, and no products. Private subaccounts are excluded
257
+ * unless `includePrivate=true`.
239
258
  *
240
- * @throws {NuanzeServerFailureError} With `INVALID_SUBACCOUNT` if a hex is not 32-byte
241
- * 0x-prefixed, and `BAD_REQUEST` if the set is empty, exceeds 300, or `timeframe` is not a
242
- * documented value.
259
+ * @throws {NuanzeServerFailureError} With `BAD_REQUEST` when params are invalid, or
260
+ * `USERNAME_NOT_FOUND` when the supplied username has no claimed identity.
243
261
  */
244
262
  async getFollowedLeaderboard(
245
263
  params: GetNuanzeFollowedLeaderboardParams,
246
264
  ): Promise<GetNuanzeFollowedLeaderboardResponse> {
247
265
  return mapNuanzeFollowedLeaderboardResponse(
248
- await this.postJson<NuanzeServerFollowedLeaderboardResponse>(
266
+ await this.getJson<NuanzeServerFollowedLeaderboardResponse>(
249
267
  '/wallets/leaderboard',
250
268
  params,
251
269
  ),
@@ -448,7 +466,7 @@ export class NuanzeClient {
448
466
  * Gets privacy-preserving aggregate positioning for an active perpetual. Cross and isolated legs
449
467
  * are summed within owner/subaccount/product before direction classification. Every cell requires
450
468
  * at least 20 distinct contributing owners. No identity, individual position, entry price, PnL,
451
- * margin, or leverage fields are returned. This operation costs five rate-limit units.
469
+ * margin, or leverage fields are returned.
452
470
  *
453
471
  * @throws {NuanzeServerFailureError} With `AMBIGUOUS_MARKET`, `MARKET_SELECTOR_MISMATCH`, or
454
472
  * `BAD_REQUEST` on invalid input, and `MARKET_NOT_FOUND` when the ticker does not resolve to a
@@ -492,8 +510,8 @@ export class NuanzeClient {
492
510
  * Lists current open perpetual position legs across every market by signed unrealized PnL.
493
511
  * Descending returns the largest gainers and ascending returns the largest losers. This is a
494
512
  * latest indexed snapshot with no timeframe. Legs below $10 absolute notional are excluded.
495
- * Each row includes market identity and its source snapshot timestamp. Costs five rate-limit
496
- * units.
513
+ * Private subaccounts are excluded unless `includePrivate=true`. Each row includes market
514
+ * identity and its source snapshot timestamp.
497
515
  *
498
516
  * @throws {NuanzeServerFailureError} With `INVALID_CURSOR`, `CURSOR_FILTER_MISMATCH`, or
499
517
  * `BAD_REQUEST` when the query or cursor is invalid.
@@ -513,24 +531,15 @@ export class NuanzeClient {
513
531
  * Performs a GET against `{baseUrl}{path}` and classifies the status before returning the body.
514
532
  */
515
533
  private async getJson<T>(path: string, params?: object): Promise<T> {
516
- return this.requestJson<T>('GET', path, { params });
517
- }
518
-
519
- /**
520
- * Performs a POST against `{baseUrl}{path}` with a JSON body and classifies the status before
521
- * returning the response. Used only for the non-mutating followed-leaderboard operation.
522
- */
523
- private async postJson<T>(path: string, data: object): Promise<T> {
524
- return this.requestJson<T>('POST', path, { data });
534
+ return this.requestJson<T>(path, { params });
525
535
  }
526
536
 
527
537
  private async requestJson<T>(
528
- method: 'GET' | 'POST',
529
538
  path: string,
530
- config: { params?: object; data?: object } = {},
539
+ config: { params?: object } = {},
531
540
  ): Promise<T> {
532
541
  const response = await this.axiosInstance.request<T>({
533
- method,
542
+ method: 'GET',
534
543
  url: `${this.opts.url}${path}`,
535
544
  ...config,
536
545
  });