@nadohq/nuanze-client 0.43.1 → 0.45.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/README.md +21 -0
  2. package/dist/{NuanzeClient-BrjXP2Sz.cjs → NuanzeClient-D_LPUkvb.cjs} +59 -45
  3. package/dist/NuanzeClient-D_LPUkvb.cjs.map +1 -0
  4. package/dist/NuanzeClient.cjs +1 -1
  5. package/dist/NuanzeClient.d.cts +49 -35
  6. package/dist/NuanzeClient.d.cts.map +1 -1
  7. package/dist/NuanzeClient.d.ts +49 -35
  8. package/dist/NuanzeClient.d.ts.map +1 -1
  9. package/dist/NuanzeClient.js +58 -44
  10. package/dist/NuanzeClient.js.map +1 -1
  11. package/dist/{NuanzeServerFailureError-DQp7Lca2.d.ts → NuanzeServerFailureError-D-C98gOE.d.ts} +2 -2
  12. package/dist/{NuanzeServerFailureError-DQp7Lca2.d.ts.map → NuanzeServerFailureError-D-C98gOE.d.ts.map} +1 -1
  13. package/dist/{NuanzeServerFailureError-DMdmlNpW.d.cts → NuanzeServerFailureError-cR0V5to1.d.cts} +2 -2
  14. package/dist/{NuanzeServerFailureError-DMdmlNpW.d.cts.map → NuanzeServerFailureError-cR0V5to1.d.cts.map} +1 -1
  15. package/dist/{clientModelTypes-CreYRHbE.d.ts → clientModelTypes-Bzf5pbVl.d.ts} +6 -1
  16. package/dist/{clientModelTypes-CreYRHbE.d.ts.map → clientModelTypes-Bzf5pbVl.d.ts.map} +1 -1
  17. package/dist/{clientModelTypes-DyNrbcyr.d.cts → clientModelTypes-DE60UN6J.d.cts} +6 -1
  18. package/dist/{clientModelTypes-DyNrbcyr.d.cts.map → clientModelTypes-DE60UN6J.d.cts.map} +1 -1
  19. package/dist/{clientTypes-DfQsJWmx.d.cts → clientTypes-BxpTClrz.d.ts} +63 -73
  20. package/dist/clientTypes-BxpTClrz.d.ts.map +1 -0
  21. package/dist/{clientTypes-BPlIXBRh.d.ts → clientTypes-DXquGZPe.d.cts} +63 -73
  22. package/dist/clientTypes-DXquGZPe.d.cts.map +1 -0
  23. package/dist/dataMappers.cjs +7 -14
  24. package/dist/dataMappers.cjs.map +1 -1
  25. package/dist/dataMappers.d.cts +4 -4
  26. package/dist/dataMappers.d.cts.map +1 -1
  27. package/dist/dataMappers.d.ts +4 -4
  28. package/dist/dataMappers.d.ts.map +1 -1
  29. package/dist/dataMappers.js +6 -13
  30. package/dist/dataMappers.js.map +1 -1
  31. package/dist/index.cjs +1 -1
  32. package/dist/index.d.cts +6 -6
  33. package/dist/index.d.ts +6 -6
  34. package/dist/{serverModelTypes-DL_58zos.d.ts → serverModelTypes-A_b-zjZO.d.ts} +3 -2
  35. package/dist/{serverModelTypes-DL_58zos.d.ts.map → serverModelTypes-A_b-zjZO.d.ts.map} +1 -1
  36. package/dist/{serverModelTypes-DUggGfPj.d.cts → serverModelTypes-Db5COWs3.d.cts} +3 -2
  37. package/dist/{serverModelTypes-DUggGfPj.d.cts.map → serverModelTypes-Db5COWs3.d.cts.map} +1 -1
  38. package/dist/{serverQueryTypes-D5-euf7o.d.ts → serverQueryTypes-CHYSYH97.d.ts} +11 -7
  39. package/dist/serverQueryTypes-CHYSYH97.d.ts.map +1 -0
  40. package/dist/{serverQueryTypes-d03JU0mr.d.cts → serverQueryTypes-QNx6f1km.d.cts} +11 -7
  41. package/dist/serverQueryTypes-QNx6f1km.d.cts.map +1 -0
  42. package/dist/types/NuanzeServerFailureError.d.cts +1 -1
  43. package/dist/types/NuanzeServerFailureError.d.ts +1 -1
  44. package/dist/types/clientModelTypes.cjs.map +1 -1
  45. package/dist/types/clientModelTypes.d.cts +1 -1
  46. package/dist/types/clientModelTypes.d.ts +1 -1
  47. package/dist/types/clientModelTypes.js.map +1 -1
  48. package/dist/types/clientTypes.d.cts +2 -2
  49. package/dist/types/clientTypes.d.ts +2 -2
  50. package/dist/types/index.d.cts +6 -6
  51. package/dist/types/index.d.ts +6 -6
  52. package/dist/types/serverModelTypes.d.cts +1 -1
  53. package/dist/types/serverModelTypes.d.ts +1 -1
  54. package/dist/types/serverQueryTypes.cjs.map +1 -1
  55. package/dist/types/serverQueryTypes.d.cts +1 -1
  56. package/dist/types/serverQueryTypes.d.ts +1 -1
  57. package/dist/types/serverQueryTypes.js.map +1 -1
  58. package/package.json +3 -3
  59. package/src/NuanzeClient.ts +76 -55
  60. package/src/dataMappers.ts +7 -17
  61. package/src/types/clientModelTypes.ts +5 -0
  62. package/src/types/clientTypes.ts +48 -35
  63. package/src/types/serverModelTypes.ts +1 -0
  64. package/src/types/serverQueryTypes.ts +8 -4
  65. package/dist/NuanzeClient-BrjXP2Sz.cjs.map +0 -1
  66. package/dist/clientTypes-BPlIXBRh.d.ts.map +0 -1
  67. package/dist/clientTypes-DfQsJWmx.d.cts.map +0 -1
  68. package/dist/serverQueryTypes-D5-euf7o.d.ts.map +0 -1
  69. package/dist/serverQueryTypes-d03JU0mr.d.cts.map +0 -1
@@ -65,6 +65,7 @@ import {
65
65
  GetNuanzeWalletSummaryResponse,
66
66
  GetNuanzeWalletTradesParams,
67
67
  GetNuanzeWalletTradesResponse,
68
+ NuanzeMarketSelector,
68
69
  } from './types/clientTypes';
69
70
  import { NuanzeServerFailureError } from './types/NuanzeServerFailureError';
70
71
  import { NuanzeServerMarketPositioningResponse } from './types/serverModelTypes';
