@nadohq/mobile-client 0.63.0 → 0.65.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 (177) hide show
  1. package/README.md +20 -2
  2. package/dist/{MobileClient-aDxiM_Kf.cjs → MobileClient-CfVZXTcz.cjs} +298 -1
  3. package/dist/MobileClient-CfVZXTcz.cjs.map +1 -0
  4. package/dist/MobileClient.cjs +1 -1
  5. package/dist/MobileClient.d.cts +173 -7
  6. package/dist/MobileClient.d.cts.map +1 -1
  7. package/dist/MobileClient.d.ts +173 -7
  8. package/dist/MobileClient.d.ts.map +1 -1
  9. package/dist/MobileClient.js +298 -1
  10. package/dist/MobileClient.js.map +1 -1
  11. package/dist/{MobileServerFailureError-Dd3c6P_Z.d.ts → MobileServerFailureError-BZVwlsMg.d.ts} +3 -3
  12. package/dist/{MobileServerFailureError-Dd3c6P_Z.d.ts.map → MobileServerFailureError-BZVwlsMg.d.ts.map} +1 -1
  13. package/dist/{MobileServerFailureError-Bpa_WA9f.d.cts → MobileServerFailureError-CbtK8kD4.d.cts} +3 -3
  14. package/dist/{MobileServerFailureError-Bpa_WA9f.d.cts.map → MobileServerFailureError-CbtK8kD4.d.cts.map} +1 -1
  15. package/dist/MobileUnsupportedFeedItemError-BsZvW8i2.d.cts +15 -0
  16. package/dist/MobileUnsupportedFeedItemError-BsZvW8i2.d.cts.map +1 -0
  17. package/dist/MobileUnsupportedFeedItemError-BsZvW8i2.d.ts +15 -0
  18. package/dist/MobileUnsupportedFeedItemError-BsZvW8i2.d.ts.map +1 -0
  19. package/dist/{buildSignedMobileRequest-NHbMAPzd.d.cts → buildSignedMobileRequest-C1v0flCR.d.cts} +2 -2
  20. package/dist/{buildSignedMobileRequest-NHbMAPzd.d.cts.map → buildSignedMobileRequest-C1v0flCR.d.cts.map} +1 -1
  21. package/dist/{buildSignedMobileRequest-Cb1T74xV.d.ts → buildSignedMobileRequest-UeeWdYGU.d.ts} +2 -2
  22. package/dist/{buildSignedMobileRequest-Cb1T74xV.d.ts.map → buildSignedMobileRequest-UeeWdYGU.d.ts.map} +1 -1
  23. package/dist/{canonicalize-BBYGh17w.d.ts → canonicalize-5eeZrkzQ.d.ts} +2 -2
  24. package/dist/canonicalize-5eeZrkzQ.d.ts.map +1 -0
  25. package/dist/{canonicalize-BF_SiNvO.d.cts → canonicalize-CBaZprTo.d.cts} +2 -2
  26. package/dist/canonicalize-CBaZprTo.d.cts.map +1 -0
  27. package/dist/{clientTypes-BWFKo9oE.d.cts → clientTypes-C9dJufxk.d.ts} +569 -25
  28. package/dist/clientTypes-C9dJufxk.d.ts.map +1 -0
  29. package/dist/{clientTypes-DCTiUV0H.d.ts → clientTypes-_mEgzmNs.d.cts} +569 -25
  30. package/dist/clientTypes-_mEgzmNs.d.cts.map +1 -0
  31. package/dist/dataMappers.cjs +488 -9
  32. package/dist/dataMappers.cjs.map +1 -1
  33. package/dist/dataMappers.d.cts +190 -7
  34. package/dist/dataMappers.d.cts.map +1 -1
  35. package/dist/dataMappers.d.ts +190 -7
  36. package/dist/dataMappers.d.ts.map +1 -1
  37. package/dist/dataMappers.js +460 -10
  38. package/dist/dataMappers.js.map +1 -1
  39. package/dist/{eip712MethodByType-BSx11xG-.d.cts → eip712MethodByType-D8jLoxDu.d.cts} +2 -2
  40. package/dist/eip712MethodByType-D8jLoxDu.d.cts.map +1 -0
  41. package/dist/{eip712MethodByType-DkiAjCLs.d.ts → eip712MethodByType-DcUh8h-l.d.ts} +2 -2
  42. package/dist/eip712MethodByType-DcUh8h-l.d.ts.map +1 -0
  43. package/dist/index.cjs +3 -1
  44. package/dist/index.d.cts +16 -15
  45. package/dist/index.d.ts +16 -15
  46. package/dist/index.js +2 -1
  47. package/dist/{mobileErrorCodes-3LtreeZM.d.ts → mobileErrorCodes-CmjYEIYm.d.cts} +18 -4
  48. package/dist/mobileErrorCodes-CmjYEIYm.d.cts.map +1 -0
  49. package/dist/{mobileErrorCodes-3LtreeZM.d.cts → mobileErrorCodes-CmjYEIYm.d.ts} +18 -4
  50. package/dist/mobileErrorCodes-CmjYEIYm.d.ts.map +1 -0
  51. package/dist/{payloadHash-BOWGjqdb.d.cts → payloadHash-DhHmgRqL.d.cts} +2 -2
  52. package/dist/payloadHash-DhHmgRqL.d.cts.map +1 -0
  53. package/dist/{payloadHash-Bzf4CtjV.d.ts → payloadHash-E1_8fpLW.d.ts} +2 -2
  54. package/dist/payloadHash-E1_8fpLW.d.ts.map +1 -0
  55. package/dist/{serverBaseTypes-KREDe2M9.d.cts → serverBaseTypes-B5J1_TyC.d.cts} +2 -2
  56. package/dist/{serverBaseTypes-KREDe2M9.d.cts.map → serverBaseTypes-B5J1_TyC.d.cts.map} +1 -1
  57. package/dist/{serverBaseTypes-DWf3iGWy.d.ts → serverBaseTypes-DnLzsdm-.d.ts} +2 -2
  58. package/dist/{serverBaseTypes-DWf3iGWy.d.ts.map → serverBaseTypes-DnLzsdm-.d.ts.map} +1 -1
  59. package/dist/serverExecuteTypes-B-OJok19.d.cts +162 -0
  60. package/dist/serverExecuteTypes-B-OJok19.d.cts.map +1 -0
  61. package/dist/serverExecuteTypes-BwWGspOg.d.ts +162 -0
  62. package/dist/serverExecuteTypes-BwWGspOg.d.ts.map +1 -0
  63. package/dist/{serverModelTypes-DAqEyYtB.d.cts → serverModelTypes-CiA-dy1R.d.cts} +299 -24
  64. package/dist/serverModelTypes-CiA-dy1R.d.cts.map +1 -0
  65. package/dist/{serverModelTypes-DAqEyYtB.d.ts → serverModelTypes-CiA-dy1R.d.ts} +299 -24
  66. package/dist/serverModelTypes-CiA-dy1R.d.ts.map +1 -0
  67. package/dist/{serverQueryTypes-DNdMpmDr.d.cts → serverQueryTypes-CJcjLB7n.d.ts} +117 -5
  68. package/dist/serverQueryTypes-CJcjLB7n.d.ts.map +1 -0
  69. package/dist/{serverQueryTypes-BFdwq0Z2.d.ts → serverQueryTypes-V1f9yE7L.d.cts} +117 -5
  70. package/dist/serverQueryTypes-V1f9yE7L.d.cts.map +1 -0
  71. package/dist/{serverRequestTypes-CxDRFKfv.d.cts → serverRequestTypes-CRlkNSu5.d.cts} +77 -7
  72. package/dist/serverRequestTypes-CRlkNSu5.d.cts.map +1 -0
  73. package/dist/{serverRequestTypes-BNA7FCY6.d.ts → serverRequestTypes-DZoOhV2o.d.ts} +77 -7
  74. package/dist/serverRequestTypes-DZoOhV2o.d.ts.map +1 -0
  75. package/dist/{serverResponseGuards-Dkdok0Sm.d.cts → serverResponseGuards-BW69PS7O.d.cts} +2 -2
  76. package/dist/{serverResponseGuards-Dkdok0Sm.d.cts.map → serverResponseGuards-BW69PS7O.d.cts.map} +1 -1
  77. package/dist/{serverResponseGuards-BU1Xv_tG.d.ts → serverResponseGuards-CShiXpHT.d.ts} +2 -2
  78. package/dist/{serverResponseGuards-BU1Xv_tG.d.ts.map → serverResponseGuards-CShiXpHT.d.ts.map} +1 -1
  79. package/dist/signing/buildSignedMobileRequest.d.cts +1 -1
  80. package/dist/signing/buildSignedMobileRequest.d.ts +1 -1
  81. package/dist/signing/canonicalize.cjs +37 -0
  82. package/dist/signing/canonicalize.cjs.map +1 -1
  83. package/dist/signing/canonicalize.d.cts +1 -1
  84. package/dist/signing/canonicalize.d.ts +1 -1
  85. package/dist/signing/canonicalize.js +37 -0
  86. package/dist/signing/canonicalize.js.map +1 -1
  87. package/dist/signing/eip712MethodByType.cjs +5 -0
  88. package/dist/signing/eip712MethodByType.cjs.map +1 -1
  89. package/dist/signing/eip712MethodByType.d.cts +1 -1
  90. package/dist/signing/eip712MethodByType.d.ts +1 -1
  91. package/dist/signing/eip712MethodByType.js +5 -0
  92. package/dist/signing/eip712MethodByType.js.map +1 -1
  93. package/dist/signing/index.d.cts +5 -5
  94. package/dist/signing/index.d.ts +5 -5
  95. package/dist/signing/payloadHash.d.cts +1 -1
  96. package/dist/signing/payloadHash.d.ts +1 -1
  97. package/dist/signing/types.d.cts +1 -1
  98. package/dist/signing/types.d.ts +1 -1
  99. package/dist/types/MobileServerFailureError.d.cts +1 -1
  100. package/dist/types/MobileServerFailureError.d.ts +1 -1
  101. package/dist/types/MobileUnsupportedFeedItemError.cjs +19 -0
  102. package/dist/types/MobileUnsupportedFeedItemError.cjs.map +1 -0
  103. package/dist/types/MobileUnsupportedFeedItemError.d.cts +2 -0
  104. package/dist/types/MobileUnsupportedFeedItemError.d.ts +2 -0
  105. package/dist/types/MobileUnsupportedFeedItemError.js +18 -0
  106. package/dist/types/MobileUnsupportedFeedItemError.js.map +1 -0
  107. package/dist/types/clientTypes.d.cts +2 -2
  108. package/dist/types/clientTypes.d.ts +2 -2
  109. package/dist/types/index.cjs +2 -0
  110. package/dist/types/index.d.cts +10 -9
  111. package/dist/types/index.d.ts +10 -9
  112. package/dist/types/index.js +2 -1
  113. package/dist/types/mobileErrorCodes.cjs +28 -0
  114. package/dist/types/mobileErrorCodes.cjs.map +1 -1
  115. package/dist/types/mobileErrorCodes.d.cts +1 -1
  116. package/dist/types/mobileErrorCodes.d.ts +1 -1
  117. package/dist/types/mobileErrorCodes.js +28 -0
  118. package/dist/types/mobileErrorCodes.js.map +1 -1
  119. package/dist/types/serverBaseTypes.d.cts +1 -1
  120. package/dist/types/serverBaseTypes.d.ts +1 -1
  121. package/dist/types/serverExecuteTypes.d.cts +2 -2
  122. package/dist/types/serverExecuteTypes.d.ts +2 -2
  123. package/dist/types/serverModelTypes.cjs.map +1 -1
  124. package/dist/types/serverModelTypes.d.cts +2 -2
  125. package/dist/types/serverModelTypes.d.ts +2 -2
  126. package/dist/types/serverModelTypes.js.map +1 -1
  127. package/dist/types/serverQueryTypes.d.cts +2 -2
  128. package/dist/types/serverQueryTypes.d.ts +2 -2
  129. package/dist/types/serverRequestTypes.d.cts +1 -1
  130. package/dist/types/serverRequestTypes.d.ts +1 -1
  131. package/dist/{types-BCr2G5gS.d.cts → types-BiRmH5Iv.d.cts} +31 -7
  132. package/dist/types-BiRmH5Iv.d.cts.map +1 -0
  133. package/dist/{types-C18k-9Vy.d.ts → types-DoJuq0Ij.d.ts} +31 -7
  134. package/dist/types-DoJuq0Ij.d.ts.map +1 -0
  135. package/dist/utils/index.d.cts +1 -1
  136. package/dist/utils/index.d.ts +1 -1
  137. package/dist/utils/serverResponseGuards.d.cts +1 -1
  138. package/dist/utils/serverResponseGuards.d.ts +1 -1
  139. package/package.json +3 -3
  140. package/src/MobileClient.ts +409 -4
  141. package/src/dataMappers.test.ts +742 -0
  142. package/src/dataMappers.ts +671 -12
  143. package/src/signing/canonicalize.ts +53 -0
  144. package/src/signing/eip712MethodByType.ts +5 -0
  145. package/src/signing/signing.test.ts +347 -0
  146. package/src/signing/types.ts +57 -4
  147. package/src/types/MobileUnsupportedFeedItemError.ts +18 -0
  148. package/src/types/clientTypes.ts +645 -23
  149. package/src/types/index.ts +1 -0
  150. package/src/types/mobileErrorCodes.ts +28 -0
  151. package/src/types/serverExecuteTypes.ts +92 -3
  152. package/src/types/serverModelTypes.ts +376 -22
  153. package/src/types/serverQueryTypes.ts +138 -0
  154. package/src/types/serverRequestTypes.ts +115 -4
  155. package/dist/MobileClient-aDxiM_Kf.cjs.map +0 -1
  156. package/dist/canonicalize-BBYGh17w.d.ts.map +0 -1
  157. package/dist/canonicalize-BF_SiNvO.d.cts.map +0 -1
  158. package/dist/clientTypes-BWFKo9oE.d.cts.map +0 -1
  159. package/dist/clientTypes-DCTiUV0H.d.ts.map +0 -1
  160. package/dist/eip712MethodByType-BSx11xG-.d.cts.map +0 -1
  161. package/dist/eip712MethodByType-DkiAjCLs.d.ts.map +0 -1
  162. package/dist/mobileErrorCodes-3LtreeZM.d.cts.map +0 -1
  163. package/dist/mobileErrorCodes-3LtreeZM.d.ts.map +0 -1
  164. package/dist/payloadHash-BOWGjqdb.d.cts.map +0 -1
  165. package/dist/payloadHash-Bzf4CtjV.d.ts.map +0 -1
  166. package/dist/serverExecuteTypes-DVRa6ifu.d.cts +0 -89
  167. package/dist/serverExecuteTypes-DVRa6ifu.d.cts.map +0 -1
  168. package/dist/serverExecuteTypes-DlYZCp1f.d.ts +0 -89
  169. package/dist/serverExecuteTypes-DlYZCp1f.d.ts.map +0 -1
  170. package/dist/serverModelTypes-DAqEyYtB.d.cts.map +0 -1
  171. package/dist/serverModelTypes-DAqEyYtB.d.ts.map +0 -1
  172. package/dist/serverQueryTypes-BFdwq0Z2.d.ts.map +0 -1
  173. package/dist/serverQueryTypes-DNdMpmDr.d.cts.map +0 -1
  174. package/dist/serverRequestTypes-BNA7FCY6.d.ts.map +0 -1
  175. package/dist/serverRequestTypes-CxDRFKfv.d.cts.map +0 -1
  176. package/dist/types-BCr2G5gS.d.cts.map +0 -1
  177. package/dist/types-C18k-9Vy.d.ts.map +0 -1
