@nadohq/nuanze-client 0.43.0 → 0.44.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 (67) hide show
  1. package/README.md +21 -0
  2. package/dist/{NuanzeClient-uL24b7LV.cjs → NuanzeClient-C707zWgg.cjs} +56 -47
  3. package/dist/NuanzeClient-C707zWgg.cjs.map +1 -0
  4. package/dist/NuanzeClient.cjs +1 -1
  5. package/dist/NuanzeClient.d.cts +46 -37
  6. package/dist/NuanzeClient.d.cts.map +1 -1
  7. package/dist/NuanzeClient.d.ts +46 -37
  8. package/dist/NuanzeClient.d.ts.map +1 -1
  9. package/dist/NuanzeClient.js +55 -46
  10. package/dist/NuanzeClient.js.map +1 -1
  11. package/dist/{NuanzeServerFailureError-DQ_Nf2c4.d.ts → NuanzeServerFailureError-BS6Gvwoy.d.ts} +2 -2
  12. package/dist/{NuanzeServerFailureError-DQ_Nf2c4.d.ts.map → NuanzeServerFailureError-BS6Gvwoy.d.ts.map} +1 -1
  13. package/dist/{NuanzeServerFailureError-BPgOv2fb.d.cts → NuanzeServerFailureError-Bn2iKpoY.d.cts} +2 -2
  14. package/dist/{NuanzeServerFailureError-BPgOv2fb.d.cts.map → NuanzeServerFailureError-Bn2iKpoY.d.cts.map} +1 -1
  15. package/dist/{clientModelTypes-BypVSi04.d.ts → clientModelTypes-CreYRHbE.d.ts} +4 -4
  16. package/dist/{clientModelTypes-BypVSi04.d.ts.map → clientModelTypes-CreYRHbE.d.ts.map} +1 -1
  17. package/dist/{clientModelTypes-QGu6fZtg.d.cts → clientModelTypes-DyNrbcyr.d.cts} +4 -4
  18. package/dist/{clientModelTypes-QGu6fZtg.d.cts.map → clientModelTypes-DyNrbcyr.d.cts.map} +1 -1
  19. package/dist/{clientTypes-DxWzvYkG.d.ts → clientTypes-BAfxfhmA.d.cts} +57 -74
  20. package/dist/clientTypes-BAfxfhmA.d.cts.map +1 -0
  21. package/dist/{clientTypes-BeCLgtYs.d.cts → clientTypes-vIgldUM_.d.ts} +57 -74
  22. package/dist/clientTypes-vIgldUM_.d.ts.map +1 -0
  23. package/dist/dataMappers.cjs +2 -2
  24. package/dist/dataMappers.cjs.map +1 -1
  25. package/dist/dataMappers.d.cts +4 -4
  26. package/dist/dataMappers.d.ts +4 -4
  27. package/dist/dataMappers.js +1 -1
  28. package/dist/dataMappers.js.map +1 -1
  29. package/dist/index.cjs +1 -1
  30. package/dist/index.d.cts +6 -6
  31. package/dist/index.d.ts +6 -6
  32. package/dist/{serverModelTypes-6Yh2CDPU.d.ts → serverModelTypes-DL_58zos.d.ts} +4 -4
  33. package/dist/{serverModelTypes-6Yh2CDPU.d.ts.map → serverModelTypes-DL_58zos.d.ts.map} +1 -1
  34. package/dist/{serverModelTypes-Boq1Oei1.d.cts → serverModelTypes-DUggGfPj.d.cts} +4 -4
  35. package/dist/{serverModelTypes-Boq1Oei1.d.cts.map → serverModelTypes-DUggGfPj.d.cts.map} +1 -1
  36. package/dist/{serverQueryTypes-ExbYAkBm.d.ts → serverQueryTypes-D8xcBytZ.d.ts} +11 -7
  37. package/dist/serverQueryTypes-D8xcBytZ.d.ts.map +1 -0
  38. package/dist/{serverQueryTypes-FSvlSr7y.d.cts → serverQueryTypes-wuju0Njg.d.cts} +11 -7
  39. package/dist/serverQueryTypes-wuju0Njg.d.cts.map +1 -0
  40. package/dist/types/NuanzeServerFailureError.d.cts +1 -1
  41. package/dist/types/NuanzeServerFailureError.d.ts +1 -1
  42. package/dist/types/clientModelTypes.cjs.map +1 -1
  43. package/dist/types/clientModelTypes.d.cts +1 -1
  44. package/dist/types/clientModelTypes.d.ts +1 -1
  45. package/dist/types/clientModelTypes.js.map +1 -1
  46. package/dist/types/clientTypes.d.cts +2 -2
  47. package/dist/types/clientTypes.d.ts +2 -2
  48. package/dist/types/index.d.cts +6 -6
  49. package/dist/types/index.d.ts +6 -6
  50. package/dist/types/serverModelTypes.d.cts +1 -1
  51. package/dist/types/serverModelTypes.d.ts +1 -1
  52. package/dist/types/serverQueryTypes.cjs.map +1 -1
  53. package/dist/types/serverQueryTypes.d.cts +1 -1
  54. package/dist/types/serverQueryTypes.d.ts +1 -1
  55. package/dist/types/serverQueryTypes.js.map +1 -1
  56. package/package.json +3 -3
  57. package/src/NuanzeClient.ts +73 -57
  58. package/src/dataMappers.ts +1 -1
  59. package/src/types/clientModelTypes.ts +3 -6
  60. package/src/types/clientTypes.ts +43 -37
  61. package/src/types/serverModelTypes.ts +2 -5
  62. package/src/types/serverQueryTypes.ts +8 -4
  63. package/dist/NuanzeClient-uL24b7LV.cjs.map +0 -1
  64. package/dist/clientTypes-BeCLgtYs.d.cts.map +0 -1
  65. package/dist/clientTypes-DxWzvYkG.d.ts.map +0 -1
  66. package/dist/serverQueryTypes-ExbYAkBm.d.ts.map +0 -1
  67. package/dist/serverQueryTypes-FSvlSr7y.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';