@@ -130,8 +131,10 @@ export class NuanzeClient {
130
131
 
131
132
  /**
132
133
  * Lists published editorial stories, sorted by `publishedAt` descending then `id` descending.
133
- * The opaque cursor is exclusive and bound to normalized filters. Raw article ingestion, scoring,
134
- * queue, and newsdesk fields are excluded.
134
+ * Ticker filters include every product for the asset without distinguishing spot from perpetual
135
+ * markets; an optional product ID narrows to one exact product. The opaque cursor is exclusive
136
+ * and bound to normalized filters. Raw article ingestion, scoring, queue, and newsdesk fields are
137
+ * excluded.
135
138
  *
136
139
  * @throws {NuanzeServerFailureError} With `BAD_REQUEST`, `INVALID_CURSOR`, or
137
140
  * `CURSOR_FILTER_MISMATCH` when filters or the cursor are invalid.
@@ -161,23 +164,20 @@ export class NuanzeClient {
161
164
  }
162
165
 
163
166
  /**
164
- * Resolves a market by ticker. Lookup is case-insensitive and accepts canonical tickers or
165
- * legacy source symbols. An explicit unavailable venue returns `MARKET_NOT_FOUND`. With no
166
- * venue, `strictVenue=true` returns `AMBIGUOUS_MARKET` for multi-venue assets; otherwise the
167
- * primary venue is used.
167
+ * Resolves a market by {@link NuanzeMarketSelector}. Supply at least `ticker` or `productId`;
168
+ * when both are given, `productId` is used for the path segment and `ticker` is ignored.
169
+ * Ticker lookup is case-insensitive and accepts canonical tickers or legacy source symbols.
170
+ * An explicit unavailable venue returns `MARKET_NOT_FOUND`. With no venue, `strictVenue=true`
171
+ * returns `AMBIGUOUS_MARKET` for multi-venue assets; otherwise the primary venue is used.
168
172
  *
169
- * @throws {NuanzeServerFailureError} With `AMBIGUOUS_MARKET`, `MARKET_SELECTOR_MISMATCH`, or
170
- * `BAD_REQUEST` on invalid selectors, and `MARKET_NOT_FOUND` when the ticker does not resolve.
173
+ * @throws {NuanzeServerFailureError} With `AMBIGUOUS_MARKET` or `BAD_REQUEST` on invalid
174
+ * selectors, and `MARKET_NOT_FOUND` when the selector does not resolve.
171
175
  */
172
176
  async getMarketByTicker(
173
177
  params: GetNuanzeMarketByTickerParams,
174
178
  ): Promise<GetNuanzeMarketByTickerResponse> {
175
- const { ticker, ...query } = params;
176
179
  return mapNuanzeMarketByTickerResponse(
177
- await this.getJson<NuanzeServerMarketByTickerResponse>(
178
- `/markets/${encodeURIComponent(ticker)}`,
179
- query,
180
- ),
180
+ await this.getMarketJson<NuanzeServerMarketByTickerResponse>(params),
181
181
  );
182
182
  }
183
183
 
@@ -311,43 +311,45 @@ export class NuanzeClient {
311
311
  }
312
312
 
313
313
  /**
314
- * Lists market trades: one taker-side row per match, sorted by `matchedAt` then `id` descending.
315
- * The exclusive cursor is bound to operation and normalized filters. `from` is inclusive and
316
- * `to` exclusive. Wallet identity is absent.
314
+ * Lists market trades for a {@link NuanzeMarketSelector}: one taker-side row per match, sorted
315
+ * by `matchedAt` then `id` descending. Supply at least `ticker` or `productId`; when both are
316
+ * given, `productId` is used for the path segment and `ticker` is ignored. The exclusive cursor
317
+ * is bound to operation and normalized filters. `from` is inclusive and `to` exclusive. Wallet
318
+ * identity is absent.
317
319
  *
318
- * @throws {NuanzeServerFailureError} With `AMBIGUOUS_MARKET`, `MARKET_SELECTOR_MISMATCH`,
319
- * `INVALID_CURSOR`, `CURSOR_FILTER_MISMATCH`, `RANGE_TOO_LARGE`, or `BAD_REQUEST` on invalid
320
- * input, and `MARKET_NOT_FOUND` when the ticker does not resolve.
320
+ * @throws {NuanzeServerFailureError} With `AMBIGUOUS_MARKET`, `INVALID_CURSOR`,
321
+ * `CURSOR_FILTER_MISMATCH`, `RANGE_TOO_LARGE`, or `BAD_REQUEST` on invalid input, and
322
+ * `MARKET_NOT_FOUND` when the selector does not resolve.
321
323
  */
322
324
  async getMarketTrades(
323
325
  params: GetNuanzeMarketTradesParams,
324
326
  ): Promise<GetNuanzeMarketTradesResponse> {
325
- const { ticker, ...query } = params;
326
327
  return mapNuanzeMarketTradesResponse(
327
- await this.getJson<NuanzeServerMarketTradesResponse>(
328
- `/markets/${encodeURIComponent(ticker)}/trades`,
329
- query,
328
+ await this.getMarketJson<NuanzeServerMarketTradesResponse>(
329
+ params,
330
+ '/trades',
330
331
  ),
331
332
  );
332
333
  }
333
334
 
334
335
  /**
335
- * Lists market candles. Source storage is 1h; 4h and 1d are UTC-aligned rollups and missing bars
336
- * are not interpolated. The newest `limit` matching bars are selected and returned
337
- * oldest-to-newest, at most 750, with no pagination. A current bucket has `complete=false`.
336
+ * Lists market candles for a {@link NuanzeMarketSelector}. Supply at least `ticker` or
337
+ * `productId`; when both are given, `productId` is used for the path segment and `ticker` is
338
+ * ignored. Source storage is 1h; 4h and 1d are UTC-aligned rollups and missing bars are not
339
+ * interpolated. The newest `limit` matching bars are selected and returned oldest-to-newest,
340
+ * at most 750, with no pagination. A current bucket has `complete=false`.
338
341
  *
339
342
  * @throws {NuanzeServerFailureError} With `UNSUPPORTED_INTERVAL`, `RANGE_TOO_LARGE`,
340
- * `AMBIGUOUS_MARKET`, `MARKET_SELECTOR_MISMATCH`, or `BAD_REQUEST` on invalid input, and
341
- * `MARKET_NOT_FOUND` when the ticker does not resolve.
343
+ * `AMBIGUOUS_MARKET`, or `BAD_REQUEST` on invalid input, and `MARKET_NOT_FOUND` when the
344
+ * selector does not resolve.
342
345
  */
343
346
  async getMarketCandles(
344
347
  params: GetNuanzeMarketCandlesParams,
345
348
  ): Promise<GetNuanzeMarketCandlesResponse> {
346
- const { ticker, ...query } = params;
347
349
  return mapNuanzeMarketCandlesResponse(
348
- await this.getJson<NuanzeServerMarketCandlesResponse>(
349
- `/markets/${encodeURIComponent(ticker)}/candles`,
350
- query,
350
+ await this.getMarketJson<NuanzeServerMarketCandlesResponse>(
351
+ params,
352
+ '/candles',
351
353
  ),
352
354
  );
353
355
  }
@@ -463,46 +465,48 @@ export class NuanzeClient {
463
465
  }
464
466
 
465
467
  /**
466
- * Gets privacy-preserving aggregate positioning for an active perpetual. Cross and isolated legs
467
- * are summed within owner/subaccount/product before direction classification. Every cell requires
468
- * at least 20 distinct contributing owners. No identity, individual position, entry price, PnL,
469
- * margin, or leverage fields are returned.
468
+ * Gets privacy-preserving aggregate positioning for an active perpetual identified by
469
+ * {@link NuanzeMarketSelector}. Supply at least `ticker` or `productId`; when both are given,
470
+ * `productId` is used for the path segment and `ticker` is ignored. Cross and isolated legs
471
+ * are summed within owner/subaccount/product before direction classification. Every cell
472
+ * requires at least 20 distinct contributing owners. No identity, individual position, entry
473
+ * price, PnL, margin, or leverage fields are returned.
470
474
  *
471
- * @throws {NuanzeServerFailureError} With `AMBIGUOUS_MARKET`, `MARKET_SELECTOR_MISMATCH`, or
472
- * `BAD_REQUEST` on invalid input, and `MARKET_NOT_FOUND` when the ticker does not resolve to a
473
- * perp.
475
+ * @throws {NuanzeServerFailureError} With `AMBIGUOUS_MARKET` or `BAD_REQUEST` on invalid input,
476
+ * and `MARKET_NOT_FOUND` when the selector does not resolve to a perp.
474
477
  */
475
478
  async getMarketPositioning(
476
479
  params: GetNuanzeMarketPositioningParams,
477
480
  ): Promise<GetNuanzeMarketPositioningResponse> {
478
- const { ticker, ...query } = params;
479
481
  return mapNuanzeMarketPositioningResponse(
480
- await this.getJson<NuanzeServerMarketPositioningResponse>(
481
- `/markets/${encodeURIComponent(ticker)}/positioning`,
482
- query,
482
+ await this.getMarketJson<NuanzeServerMarketPositioningResponse>(
483
+ params,
484
+ '/positioning',
483
485
  ),
484
486
  );
485
487
  }
486
488
 
487
489
  /**
488
- * Lists open perpetual position legs for the resolved market. Results default to absolute
489
- * notional descending and can be ordered by signed unrealized PnL or absolute base amount in
490
- * either direction. Spot markets are not supported. Legs below $10 absolute notional are excluded.
491
- * Wallet addresses, nullable synced usernames and display names, and signed exact base amounts
492
- * are returned.
490
+ * Lists open perpetual position legs for a market identified by {@link NuanzeMarketSelector}.
491
+ * Supply at least `ticker` or `productId`; when both are given, `productId` is used for the
492
+ * path segment and `ticker` is ignored. Results default to absolute notional descending and
493
+ * can be ordered by signed unrealized PnL or absolute base amount in either direction. Spot
494
+ * markets are not supported. Legs below $10 absolute notional are excluded. Wallet addresses,
495
+ * nullable synced usernames and display names, and signed exact base amounts are returned.
496
+ * Isolated positions include effective leverage computed by Nuanze; cross positions return
497
+ * null leverage.
493
498
  *
494
- * @throws {NuanzeServerFailureError} With `AMBIGUOUS_MARKET`, `MARKET_SELECTOR_MISMATCH`,
495
- * `INVALID_CURSOR`, `CURSOR_FILTER_MISMATCH`, or `BAD_REQUEST` on invalid input, and
496
- * `MARKET_NOT_FOUND` when the ticker does not resolve to a perp.
499
+ * @throws {NuanzeServerFailureError} With `AMBIGUOUS_MARKET`, `INVALID_CURSOR`,
500
+ * `CURSOR_FILTER_MISMATCH`, or `BAD_REQUEST` on invalid input, and `MARKET_NOT_FOUND` when the
501
+ * selector does not resolve to a perp.
497
502
  */
498
503
  async getMarketPositions(
499
504
  params: GetNuanzeMarketPositionsParams,
500
505
  ): Promise<GetNuanzeMarketPositionsResponse> {
501
- const { ticker, ...query } = params;
502
506
  return mapNuanzeMarketPositionsResponse(
503
- await this.getJson<NuanzeServerMarketPositionsResponse>(
504
- `/markets/${encodeURIComponent(ticker)}/positions`,
505
- query,
507
+ await this.getMarketJson<NuanzeServerMarketPositionsResponse>(
508
+ params,
509
+ '/positions',
506
510
  ),
507
511
  );
508
512
  }
@@ -513,6 +517,8 @@ export class NuanzeClient {
513
517
  * latest indexed snapshot with no timeframe. Legs below $10 absolute notional are excluded.
514
518
  * Private subaccounts are excluded unless `includePrivate=true`. Each row includes market
515
519
  * identity, nullable synced username and display name, and its source snapshot timestamp.
520
+ * Isolated positions include effective leverage computed by Nuanze; cross positions return
521
+ * null leverage.
516
522
  *
517
523
  * @throws {NuanzeServerFailureError} With `INVALID_CURSOR`, `CURSOR_FILTER_MISMATCH`, or
518
524
  * `BAD_REQUEST` when the query or cursor is invalid.
@@ -535,6 +541,21 @@ export class NuanzeClient {
535
541
  return this.requestJson<T>(path, { params });
536
542
  }
537
543
 
544
+ private async getMarketJson<T>(
545
+ params: NuanzeMarketSelector & object,
546
+ suffix = '',
547
+ ): Promise<T> {
548
+ const { productId, ticker, ...query } = params;
549
+ const selector = productId ?? ticker;
550
+ if (selector === undefined) {
551
+ throw new Error('A market ticker or productId is required.');
552
+ }
553
+ return this.getJson<T>(
554
+ `/markets/${encodeURIComponent(selector.toString())}${suffix}`,
555
+ query,
556
+ );
557
+ }
558
+
538
559
  private async requestJson<T>(
539
560
  path: string,
540
561
  config: { params?: object } = {},
@@ -866,14 +866,16 @@ export function mapNuanzeMarketPositioningResponse(
866
866
  }
867
867
 
868
868
  /**
869
- * Maps fields shared by per-market and globally ranked position legs.
869
+ * Maps a server-side market position leg, including its synced identity.
870
870
  */
871
- function mapNuanzePositionBase(
872
- server: Omit<NuanzeServerMarketPosition, 'username' | 'displayName'>,
873
- ): Omit<NuanzeMarketPosition, 'username' | 'displayName'> {
871
+ export function mapNuanzeMarketPosition(
872
+ server: NuanzeServerMarketPosition,
873
+ ): NuanzeMarketPosition {
874
874
  return {
875
875
  subaccountOwner: server.subaccountOwner,
876
876
  subaccountName: server.subaccountName,
877
+ username: server.username,
878
+ displayName: server.displayName,
877
879
  symbol: server.symbol,
878
880
  marginKind: server.marginKind,
879
881
  side: server.side,
@@ -882,19 +884,7 @@ function mapNuanzePositionBase(
882
884
  upnl: toBigNumber(server.upnl),
883
885
  margin: mapNuanzeDecimal(server.margin),
884
886
  entryPrice: mapNuanzeDecimal(server.entryPrice),
885
- };
886
- }
887
-
888
- /**
889
- * Maps a server-side market position leg, including its synced identity.
890
- */
891
- export function mapNuanzeMarketPosition(
892
- server: NuanzeServerMarketPosition,
893
- ): NuanzeMarketPosition {
894
- return {
895
- ...mapNuanzePositionBase(server),
896
- username: server.username,
897
- displayName: server.displayName,
887
+ leverage: mapNuanzeDecimal(server.leverage),
898
888
  };
899
889
  }
900
890
 
@@ -863,6 +863,11 @@ export interface NuanzeMarketPosition {
863
863
  margin: BigNumber | null;
864
864
  /** Entry price, or null when unavailable. */
865
865
  entryPrice: BigNumber | null;
866
+ /**
867
+ * Effective isolated leverage computed from unrounded notional and isolated equity.
868
+ * Null for cross positions or when isolated equity is unavailable.
869
+ */
870
+ leverage: BigNumber | null;
866
871
  }
867
872
 
868
873
  /**
@@ -74,6 +74,13 @@ export interface GetNuanzeMarketsResponse {
74
74
  export interface GetNuanzeNewsParams {
75
75
  /** Page size, 1-100, default 30. */
76
76
  limit?: number;
77
+ /**
78
+ * Exact canonical ticker, matched case-insensitively across every product for the asset. Spot
79
+ * and perpetual markets are not distinguished. When productId is also supplied, both must match.
80
+ */
81
+ ticker?: string;
82
+ /** Exact public product ID. When ticker is also supplied, both filters must match. */
83
+ productId?: number;
77
84
  /** Restrict to one sentiment. */
78
85
  sentiment?: NuanzeNewsSentiment;
79
86
  /** Restrict to one event type. */
@@ -97,15 +104,35 @@ export interface GetNuanzeNewsResponse {
97
104
  }
98
105
 
99
106
  /**
100
- * Params for `NuanzeClient.getMarketByTicker`.
107
+ * Selects a market for scoped GET operations under `/markets/{ticker}`. The `{ticker}` path
108
+ * segment accepts a canonical ticker, legacy source symbol, or numeric product ID. At least one
109
+ * of `ticker` or `productId` is required. When both are supplied, `productId` is encoded as the
110
+ * path segment and `ticker` is ignored (neither field is sent as a query parameter).
101
111
  */
102
- export interface GetNuanzeMarketByTickerParams {
103
- /** Case-insensitive canonical ticker or accepted legacy source symbol. */
104
- ticker: string;
112
+ export type NuanzeMarketSelector =
113
+ | {
114
+ /**
115
+ * Canonical ticker or legacy source symbol. Case-insensitive. Used as the path segment when
116
+ * `productId` is omitted; ignored when `productId` is supplied.
117
+ */
118
+ ticker: string;
119
+ /**
120
+ * Public product ID. When supplied, used as the path segment and `ticker` is ignored.
121
+ */
122
+ productId?: number;
123
+ }
124
+ | {
125
+ ticker?: string;
126
+ /** Public product ID used as the path segment. */
127
+ productId: number;
128
+ };
129
+
130
+ /**
131
+ * Params for `NuanzeClient.getMarketByTicker`. Requires {@link NuanzeMarketSelector}.
132
+ */
133
+ export type GetNuanzeMarketByTickerParams = NuanzeMarketSelector & {
105
134
  /** Restrict to one venue. Omit to use the asset's primary venue. */
106
135
  venue?: NuanzeMarketVenue;
107
- /** Pin an exact product; must match ticker and venue. */
108
- productId?: number;
109
136
  /**
110
137
  * When true and `venue` is omitted, reject a multi-venue canonical ticker with
111
138
  * `AMBIGUOUS_MARKET`. Default false.
@@ -113,7 +140,7 @@ export interface GetNuanzeMarketByTickerParams {
113
140
  strictVenue?: boolean;
114
141
  /** Max published stories to include, 1-30, default 12. */
115
142
  newsLimit?: number;
116
- }
143
+ };
117
144
 
118
145
  /**
119
146
  * Response of `NuanzeClient.getMarketByTicker`.
@@ -356,15 +383,11 @@ export interface GetNuanzeWalletPositionsResponse {
356
383
  }
357
384
 
358
385
  /**
359
- * Params for `NuanzeClient.getMarketTrades`.
386
+ * Params for `NuanzeClient.getMarketTrades`. Requires {@link NuanzeMarketSelector}.
360
387
  */
361
- export interface GetNuanzeMarketTradesParams {
362
- /** Case-insensitive canonical ticker or accepted legacy source symbol. */
363
- ticker: string;
388
+ export type GetNuanzeMarketTradesParams = NuanzeMarketSelector & {
364
389
  /** Restrict to one venue. Omit to use the asset's primary venue. */
365
390
  venue?: NuanzeMarketVenue;
366
- /** Pin an exact product; must match ticker and venue. */
367
- productId?: number;
368
391
  /**
369
392
  * When true and `venue` is omitted, reject a multi-venue canonical ticker with
370
393
  * `AMBIGUOUS_MARKET`. Default false.
@@ -378,7 +401,7 @@ export interface GetNuanzeMarketTradesParams {
378
401
  to?: string;
379
402
  /** Opaque exclusive cursor bound to the normalized filters. */
380
403
  cursor?: string;
381
- }
404
+ };
382
405
 
383
406
  /**
384
407
  * Response of `NuanzeClient.getMarketTrades`.
@@ -401,15 +424,11 @@ export interface GetNuanzeMarketTradesResponse {
401
424
  }
402
425
 
403
426
  /**
404
- * Params for `NuanzeClient.getMarketCandles`.
427
+ * Params for `NuanzeClient.getMarketCandles`. Requires {@link NuanzeMarketSelector}.
405
428
  */
406
- export interface GetNuanzeMarketCandlesParams {
407
- /** Case-insensitive canonical ticker or accepted legacy source symbol. */
408
- ticker: string;
429
+ export type GetNuanzeMarketCandlesParams = NuanzeMarketSelector & {
409
430
  /** Restrict to one venue. Omit to use the asset's primary venue. */
410
431
  venue?: NuanzeMarketVenue;
411
- /** Pin an exact product; must match ticker and venue. */
412
- productId?: number;
413
432
  /**
414
433
  * When true and `venue` is omitted, reject a multi-venue canonical ticker with
415
434
  * `AMBIGUOUS_MARKET`. Default false.
@@ -423,7 +442,7 @@ export interface GetNuanzeMarketCandlesParams {
423
442
  to?: string;
424
443
  /** Newest matching bars to return, 1-750, default 200. Returned oldest-to-newest. */
425
444
  limit?: number;
426
- }
445
+ };
427
446
 
428
447
  /**
429
448
  * Response of `NuanzeClient.getMarketCandles`.
@@ -662,15 +681,12 @@ export interface GetNuanzeCollateralFlowSeriesResponse {
662
681
  }
663
682
 
664
683
  /**
665
- * Params for `NuanzeClient.getMarketPositioning`. Resolves only an active perpetual.
684
+ * Params for `NuanzeClient.getMarketPositioning`. Requires {@link NuanzeMarketSelector}. Resolves
685
+ * only an active perpetual.
666
686
  */
667
- export interface GetNuanzeMarketPositioningParams {
668
- /** Case-insensitive canonical ticker or accepted legacy source symbol. */
669
- ticker: string;
687
+ export type GetNuanzeMarketPositioningParams = NuanzeMarketSelector & {
670
688
  /** If supplied, only `perp` is valid. */
671
689
  venue?: 'perp';
672
- /** Pin an exact product; must match ticker and venue. */
673
- productId?: number;
674
690
  /**
675
691
  * When true and `venue` is omitted, reject a multi-venue canonical ticker with
676
692
  * `AMBIGUOUS_MARKET`. Default false.
@@ -680,7 +696,7 @@ export interface GetNuanzeMarketPositioningParams {
680
696
  groupBy?: NuanzePositioningGroupBy;
681
697
  /** Inclusion threshold as a USD string, default `'10'`. */
682
698
  minPositionUsd?: NuanzeMinPositionUsd;
683
- }
699
+ };
684
700
 
685
701
  /**
686
702
  * Response of `NuanzeClient.getMarketPositioning`. Discriminated by `groupBy`.
@@ -691,15 +707,12 @@ export type GetNuanzeMarketPositioningResponse =
691
707
  | NuanzeMarketPositioningNotionalBucketResponse;
692
708
 
693
709
  /**
694
- * Params for `NuanzeClient.getMarketPositions`. Resolves only an active perpetual.
710
+ * Params for `NuanzeClient.getMarketPositions`. Requires {@link NuanzeMarketSelector}. Resolves
711
+ * only an active perpetual.
695
712
  */
696
- export interface GetNuanzeMarketPositionsParams {
697
- /** Case-insensitive canonical ticker or accepted legacy source symbol. */
698
- ticker: string;
713
+ export type GetNuanzeMarketPositionsParams = NuanzeMarketSelector & {
699
714
  /** If supplied, only `perp` is valid. */
700
715
  venue?: 'perp';
701
- /** Pin an exact product; must match ticker and venue. */
702
- productId?: number;
703
716
  /** Page size, 1-200, default 50. */
704
717
  limit?: number;
705
718
  /**
@@ -711,7 +724,7 @@ export interface GetNuanzeMarketPositionsParams {
711
724
  sortDirection?: NuanzeMarketPositionSortDirection;
712
725
  /** Opaque exclusive cursor bound to the resolved product. */
713
726
  cursor?: string;
714
- }
727
+ };
715
728
 
716
729
  /**
717
730
  * Response of `NuanzeClient.getMarketPositions`.
@@ -260,6 +260,7 @@ export interface NuanzeServerMarketPosition {
260
260
  upnl: string;
261
261
  margin: string | null;
262
262
  entryPrice: string | null;
263
+ leverage: string | null;
263
264
  }
264
265
 
265
266
  /**
@@ -64,7 +64,8 @@ export interface NuanzeServerNewsResponse {
64
64
  }
65
65
 
66
66
  /**
67
- * `GET /markets/{ticker}` response as returned on the wire.
67
+ * `GET /markets/{ticker}` response as returned on the wire. The `{ticker}` path segment accepts a
68
+ * canonical ticker, legacy source symbol, or numeric product ID.
68
69
  */
69
70
  export type NuanzeServerMarketByTickerResponse = NuanzeServerMarketDetail;
70
71
 
@@ -159,7 +160,8 @@ export interface NuanzeServerWalletPositionsResponse {
159
160
  }
160
161
 
161
162
  /**
162
- * `GET /markets/{ticker}/trades` response as returned on the wire.
163
+ * `GET /markets/{ticker}/trades` response as returned on the wire. The `{ticker}` path segment
164
+ * accepts a canonical ticker, legacy source symbol, or numeric product ID.
163
165
  */
164
166
  export interface NuanzeServerMarketTradesResponse {
165
167
  productId: number;
@@ -172,7 +174,8 @@ export interface NuanzeServerMarketTradesResponse {
172
174
  }
173
175
 
174
176
  /**
175
- * `GET /markets/{ticker}/candles` response as returned on the wire.
177
+ * `GET /markets/{ticker}/candles` response as returned on the wire. The `{ticker}` path segment
178
+ * accepts a canonical ticker, legacy source symbol, or numeric product ID.
176
179
  */
177
180
  export interface NuanzeServerMarketCandlesResponse {
178
181
  productId: number;
@@ -266,7 +269,8 @@ export interface NuanzeServerCollateralFlowSeriesResponse {
266
269
  }
267
270
 
268
271
  /**
269
- * `GET /markets/{ticker}/positions` response as returned on the wire.
272
+ * `GET /markets/{ticker}/positions` response as returned on the wire. The `{ticker}` path segment
273
+ * accepts a canonical ticker, legacy source symbol, or numeric product ID.
270
274
  */
271
275
  export interface NuanzeServerMarketPositionsResponse {
272
276
  productId: number;
@@ -1 +0,0 @@
1
- {"version":3,"file":"NuanzeClient-BrjXP2Sz.cjs","names":["mapNuanzeNewsResponse","mapNuanzeMarketsResponse","mapNuanzeMarketByTickerResponse","mapNuanzeFundingRatesResponse","mapNuanzeLeaderboardResponse","mapNuanzeSubaccountLeaderboardResponse","mapNuanzePlatformSummaryResponse","mapNuanzeFollowedLeaderboardResponse","mapNuanzeWalletSummaryResponse","mapNuanzeWalletPositionsResponse","mapNuanzeMarketTradesResponse","mapNuanzeMarketCandlesResponse","mapNuanzeWalletTradesResponse","mapNuanzeWalletPnlResponse","mapNuanzeWalletPnlSeriesResponse","mapNuanzeCollateralFlowsResponse","mapNuanzeCollateralFlowSummaryResponse","mapNuanzeCollateralFlowSeriesResponse","mapNuanzeMarketPositioningResponse","mapNuanzeMarketPositionsResponse","mapNuanzeOpenPositionsResponse","isNuanzeServerFailureResponse","NuanzeServerFailureError"],"sources":["../src/NuanzeClient.ts"],"sourcesContent":["import axios, { AxiosInstance, AxiosResponse } from 'axios';\nimport {\n mapNuanzeCollateralFlowSeriesResponse,\n mapNuanzeCollateralFlowSummaryResponse,\n mapNuanzeCollateralFlowsResponse,\n mapNuanzeFollowedLeaderboardResponse,\n mapNuanzeFundingRatesResponse,\n mapNuanzeLeaderboardResponse,\n mapNuanzeMarketByTickerResponse,\n mapNuanzeMarketCandlesResponse,\n mapNuanzeMarketPositioningResponse,\n mapNuanzeMarketPositionsResponse,\n mapNuanzeMarketTradesResponse,\n mapNuanzeMarketsResponse,\n mapNuanzeNewsResponse,\n mapNuanzeOpenPositionsResponse,\n mapNuanzePlatformSummaryResponse,\n mapNuanzeSubaccountLeaderboardResponse,\n mapNuanzeWalletPnlResponse,\n mapNuanzeWalletPnlSeriesResponse,\n mapNuanzeWalletPositionsResponse,\n mapNuanzeWalletSummaryResponse,\n mapNuanzeWalletTradesResponse,\n} from './dataMappers';\nimport {\n GetNuanzeCollateralFlowSeriesParams,\n GetNuanzeCollateralFlowSeriesResponse,\n GetNuanzeCollateralFlowSummaryParams,\n GetNuanzeCollateralFlowSummaryResponse,\n GetNuanzeCollateralFlowsParams,\n GetNuanzeCollateralFlowsResponse,\n GetNuanzeFollowedLeaderboardParams,\n GetNuanzeFollowedLeaderboardResponse,\n GetNuanzeFundingRatesParams,\n GetNuanzeFundingRatesResponse,\n GetNuanzeLeaderboardParams,\n GetNuanzeLeaderboardResponse,\n GetNuanzeMarketByTickerParams,\n GetNuanzeMarketByTickerResponse,\n GetNuanzeMarketCandlesParams,\n GetNuanzeMarketCandlesResponse,\n GetNuanzeMarketPositioningParams,\n GetNuanzeMarketPositioningResponse,\n GetNuanzeMarketPositionsParams,\n GetNuanzeMarketPositionsResponse,\n GetNuanzeMarketTradesParams,\n GetNuanzeMarketTradesResponse,\n GetNuanzeMarketsParams,\n GetNuanzeMarketsResponse,\n GetNuanzeNewsParams,\n GetNuanzeNewsResponse,\n GetNuanzeOpenPositionsParams,\n GetNuanzeOpenPositionsResponse,\n GetNuanzePlatformSummaryParams,\n GetNuanzePlatformSummaryResponse,\n GetNuanzeSubaccountLeaderboardParams,\n GetNuanzeSubaccountLeaderboardResponse,\n GetNuanzeWalletPnlParams,\n GetNuanzeWalletPnlResponse,\n GetNuanzeWalletPnlSeriesParams,\n GetNuanzeWalletPnlSeriesResponse,\n GetNuanzeWalletPositionsParams,\n GetNuanzeWalletPositionsResponse,\n GetNuanzeWalletSummaryParams,\n GetNuanzeWalletSummaryResponse,\n GetNuanzeWalletTradesParams,\n GetNuanzeWalletTradesResponse,\n} from './types/clientTypes';\nimport { NuanzeServerFailureError } from './types/NuanzeServerFailureError';\nimport { NuanzeServerMarketPositioningResponse } from './types/serverModelTypes';\nimport {\n NuanzeServerCollateralFlowSeriesResponse,\n NuanzeServerCollateralFlowSummaryResponse,\n NuanzeServerCollateralFlowsResponse,\n NuanzeServerFollowedLeaderboardResponse,\n NuanzeServerFundingRatesResponse,\n NuanzeServerLeaderboardResponse,\n NuanzeServerMarketByTickerResponse,\n NuanzeServerMarketCandlesResponse,\n NuanzeServerMarketPositionsResponse,\n NuanzeServerMarketTradesResponse,\n NuanzeServerMarketsResponse,\n NuanzeServerNewsResponse,\n NuanzeServerOpenPositionsResponse,\n NuanzeServerPlatformSummaryResponse,\n NuanzeServerSubaccountLeaderboardResponse,\n NuanzeServerWalletPnlResponse,\n NuanzeServerWalletPnlSeriesResponse,\n NuanzeServerWalletPositionsResponse,\n NuanzeServerWalletSummaryResponse,\n NuanzeServerWalletTradesResponse,\n isNuanzeServerFailureResponse,\n} from './types/serverQueryTypes';\n\n/**\n * Options for constructing a {@link NuanzeClient}.\n */\nexport interface NuanzeClientOpts {\n /**\n * Base URL of the Nuanze API, including the version segment, e.g. {@link NUANZE_CLIENT_ENDPOINTS}.\n */\n url: string;\n}\n\n/**\n * Client for the Nuanze public analytics API: markets, wallets, trades, candles, collateral flows,\n * and positioning.\n *\n * Read-only and credential-free, so unlike the other service clients it takes no wallet client or\n * linked signer. It also sends no `x-nado-client-type` header: Nuanze is a public API that does not\n * attribute traffic per client, and its `Access-Control-Allow-Headers` does not list the header, so\n * sending it would fail CORS preflight in the browser. All operations are GET.\n */\nexport class NuanzeClient {\n readonly opts: NuanzeClientOpts;\n readonly axiosInstance: AxiosInstance;\n\n constructor(opts: NuanzeClientOpts) {\n this.opts = opts;\n this.axiosInstance = axios.create({\n // Nuanze is public and answers every origin with `Access-Control-Allow-Origin: *`, which\n // browsers reject for credentialed requests.\n withCredentials: false,\n // We have custom logic to validate response status and create an appropriate error\n validateStatus: () => true,\n // Repeatable `productId` must serialize as `productId=1&productId=2` (OpenAPI explode).\n paramsSerializer: { indexes: null },\n });\n }\n\n /**\n * Lists published editorial stories, sorted by `publishedAt` descending then `id` descending.\n * The opaque cursor is exclusive and bound to normalized filters. Raw article ingestion, scoring,\n * queue, and newsdesk fields are excluded.\n *\n * @throws {NuanzeServerFailureError} With `BAD_REQUEST`, `INVALID_CURSOR`, or\n * `CURSOR_FILTER_MISMATCH` when filters or the cursor are invalid.\n */\n async getNews(\n params: GetNuanzeNewsParams = {},\n ): Promise<GetNuanzeNewsResponse> {\n return mapNuanzeNewsResponse(\n await this.getJson<NuanzeServerNewsResponse>('/news', params),\n );\n }\n\n /**\n * Gets the active market universe, ordered by `productId` ascending. Never truncated, so `count`\n * always equals the length of `markets`. Market metadata refreshes about every five minutes and\n * prices about every minute.\n *\n * @throws {NuanzeServerFailureError} With error code `BAD_REQUEST` if a filter value is not a\n * documented venue or tradability state.\n */\n async getMarkets(\n params: GetNuanzeMarketsParams = {},\n ): Promise<GetNuanzeMarketsResponse> {\n return mapNuanzeMarketsResponse(\n await this.getJson<NuanzeServerMarketsResponse>('/markets', params),\n );\n }\n\n /**\n * Resolves a market by ticker. Lookup is case-insensitive and accepts canonical tickers or\n * legacy source symbols. An explicit unavailable venue returns `MARKET_NOT_FOUND`. With no\n * venue, `strictVenue=true` returns `AMBIGUOUS_MARKET` for multi-venue assets; otherwise the\n * primary venue is used.\n *\n * @throws {NuanzeServerFailureError} With `AMBIGUOUS_MARKET`, `MARKET_SELECTOR_MISMATCH`, or\n * `BAD_REQUEST` on invalid selectors, and `MARKET_NOT_FOUND` when the ticker does not resolve.\n */\n async getMarketByTicker(\n params: GetNuanzeMarketByTickerParams,\n ): Promise<GetNuanzeMarketByTickerResponse> {\n const { ticker, ...query } = params;\n return mapNuanzeMarketByTickerResponse(\n await this.getJson<NuanzeServerMarketByTickerResponse>(\n `/markets/${encodeURIComponent(ticker)}`,\n query,\n ),\n );\n }\n\n /**\n * Lists the latest funding observation per active perpetual market, refreshed about every five\n * minutes.\n *\n * @throws {NuanzeServerFailureError} With `BAD_REQUEST` if a filter value is invalid.\n */\n async getFundingRates(\n params: GetNuanzeFundingRatesParams = {},\n ): Promise<GetNuanzeFundingRatesResponse> {\n return mapNuanzeFundingRatesResponse(\n await this.getJson<NuanzeServerFundingRatesResponse>(\n '/funding/rates',\n params,\n ),\n );\n }\n\n /**\n * Gets the account PnL leaderboard. Equity-basis account PnL includes realized and unrealized\n * movement plus funding and is not realized PnL.\n *\n * @throws {NuanzeServerFailureError} With `BAD_REQUEST` if a filter value is invalid.\n */\n async getLeaderboard(\n params: GetNuanzeLeaderboardParams = {},\n ): Promise<GetNuanzeLeaderboardResponse> {\n return mapNuanzeLeaderboardResponse(\n await this.getJson<NuanzeServerLeaderboardResponse>(\n '/leaderboard',\n params,\n ),\n );\n }\n\n /**\n * Gets the global public leaderboard of subaccounts. Results are sorted by equity-basis account\n * PnL descending with nulls last. Username and display name are null when unavailable.\n * `globalRank` is independent of the active privacy and trading filters. Pagination uses a\n * filter-bound opaque cursor.\n *\n * @throws {NuanzeServerFailureError} With `BAD_REQUEST`, `INVALID_CURSOR`, or\n * `CURSOR_FILTER_MISMATCH` when filters or the cursor are invalid.\n */\n async getSubaccountLeaderboard(\n params: GetNuanzeSubaccountLeaderboardParams = {},\n ): Promise<GetNuanzeSubaccountLeaderboardResponse> {\n return mapNuanzeSubaccountLeaderboardResponse(\n await this.getJson<NuanzeServerSubaccountLeaderboardResponse>(\n '/leaderboard/subaccounts',\n params,\n ),\n );\n }\n\n /**\n * Gets platform activity summary from five-minute aggregates.\n *\n * @throws {NuanzeServerFailureError} With `BAD_REQUEST` if the window is not a documented value.\n */\n async getPlatformSummary(\n params: GetNuanzePlatformSummaryParams = {},\n ): Promise<GetNuanzePlatformSummaryResponse> {\n return mapNuanzePlatformSummaryResponse(\n await this.getJson<NuanzeServerPlatformSummaryResponse>(\n '/platform/summary',\n params,\n ),\n );\n }\n\n /**\n * Gets a keyset-paginated leaderboard for every subaccount a supplied bytes32 subaccount actively\n * follows, sorted by PnL descending with nulls last. The follower does not need a claimed\n * username. Subaccounts with no PnL in the window are included by default with null PnL/rank,\n * zero counts, and no products. Private subaccounts are excluded unless `includePrivate=true`.\n *\n * @throws {NuanzeServerFailureError} With `BAD_REQUEST` when params are invalid.\n */\n async getFollowedLeaderboard(\n params: GetNuanzeFollowedLeaderboardParams,\n ): Promise<GetNuanzeFollowedLeaderboardResponse> {\n return mapNuanzeFollowedLeaderboardResponse(\n await this.getJson<NuanzeServerFollowedLeaderboardResponse>(\n '/wallets/leaderboard',\n params,\n ),\n );\n }\n\n /**\n * Gets replica-backed wallet analytics. Without `subaccountName`, latest cumulative values are\n * selected per known subaccount and then summed. The response is a snapshot and does not claim\n * live health, withdrawable collateral, open-order, or signer state.\n *\n * @throws {NuanzeServerFailureError} With `INVALID_ADDRESS` or `BAD_REQUEST` on invalid input,\n * and `WALLET_NOT_FOUND` when the address has no wallet data.\n */\n async getWalletSummary(\n params: GetNuanzeWalletSummaryParams,\n ): Promise<GetNuanzeWalletSummaryResponse> {\n const { address, ...query } = params;\n return mapNuanzeWalletSummaryResponse(\n await this.getJson<NuanzeServerWalletSummaryResponse>(\n `/wallets/${encodeURIComponent(address)}`,\n query,\n ),\n );\n }\n\n /**\n * Lists at most 500 current replica position rows across all known subaccounts by default. Rows\n * remain per subaccount. Spot rows are excluded unless `includeSpot=true`. This is not an\n * execution-grade live feed.\n *\n * @throws {NuanzeServerFailureError} With `INVALID_ADDRESS` or `BAD_REQUEST` on invalid input,\n * and `WALLET_NOT_FOUND` when the address has no wallet data.\n */\n async getWalletPositions(\n params: GetNuanzeWalletPositionsParams,\n ): Promise<GetNuanzeWalletPositionsResponse> {\n const { address, ...query } = params;\n return mapNuanzeWalletPositionsResponse(\n await this.getJson<NuanzeServerWalletPositionsResponse>(\n `/wallets/${encodeURIComponent(address)}/positions`,\n query,\n ),\n );\n }\n\n /**\n * Lists market trades: one taker-side row per match, sorted by `matchedAt` then `id` descending.\n * The exclusive cursor is bound to operation and normalized filters. `from` is inclusive and\n * `to` exclusive. Wallet identity is absent.\n *\n * @throws {NuanzeServerFailureError} With `AMBIGUOUS_MARKET`, `MARKET_SELECTOR_MISMATCH`,\n * `INVALID_CURSOR`, `CURSOR_FILTER_MISMATCH`, `RANGE_TOO_LARGE`, or `BAD_REQUEST` on invalid\n * input, and `MARKET_NOT_FOUND` when the ticker does not resolve.\n */\n async getMarketTrades(\n params: GetNuanzeMarketTradesParams,\n ): Promise<GetNuanzeMarketTradesResponse> {\n const { ticker, ...query } = params;\n return mapNuanzeMarketTradesResponse(\n await this.getJson<NuanzeServerMarketTradesResponse>(\n `/markets/${encodeURIComponent(ticker)}/trades`,\n query,\n ),\n );\n }\n\n /**\n * Lists market candles. Source storage is 1h; 4h and 1d are UTC-aligned rollups and missing bars\n * are not interpolated. The newest `limit` matching bars are selected and returned\n * oldest-to-newest, at most 750, with no pagination. A current bucket has `complete=false`.\n *\n * @throws {NuanzeServerFailureError} With `UNSUPPORTED_INTERVAL`, `RANGE_TOO_LARGE`,\n * `AMBIGUOUS_MARKET`, `MARKET_SELECTOR_MISMATCH`, or `BAD_REQUEST` on invalid input, and\n * `MARKET_NOT_FOUND` when the ticker does not resolve.\n */\n async getMarketCandles(\n params: GetNuanzeMarketCandlesParams,\n ): Promise<GetNuanzeMarketCandlesResponse> {\n const { ticker, ...query } = params;\n return mapNuanzeMarketCandlesResponse(\n await this.getJson<NuanzeServerMarketCandlesResponse>(\n `/markets/${encodeURIComponent(ticker)}/candles`,\n query,\n ),\n );\n }\n\n /**\n * Lists wallet-owned maker and taker execution rows, sorted by `matchedAt` then `id` descending.\n * The cursor is exclusive and filter-bound. `from` is inclusive and `to` exclusive.\n *\n * @throws {NuanzeServerFailureError} With `INVALID_ADDRESS`, `INVALID_CURSOR`,\n * `CURSOR_FILTER_MISMATCH`, `RANGE_TOO_LARGE`, or `BAD_REQUEST` on invalid input, and\n * `WALLET_NOT_FOUND` when the address has no wallet data.\n */\n async getWalletTrades(\n params: GetNuanzeWalletTradesParams,\n ): Promise<GetNuanzeWalletTradesResponse> {\n const { address, ...query } = params;\n return mapNuanzeWalletTradesResponse(\n await this.getJson<NuanzeServerWalletTradesResponse>(\n `/wallets/${encodeURIComponent(address)}/trades`,\n query,\n ),\n );\n }\n\n /**\n * Gets wallet account PnL. 24h is rolling and uses hourly snapshots with a daily fallback\n * baseline. Longer windows use daily snapshots; `all` starts at earliest coverage. PnL includes\n * realized and unrealized movement plus funding.\n *\n * @throws {NuanzeServerFailureError} With `INVALID_ADDRESS` or `BAD_REQUEST` on invalid input,\n * and `WALLET_NOT_FOUND` when the address has no wallet data.\n */\n async getWalletPnl(\n params: GetNuanzeWalletPnlParams,\n ): Promise<GetNuanzeWalletPnlResponse> {\n const { address, ...query } = params;\n return mapNuanzeWalletPnlResponse(\n await this.getJson<NuanzeServerWalletPnlResponse>(\n `/wallets/${encodeURIComponent(address)}/pnl`,\n query,\n ),\n );\n }\n\n /**\n * Gets a wallet account series of at most 1,000 deterministically sampled points ordered by\n * timestamp. Series contain a boundary anchor and a carried-forward request-time tip; synthetic\n * points are identified. Latest buckets may be provisional.\n *\n * @throws {NuanzeServerFailureError} With `INVALID_ADDRESS` or `BAD_REQUEST` on invalid input,\n * and `WALLET_NOT_FOUND` when the address has no wallet data.\n */\n async getWalletPnlSeries(\n params: GetNuanzeWalletPnlSeriesParams,\n ): Promise<GetNuanzeWalletPnlSeriesResponse> {\n const { address, ...query } = params;\n return mapNuanzeWalletPnlSeriesResponse(\n await this.getJson<NuanzeServerWalletPnlSeriesResponse>(\n `/wallets/${encodeURIComponent(address)}/pnl/series`,\n query,\n ),\n );\n }\n\n /**\n * Lists public collateral events, sorted by timestamp then `id` descending. Repeated `productId`\n * uses OR semantics. `minUsd` excludes unvalued events; without it unvalued events remain.\n *\n * @throws {NuanzeServerFailureError} With `BAD_REQUEST`, `INVALID_CURSOR`, or\n * `CURSOR_FILTER_MISMATCH` when filters or the cursor are invalid.\n */\n async getCollateralFlows(\n params: GetNuanzeCollateralFlowsParams = {},\n ): Promise<GetNuanzeCollateralFlowsResponse> {\n return mapNuanzeCollateralFlowsResponse(\n await this.getJson<NuanzeServerCollateralFlowsResponse>('/flows', params),\n );\n }\n\n /**\n * Gets collateral flow aggregates: deposited, withdrawn, net, and gross, with valuation coverage\n * and a prior equal-window comparison. `all` has no prior window.\n *\n * @throws {NuanzeServerFailureError} With `BAD_REQUEST` if a filter value is invalid.\n */\n async getCollateralFlowSummary(\n params: GetNuanzeCollateralFlowSummaryParams = {},\n ): Promise<GetNuanzeCollateralFlowSummaryResponse> {\n return mapNuanzeCollateralFlowSummaryResponse(\n await this.getJson<NuanzeServerCollateralFlowSummaryResponse>(\n '/flows/summary',\n params,\n ),\n );\n }\n\n /**\n * Gets collateral flow series of at most 1,000 UTC buckets. Allowed timeframe/bucket pairs are\n * 24h/hour, 7d/hour or day (default hour), 30d/day, and all/day.\n *\n * @throws {NuanzeServerFailureError} With `UNSUPPORTED_BUCKET` or `BAD_REQUEST` when the pair or\n * filters are invalid.\n */\n async getCollateralFlowSeries(\n params: GetNuanzeCollateralFlowSeriesParams = {},\n ): Promise<GetNuanzeCollateralFlowSeriesResponse> {\n return mapNuanzeCollateralFlowSeriesResponse(\n await this.getJson<NuanzeServerCollateralFlowSeriesResponse>(\n '/flows/series',\n params,\n ),\n );\n }\n\n /**\n * Gets privacy-preserving aggregate positioning for an active perpetual. Cross and isolated legs\n * are summed within owner/subaccount/product before direction classification. Every cell requires\n * at least 20 distinct contributing owners. No identity, individual position, entry price, PnL,\n * margin, or leverage fields are returned.\n *\n * @throws {NuanzeServerFailureError} With `AMBIGUOUS_MARKET`, `MARKET_SELECTOR_MISMATCH`, or\n * `BAD_REQUEST` on invalid input, and `MARKET_NOT_FOUND` when the ticker does not resolve to a\n * perp.\n */\n async getMarketPositioning(\n params: GetNuanzeMarketPositioningParams,\n ): Promise<GetNuanzeMarketPositioningResponse> {\n const { ticker, ...query } = params;\n return mapNuanzeMarketPositioningResponse(\n await this.getJson<NuanzeServerMarketPositioningResponse>(\n `/markets/${encodeURIComponent(ticker)}/positioning`,\n query,\n ),\n );\n }\n\n /**\n * Lists open perpetual position legs for the resolved market. Results default to absolute\n * notional descending and can be ordered by signed unrealized PnL or absolute base amount in\n * either direction. Spot markets are not supported. Legs below $10 absolute notional are excluded.\n * Wallet addresses, nullable synced usernames and display names, and signed exact base amounts\n * are returned.\n *\n * @throws {NuanzeServerFailureError} With `AMBIGUOUS_MARKET`, `MARKET_SELECTOR_MISMATCH`,\n * `INVALID_CURSOR`, `CURSOR_FILTER_MISMATCH`, or `BAD_REQUEST` on invalid input, and\n * `MARKET_NOT_FOUND` when the ticker does not resolve to a perp.\n */\n async getMarketPositions(\n params: GetNuanzeMarketPositionsParams,\n ): Promise<GetNuanzeMarketPositionsResponse> {\n const { ticker, ...query } = params;\n return mapNuanzeMarketPositionsResponse(\n await this.getJson<NuanzeServerMarketPositionsResponse>(\n `/markets/${encodeURIComponent(ticker)}/positions`,\n query,\n ),\n );\n }\n\n /**\n * Lists current open perpetual position legs across every market by signed unrealized PnL.\n * Descending returns the largest gainers and ascending returns the largest losers. This is a\n * latest indexed snapshot with no timeframe. Legs below $10 absolute notional are excluded.\n * Private subaccounts are excluded unless `includePrivate=true`. Each row includes market\n * identity, nullable synced username and display name, and its source snapshot timestamp.\n *\n * @throws {NuanzeServerFailureError} With `INVALID_CURSOR`, `CURSOR_FILTER_MISMATCH`, or\n * `BAD_REQUEST` when the query or cursor is invalid.\n */\n async getOpenPositions(\n params: GetNuanzeOpenPositionsParams = {},\n ): Promise<GetNuanzeOpenPositionsResponse> {\n return mapNuanzeOpenPositionsResponse(\n await this.getJson<NuanzeServerOpenPositionsResponse>(\n '/positions',\n params,\n ),\n );\n }\n\n /**\n * Performs a GET against `{baseUrl}{path}` and classifies the status before returning the body.\n */\n private async getJson<T>(path: string, params?: object): Promise<T> {\n return this.requestJson<T>(path, { params });\n }\n\n private async requestJson<T>(\n path: string,\n config: { params?: object } = {},\n ): Promise<T> {\n const response = await this.axiosInstance.request<T>({\n method: 'GET',\n url: `${this.opts.url}${path}`,\n ...config,\n });\n this.checkResponseStatus(response);\n return response.data;\n }\n\n /**\n * Validates the HTTP status before interpreting the body. Nuanze maps every domain failure onto a\n * non-2xx status carrying a failure envelope, so anything else is a transport-level error.\n */\n private checkResponseStatus(response: AxiosResponse<unknown>) {\n if (response.status >= 200 && response.status < 300) {\n return;\n }\n if (isNuanzeServerFailureResponse(response.data)) {\n throw new NuanzeServerFailureError(response.data, response.status);\n }\n throw new Error(\n `Unexpected response from Nuanze: ${response.status} ${response.statusText}. Data: ${JSON.stringify(response.data)}`,\n );\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiHA,IAAa,eAAb,MAA0B;CAIxB,YAAY,MAAwB;EAClC,KAAK,OAAO;EACZ,KAAK,gBAAgB,MAAA,QAAM,OAAO;GAGhC,iBAAiB;GAEjB,sBAAsB;GAEtB,kBAAkB,EAAE,SAAS,KAAK;EACpC,CAAC;CACH;;;;;;;;;CAUA,MAAM,QACJ,SAA8B,CAAC,GACC;EAChC,OAAOA,oBAAAA,sBACL,MAAM,KAAK,QAAkC,SAAS,MAAM,CAC9D;CACF;;;;;;;;;CAUA,MAAM,WACJ,SAAiC,CAAC,GACC;EACnC,OAAOC,oBAAAA,yBACL,MAAM,KAAK,QAAqC,YAAY,MAAM,CACpE;CACF;;;;;;;;;;CAWA,MAAM,kBACJ,QAC0C;EAC1C,MAAM,EAAE,QAAQ,GAAG,UAAU;EAC7B,OAAOC,oBAAAA,gCACL,MAAM,KAAK,QACT,YAAY,mBAAmB,MAAM,KACrC,KACF,CACF;CACF;;;;;;;CAQA,MAAM,gBACJ,SAAsC,CAAC,GACC;EACxC,OAAOC,oBAAAA,8BACL,MAAM,KAAK,QACT,kBACA,MACF,CACF;CACF;;;;;;;CAQA,MAAM,eACJ,SAAqC,CAAC,GACC;EACvC,OAAOC,oBAAAA,6BACL,MAAM,KAAK,QACT,gBACA,MACF,CACF;CACF;;;;;;;;;;CAWA,MAAM,yBACJ,SAA+C,CAAC,GACC;EACjD,OAAOC,oBAAAA,uCACL,MAAM,KAAK,QACT,4BACA,MACF,CACF;CACF;;;;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BAAkB;;EAE7B,UAAA;;EAEA,aAAA;;EAEA,IAAA;AAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"serverQueryTypes-D5-euf7o.d.ts","names":[],"sources":["../src/types/src/types/serverQueryTypes.ts"],"mappings":";;;;;;AAuCA;;;;;UAAiB,2BAAA;EACf,KAAA;IACE,IAAA,EAAM,eAAe;IACrB,OAAA;IACA,SAAA;EAAA;AAAA;;;;UAOa,2BAAA;EACf,OAAA,EAAS,kBAAkB;EAC3B,KAAA;EACA,IAAA;AAAA;AAAI;AAMN;;AANM,UAMW,wBAAA;EACf,OAAA,EAAS,eAAe;EACxB,UAAA;EACA,IAAA;AAAA;;;AAAI;KAMM,kCAAA,GAAqC,wBAAwB;;;;UAKxD,gCAAA;EACf,KAAA,EAAO,uBAAuB;EAC9B,IAAA;AAAA;;;;UAMe,+BAAA;EACf,SAAA,EAAW,0BAAA;EACX,KAAA,EAAO,2BAA2B;EAClC,KAAA;EACA,MAAA;EACA,KAAA;EACA,IAAA;AAAA;;;;UAMe,yCAAA;EACf,SAAA,EAAW,0BAAA;EACX,UAAA;EACA,KAAA,EAAO,qCAAqC;EAC5C,UAAA;EACA,IAAA;AAAA;;;;UAMe,uCAAA;EACf,SAAA,EAAW,0BAAA;EACX,KAAA,EAAO,mCAAmC;EAC1C,UAAA;EACA,IAAA;AAAA;;;AAVI;UAgBW,mCAAA;EACf,MAAA,EAAQ,oBAAA;EACR,SAAA;EACA,SAAA;EACA,UAAA;EACA,YAAA;EACA,YAAA;EACA,aAAA;EACA,MAAA,EAAQ,0BAA0B;EAClC,IAAA;AAAA;AAfI;AAMN;;AANM,UAqBW,iCAAA;EACf,OAAA;EACA,cAAA;EACA,eAAA;EACA,SAAA,EAAW,eAAA;EACX,UAAA;EACA,SAAA;EACA,MAAA;EACA,gBAAA;EACA,YAAA;EACA,WAAA;EACA,IAAA;EACA,MAAA;EACA,OAAA;EACA,UAAA;EACA,QAAA,EAAU,cAAc;EACxB,IAAA;AAAA;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ACf,SAAA;EACA,MAAA;EACA,MAAA;EACA,KAAA,EAAO,iBAAA;EACP,SAAA,EAAW,0BAA0B;EACrC,UAAA;EACA,aAAA;EACA,IAAA;AAAA;;;;UAMe,iCAAA;EACf,SAAA,EAAW,wBAAwB;EACnC,UAAA;EACA,aAAA;EACA,IAAA;AAAA;AA5DI;AAMN;;;AANM,iBAmEU,6BAAA,CACd,IAAA,YACC,IAAA,IAAQ,2BAA2B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"serverQueryTypes-d03JU0mr.d.cts","names":[],"sources":["../src/types/src/types/serverQueryTypes.ts"],"mappings":";;;;;;AAuCA;;;;;UAAiB,2BAAA;EACf,KAAA;IACE,IAAA,EAAM,eAAe;IACrB,OAAA;IACA,SAAA;EAAA;AAAA;;;;UAOa,2BAAA;EACf,OAAA,EAAS,kBAAkB;EAC3B,KAAA;EACA,IAAA;AAAA;AAAI;AAMN;;AANM,UAMW,wBAAA;EACf,OAAA,EAAS,eAAe;EACxB,UAAA;EACA,IAAA;AAAA;;;AAAI;KAMM,kCAAA,GAAqC,wBAAwB;;;;UAKxD,gCAAA;EACf,KAAA,EAAO,uBAAuB;EAC9B,IAAA;AAAA;;;;UAMe,+BAAA;EACf,SAAA,EAAW,0BAAA;EACX,KAAA,EAAO,2BAA2B;EAClC,KAAA;EACA,MAAA;EACA,KAAA;EACA,IAAA;AAAA;;;;UAMe,yCAAA;EACf,SAAA,EAAW,0BAAA;EACX,UAAA;EACA,KAAA,EAAO,qCAAqC;EAC5C,UAAA;EACA,IAAA;AAAA;;;;UAMe,uCAAA;EACf,SAAA,EAAW,0BAAA;EACX,KAAA,EAAO,mCAAmC;EAC1C,UAAA;EACA,IAAA;AAAA;;;AAVI;UAgBW,mCAAA;EACf,MAAA,EAAQ,oBAAA;EACR,SAAA;EACA,SAAA;EACA,UAAA;EACA,YAAA;EACA,YAAA;EACA,aAAA;EACA,MAAA,EAAQ,0BAA0B;EAClC,IAAA;AAAA;AAfI;AAMN;;AANM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