@@ -215,7 +215,7 @@ type MobileSocialFeedTradeSizeChangeAction = 'increased' | 'reduced';
215
215
  /** Trading action represented by an automatic trade card. */
216
216
  type MobileSocialFeedTradeCardAction = 'opened' | 'closed' | MobileSocialFeedTradeSizeChangeAction;
217
217
  /** Whether a reading session was created for a list or a direct item. */
218
- type MobileSocialFeedReadSessionMode = 'feed' | 'item';
218
+ type MobileSocialFeedReadSessionMode = 'feed' | 'item' | 'position';
219
219
  /** Kind of feed update target. */
220
220
  type MobileSocialFeedTargetType = 'item' | 'position';
221
221
  /** Official account-level 30-day PnL badge, independent of position PnL. */
@@ -279,6 +279,8 @@ interface MobileServerSocialFeedPnl {
279
279
  }
280
280
  /** Complete mutable position fields delivered together at one version. */
281
281
  interface MobileServerSocialFeedPositionPatch {
282
+ /** Additional metrics for a position history session, when supplied. */
283
+ current_position?: MobileServerSocialFeedHistoryMetrics;
282
284
  /** Position lifecycle UUID. */
283
285
  position_id: string;
284
286
  /** Positive integer string; compare as integers without Number conversion. */
@@ -317,7 +319,7 @@ interface MobileServerSocialFeedPositionCard extends MobileServerSocialFeedPosit
317
319
  /** Position direction. */
318
320
  direction: MobileFeedTradePositionDirection;
319
321
  }