@@ -161,23 +162,20 @@ export class NuanzeClient {
161
162
  }
162
163
 
163
164
  /**
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.
165
+ * Resolves a market by {@link NuanzeMarketSelector}. Supply at least `ticker` or `productId`;
166
+ * when both are given, `productId` is used for the path segment and `ticker` is ignored.
167
+ * Ticker lookup is case-insensitive and accepts canonical tickers or legacy source symbols.
168
+ * An explicit unavailable venue returns `MARKET_NOT_FOUND`. With no venue, `strictVenue=true`
169
+ * returns `AMBIGUOUS_MARKET` for multi-venue assets; otherwise the primary venue is used.
168
170
  *
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.
171
+ * @throws {NuanzeServerFailureError} With `AMBIGUOUS_MARKET` or `BAD_REQUEST` on invalid
172
+ * selectors, and `MARKET_NOT_FOUND` when the selector does not resolve.
171
173
  */
172
174
  async getMarketByTicker(
173
175
  params: GetNuanzeMarketByTickerParams,
174
176
  ): Promise<GetNuanzeMarketByTickerResponse> {
175
- const { ticker, ...query } = params;
176
177
  return mapNuanzeMarketByTickerResponse(
177
- await this.getJson<NuanzeServerMarketByTickerResponse>(
178
- `/markets/${encodeURIComponent(ticker)}`,
179
- query,
180
- ),
178
+ await this.getMarketJson<NuanzeServerMarketByTickerResponse>(params),
181
179
  );
182
180
  }
183
181
 
@@ -216,9 +214,10 @@ export class NuanzeClient {
216
214
  }
217
215
 
218
216
  /**
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.
217
+ * Gets the global public leaderboard of subaccounts. Results are sorted by equity-basis account
218
+ * PnL descending with nulls last. Username and display name are null when unavailable.
219
+ * `globalRank` is independent of the active privacy and trading filters. Pagination uses a
220
+ * filter-bound opaque cursor.
222
221
  *
223
222
  * @throws {NuanzeServerFailureError} With `BAD_REQUEST`, `INVALID_CURSOR`, or
224
223
  * `CURSOR_FILTER_MISMATCH` when filters or the cursor are invalid.
@@ -310,43 +309,45 @@ export class NuanzeClient {
310
309
  }
311
310
 
312
311
  /**
313
- * Lists market trades: one taker-side row per match, sorted by `matchedAt` then `id` descending.
314
- * The exclusive cursor is bound to operation and normalized filters. `from` is inclusive and
315
- * `to` exclusive. Wallet identity is absent.
312
+ * Lists market trades for a {@link NuanzeMarketSelector}: one taker-side row per match, sorted
313
+ * by `matchedAt` then `id` descending. Supply at least `ticker` or `productId`; when both are
314
+ * given, `productId` is used for the path segment and `ticker` is ignored. The exclusive cursor
315
+ * is bound to operation and normalized filters. `from` is inclusive and `to` exclusive. Wallet
316
+ * identity is absent.
316
317
  *
317
- * @throws {NuanzeServerFailureError} With `AMBIGUOUS_MARKET`, `MARKET_SELECTOR_MISMATCH`,
318
- * `INVALID_CURSOR`, `CURSOR_FILTER_MISMATCH`, `RANGE_TOO_LARGE`, or `BAD_REQUEST` on invalid
319
- * input, and `MARKET_NOT_FOUND` when the ticker does not resolve.
318
+ * @throws {NuanzeServerFailureError} With `AMBIGUOUS_MARKET`, `INVALID_CURSOR`,
319
+ * `CURSOR_FILTER_MISMATCH`, `RANGE_TOO_LARGE`, or `BAD_REQUEST` on invalid input, and
320
+ * `MARKET_NOT_FOUND` when the selector does not resolve.
320
321
  */