320
- /** Interaction counters; interaction writes are not currently available. */
322
+ /** Interaction counters and the viewing account's relationship state. */
321
323
  interface MobileServerSocialFeedInteraction {
322
324
  /** Number of likes. */
323
325
  like_count: number;
@@ -325,7 +327,7 @@ interface MobileServerSocialFeedInteraction {
325
327
  comment_count: number;
326
328
  /** Number of recorded views. */
327
329
  view_count: number;
328
- /** Null while likes are unavailable, including with a viewing account. */
330
+ /** Null when no viewing account is selected. */
329
331
  liked_by_me: boolean | null;
330
332
  }
331
333
  /** Capability flags for a social feed item. */
@@ -339,8 +341,8 @@ interface MobileServerSocialFeedCapabilities {
339
341
  }
340
342
  /** Comment preview metadata for a social trade card. */
341
343
  interface MobileServerSocialFeedCommentPreview {
342
- /** Currently empty. */
343
- items: never[];
344
+ /** Most recent readable replies. */
345
+ items: MobileServerSocialFeedReply[];
344
346
  /** Comment count. */
345
347
  total_count: number;
346
348
  /** Comment cursor, if available. */
@@ -373,14 +375,14 @@ interface MobileServerSocialFeedCohort {
373
375
  /** Coverage of all eligible candidate authors. */
374
376
  coverage: MobileServerSocialFeedCohortCoverage;
375
377
  }
376
- /** Metadata shared by the automatic trade cards and rows available from the social feed. */
378
+ /** Metadata shared by social feed content. */
377
379
  interface MobileServerSocialFeedItemBase {
378
380
  /** Item UUID. */
379
381
  id: string;
380
382
  /** Whether authored analysis exists. */
381
383
  has_analysis: boolean;
382
- /** Drawings are not currently available. */
383
- drawing: null;
384
+ /** Parsed drawing document, or null when no drawing is readable. */
385
+ drawing: MobileServerSocialFeedDrawing | null;
384
386
  /** Author identity, badge, and follow perspective. */
385
387
  author: MobileServerSocialFeedAuthor;
386
388
  /** Creation time in Unix milliseconds. */
@@ -391,26 +393,29 @@ interface MobileServerSocialFeedItemBase {
391
393
  version: string;
392
394
  /** Market metadata. */
393
395
  market: MobileServerSocialFeedMarket;
394
- /** Server capability flags; currently all false. */
396
+ /** Server capability flags, subject to the corresponding write switches. */
395
397
  capabilities: MobileServerSocialFeedCapabilities;
396
398
  }
397
- /** Automatic trade card returned by the social feed. */
398
- interface MobileServerSocialFeedTradeCard extends MobileServerSocialFeedItemBase {
399
- /** Card discriminant. */
400
- kind: 'trade_card';
401
- /** Trading action. */
402
- action: MobileSocialFeedTradeCardAction;
399
+ /** Content shared by authored posts and trade cards. */
400
+ interface MobileServerSocialFeedContentBase extends MobileServerSocialFeedItemBase {
403
401
  /** Card text, empty for automatic cards. */
404
402
  text: string;
405
- /** Automatic cards have no mentions. */
406
- mentions: never[];
403
+ /** Mentions in the original, unmodified text. */
404
+ mentions: MobileSocialFeedMention[];
407
405
  /** Current or frozen position display. */
408
406
  position: MobileServerSocialFeedPositionCard;
409
407
  /** Interaction counters. */
410
408
  interaction: MobileServerSocialFeedInteraction;
411
- /** Comment content is not currently available. */
409
+ /** Readable comment preview. */
412
410
  comment_preview: MobileServerSocialFeedCommentPreview;
413
411
  }
412
+ /** Trade card with optional authored text and analysis. */
413
+ interface MobileServerSocialFeedTradeCard extends MobileServerSocialFeedContentBase {
414
+ /** Card discriminant. */
415
+ kind: 'trade_card';
416
+ /** Trading action. */
417
+ action: MobileSocialFeedTradeCardAction;
418
+ }
414
419
  /** Fields shared by size-change and liquidation trade rows. */
415
420
  interface MobileServerSocialFeedTradeRowBase extends MobileServerSocialFeedItemBase {
416
421
  /** Row discriminant. */
@@ -444,17 +449,17 @@ type MobileServerSocialFeedTradeRow = MobileServerSocialFeedTradeRowBase & ({
444
449
  liquidation_execution_price_x18: string | null; /** Signed action PnL excluding ordinary fees/funding, or null. */
445
450
  realized_pnl_delta_x18: string | null;
446
451
  });
447
- /** Automatic feed content; excludes posts, replies, drawings, and interaction writes. */
448
- type MobileServerSocialFeedItem = MobileServerSocialFeedTradeCard | MobileServerSocialFeedTradeRow;
452
+ /** Discriminated social feed content. */
453
+ type MobileServerSocialFeedItem = MobileServerSocialFeedTradeCard | MobileServerSocialFeedTradeRow | MobileServerSocialFeedPost | MobileServerSocialFeedReply;
449
454
  /** Fixed-duration social feed reading session. Credentials and cursors must be returned unchanged. */
450
455
  interface MobileServerSocialFeedReadSession {
451
456
  /** Session identifier. */
452
457
  session_id: string;
453
- /** Feed or direct item session. */
458
+ /** Feed, item, or full position history session. */
454
459
  mode: MobileSocialFeedReadSessionMode;
455
460
  /** Fixed expiration time in Unix milliseconds; pagination does not extend it. */
456
461
  expires_at_ms: number;
457
- /** Exposure metadata only; recording is not available from the social feed. */
462
+ /** Visibility requirements for explicit exposure reporting. */
458
463
  view_tracking: MobileServerSocialFeedViewTracking;
459
464
  /** Initial update baseline, distinct from the page cursor. */
460
465
  update_cursor: string | null;
@@ -463,6 +468,10 @@ interface MobileServerSocialFeedReadSession {
463
468
  }
464
469
  /** Item delta: omitted means unchanged; explicit null clears a prior value. */
465
470
  interface MobileServerSocialFeedItemPatch {
471
+ /** Updated reply attachment; null clears it, omission leaves it unchanged. */
472
+ attached_position?: MobileServerSocialFeedPositionCard | null;
473
+ /** Updated reply attachment visibility. */
474
+ attachment_status?: MobileSocialFeedAttachmentStatus;
466
475
  /** Current author identity, follow state, and qualification badge. */
467
476
  author: MobileServerSocialFeedAuthor;
468
477
  /** Target item UUID. */
@@ -503,6 +512,272 @@ interface MobileSocialFeedUnavailableTarget {
503
512
  /** Uniform reason prevents leaking inaccessible content. */
504
513
  reason: 'unavailable';
505
514
  }
515
+ /** Readable state of a reply's position attachment. */
516
+ type MobileSocialFeedAttachmentStatus = 'none' | 'visible' | 'unavailable';
517
+ /** Supported chart candle intervals. */
518
+ type MobileSocialFeedChartInterval = '1m' | '5m' | '15m' | '1h' | '4h' | '1d';
519
+ /** Position lifecycle action. */
520
+ type MobileSocialFeedAction = MobileSocialFeedTradeCardAction | 'liquidated';
521
+ /** Result of resolving a position command. */
522
+ type MobileSocialFeedPositionResolution = 'resolved' | 'choose_position' | 'no_open_position' | 'unknown_market';
523
+ /** Resolution of a viewing account's trading targets. */
524
+ type MobileSocialFeedTradingResolution = 'no_viewing_account' | 'none' | 'unique' | 'choose_position' | 'unavailable';
525
+ /** Price source for a historical action marker. */
526
+ type MobileSocialFeedActionPriceBasis = 'execution' | 'liquidation_oracle';
527
+ /** Chart source completeness; wholly unavailable sources fail the request. */
528
+ type MobileSocialFeedChartDataQuality = 'ready' | 'partial';
529
+ /** Projection state of an order's authoritative action segments. */
530
+ type MobileSocialFeedActionResolution = 'ready' | 'pending';
531
+ /** Explanation for an empty position command result. */
532
+ type MobileSocialFeedPositionResolutionReason = 'no_open_position' | 'unknown_market';
533
+ /** Reason an action cannot be published. */
534
+ type MobileSocialFeedActionUnavailableReason = 'position_closed' | 'already_published' | 'unavailable';
535
+ /** Availability of an estimated liquidation price. */
536
+ type MobileSocialFeedLiquidationPriceQuality = MobileSocialFeedPnlQuality | 'not_applicable';
537
+ /** Presence lifecycle reported by an individual page. */
538
+ type MobileSocialFeedPresenceState = 'watching' | 'heartbeat' | 'left';
539
+ /** Mention offsets refer to Unicode code points in the original text, not UTF-16 indices. */
540
+ interface MobileSocialFeedMention {
541
+ /** Mentioned identity. */
542
+ subaccount: Hex;
543
+ /** Inclusive code point offset. */
544
+ start: number;
545
+ /** Exclusive code point offset. */
546
+ end: number;
547
+ /** Label matching the original text. */
548
+ label: string;
549
+ }
550
+ /** Parsed drawing; data is opaque to the SDK and may legitimately be false or zero. */
551
+ interface MobileServerSocialFeedDrawing {
552
+ /** Already parsed drawing document; do not JSON.parse again. */
553
+ data: unknown;
554
+ /** Original creation time in milliseconds. */
555
+ created_at_ms: number;
556
+ /** Last update time in milliseconds. */
557
+ updated_at_ms: number;
558
+ }
559
+ /** Nonrecursive root-post preview carried by replies. */
560
+ interface MobileServerSocialFeedCompactCard {
561
+ /** Root item UUID. */
562
+ id: string;
563
+ /** Root author. */
564
+ author: MobileServerSocialFeedAuthor;
565
+ /** Original text excerpt. */
566
+ text_excerpt: string;
567
+ /** Visible position summary, or null. */
568
+ position: Pick<MobileServerSocialFeedPositionCard, 'position_id' | 'market' | 'direction' | 'state' | 'notional_x18'> | null;
569
+ /** Whether the root has published analysis. */
570
+ has_analysis: boolean;
571
+ }
572
+ /** Authored position post, including text-only, drawing-only, and combined content. */
573
+ interface MobileServerSocialFeedPost extends MobileServerSocialFeedContentBase {
574
+ /** Post discriminant. */
575
+ kind: 'post';
576
+ }
577
+ /** Reply with independently permissioned position attachment and nonrecursive root preview. */
578
+ interface MobileServerSocialFeedReply extends MobileServerSocialFeedItemBase {
579
+ /** Reply discriminant. */
580
+ kind: 'reply';
581
+ /** Original text. */
582
+ text: string;
583
+ /** Mentions in the text. */
584
+ mentions: MobileSocialFeedMention[];
585
+ /** Actual root item UUID. */
586
+ root_item_id: string;
587
+ /** Omitted for a direct reply to the root. */
588
+ reply_to_item_id?: string;
589
+ /** Author being replied to, or null. */
590
+ reply_to_author: MobileServerSocialFeedAuthor | null;
591
+ /** Readable attachment; null when absent or unavailable. */
592
+ attached_position: MobileServerSocialFeedPositionCard | null;
593
+ /** Distinguishes an absent attachment from an unreadable one. */
594
+ attachment_status: MobileSocialFeedAttachmentStatus;
595
+ /** Root preview; does not register root exposure. */
596
+ original: MobileServerSocialFeedCompactCard;
597
+ /** Reply interaction state. */
598
+ interaction: MobileServerSocialFeedInteraction;
599
+ }
600
+ /** Current eligibility hints; actual writes still recheck the signed author. */
601
+ interface MobileServerSocialFeedPublishablePosition {
602
+ /** Candidate position. */
603
+ position: MobileServerSocialFeedPositionCard;
604
+ /** Whether this account can publish. */
605
+ can_publish: boolean;
606
+ /** Whether this account can attach the position to a comment. */
607
+ can_attach_to_comment: boolean;
608
+ /** Whether this account can first add analysis. */
609
+ can_draw_analysis: boolean;
610
+ /** Unavailability explanation, or null. */
611
+ unavailable_reason: string | null;
612
+ }
613
+ /** An authoritative lifecycle segment of an order. */
614
+ interface MobileServerSocialFeedActionCandidate {
615
+ /** Action UUID. */
616
+ action_id: string;
617
+ /** Lifecycle UUID. */
618
+ position_id: string;
619
+ /** Lifecycle action. */
620
+ action: MobileSocialFeedAction;
621
+ /** Current publishing eligibility, not proof of caller ownership. */
622
+ can_publish: boolean;
623
+ /** Publication restriction, or null when eligible. */
624
+ unavailable_reason: MobileSocialFeedActionUnavailableReason | null;
625
+ }
626
+ /** Additional history metrics; unavailable values are not zero. */
627
+ interface MobileServerSocialFeedHistoryMetrics {
628
+ /** Estimated liquidation price in x18, independent of event Oracle and execution prices. */
629
+ estimated_liquidation_price_x18: string | null;
630
+ /** Availability of the estimated price. */
631
+ liquidation_price_quality: MobileSocialFeedLiquidationPriceQuality;
632
+ /** Source time in milliseconds. */
633
+ liquidation_price_as_of_ms: number | null;
634
+ /** Signed funding amount in x18. */
635
+ funding_pnl_x18: string | null;
636
+ /** Funding availability. */
637
+ funding_quality: MobileSocialFeedPnlQuality;
638
+ /** Funding source time in milliseconds. */
639
+ funding_as_of_ms: number | null;
640
+ }
641
+ /** Full position card displayed above its historical timeline. */
642
+ interface MobileServerSocialFeedPositionHistoryCard extends MobileServerSocialFeedPositionCard, MobileServerSocialFeedHistoryMetrics {}
643
+ /** Persisted action facts, independent of whether a feed item was published. */
644
+ interface MobileServerSocialFeedPositionAction {
645
+ /** Action UUID. */
646
+ id: string;
647
+ /** Lifecycle UUID. */
648
+ position_id: string;
649
+ /** Lifecycle action. */
650
+ action: MobileSocialFeedAction;
651
+ /** Position direction. */
652
+ direction: MobileFeedTradePositionDirection;
653
+ /** Historical margin mode. */
654
+ margin_mode: MobileFeedMarginMode;
655
+ /** Quantity before the action, in x18. */
656
+ quantity_before_x18: string;
657
+ /** Quantity after the action, in x18. */
658
+ quantity_after_x18: string;
659
+ /** Executed quantity, in x18. */
660
+ executed_quantity_x18: string;
661
+ /** Actual executed notional in x18; may be unknown for liquidation. */
662
+ executed_notional_x18: string | null;
663
+ /** Actual execution price in x18. */
664
+ average_price_x18: string | null;
665
+ /** Entry price before the action, in x18. */
666
+ entry_price_before_x18: string | null;
667
+ /** Liquidation event Oracle price in x18. */
668
+ liquidation_oracle_price_x18: string | null;
669
+ /** Liquidation Oracle-based notional in x18. */
670
+ liquidation_notional_x18: string | null;
671
+ /** Signed realized trading PnL in x18, excluding ordinary fees and funding. */
672
+ realized_pnl_delta_x18: string | null;
673
+ /** Historical effective leverage. */
674
+ leverage: MobileSocialFeedLeverage;
675
+ /** Leverage source time in milliseconds. */
676
+ leverage_at_ms: number | null;
677
+ /** First event time in milliseconds. */
678
+ first_event_at_ms: number;
679
+ /** Last event time in milliseconds. */
680
+ last_event_at_ms: number;
681
+ /** Decimal-string version. */
682
+ version: string;
683
+ }
684
+ /** Full published content appearing in a position timeline. */
685
+ type MobileServerSocialFeedHistoryTake = MobileServerSocialFeedTradeCard | MobileServerSocialFeedPost;
686
+ /** A historical action or authored take; preserve service ordering. */
687
+ type MobileServerSocialFeedTimelineEntry = {
688
+ /** Action entry. */kind: 'action'; /** Full action facts. */
689
+ action: MobileServerSocialFeedPositionAction; /** Actually associated feed item, or null. */
690
+ related_item_id: string | null; /** Full published trade card, or null. */
691
+ related_take: MobileServerSocialFeedTradeCard | null;
692
+ } | {
693
+ /** Published take entry. */kind: 'take'; /** Full published content. */
694
+ item: MobileServerSocialFeedHistoryTake;
695
+ };
696
+ /** Trusted trading target; this hint does not authorize trading. */
697
+ interface MobileServerSocialFeedTradingTarget {
698
+ /** Lifecycle UUID. */
699
+ position_id: string;
700
+ /** Parent identity. */
701
+ identity_subaccount: Hex;
702
+ /** Actual trading subaccount, possibly isolated. */
703
+ trading_subaccount: Hex;
704
+ /** Market product ID. */
705
+ product_id: number;
706
+ /** Margin mode. */
707
+ margin_mode: MobileFeedMarginMode;
708
+ /** Isolated name, or null for cross margin. */
709
+ iso_subaccount_name: string | null;
710
+ /** Position direction. */
711
+ direction: MobileFeedTradePositionDirection;
712
+ /** Source time in milliseconds. */
713
+ state_as_of_ms: number;
714
+ }
715
+ /** Viewing-account trading hints, not authenticated permissions. */
716
+ interface MobileServerSocialFeedTradingContext {
717
+ /** Market product ID. */
718
+ product_id: number;
719
+ /** Suggested trade direction. */
720
+ suggested_direction: MobileFeedTradePositionDirection;
721
+ /** Resolution of the viewing account's positions. */
722
+ resolution: MobileSocialFeedTradingResolution;
723
+ /** Trusted candidates. */
724
+ candidates: MobileServerSocialFeedTradingTarget[];
725
+ /** Unique candidate, or null. */
726
+ viewer_position_id: string | null;
727
+ /** Whether the selected account has a unique reducible position. */
728
+ can_reduce: boolean;
729
+ }
730
+ /** Historical candle; volume is a quantity, not a price. */
731
+ interface MobileServerSocialFeedCandle {
732
+ /** Candle start time in milliseconds. */
733
+ timestamp_ms: number;
734
+ /** Open price in x18. */
735
+ open_x18: string;
736
+ /** High price in x18. */
737
+ high_x18: string;
738
+ /** Low price in x18. */
739
+ low_x18: string;
740
+ /** Close price in x18. */
741
+ close_x18: string;
742
+ /** Base asset volume in x18. */
743
+ volume_x18: string;
744
+ }
745
+ /** Chart action marker with explicitly identified price basis. */
746
+ interface MobileServerSocialFeedActionMarker {
747
+ /** Action UUID. */
748
+ action_id: string;
749
+ /** Event time in milliseconds. */
750
+ timestamp_ms: number;
751
+ /** Price in x18; null does not remove the action. */
752
+ price_x18: string | null;
753
+ /** Lifecycle action. */
754
+ action: MobileSocialFeedAction;
755
+ /** Direction. */
756
+ direction: MobileFeedTradePositionDirection;
757
+ /** Never substitute actual execution for a liquidation Oracle. */
758
+ price_basis: MobileSocialFeedActionPriceBasis;
759
+ }
760
+ /** Counts across the authorized position history. */
761
+ interface MobileServerSocialFeedHistorySummary {
762
+ /** Action count. */
763
+ action_count: number;
764
+ /** Published take count. */
765
+ take_count: number;
766
+ }
767
+ /** Estimated liquidation price and its source time. */
768
+ interface MobileServerSocialFeedEstimatedLiquidationLine {
769
+ /** Estimated price in x18. */
770
+ price_x18: string;
771
+ /** Source time in milliseconds. */
772
+ as_of_ms: number;
773
+ }
774
+ /** Half-open chart range, preserved across pages. */
775
+ interface MobileServerSocialFeedChartRange {
776
+ /** Inclusive start in milliseconds. */
777
+ from_ms: number;
778
+ /** Exclusive end in milliseconds. */
779
+ to_ms: number;
780
+ }
506
781
  //#endregion
507
- export { MobileSocialFeedTradeSizeChangeAction as $, MobileServerSocialFeedMarket as A, MobileSocialFeedCohortStatus as B, MobileServerSocialFeedCohort as C, MobileServerSocialFeedItem as D, MobileServerSocialFeedInteraction as E, MobileServerSocialFeedTradeCard as F, MobileSocialFeedPnlMode as G, MobileSocialFeedLeverage as H, MobileServerSocialFeedTradeRow as I, MobileSocialFeedPositionState as J, MobileSocialFeedPnlQuality as K, MobileServerSocialFeedTradeRowBase as L, MobileServerSocialFeedPositionCard as M, MobileServerSocialFeedPositionPatch as N, MobileServerSocialFeedItemBase as O, MobileServerSocialFeedReadSession as P, MobileSocialFeedTradeCardAction as Q, MobileServerSocialFeedTraderBadge as R, MobileServerSocialFeedCapabilities as S, MobileServerSocialFeedCommentPreview as T, MobileSocialFeedMarketCategory as U, MobileSocialFeedHistoryQuality as V, MobileSocialFeedPnlBasis as W, MobileSocialFeedSourceCategory as X, MobileSocialFeedReadSessionMode as Y, MobileSocialFeedTargetType as Z, MobileServerNotificationCategoryPreference as _, MobileFeedTradePosition as a, MobileServerProfile as b, MobileNotificationCategory as c, MobileServerAvatarSelection as d, MobileSocialFeedTraderBadgeCode as et, MobileServerFeedMargin as f, MobileServerIdentitySummary as g, MobileServerFollowSummary as h, MobileFeedMarginMode as i, MobileServerSocialFeedPnl as j, MobileServerSocialFeedItemPatch as k, MobileNotificationPlatform as l, MobileServerFollowListAccount as m, MOBILE_FEED_TRADE_POSITION_DIRECTIONS as n, MobileSocialFeedType as nt, MobileFeedTradePositionDirection as o, MobileServerFeedTrade as p, MobileSocialFeedPositionDisplayBasis as q, MOBILE_FEED_TRADE_POSITION_EFFECTS as r, MobileSocialFeedUnavailableTarget as rt, MobileFeedTradePositionEffect as s, MOBILE_FEED_MARGIN_MODES as t, MobileSocialFeedTraderDataStatus as tt, MobileServerAvatarPreset as u, MobileServerNotificationPreferenceScope as v, MobileServerSocialFeedCohortCoverage as w, MobileServerSocialFeedAuthor as x, MobileServerNotificationPreferences as y, MobileServerSocialFeedViewTracking as z };
508
- //# sourceMappingURL=serverModelTypes-DAqEyYtB.d.cts.map
782
+ export { MobileServerSocialFeedTradeRow as $, MobileServerSocialFeedCompactCard as A, MobileSocialFeedTradeSizeChangeAction as At, MobileServerSocialFeedItemPatch as B, MobileServerSocialFeedAuthor as C, MobileSocialFeedPositionResolutionReason as Ct, MobileServerSocialFeedCohort as D, MobileSocialFeedSourceCategory as Dt, MobileServerSocialFeedChartRange as E, MobileSocialFeedReadSessionMode as Et, MobileServerSocialFeedHistorySummary as F, MobileSocialFeedUnavailableTarget as Ft, MobileServerSocialFeedPositionHistoryCard as G, MobileServerSocialFeedPnl as H, MobileServerSocialFeedHistoryTake as I, MobileServerSocialFeedPublishablePosition as J, MobileServerSocialFeedPositionPatch as K, MobileServerSocialFeedInteraction as L, MobileServerSocialFeedDrawing as M, MobileSocialFeedTraderDataStatus as Mt, MobileServerSocialFeedEstimatedLiquidationLine as N, MobileSocialFeedTradingResolution as Nt, MobileServerSocialFeedCohortCoverage as O, MobileSocialFeedTargetType as Ot, MobileServerSocialFeedHistoryMetrics as P, MobileSocialFeedType as Pt, MobileServerSocialFeedTradeCard as Q, MobileServerSocialFeedItem as R, MobileServerSocialFeedActionMarker as S, MobileSocialFeedPositionResolution as St, MobileServerSocialFeedCapabilities as T, MobileSocialFeedPresenceState as Tt, MobileServerSocialFeedPositionAction as U, MobileServerSocialFeedMarket as V, MobileServerSocialFeedPositionCard as W, MobileServerSocialFeedReply as X, MobileServerSocialFeedReadSession as Y, MobileServerSocialFeedTimelineEntry as Z, MobileServerNotificationCategoryPreference as _, MobileSocialFeedMention as _t, MobileFeedTradePosition as a, MobileSocialFeedAction as at, MobileServerProfile as b, MobileSocialFeedPnlQuality as bt, MobileNotificationCategory as c, MobileSocialFeedActionUnavailableReason as ct, MobileServerAvatarSelection as d, MobileSocialFeedChartInterval as dt, MobileServerSocialFeedTradeRowBase as et, MobileServerFeedMargin as f, MobileSocialFeedCohortStatus as ft, MobileServerIdentitySummary as g, MobileSocialFeedMarketCategory as gt, MobileServerFollowSummary as h, MobileSocialFeedLiquidationPriceQuality as ht, MobileFeedMarginMode as i, MobileServerSocialFeedViewTracking as it, MobileServerSocialFeedContentBase as j, MobileSocialFeedTraderBadgeCode as jt, MobileServerSocialFeedCommentPreview as k, MobileSocialFeedTradeCardAction as kt, MobileNotificationPlatform as l, MobileSocialFeedAttachmentStatus as lt, MobileServerFollowListAccount as m, MobileSocialFeedLeverage as mt, MOBILE_FEED_TRADE_POSITION_DIRECTIONS as n, MobileServerSocialFeedTradingContext as nt, MobileFeedTradePositionDirection as o, MobileSocialFeedActionPriceBasis as ot, MobileServerFeedTrade as p, MobileSocialFeedHistoryQuality as pt, MobileServerSocialFeedPost as q, MOBILE_FEED_TRADE_POSITION_EFFECTS as r, MobileServerSocialFeedTradingTarget as rt, MobileFeedTradePositionEffect as s, MobileSocialFeedActionResolution as st, MOBILE_FEED_MARGIN_MODES as t, MobileServerSocialFeedTraderBadge as tt, MobileServerAvatarPreset as u, MobileSocialFeedChartDataQuality as ut, MobileServerNotificationPreferenceScope as v, MobileSocialFeedPnlBasis as vt, MobileServerSocialFeedCandle as w, MobileSocialFeedPositionState as wt, MobileServerSocialFeedActionCandidate as x, MobileSocialFeedPositionDisplayBasis as xt, MobileServerNotificationPreferences as y, MobileSocialFeedPnlMode as yt, MobileServerSocialFeedItemBase as z };
783
+ //# sourceMappingURL=serverModelTypes-CiA-dy1R.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"serverModelTypes-CiA-dy1R.d.cts","names":[],"sources":["../src/types/src/types/serverModelTypes.ts"],"mappings":";;;;;;AAMA;KAAY,2BAAA;oCAGN,IAAA;EAEA,EAAA;AAAA;EAMA,2CAFA,IAAA,YAEU;EAAV,UAAA;AAAA;;;AAUM;UAJK,wBAAA;EAUqB;EARpC,EAAA;EAQoC;EANpC,UAAU;AAAA;;;;KAMA,0BAAA;AAkBZ;;;AAAA,KAbY,0BAAA;;;;;;UAaK,2BAAA;EACf,UAAA,EAAY,GAAG;EACf,QAAA;EACA,YAAA;;EAEA,UAAA;AAAA;;;;;AAcwC;AAY1C;UAjBiB,yBAAA;EACf,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