321
322
  async getMarketTrades(
322
323
  params: GetNuanzeMarketTradesParams,
323
324
  ): Promise<GetNuanzeMarketTradesResponse> {
324
- const { ticker, ...query } = params;
325
325
  return mapNuanzeMarketTradesResponse(
326
- await this.getJson<NuanzeServerMarketTradesResponse>(
327
- `/markets/${encodeURIComponent(ticker)}/trades`,
328
- query,
326
+ await this.getMarketJson<NuanzeServerMarketTradesResponse>(
327
+ params,
328
+ '/trades',
329
329
  ),
330
330
  );
331
331
  }
332
332
 
333
333
  /**
334
- * Lists market candles. Source storage is 1h; 4h and 1d are UTC-aligned rollups and missing bars
335
- * are not interpolated. The newest `limit` matching bars are selected and returned
336
- * oldest-to-newest, at most 750, with no pagination. A current bucket has `complete=false`.
334
+ * Lists market candles for a {@link NuanzeMarketSelector}. Supply at least `ticker` or
335
+ * `productId`; when both are given, `productId` is used for the path segment and `ticker` is
336
+ * ignored. Source storage is 1h; 4h and 1d are UTC-aligned rollups and missing bars are not
337
+ * interpolated. The newest `limit` matching bars are selected and returned oldest-to-newest,
338
+ * at most 750, with no pagination. A current bucket has `complete=false`.
337
339
  *
338
340
  * @throws {NuanzeServerFailureError} With `UNSUPPORTED_INTERVAL`, `RANGE_TOO_LARGE`,
339
- * `AMBIGUOUS_MARKET`, `MARKET_SELECTOR_MISMATCH`, or `BAD_REQUEST` on invalid input, and
340
- * `MARKET_NOT_FOUND` when the ticker does not resolve.
341
+ * `AMBIGUOUS_MARKET`, or `BAD_REQUEST` on invalid input, and `MARKET_NOT_FOUND` when the
342
+ * selector does not resolve.
341
343
  */
342
344
  async getMarketCandles(
343
345
  params: GetNuanzeMarketCandlesParams,
344
346
  ): Promise<GetNuanzeMarketCandlesResponse> {
345
- const { ticker, ...query } = params;
346
347
  return mapNuanzeMarketCandlesResponse(
347
- await this.getJson<NuanzeServerMarketCandlesResponse>(
348
- `/markets/${encodeURIComponent(ticker)}/candles`,
349
- query,
348
+ await this.getMarketJson<NuanzeServerMarketCandlesResponse>(
349
+ params,
350
+ '/candles',
350
351
  ),
351
352
  );
352
353
  }
@@ -462,46 +463,46 @@ export class NuanzeClient {
462
463
  }
463
464
 
464
465
  /**
465
- * Gets privacy-preserving aggregate positioning for an active perpetual. Cross and isolated legs
466
- * are summed within owner/subaccount/product before direction classification. Every cell requires
467
- * at least 20 distinct contributing owners. No identity, individual position, entry price, PnL,
468
- * margin, or leverage fields are returned.
466
+ * Gets privacy-preserving aggregate positioning for an active perpetual identified by
467
+ * {@link NuanzeMarketSelector}. Supply at least `ticker` or `productId`; when both are given,
468
+ * `productId` is used for the path segment and `ticker` is ignored. Cross and isolated legs
469
+ * are summed within owner/subaccount/product before direction classification. Every cell
470
+ * requires at least 20 distinct contributing owners. No identity, individual position, entry
471
+ * price, PnL, margin, or leverage fields are returned.
469
472
  *
470
- * @throws {NuanzeServerFailureError} With `AMBIGUOUS_MARKET`, `MARKET_SELECTOR_MISMATCH`, or
471
- * `BAD_REQUEST` on invalid input, and `MARKET_NOT_FOUND` when the ticker does not resolve to a
472
- * perp.
473
+ * @throws {NuanzeServerFailureError} With `AMBIGUOUS_MARKET` or `BAD_REQUEST` on invalid input,
474
+ * and `MARKET_NOT_FOUND` when the selector does not resolve to a perp.
473
475
  */
474
476
  async getMarketPositioning(
475
477
  params: GetNuanzeMarketPositioningParams,
476
478
  ): Promise<GetNuanzeMarketPositioningResponse> {
477
- const { ticker, ...query } = params;
478
479
  return mapNuanzeMarketPositioningResponse(
479
- await this.getJson<NuanzeServerMarketPositioningResponse>(
480
- `/markets/${encodeURIComponent(ticker)}/positioning`,
481
- query,
480
+ await this.getMarketJson<NuanzeServerMarketPositioningResponse>(
481
+ params,
482
+ '/positioning',
482
483
  ),
483
484
  );
484
485
  }
485
486
 
486
487
  /**
487
- * Lists open perpetual position legs for the resolved market. Results default to absolute
488
- * notional descending and can be ordered by signed unrealized PnL or absolute base amount in
489
- * either direction. Spot markets are not supported. Legs below $10 absolute notional are excluded.
490
- * Wallet addresses, nullable synced usernames and display names, and signed exact base amounts
491
- * are returned.
488
+ * Lists open perpetual position legs for a market identified by {@link NuanzeMarketSelector}.
489
+ * Supply at least `ticker` or `productId`; when both are given, `productId` is used for the
490
+ * path segment and `ticker` is ignored. Results default to absolute notional descending and
491
+ * can be ordered by signed unrealized PnL or absolute base amount in either direction. Spot
492
+ * markets are not supported. Legs below $10 absolute notional are excluded. Wallet addresses,
493
+ * nullable synced usernames and display names, and signed exact base amounts are returned.
492
494
  *
493
- * @throws {NuanzeServerFailureError} With `AMBIGUOUS_MARKET`, `MARKET_SELECTOR_MISMATCH`,
494
- * `INVALID_CURSOR`, `CURSOR_FILTER_MISMATCH`, or `BAD_REQUEST` on invalid input, and
495
- * `MARKET_NOT_FOUND` when the ticker does not resolve to a perp.
495
+ * @throws {NuanzeServerFailureError} With `AMBIGUOUS_MARKET`, `INVALID_CURSOR`,
496
+ * `CURSOR_FILTER_MISMATCH`, or `BAD_REQUEST` on invalid input, and `MARKET_NOT_FOUND` when the
497
+ * selector does not resolve to a perp.
496
498
  */
497
499
  async getMarketPositions(
498
500
  params: GetNuanzeMarketPositionsParams,
499
501
  ): Promise<GetNuanzeMarketPositionsResponse> {
500
- const { ticker, ...query } = params;
501
502
  return mapNuanzeMarketPositionsResponse(
502
- await this.getJson<NuanzeServerMarketPositionsResponse>(
503
- `/markets/${encodeURIComponent(ticker)}/positions`,
504
- query,
503
+ await this.getMarketJson<NuanzeServerMarketPositionsResponse>(
504
+ params,
505
+ '/positions',
505
506
  ),
506
507
  );
507
508
  }
@@ -511,7 +512,7 @@ export class NuanzeClient {
511
512
  * Descending returns the largest gainers and ascending returns the largest losers. This is a
512
513
  * latest indexed snapshot with no timeframe. Legs below $10 absolute notional are excluded.
513
514
  * Private subaccounts are excluded unless `includePrivate=true`. Each row includes market
514
- * identity and its source snapshot timestamp.
515
+ * identity, nullable synced username and display name, and its source snapshot timestamp.
515
516
  *
516
517
  * @throws {NuanzeServerFailureError} With `INVALID_CURSOR`, `CURSOR_FILTER_MISMATCH`, or
517
518
  * `BAD_REQUEST` when the query or cursor is invalid.
@@ -534,6 +535,21 @@ export class NuanzeClient {
534
535
  return this.requestJson<T>(path, { params });
535
536
  }
536
537
 
538
+ private async getMarketJson<T>(
539
+ params: NuanzeMarketSelector & object,
540
+ suffix = '',
541
+ ): Promise<T> {
542
+ const { productId, ticker, ...query } = params;
543
+ const selector = productId ?? ticker;
544
+ if (selector === undefined) {
545
+ throw new Error('A market ticker or productId is required.');
546
+ }
547
+ return this.getJson<T>(
548
+ `/markets/${encodeURIComponent(selector.toString())}${suffix}`,
549
+ query,
550
+ );
551
+ }
552
+
537
553
  private async requestJson<T>(
538
554
  path: string,
539
555
  config: { params?: object } = {},
@@ -927,7 +927,7 @@ export function mapNuanzeOpenPosition(
927
927
  ticker: server.ticker,
928
928
  venue: server.venue,
929
929
  snapshotAt: server.snapshotAt,
930
- ...mapNuanzePositionBase(server),
930
+ ...mapNuanzeMarketPosition(server),
931
931
  };
932
932
  }
933
933
 
@@ -704,8 +704,8 @@ export interface NuanzeSubaccountLeaderboardItem {
704
704
  * Lowercase bytes32 subaccount hex (owner + name), the SDK `subaccountToHex` form.
705
705
  */
706
706
  subaccountHex: string;
707
- /** Canonical username claimed by this subaccount. */
708
- username: string;
707
+ /** Canonical username, or null when the subaccount has not claimed one. */
708
+ username: string | null;
709
709
  /** User-facing display name, or null when unavailable. */
710
710
  displayName: string | null;
711
711
  /**
@@ -868,10 +868,7 @@ export interface NuanzeMarketPosition {
868
868
  /**
869
869
  * Current open perpetual position leg in the global signed-unrealized-PnL ranking.
870
870
  */
871
- export interface NuanzeOpenPosition extends Omit<
872
- NuanzeMarketPosition,
873
- 'username' | 'displayName'
874
- > {
871
+ export interface NuanzeOpenPosition extends NuanzeMarketPosition {
875
872
  /** Public product ID for this row's market. */
876
873
  productId: number;
877
874
  /** Canonical market ticker. */
@@ -97,15 +97,35 @@ export interface GetNuanzeNewsResponse {
97
97
  }
98
98
 
99
99
  /**
100
- * Params for `NuanzeClient.getMarketByTicker`.
101
- */
102
- export interface GetNuanzeMarketByTickerParams {
103
- /** Case-insensitive canonical ticker or accepted legacy source symbol. */
104
- ticker: string;
100
+ * Selects a market for scoped GET operations under `/markets/{ticker}`. The `{ticker}` path
101
+ * segment accepts a canonical ticker, legacy source symbol, or numeric product ID. At least one
102
+ * of `ticker` or `productId` is required. When both are supplied, `productId` is encoded as the
103
+ * path segment and `ticker` is ignored (neither field is sent as a query parameter).
104
+ */
105
+ export type NuanzeMarketSelector =
106
+ | {
107
+ /**
108
+ * Canonical ticker or legacy source symbol. Case-insensitive. Used as the path segment when
109
+ * `productId` is omitted; ignored when `productId` is supplied.
110
+ */
111
+ ticker: string;
112
+ /**
113
+ * Public product ID. When supplied, used as the path segment and `ticker` is ignored.
114
+ */
115
+ productId?: number;
116
+ }
117
+ | {
118
+ ticker?: string;
119
+ /** Public product ID used as the path segment. */
120
+ productId: number;
121
+ };
122
+
123
+ /**
124
+ * Params for `NuanzeClient.getMarketByTicker`. Requires {@link NuanzeMarketSelector}.
125
+ */
126
+ export type GetNuanzeMarketByTickerParams = NuanzeMarketSelector & {
105
127
  /** Restrict to one venue. Omit to use the asset's primary venue. */
106
128
  venue?: NuanzeMarketVenue;
107
- /** Pin an exact product; must match ticker and venue. */
108
- productId?: number;
109
129
  /**
110
130
  * When true and `venue` is omitted, reject a multi-venue canonical ticker with
111
131
  * `AMBIGUOUS_MARKET`. Default false.
@@ -113,7 +133,7 @@ export interface GetNuanzeMarketByTickerParams {
113
133
  strictVenue?: boolean;
114
134
  /** Max published stories to include, 1-30, default 12. */
115
135
  newsLimit?: number;
116
- }
136
+ };
117
137
 
118
138
  /**
119
139
  * Response of `NuanzeClient.getMarketByTicker`.
@@ -195,7 +215,7 @@ export interface GetNuanzeSubaccountLeaderboardParams {
195
215
  export interface GetNuanzeSubaccountLeaderboardResponse {
196
216
  /** Echoed timeframe. */
197
217
  timeframe: NuanzeLeaderboardTimeframe;
198
- /** Total username-claimed subaccounts matching the active filters. */
218
+ /** Total subaccounts matching the active filters. */
199
219
  totalCount: number;
200
220
  /** Ranked rows for this page. */
201
221
  items: NuanzeSubaccountLeaderboardItem[];
@@ -356,15 +376,11 @@ export interface GetNuanzeWalletPositionsResponse {
356
376
  }
357
377
 
358
378
  /**
359
- * Params for `NuanzeClient.getMarketTrades`.
379
+ * Params for `NuanzeClient.getMarketTrades`. Requires {@link NuanzeMarketSelector}.
360
380
  */
361
- export interface GetNuanzeMarketTradesParams {
362
- /** Case-insensitive canonical ticker or accepted legacy source symbol. */
363
- ticker: string;
381
+ export type GetNuanzeMarketTradesParams = NuanzeMarketSelector & {
364
382
  /** Restrict to one venue. Omit to use the asset's primary venue. */
365
383
  venue?: NuanzeMarketVenue;
366
- /** Pin an exact product; must match ticker and venue. */
367
- productId?: number;
368
384
  /**
369
385
  * When true and `venue` is omitted, reject a multi-venue canonical ticker with
370
386
  * `AMBIGUOUS_MARKET`. Default false.
@@ -378,7 +394,7 @@ export interface GetNuanzeMarketTradesParams {
378
394
  to?: string;
379
395
  /** Opaque exclusive cursor bound to the normalized filters. */
380
396
  cursor?: string;
381
- }
397
+ };
382
398
 
383
399
  /**
384
400
  * Response of `NuanzeClient.getMarketTrades`.
@@ -401,15 +417,11 @@ export interface GetNuanzeMarketTradesResponse {
401
417
  }
402
418
 
403
419
  /**
404
- * Params for `NuanzeClient.getMarketCandles`.
420
+ * Params for `NuanzeClient.getMarketCandles`. Requires {@link NuanzeMarketSelector}.
405
421
  */
406
- export interface GetNuanzeMarketCandlesParams {
407
- /** Case-insensitive canonical ticker or accepted legacy source symbol. */
408
- ticker: string;
422
+ export type GetNuanzeMarketCandlesParams = NuanzeMarketSelector & {
409
423
  /** Restrict to one venue. Omit to use the asset's primary venue. */
410
424
  venue?: NuanzeMarketVenue;
411
- /** Pin an exact product; must match ticker and venue. */
412
- productId?: number;
413
425
  /**
414
426
  * When true and `venue` is omitted, reject a multi-venue canonical ticker with
415
427
  * `AMBIGUOUS_MARKET`. Default false.
@@ -423,7 +435,7 @@ export interface GetNuanzeMarketCandlesParams {
423
435
  to?: string;
424
436
  /** Newest matching bars to return, 1-750, default 200. Returned oldest-to-newest. */
425
437
  limit?: number;
426
- }
438
+ };
427
439
 
428
440
  /**
429
441
  * Response of `NuanzeClient.getMarketCandles`.
@@ -662,15 +674,12 @@ export interface GetNuanzeCollateralFlowSeriesResponse {
662
674
  }
663
675
 
664
676
  /**
665
- * Params for `NuanzeClient.getMarketPositioning`. Resolves only an active perpetual.
677
+ * Params for `NuanzeClient.getMarketPositioning`. Requires {@link NuanzeMarketSelector}. Resolves
678
+ * only an active perpetual.
666
679
  */
667
- export interface GetNuanzeMarketPositioningParams {
668
- /** Case-insensitive canonical ticker or accepted legacy source symbol. */
669
- ticker: string;
680
+ export type GetNuanzeMarketPositioningParams = NuanzeMarketSelector & {
670
681
  /** If supplied, only `perp` is valid. */
671
682
  venue?: 'perp';
672
- /** Pin an exact product; must match ticker and venue. */
673
- productId?: number;
674
683
  /**
675
684
  * When true and `venue` is omitted, reject a multi-venue canonical ticker with
676
685
  * `AMBIGUOUS_MARKET`. Default false.
@@ -680,7 +689,7 @@ export interface GetNuanzeMarketPositioningParams {
680
689
  groupBy?: NuanzePositioningGroupBy;
681
690
  /** Inclusion threshold as a USD string, default `'10'`. */
682
691
  minPositionUsd?: NuanzeMinPositionUsd;
683
- }
692
+ };
684
693
 
685
694
  /**
686
695
  * Response of `NuanzeClient.getMarketPositioning`. Discriminated by `groupBy`.
@@ -691,15 +700,12 @@ export type GetNuanzeMarketPositioningResponse =
691
700
  | NuanzeMarketPositioningNotionalBucketResponse;
692
701
 
693
702
  /**
694
- * Params for `NuanzeClient.getMarketPositions`. Resolves only an active perpetual.
703
+ * Params for `NuanzeClient.getMarketPositions`. Requires {@link NuanzeMarketSelector}. Resolves
704
+ * only an active perpetual.
695
705
  */
696
- export interface GetNuanzeMarketPositionsParams {
697
- /** Case-insensitive canonical ticker or accepted legacy source symbol. */
698
- ticker: string;
706
+ export type GetNuanzeMarketPositionsParams = NuanzeMarketSelector & {
699
707
  /** If supplied, only `perp` is valid. */
700
708
  venue?: 'perp';
701
- /** Pin an exact product; must match ticker and venue. */
702
- productId?: number;
703
709
  /** Page size, 1-200, default 50. */
704
710
  limit?: number;
705
711
  /**
@@ -711,7 +717,7 @@ export interface GetNuanzeMarketPositionsParams {
711
717
  sortDirection?: NuanzeMarketPositionSortDirection;
712
718
  /** Opaque exclusive cursor bound to the resolved product. */
713
719
  cursor?: string;
714
- }
720
+ };
715
721
 
716
722
  /**
717
723
  * Response of `NuanzeClient.getMarketPositions`.
@@ -189,7 +189,7 @@ export interface NuanzeServerFollowedLeaderboardItem {
189
189
  */
190
190
  export interface NuanzeServerSubaccountLeaderboardItem {
191
191
  subaccountHex: string;
192
- username: string;
192
+ username: string | null;
193
193
  displayName: string | null;
194
194
  pnl: string | null;
195
195
  wins: number;
@@ -265,10 +265,7 @@ export interface NuanzeServerMarketPosition {
265
265
  /**
266
266
  * Globally ranked current open position leg as returned on the wire.
267
267
  */
268
- export interface NuanzeServerOpenPosition extends Omit<
269
- NuanzeServerMarketPosition,
270
- 'username' | 'displayName'
271
- > {
268
+ export interface NuanzeServerOpenPosition extends NuanzeServerMarketPosition {
272
269
  productId: number;
273
270
  ticker: string;
274
271
  venue: 'perp';
@@ -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-uL24b7LV.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 username-claimed subaccounts. Results are sorted by\n * equity-basis account PnL descending with nulls last. `globalRank` is independent of the active\n * privacy and trading filters. Pagination uses a 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 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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AAA,YACC,IAAA,IAAQ,2BAA2B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"serverQueryTypes-FSvlSr7y.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,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;;;;UAMe,mCAAA;EACf,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