@nadohq/mobile-client 0.65.0 → 0.66.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 (207) hide show
  1. package/README.md +107 -8
  2. package/dist/{MobileClient-CfVZXTcz.cjs → MobileClient-M4oC4lrX.cjs} +258 -16
  3. package/dist/MobileClient-M4oC4lrX.cjs.map +1 -0
  4. package/dist/MobileClient.cjs +1 -1
  5. package/dist/MobileClient.d.cts +146 -16
  6. package/dist/MobileClient.d.cts.map +1 -1
  7. package/dist/MobileClient.d.ts +146 -16
  8. package/dist/MobileClient.d.ts.map +1 -1
  9. package/dist/MobileClient.js +258 -16
  10. package/dist/MobileClient.js.map +1 -1
  11. package/dist/{MobileServerFailureError-BZVwlsMg.d.ts → MobileServerFailureError-C9iqNsxI.d.ts} +2 -3
  12. package/dist/MobileServerFailureError-C9iqNsxI.d.ts.map +1 -0
  13. package/dist/{MobileServerFailureError-CbtK8kD4.d.cts → MobileServerFailureError-MtS2reel.d.cts} +2 -3
  14. package/dist/MobileServerFailureError-MtS2reel.d.cts.map +1 -0
  15. package/dist/MobileUnsupportedNotificationRouteError-DpiNBvvY.d.cts +15 -0
  16. package/dist/MobileUnsupportedNotificationRouteError-DpiNBvvY.d.cts.map +1 -0
  17. package/dist/MobileUnsupportedNotificationRouteError-DpiNBvvY.d.ts +15 -0
  18. package/dist/MobileUnsupportedNotificationRouteError-DpiNBvvY.d.ts.map +1 -0
  19. package/dist/{buildSignedMobileRequest-UeeWdYGU.d.ts → buildSignedMobileRequest-BR-KJhIF.d.ts} +2 -2
  20. package/dist/{buildSignedMobileRequest-UeeWdYGU.d.ts.map → buildSignedMobileRequest-BR-KJhIF.d.ts.map} +1 -1
  21. package/dist/{buildSignedMobileRequest-C1v0flCR.d.cts → buildSignedMobileRequest-DyKCK34Y.d.cts} +2 -2
  22. package/dist/{buildSignedMobileRequest-C1v0flCR.d.cts.map → buildSignedMobileRequest-DyKCK34Y.d.cts.map} +1 -1
  23. package/dist/{canonicalize-5eeZrkzQ.d.ts → canonicalize-Bv6UIAbR.d.ts} +2 -2
  24. package/dist/canonicalize-Bv6UIAbR.d.ts.map +1 -0
  25. package/dist/{canonicalize-CBaZprTo.d.cts → canonicalize-CWh3XZzj.d.cts} +2 -2
  26. package/dist/canonicalize-CWh3XZzj.d.cts.map +1 -0
  27. package/dist/{clientTypes-C9dJufxk.d.ts → clientTypes-BUn5_OzK.d.ts} +297 -20
  28. package/dist/clientTypes-BUn5_OzK.d.ts.map +1 -0
  29. package/dist/{clientTypes-_mEgzmNs.d.cts → clientTypes-DOpUcu80.d.cts} +297 -20
  30. package/dist/clientTypes-DOpUcu80.d.cts.map +1 -0
  31. package/dist/dataMappers.cjs +203 -5
  32. package/dist/dataMappers.cjs.map +1 -1
  33. package/dist/dataMappers.d.cts +70 -7
  34. package/dist/dataMappers.d.cts.map +1 -1
  35. package/dist/dataMappers.d.ts +70 -7
  36. package/dist/dataMappers.d.ts.map +1 -1
  37. package/dist/dataMappers.js +192 -6
  38. package/dist/dataMappers.js.map +1 -1
  39. package/dist/{eip712MethodByType-D8jLoxDu.d.cts → eip712MethodByType-CJ6BoayT.d.cts} +2 -2
  40. package/dist/eip712MethodByType-CJ6BoayT.d.cts.map +1 -0
  41. package/dist/{eip712MethodByType-DcUh8h-l.d.ts → eip712MethodByType-Dx4mvgni.d.ts} +2 -2
  42. package/dist/eip712MethodByType-Dx4mvgni.d.ts.map +1 -0
  43. package/dist/{feed-DTJlsg8W.d.ts → feed-DErOLaoY.d.cts} +4 -2
  44. package/dist/feed-DErOLaoY.d.cts.map +1 -0
  45. package/dist/{feed-DTJlsg8W.d.cts → feed-DErOLaoY.d.ts} +4 -2
  46. package/dist/feed-DErOLaoY.d.ts.map +1 -0
  47. package/dist/index.cjs +7 -2
  48. package/dist/index.d.cts +14 -16
  49. package/dist/index.d.ts +14 -16
  50. package/dist/index.js +4 -3
  51. package/dist/{mobileErrorCodes-CmjYEIYm.d.ts → mobileErrorCodes-vD6rbFuF.d.cts} +8 -3
  52. package/dist/mobileErrorCodes-vD6rbFuF.d.cts.map +1 -0
  53. package/dist/{mobileErrorCodes-CmjYEIYm.d.cts → mobileErrorCodes-vD6rbFuF.d.ts} +8 -3
  54. package/dist/mobileErrorCodes-vD6rbFuF.d.ts.map +1 -0
  55. package/dist/{payloadHash-DhHmgRqL.d.cts → payloadHash-CdkF2Ocr.d.cts} +2 -2
  56. package/dist/payloadHash-CdkF2Ocr.d.cts.map +1 -0
  57. package/dist/{payloadHash-E1_8fpLW.d.ts → payloadHash-HD29K77M.d.ts} +2 -2
  58. package/dist/payloadHash-HD29K77M.d.ts.map +1 -0
  59. package/dist/{serverExecuteTypes-B-OJok19.d.cts → serverExecuteTypes-5JyyIXRK.d.ts} +21 -5
  60. package/dist/serverExecuteTypes-5JyyIXRK.d.ts.map +1 -0
  61. package/dist/{serverExecuteTypes-BwWGspOg.d.ts → serverExecuteTypes-CHrQ9Rtq.d.cts} +21 -5
  62. package/dist/serverExecuteTypes-CHrQ9Rtq.d.cts.map +1 -0
  63. package/dist/{serverModelTypes-CiA-dy1R.d.ts → serverModelTypes-CGUZCi0y.d.cts} +163 -8
  64. package/dist/serverModelTypes-CGUZCi0y.d.cts.map +1 -0
  65. package/dist/{serverModelTypes-CiA-dy1R.d.cts → serverModelTypes-CGUZCi0y.d.ts} +163 -8
  66. package/dist/serverModelTypes-CGUZCi0y.d.ts.map +1 -0
  67. package/dist/{serverResponseGuards-CShiXpHT.d.ts → serverResponseGuards-Bvw8ltYJ.d.ts} +2 -2
  68. package/dist/{serverResponseGuards-CShiXpHT.d.ts.map → serverResponseGuards-Bvw8ltYJ.d.ts.map} +1 -1
  69. package/dist/{serverResponseGuards-BW69PS7O.d.cts → serverResponseGuards-i1njcYKN.d.cts} +2 -2
  70. package/dist/{serverResponseGuards-BW69PS7O.d.cts.map → serverResponseGuards-i1njcYKN.d.cts.map} +1 -1
  71. package/dist/signing/buildSignedMobileRequest.d.cts +1 -1
  72. package/dist/signing/buildSignedMobileRequest.d.ts +1 -1
  73. package/dist/signing/canonicalize.cjs +51 -2
  74. package/dist/signing/canonicalize.cjs.map +1 -1
  75. package/dist/signing/canonicalize.d.cts +1 -1
  76. package/dist/signing/canonicalize.d.ts +1 -1
  77. package/dist/signing/canonicalize.js +51 -2
  78. package/dist/signing/canonicalize.js.map +1 -1
  79. package/dist/signing/eip712MethodByType.cjs +7 -0
  80. package/dist/signing/eip712MethodByType.cjs.map +1 -1
  81. package/dist/signing/eip712MethodByType.d.cts +1 -1
  82. package/dist/signing/eip712MethodByType.d.ts +1 -1
  83. package/dist/signing/eip712MethodByType.js +7 -0
  84. package/dist/signing/eip712MethodByType.js.map +1 -1
  85. package/dist/signing/index.d.cts +5 -5
  86. package/dist/signing/index.d.ts +5 -5
  87. package/dist/signing/payloadHash.cjs +1 -1
  88. package/dist/signing/payloadHash.d.cts +1 -1
  89. package/dist/signing/payloadHash.d.ts +1 -1
  90. package/dist/signing/payloadHash.js +1 -1
  91. package/dist/signing/types.d.cts +1 -1
  92. package/dist/signing/types.d.ts +1 -1
  93. package/dist/types/MobileServerFailureError.d.cts +1 -1
  94. package/dist/types/MobileServerFailureError.d.ts +1 -1
  95. package/dist/types/MobileUnsupportedNotificationRouteError.cjs +19 -0
  96. package/dist/types/MobileUnsupportedNotificationRouteError.cjs.map +1 -0
  97. package/dist/types/MobileUnsupportedNotificationRouteError.d.cts +2 -0
  98. package/dist/types/MobileUnsupportedNotificationRouteError.d.ts +2 -0
  99. package/dist/types/MobileUnsupportedNotificationRouteError.js +18 -0
  100. package/dist/types/MobileUnsupportedNotificationRouteError.js.map +1 -0
  101. package/dist/types/clientTypes.d.cts +2 -2
  102. package/dist/types/clientTypes.d.ts +2 -2
  103. package/dist/types/index.cjs +4 -0
  104. package/dist/types/index.d.cts +8 -9
  105. package/dist/types/index.d.ts +8 -9
  106. package/dist/types/index.js +3 -2
  107. package/dist/types/mobileErrorCodes.cjs +11 -1
  108. package/dist/types/mobileErrorCodes.cjs.map +1 -1
  109. package/dist/types/mobileErrorCodes.d.cts +1 -1
  110. package/dist/types/mobileErrorCodes.d.ts +1 -1
  111. package/dist/types/mobileErrorCodes.js +11 -1
  112. package/dist/types/mobileErrorCodes.js.map +1 -1
  113. package/dist/types/serverBaseTypes.d.cts +1 -1
  114. package/dist/types/serverBaseTypes.d.ts +1 -1
  115. package/dist/types/serverExecuteTypes.d.cts +2 -2
  116. package/dist/types/serverExecuteTypes.d.ts +2 -2
  117. package/dist/types/serverModelTypes.cjs +15 -0
  118. package/dist/types/serverModelTypes.cjs.map +1 -1
  119. package/dist/types/serverModelTypes.d.cts +2 -2
  120. package/dist/types/serverModelTypes.d.ts +2 -2
  121. package/dist/types/serverModelTypes.js +14 -1
  122. package/dist/types/serverModelTypes.js.map +1 -1
  123. package/dist/types/serverQueryTypes.d.cts +2 -2
  124. package/dist/types/serverQueryTypes.d.ts +2 -2
  125. package/dist/types/serverRequestTypes.d.cts +2 -2
  126. package/dist/types/serverRequestTypes.d.ts +2 -2
  127. package/dist/types-C9YE4EIt.d.cts +794 -0
  128. package/dist/types-C9YE4EIt.d.cts.map +1 -0
  129. package/dist/types-Cwy1y_9x.d.ts +794 -0
  130. package/dist/types-Cwy1y_9x.d.ts.map +1 -0
  131. package/dist/utils/buildMobileFeedImageMultipart.cjs +31 -0
  132. package/dist/utils/buildMobileFeedImageMultipart.cjs.map +1 -0
  133. package/dist/utils/buildMobileFeedImageMultipart.d.cts +15 -0
  134. package/dist/utils/buildMobileFeedImageMultipart.d.cts.map +1 -0
  135. package/dist/utils/buildMobileFeedImageMultipart.d.ts +15 -0
  136. package/dist/utils/buildMobileFeedImageMultipart.d.ts.map +1 -0
  137. package/dist/utils/buildMobileFeedImageMultipart.js +30 -0
  138. package/dist/utils/buildMobileFeedImageMultipart.js.map +1 -0
  139. package/dist/utils/feed.cjs +3 -0
  140. package/dist/utils/feed.cjs.map +1 -1
  141. package/dist/utils/feed.d.cts +2 -2
  142. package/dist/utils/feed.d.ts +2 -2
  143. package/dist/utils/feed.js +3 -1
  144. package/dist/utils/feed.js.map +1 -1
  145. package/dist/utils/index.cjs +2 -1
  146. package/dist/utils/index.d.cts +3 -3
  147. package/dist/utils/index.d.ts +3 -3
  148. package/dist/utils/index.js +2 -2
  149. package/dist/utils/serverResponseGuards.d.cts +1 -1
  150. package/dist/utils/serverResponseGuards.d.ts +1 -1
  151. package/package.json +3 -3
  152. package/src/MobileClient.ts +388 -11
  153. package/src/dataMappers.test.ts +108 -2
  154. package/src/dataMappers.ts +253 -5
  155. package/src/feedImages.test.ts +309 -0
  156. package/src/notifications.test.ts +950 -0
  157. package/src/signing/canonicalize.ts +66 -0
  158. package/src/signing/eip712MethodByType.ts +10 -0
  159. package/src/signing/signing.test.ts +16 -1
  160. package/src/signing/types.ts +51 -9
  161. package/src/socialFeed.test.ts +38 -2
  162. package/src/types/MobileUnsupportedNotificationRouteError.ts +16 -0
  163. package/src/types/clientTypes.ts +372 -16
  164. package/src/types/index.ts +1 -0
  165. package/src/types/mobileErrorCodes.ts +10 -0
  166. package/src/types/serverExecuteTypes.ts +20 -0
  167. package/src/types/serverModelTypes.ts +205 -6
  168. package/src/types/serverQueryTypes.ts +74 -5
  169. package/src/types/serverRequestTypes.ts +101 -12
  170. package/src/utils/buildMobileFeedImageMultipart.test.ts +45 -0
  171. package/src/utils/buildMobileFeedImageMultipart.ts +36 -0
  172. package/src/utils/feed.ts +3 -0
  173. package/dist/MobileClient-CfVZXTcz.cjs.map +0 -1
  174. package/dist/MobileServerFailureError-BZVwlsMg.d.ts.map +0 -1
  175. package/dist/MobileServerFailureError-CbtK8kD4.d.cts.map +0 -1
  176. package/dist/canonicalize-5eeZrkzQ.d.ts.map +0 -1
  177. package/dist/canonicalize-CBaZprTo.d.cts.map +0 -1
  178. package/dist/clientTypes-C9dJufxk.d.ts.map +0 -1
  179. package/dist/clientTypes-_mEgzmNs.d.cts.map +0 -1
  180. package/dist/eip712MethodByType-D8jLoxDu.d.cts.map +0 -1
  181. package/dist/eip712MethodByType-DcUh8h-l.d.ts.map +0 -1
  182. package/dist/feed-DTJlsg8W.d.cts.map +0 -1
  183. package/dist/feed-DTJlsg8W.d.ts.map +0 -1
  184. package/dist/mobileErrorCodes-CmjYEIYm.d.cts.map +0 -1
  185. package/dist/mobileErrorCodes-CmjYEIYm.d.ts.map +0 -1
  186. package/dist/payloadHash-DhHmgRqL.d.cts.map +0 -1
  187. package/dist/payloadHash-E1_8fpLW.d.ts.map +0 -1
  188. package/dist/serverBaseTypes-B5J1_TyC.d.cts +0 -25
  189. package/dist/serverBaseTypes-B5J1_TyC.d.cts.map +0 -1
  190. package/dist/serverBaseTypes-DnLzsdm-.d.ts +0 -25
  191. package/dist/serverBaseTypes-DnLzsdm-.d.ts.map +0 -1
  192. package/dist/serverExecuteTypes-B-OJok19.d.cts.map +0 -1
  193. package/dist/serverExecuteTypes-BwWGspOg.d.ts.map +0 -1
  194. package/dist/serverModelTypes-CiA-dy1R.d.cts.map +0 -1
  195. package/dist/serverModelTypes-CiA-dy1R.d.ts.map +0 -1
  196. package/dist/serverQueryTypes-CJcjLB7n.d.ts +0 -283
  197. package/dist/serverQueryTypes-CJcjLB7n.d.ts.map +0 -1
  198. package/dist/serverQueryTypes-V1f9yE7L.d.cts +0 -283
  199. package/dist/serverQueryTypes-V1f9yE7L.d.cts.map +0 -1
  200. package/dist/serverRequestTypes-CRlkNSu5.d.cts +0 -270
  201. package/dist/serverRequestTypes-CRlkNSu5.d.cts.map +0 -1
  202. package/dist/serverRequestTypes-DZoOhV2o.d.ts +0 -270
  203. package/dist/serverRequestTypes-DZoOhV2o.d.ts.map +0 -1
  204. package/dist/types-BiRmH5Iv.d.cts +0 -108
  205. package/dist/types-BiRmH5Iv.d.cts.map +0 -1
  206. package/dist/types-DoJuq0Ij.d.ts +0 -108
  207. package/dist/types-DoJuq0Ij.d.ts.map +0 -1
@@ -25,6 +25,24 @@ interface MobileServerAvatarPreset {
25
25
  * Platform of a device registered for push notifications.
26
26
  */
27
27
  type MobileNotificationPlatform = 'ios' | 'android';
28
+ /**
29
+ * Notification types supported by the v2 payload protocol.
30
+ */
31
+ type MobileNotificationTypeId = 'new_follower' | 'followed_you_back' | 'order_fill' | 'order_update' | 'liquidation' | 'trader_opened' | 'trader_closed' | 'position_milestone' | 'market_movement' | 'trader_streak' | 'account_drama' | 'weekly_digest';
32
+ /**
33
+ * Named navigation destinations supported by notification payloads.
34
+ */
35
+ type MobileNotificationRouteName = MobileServerNotificationRoute['name'];
36
+ /** Position milestone options supported by notification settings. */
37
+ declare const MOBILE_NOTIFICATION_POSITION_THRESHOLDS: readonly [10, 25, 50];
38
+ /** Minimum trade-size options, in whole USD, supported by notification settings. */
39
+ declare const MOBILE_NOTIFICATION_MIN_TRADE_SIZES_USD: readonly [0, 100, 1000, 10000];
40
+ /** Supported notification position milestone threshold. */
41
+ type MobileNotificationPositionThreshold = (typeof MOBILE_NOTIFICATION_POSITION_THRESHOLDS)[number];
42
+ /** Supported notification minimum trade size, in whole USD. */
43
+ type MobileNotificationMinTradeSizeUsd = (typeof MOBILE_NOTIFICATION_MIN_TRADE_SIZES_USD)[number];
44
+ /** Supported product analytics interaction. */
45
+ type MobileProductEventName = 'notif_opened' | 'market_viewed' | 'chart_opened' | 'search';
28
46
  /**
29
47
  * Category of push notification.
30
48
  */
@@ -186,6 +204,112 @@ interface MobileServerNotificationPreferences {
186
204
  schema_version: 1;
187
205
  categories: MobileServerNotificationCategoryPreference[];
188
206
  }
207
+ /**
208
+ * Stored push-device metadata shared by registration requests and token ownership responses.
209
+ */
210
+ interface MobileServerNotificationDeviceMetadata {
211
+ /** Device operating system. */
212
+ platform: MobileNotificationPlatform;
213
+ /** Locale tag, or null when absent; at most 35 UTF-8 bytes. */
214
+ locale: string | null;
215
+ /** App version, or null when absent; at most 64 UTF-8 bytes. */
216
+ app_version: string | null;
217
+ }
218
+ /**
219
+ * Device capabilities shared by v2 registration and v1/v2 registration queries.
220
+ */
221
+ interface MobileServerNotificationCapabilities {
222
+ /** Exactly one supported payload version. */
223
+ payload_versions: [1] | [2];
224
+ /** Supported subset of the registered notification types. */
225
+ type_ids: MobileNotificationTypeId[];
226
+ /** Supported subset of the named destinations. */
227
+ routes: MobileNotificationRouteName[];
228
+ }
229
+ /**
230
+ * Server-side wallet settings; all fields are required on replacement.
231
+ */
232
+ interface MobileServerNotificationSettings {
233
+ /** Own position milestones and the initial weekly digest. */
234
+ my_positions: boolean;
235
+ /** One to three unique values; the minimum selects the starting milestone tier. */
236
+ position_thresholds: MobileNotificationPositionThreshold[];
237
+ /** Combined order fill/update switch; does not control liquidation notifications. */
238
+ my_orders: boolean;
239
+ /** Ordinary followed-trader notifications; enabled bells override this switch. */
240
+ following_trades: boolean;
241
+ /** Notifications about posts by followed traders. */
242
+ following_posts: boolean;
243
+ /** Minimum trade size for trade notifications, in whole USD. */
244
+ min_trade_size_usd: MobileNotificationMinTradeSizeUsd;
245
+ /** New followers and follow-backs. */
246
+ new_followers: boolean;
247
+ /** Maps to the legacy announcement preference. */
248
+ announcements: boolean;
249
+ /** Opt-in trader streak and account drama discovery notifications. */
250
+ discovery: boolean;
251
+ }
252
+ /**
253
+ * Server-side allowlisted destination; notification data must never be interpreted as an arbitrary URL.
254
+ */
255
+ type MobileServerNotificationRoute = {
256
+ /** Public profile destination. */name: 'profile'; /** Profile subaccount as bytes32. */
257
+ subaccount: Hex;
258
+ } | {
259
+ /** Market destination. */name: 'market'; /** Positive product ID. */
260
+ product_id: number;
261
+ } | {
262
+ /** Own portfolio destination. */name: 'portfolio';
263
+ };
264
+ /**
265
+ * Server-side v2 push/inbox navigation data, not a complete historical trade or notification body.
266
+ */
267
+ interface MobileServerNotificationPayloadV2 {
268
+ /** Payload protocol version. */
269
+ payload_version: 2;
270
+ /** Logical notification UUID, used for click deduplication. */
271
+ notification_id: string;
272
+ /** Intended wallet; private navigation must wait for this wallet to connect. */
273
+ recipient_wallet: Hex;
274
+ /** Registered notification type. */
275
+ type_id: MobileNotificationTypeId;
276
+ /** Supported template version. */
277
+ template_version: 1;
278
+ /** Named destination and its parameters. */
279
+ route: MobileServerNotificationRoute;
280
+ }
281
+ /**
282
+ * Server-side accepted logical notification; does not prove device delivery or read status.
283
+ */
284
+ interface MobileServerNotificationInboxItem {
285
+ /** Logical notification UUID. */
286
+ notification_id: string;
287
+ /** Registered notification type. */
288
+ type_id: MobileNotificationTypeId;
289
+ /** Navigation data, without title, body, or read state. */
290
+ data: MobileServerNotificationPayloadV2;
291
+ /** Intent acceptance time in milliseconds. */
292
+ created_at: number;
293
+ /** Backend-computed trade attribution. */
294
+ trade_within_24h: boolean;
295
+ }
296
+ /**
297
+ * Server-side product analytics event; unused nullable fields must be explicitly null.
298
+ */
299
+ interface MobileServerProductEvent {
300
+ /** Stable event UUID; reuse across retries. */
301
+ client_event_id: string;
302
+ /** Supported interaction; notif_opened is not a read-state mutation. */
303
+ event_name: MobileProductEventName;
304
+ /** Required for notif_opened and owned by the signing wallet; otherwise null. */
305
+ notification_id: string | null;
306
+ /** Actual event time in milliseconds, within the past 7 days or next 5 minutes. */
307
+ occurred_at: number;
308
+ /** Required for market_viewed/chart_opened; otherwise null. */
309
+ product_id: number | null;
310
+ /** Required for search, nonblank and at most 80 Unicode characters; otherwise null. */
311
+ query: string | null;
312
+ }
189
313
  /** Content filters accepted by the six social feed lists. Empty or omitted means all. */
190
314
  type MobileSocialFeedType = 'open' | 'close' | 'size_change' | 'thoughts' | 'analysis' | 'comments';
191
315
  /** Market category used by the social feed. */
@@ -350,10 +474,37 @@ interface MobileServerSocialFeedCommentPreview {
350
474
  }
351
475
  /** Exposure requirements associated with a reading session. */
352
476
  interface MobileServerSocialFeedViewTracking {
353
- /** Required visible fraction. */
354
- min_visible_ratio: number;
355
- /** Required visible duration in milliseconds. */
356
- min_duration_ms: number;
477
+ /**
478
+ * Detail-visit exposure: report the primary detail target after it is shown in the foreground.
479
+ * List visible-ratio / dwell thresholds are no longer used.
480
+ */
481
+ mode: 'detail_visit';
482
+ }
483
+ /** Uploaded feed image metadata; bytes are fetched separately with the reading session. */
484
+ interface MobileServerSocialFeedImage {
485
+ /** Image UUID. */
486
+ image_id: string;
487
+ /** Backend path for the original image bytes. */
488
+ url: string;
489
+ /** Display-orientation width in pixels. */
490
+ width: number;
491
+ /** Display-orientation height in pixels. */
492
+ height: number;
493
+ /** Detected content type. */
494
+ content_type: 'image/jpeg' | 'image/png';
495
+ /** Original file size in bytes. */
496
+ byte_size: number;
497
+ /** Always-present thumbnail (longest edge ≤ 512, never upscaled). */
498
+ thumbnail: MobileServerSocialFeedImageThumbnail;
499
+ }
500
+ /** Thumbnail metadata for an uploaded feed image. */
501
+ interface MobileServerSocialFeedImageThumbnail {
502
+ /** Backend path for the thumbnail bytes. */
503
+ url: string;
504
+ /** Thumbnail width in pixels. */
505
+ width: number;
506
+ /** Thumbnail height in pixels. */
507
+ height: number;
357
508
  }
358
509
  /** Coverage of the candidate authors in a qualification snapshot. */
359
510
  interface MobileServerSocialFeedCohortCoverage {
@@ -398,6 +549,8 @@ interface MobileServerSocialFeedItemBase {
398
549
  }
399
550
  /** Content shared by authored posts and trade cards. */
400
551
  interface MobileServerSocialFeedContentBase extends MobileServerSocialFeedItemBase {
552
+ /** Bound images in display order; empty when none. */
553
+ images: MobileServerSocialFeedImage[];
401
554
  /** Card text, empty for automatic cards. */
402
555
  text: string;
403
556
  /** Mentions in the original, unmodified text. */
@@ -451,13 +604,13 @@ type MobileServerSocialFeedTradeRow = MobileServerSocialFeedTradeRowBase & ({
451
604
  });
452
605
  /** Discriminated social feed content. */
453
606
  type MobileServerSocialFeedItem = MobileServerSocialFeedTradeCard | MobileServerSocialFeedTradeRow | MobileServerSocialFeedPost | MobileServerSocialFeedReply;
454
- /** Fixed-duration social feed reading session. Credentials and cursors must be returned unchanged. */
607
+ /** Idle-renewed social feed reading session. Credentials and cursors must be returned unchanged. */
455
608
  interface MobileServerSocialFeedReadSession {
456
609
  /** Session identifier. */
457
610
  session_id: string;
458
611
  /** Feed, item, or full position history session. */
459
612
  mode: MobileSocialFeedReadSessionMode;
460
- /** Fixed expiration time in Unix milliseconds; pagination does not extend it. */
613
+ /** Current idle expiration in Unix milliseconds; legitimate session requests renew it. */
461
614
  expires_at_ms: number;
462
615
  /** Visibility requirements for explicit exposure reporting. */
463
616
  view_tracking: MobileServerSocialFeedViewTracking;
@@ -578,6 +731,8 @@ interface MobileServerSocialFeedPost extends MobileServerSocialFeedContentBase {
578
731
  interface MobileServerSocialFeedReply extends MobileServerSocialFeedItemBase {
579
732
  /** Reply discriminant. */
580
733
  kind: 'reply';
734
+ /** Bound images in display order; empty when none. */
735
+ images: MobileServerSocialFeedImage[];
581
736
  /** Original text. */
582
737
  text: string;
583
738
  /** Mentions in the text. */
@@ -779,5 +934,5 @@ interface MobileServerSocialFeedChartRange {
779
934
  to_ms: number;
780
935
  }
781
936
  //#endregion
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.ts.map
937
+ export { MobileServerSocialFeedInteraction as $, MobileServerNotificationPreferences as A, MobileSocialFeedLeverage as At, MobileServerSocialFeedChartRange as B, MobileSocialFeedPositionState as Bt, MobileServerIdentitySummary as C, MobileSocialFeedActionResolution as Ct, MobileServerNotificationInboxItem as D, MobileSocialFeedChartInterval as Dt, MobileServerNotificationDeviceMetadata as E, MobileSocialFeedChartDataQuality as Et, MobileServerSocialFeedActionCandidate as F, MobileSocialFeedPnlMode as Ft, MobileServerSocialFeedContentBase as G, MobileSocialFeedTradeCardAction as Gt, MobileServerSocialFeedCohortCoverage as H, MobileSocialFeedReadSessionMode as Ht, MobileServerSocialFeedActionMarker as I, MobileSocialFeedPnlQuality as It, MobileServerSocialFeedHistoryMetrics as J, MobileSocialFeedTraderDataStatus as Jt, MobileServerSocialFeedDrawing as K, MobileSocialFeedTradeSizeChangeAction as Kt, MobileServerSocialFeedAuthor as L, MobileSocialFeedPositionDisplayBasis as Lt, MobileServerNotificationSettings as M, MobileSocialFeedMarketCategory as Mt, MobileServerProductEvent as N, MobileSocialFeedMention as Nt, MobileServerNotificationPayloadV2 as O, MobileSocialFeedCohortStatus as Ot, MobileServerProfile as P, MobileSocialFeedPnlBasis as Pt, MobileServerSocialFeedImageThumbnail as Q, MobileServerSocialFeedCandle as R, MobileSocialFeedPositionResolution as Rt, MobileServerFollowSummary as S, MobileSocialFeedActionPriceBasis as St, MobileServerNotificationCategoryPreference as T, MobileSocialFeedAttachmentStatus as Tt, MobileServerSocialFeedCommentPreview as U, MobileSocialFeedSourceCategory as Ut, MobileServerSocialFeedCohort as V, MobileSocialFeedPresenceState as Vt, MobileServerSocialFeedCompactCard as W, MobileSocialFeedTargetType as Wt, MobileServerSocialFeedHistoryTake as X, MobileSocialFeedType as Xt, MobileServerSocialFeedHistorySummary as Y, MobileSocialFeedTradingResolution as Yt, MobileServerSocialFeedImage as Z, MobileSocialFeedUnavailableTarget as Zt, MobileServerAvatarPreset as _, MobileServerSocialFeedTraderBadge as _t, MOBILE_NOTIFICATION_POSITION_THRESHOLDS as a, MobileServerSocialFeedPositionAction as at, MobileServerFeedTrade as b, MobileServerSocialFeedViewTracking as bt, MobileFeedTradePositionDirection as c, MobileServerSocialFeedPositionPatch as ct, MobileNotificationMinTradeSizeUsd as d, MobileServerSocialFeedReadSession as dt, MobileServerSocialFeedItem as et, MobileNotificationPlatform as f, MobileServerSocialFeedReply as ft, MobileProductEventName as g, MobileServerSocialFeedTradeRowBase as gt, MobileNotificationTypeId as h, MobileServerSocialFeedTradeRow as ht, MOBILE_NOTIFICATION_MIN_TRADE_SIZES_USD as i, MobileServerSocialFeedPnl as it, MobileServerNotificationRoute as j, MobileSocialFeedLiquidationPriceQuality as jt, MobileServerNotificationPreferenceScope as k, MobileSocialFeedHistoryQuality as kt, MobileFeedTradePositionEffect as l, MobileServerSocialFeedPost as lt, MobileNotificationRouteName as m, MobileServerSocialFeedTradeCard as mt, MOBILE_FEED_TRADE_POSITION_DIRECTIONS as n, MobileServerSocialFeedItemPatch as nt, MobileFeedMarginMode as o, MobileServerSocialFeedPositionCard as ot, MobileNotificationPositionThreshold as p, MobileServerSocialFeedTimelineEntry as pt, MobileServerSocialFeedEstimatedLiquidationLine as q, MobileSocialFeedTraderBadgeCode as qt, MOBILE_FEED_TRADE_POSITION_EFFECTS as r, MobileServerSocialFeedMarket as rt, MobileFeedTradePosition as s, MobileServerSocialFeedPositionHistoryCard as st, MOBILE_FEED_MARGIN_MODES as t, MobileServerSocialFeedItemBase as tt, MobileNotificationCategory as u, MobileServerSocialFeedPublishablePosition as ut, MobileServerAvatarSelection as v, MobileServerSocialFeedTradingContext as vt, MobileServerNotificationCapabilities as w, MobileSocialFeedActionUnavailableReason as wt, MobileServerFollowListAccount as x, MobileSocialFeedAction as xt, MobileServerFeedMargin as y, MobileServerSocialFeedTradingTarget as yt, MobileServerSocialFeedCapabilities as z, MobileSocialFeedPositionResolutionReason as zt };
938
+ //# sourceMappingURL=serverModelTypes-CGUZCi0y.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"serverModelTypes-CGUZCi0y.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;AAsBZ;;;AAAA,KAjBY,wBAAA;AAiB2D;AAGvE;;AAHuE,KAA3D,2BAAA,GAA8B,6BAA6B;;cAG1D,uCAAA;AAGb;AAAA,cAAa,uCAAA;;KAKD,mCAAA,WACF,uCAAuC;AAJvC;AAAA,KAOE,iCAAA,WACF,uCAAuC;;KAGrC,sBAAA;;AAPqC;AAGjD;KAaY,0BAAA;;;AAZqC;AAGjD;;UAsBiB,2BAAA;EACf,UAAA,EAAY,GAAG;EACf,QAAA;EACA,YAAA;EAhBoC;EAkBpC,UAAA;AAAA;AAlBoC;AAatC;;;;;AAbsC,UA2BrB,yBAAA;EACf,YAAA;EAZA;EAcA,iBAAA;EAZU;EAcV,WAAA,EAAa,2BAA2B;AAAA;;;;;;;;;AAAA;UAYzB,mBAAA,SAA4B,2BAA2B;EACtE,YAAA;;EAEA,GAAA;EAH2C;;;;EAQ3C,cAAA;EACA,eAAA;EAEiB;EAAjB,cAAA,GAAiB,yBAAA;AAAA;AAMnB;;;AAAA,UAAiB,6BAAA;EACf,QAAA,EAAU,2BAA2B;EAA3B;;;;AAQI;EAFd,YAAA;EAU0C;EAR1C,cAAA;AAAA;AAQwD;AAM1D;;;;AAN0D,KAA9C,gCAAA,GAAmC,WAAW;AAe1D;;;;AAAA,cATa,qCAA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,SAAA,EAAW,gCAAA;EAtIX;EAwIA,cAAA;AAAA;AAxI8C;AAAA,UA4I/B,oCAAA;EAxIyC;EA0IxD,UAAA;EAxI4C;EA0I5C,mBAAA,EAAqB,gCAAA;EA1IX;EA4IV,UAAA,EAAY,iCAAA;EAxIZ;EA0IA,UAAA,EAAY,mCAAA;EAtIZ;EAwIA,kBAAA;EAxIkB;EA0IlB,UAAA;AAAA;;UAIe,4BAAA;EAxIf;EA0IA,YAAA;EAtIA;EAwIA,QAAA;EAtIA;EAwIA,QAAA;EAtIoB;EAwIpB,OAAA;EAxI2D;EA0I3D,SAAA;EAtImD;EAwInD,UAAA;AAAA;;UAIe,kCAAA;EAxIY;EA0I3B,SAAA;EAtIA;EAwIA,YAAA;EAtIiB;EAwIjB,SAAA;EAtIgB;EAwIhB,MAAA,EAAQ,sBAAA;EApIO;EAsIf,SAAA,EAAW,gCAAA;;EAEX,WAAA,EAAa,gCAAA;AAAA;AAlIf;AAAA,UAsIiB,oCAAA;;EAEf,YAAA;EAhIW;EAkIX,UAAU;AAAA;;UAIK,8CAAA;EA5If;EA8IA,SAAA;EA1IA;EA4IA,QAAQ;AAAA;;UAIO,gCAAA;EA5IF;EA8Ib,OAAA;EA1IA;EA4IA,KAAK;AAAA"}
@@ -25,6 +25,24 @@ interface MobileServerAvatarPreset {
25
25
  * Platform of a device registered for push notifications.
26
26
  */
27
27
  type MobileNotificationPlatform = 'ios' | 'android';
28
+ /**
29
+ * Notification types supported by the v2 payload protocol.
30
+ */
31
+ type MobileNotificationTypeId = 'new_follower' | 'followed_you_back' | 'order_fill' | 'order_update' | 'liquidation' | 'trader_opened' | 'trader_closed' | 'position_milestone' | 'market_movement' | 'trader_streak' | 'account_drama' | 'weekly_digest';
32
+ /**
33
+ * Named navigation destinations supported by notification payloads.
34
+ */
35
+ type MobileNotificationRouteName = MobileServerNotificationRoute['name'];
36
+ /** Position milestone options supported by notification settings. */
37
+ declare const MOBILE_NOTIFICATION_POSITION_THRESHOLDS: readonly [10, 25, 50];
38
+ /** Minimum trade-size options, in whole USD, supported by notification settings. */
39
+ declare const MOBILE_NOTIFICATION_MIN_TRADE_SIZES_USD: readonly [0, 100, 1000, 10000];
40
+ /** Supported notification position milestone threshold. */
41
+ type MobileNotificationPositionThreshold = (typeof MOBILE_NOTIFICATION_POSITION_THRESHOLDS)[number];
42
+ /** Supported notification minimum trade size, in whole USD. */
43
+ type MobileNotificationMinTradeSizeUsd = (typeof MOBILE_NOTIFICATION_MIN_TRADE_SIZES_USD)[number];
44
+ /** Supported product analytics interaction. */
45
+ type MobileProductEventName = 'notif_opened' | 'market_viewed' | 'chart_opened' | 'search';
28
46
  /**
29
47
  * Category of push notification.
30
48
  */
@@ -186,6 +204,112 @@ interface MobileServerNotificationPreferences {
186
204
  schema_version: 1;
187
205
  categories: MobileServerNotificationCategoryPreference[];
188
206
  }
207
+ /**
208
+ * Stored push-device metadata shared by registration requests and token ownership responses.
209
+ */
210
+ interface MobileServerNotificationDeviceMetadata {
211
+ /** Device operating system. */
212
+ platform: MobileNotificationPlatform;
213
+ /** Locale tag, or null when absent; at most 35 UTF-8 bytes. */
214
+ locale: string | null;
215
+ /** App version, or null when absent; at most 64 UTF-8 bytes. */
216
+ app_version: string | null;
217
+ }
218
+ /**
219
+ * Device capabilities shared by v2 registration and v1/v2 registration queries.
220
+ */
221
+ interface MobileServerNotificationCapabilities {
222
+ /** Exactly one supported payload version. */
223
+ payload_versions: [1] | [2];
224
+ /** Supported subset of the registered notification types. */
225
+ type_ids: MobileNotificationTypeId[];
226
+ /** Supported subset of the named destinations. */
227
+ routes: MobileNotificationRouteName[];
228
+ }
229
+ /**
230
+ * Server-side wallet settings; all fields are required on replacement.
231
+ */
232
+ interface MobileServerNotificationSettings {
233
+ /** Own position milestones and the initial weekly digest. */
234
+ my_positions: boolean;
235
+ /** One to three unique values; the minimum selects the starting milestone tier. */
236
+ position_thresholds: MobileNotificationPositionThreshold[];
237
+ /** Combined order fill/update switch; does not control liquidation notifications. */
238
+ my_orders: boolean;
239
+ /** Ordinary followed-trader notifications; enabled bells override this switch. */
240
+ following_trades: boolean;
241
+ /** Notifications about posts by followed traders. */
242
+ following_posts: boolean;
243
+ /** Minimum trade size for trade notifications, in whole USD. */
244
+ min_trade_size_usd: MobileNotificationMinTradeSizeUsd;
245
+ /** New followers and follow-backs. */
246
+ new_followers: boolean;
247
+ /** Maps to the legacy announcement preference. */
248
+ announcements: boolean;
249
+ /** Opt-in trader streak and account drama discovery notifications. */
250
+ discovery: boolean;
251
+ }
252
+ /**
253
+ * Server-side allowlisted destination; notification data must never be interpreted as an arbitrary URL.
254
+ */
255
+ type MobileServerNotificationRoute = {
256
+ /** Public profile destination. */name: 'profile'; /** Profile subaccount as bytes32. */
257
+ subaccount: Hex;
258
+ } | {
259
+ /** Market destination. */name: 'market'; /** Positive product ID. */
260
+ product_id: number;
261
+ } | {
262
+ /** Own portfolio destination. */name: 'portfolio';
263
+ };
264
+ /**
265
+ * Server-side v2 push/inbox navigation data, not a complete historical trade or notification body.
266
+ */
267
+ interface MobileServerNotificationPayloadV2 {
268
+ /** Payload protocol version. */
269
+ payload_version: 2;
270
+ /** Logical notification UUID, used for click deduplication. */
271
+ notification_id: string;
272
+ /** Intended wallet; private navigation must wait for this wallet to connect. */
273
+ recipient_wallet: Hex;
274
+ /** Registered notification type. */
275
+ type_id: MobileNotificationTypeId;
276
+ /** Supported template version. */
277
+ template_version: 1;
278
+ /** Named destination and its parameters. */
279
+ route: MobileServerNotificationRoute;
280
+ }
281
+ /**
282
+ * Server-side accepted logical notification; does not prove device delivery or read status.
283
+ */
284
+ interface MobileServerNotificationInboxItem {
285
+ /** Logical notification UUID. */
286
+ notification_id: string;
287
+ /** Registered notification type. */
288
+ type_id: MobileNotificationTypeId;
289
+ /** Navigation data, without title, body, or read state. */
290
+ data: MobileServerNotificationPayloadV2;
291
+ /** Intent acceptance time in milliseconds. */
292
+ created_at: number;
293
+ /** Backend-computed trade attribution. */
294
+ trade_within_24h: boolean;
295
+ }
296
+ /**
297
+ * Server-side product analytics event; unused nullable fields must be explicitly null.
298
+ */
299
+ interface MobileServerProductEvent {
300
+ /** Stable event UUID; reuse across retries. */
301
+ client_event_id: string;
302
+ /** Supported interaction; notif_opened is not a read-state mutation. */
303
+ event_name: MobileProductEventName;
304
+ /** Required for notif_opened and owned by the signing wallet; otherwise null. */
305
+ notification_id: string | null;
306
+ /** Actual event time in milliseconds, within the past 7 days or next 5 minutes. */
307
+ occurred_at: number;
308
+ /** Required for market_viewed/chart_opened; otherwise null. */
309
+ product_id: number | null;
310
+ /** Required for search, nonblank and at most 80 Unicode characters; otherwise null. */
311
+ query: string | null;
312
+ }
189
313
  /** Content filters accepted by the six social feed lists. Empty or omitted means all. */
190
314
  type MobileSocialFeedType = 'open' | 'close' | 'size_change' | 'thoughts' | 'analysis' | 'comments';
191
315
  /** Market category used by the social feed. */
@@ -350,10 +474,37 @@ interface MobileServerSocialFeedCommentPreview {
350
474
  }
351
475
  /** Exposure requirements associated with a reading session. */
352
476
  interface MobileServerSocialFeedViewTracking {
353
- /** Required visible fraction. */
354
- min_visible_ratio: number;
355
- /** Required visible duration in milliseconds. */
356
- min_duration_ms: number;
477
+ /**
478
+ * Detail-visit exposure: report the primary detail target after it is shown in the foreground.
479
+ * List visible-ratio / dwell thresholds are no longer used.
480
+ */
481
+ mode: 'detail_visit';
482
+ }
483
+ /** Uploaded feed image metadata; bytes are fetched separately with the reading session. */
484
+ interface MobileServerSocialFeedImage {
485
+ /** Image UUID. */
486
+ image_id: string;
487
+ /** Backend path for the original image bytes. */
488
+ url: string;
489
+ /** Display-orientation width in pixels. */
490
+ width: number;
491
+ /** Display-orientation height in pixels. */
492
+ height: number;
493
+ /** Detected content type. */
494
+ content_type: 'image/jpeg' | 'image/png';
495
+ /** Original file size in bytes. */
496
+ byte_size: number;
497
+ /** Always-present thumbnail (longest edge ≤ 512, never upscaled). */
498
+ thumbnail: MobileServerSocialFeedImageThumbnail;
499
+ }
500
+ /** Thumbnail metadata for an uploaded feed image. */
501
+ interface MobileServerSocialFeedImageThumbnail {
502
+ /** Backend path for the thumbnail bytes. */
503
+ url: string;
504
+ /** Thumbnail width in pixels. */
505
+ width: number;
506
+ /** Thumbnail height in pixels. */
507
+ height: number;
357
508
  }
358
509
  /** Coverage of the candidate authors in a qualification snapshot. */
359
510
  interface MobileServerSocialFeedCohortCoverage {
@@ -398,6 +549,8 @@ interface MobileServerSocialFeedItemBase {
398
549
  }
399
550
  /** Content shared by authored posts and trade cards. */
400
551
  interface MobileServerSocialFeedContentBase extends MobileServerSocialFeedItemBase {
552
+ /** Bound images in display order; empty when none. */
553
+ images: MobileServerSocialFeedImage[];
401
554
  /** Card text, empty for automatic cards. */
402
555
  text: string;
403
556
  /** Mentions in the original, unmodified text. */
@@ -451,13 +604,13 @@ type MobileServerSocialFeedTradeRow = MobileServerSocialFeedTradeRowBase & ({
451
604
  });
452
605
  /** Discriminated social feed content. */
453
606
  type MobileServerSocialFeedItem = MobileServerSocialFeedTradeCard | MobileServerSocialFeedTradeRow | MobileServerSocialFeedPost | MobileServerSocialFeedReply;
454
- /** Fixed-duration social feed reading session. Credentials and cursors must be returned unchanged. */
607
+ /** Idle-renewed social feed reading session. Credentials and cursors must be returned unchanged. */
455
608
  interface MobileServerSocialFeedReadSession {
456
609
  /** Session identifier. */
457
610
  session_id: string;
458
611
  /** Feed, item, or full position history session. */
459
612
  mode: MobileSocialFeedReadSessionMode;
460
- /** Fixed expiration time in Unix milliseconds; pagination does not extend it. */
613
+ /** Current idle expiration in Unix milliseconds; legitimate session requests renew it. */
461
614
  expires_at_ms: number;
462
615
  /** Visibility requirements for explicit exposure reporting. */
463
616
  view_tracking: MobileServerSocialFeedViewTracking;
@@ -578,6 +731,8 @@ interface MobileServerSocialFeedPost extends MobileServerSocialFeedContentBase {
578
731
  interface MobileServerSocialFeedReply extends MobileServerSocialFeedItemBase {
579
732
  /** Reply discriminant. */
580
733
  kind: 'reply';
734
+ /** Bound images in display order; empty when none. */
735
+ images: MobileServerSocialFeedImage[];
581
736
  /** Original text. */
582
737
  text: string;
583
738
  /** Mentions in the text. */
@@ -779,5 +934,5 @@ interface MobileServerSocialFeedChartRange {
779
934
  to_ms: number;
780
935
  }
781
936
  //#endregion
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
937
+ export { MobileServerSocialFeedInteraction as $, MobileServerNotificationPreferences as A, MobileSocialFeedLeverage as At, MobileServerSocialFeedChartRange as B, MobileSocialFeedPositionState as Bt, MobileServerIdentitySummary as C, MobileSocialFeedActionResolution as Ct, MobileServerNotificationInboxItem as D, MobileSocialFeedChartInterval as Dt, MobileServerNotificationDeviceMetadata as E, MobileSocialFeedChartDataQuality as Et, MobileServerSocialFeedActionCandidate as F, MobileSocialFeedPnlMode as Ft, MobileServerSocialFeedContentBase as G, MobileSocialFeedTradeCardAction as Gt, MobileServerSocialFeedCohortCoverage as H, MobileSocialFeedReadSessionMode as Ht, MobileServerSocialFeedActionMarker as I, MobileSocialFeedPnlQuality as It, MobileServerSocialFeedHistoryMetrics as J, MobileSocialFeedTraderDataStatus as Jt, MobileServerSocialFeedDrawing as K, MobileSocialFeedTradeSizeChangeAction as Kt, MobileServerSocialFeedAuthor as L, MobileSocialFeedPositionDisplayBasis as Lt, MobileServerNotificationSettings as M, MobileSocialFeedMarketCategory as Mt, MobileServerProductEvent as N, MobileSocialFeedMention as Nt, MobileServerNotificationPayloadV2 as O, MobileSocialFeedCohortStatus as Ot, MobileServerProfile as P, MobileSocialFeedPnlBasis as Pt, MobileServerSocialFeedImageThumbnail as Q, MobileServerSocialFeedCandle as R, MobileSocialFeedPositionResolution as Rt, MobileServerFollowSummary as S, MobileSocialFeedActionPriceBasis as St, MobileServerNotificationCategoryPreference as T, MobileSocialFeedAttachmentStatus as Tt, MobileServerSocialFeedCommentPreview as U, MobileSocialFeedSourceCategory as Ut, MobileServerSocialFeedCohort as V, MobileSocialFeedPresenceState as Vt, MobileServerSocialFeedCompactCard as W, MobileSocialFeedTargetType as Wt, MobileServerSocialFeedHistoryTake as X, MobileSocialFeedType as Xt, MobileServerSocialFeedHistorySummary as Y, MobileSocialFeedTradingResolution as Yt, MobileServerSocialFeedImage as Z, MobileSocialFeedUnavailableTarget as Zt, MobileServerAvatarPreset as _, MobileServerSocialFeedTraderBadge as _t, MOBILE_NOTIFICATION_POSITION_THRESHOLDS as a, MobileServerSocialFeedPositionAction as at, MobileServerFeedTrade as b, MobileServerSocialFeedViewTracking as bt, MobileFeedTradePositionDirection as c, MobileServerSocialFeedPositionPatch as ct, MobileNotificationMinTradeSizeUsd as d, MobileServerSocialFeedReadSession as dt, MobileServerSocialFeedItem as et, MobileNotificationPlatform as f, MobileServerSocialFeedReply as ft, MobileProductEventName as g, MobileServerSocialFeedTradeRowBase as gt, MobileNotificationTypeId as h, MobileServerSocialFeedTradeRow as ht, MOBILE_NOTIFICATION_MIN_TRADE_SIZES_USD as i, MobileServerSocialFeedPnl as it, MobileServerNotificationRoute as j, MobileSocialFeedLiquidationPriceQuality as jt, MobileServerNotificationPreferenceScope as k, MobileSocialFeedHistoryQuality as kt, MobileFeedTradePositionEffect as l, MobileServerSocialFeedPost as lt, MobileNotificationRouteName as m, MobileServerSocialFeedTradeCard as mt, MOBILE_FEED_TRADE_POSITION_DIRECTIONS as n, MobileServerSocialFeedItemPatch as nt, MobileFeedMarginMode as o, MobileServerSocialFeedPositionCard as ot, MobileNotificationPositionThreshold as p, MobileServerSocialFeedTimelineEntry as pt, MobileServerSocialFeedEstimatedLiquidationLine as q, MobileSocialFeedTraderBadgeCode as qt, MOBILE_FEED_TRADE_POSITION_EFFECTS as r, MobileServerSocialFeedMarket as rt, MobileFeedTradePosition as s, MobileServerSocialFeedPositionHistoryCard as st, MOBILE_FEED_MARGIN_MODES as t, MobileServerSocialFeedItemBase as tt, MobileNotificationCategory as u, MobileServerSocialFeedPublishablePosition as ut, MobileServerAvatarSelection as v, MobileServerSocialFeedTradingContext as vt, MobileServerNotificationCapabilities as w, MobileSocialFeedActionUnavailableReason as wt, MobileServerFollowListAccount as x, MobileSocialFeedAction as xt, MobileServerFeedMargin as y, MobileServerSocialFeedTradingTarget as yt, MobileServerSocialFeedCapabilities as z, MobileSocialFeedPositionResolutionReason as zt };
938
+ //# sourceMappingURL=serverModelTypes-CGUZCi0y.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"serverModelTypes-CGUZCi0y.d.ts","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;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AAA;AAAA;;UAIe,kCAAA;EAxIY;EA0I3B,SAAA;EAtIA;EAwIA,YAAA;EAtIiB;EAwIjB,SAAA;EAtIgB;EAwIhB,MAAA,EAAQ,sBAAA;EApIO;EAsIf,SAAA,EAAW,gCAAA;;EAEX,WAAA,EAAa,gCAAA;AAAA;AAlIf;AAAA,UAsIiB,oCAAA;;EAEf,YAAA;EAhIW;EAkIX,UAAU;AAAA;;UAIK,8CAAA;EA5If;EA8IA,SAAA;EA1IA;EA4IA,QAAQ;AAAA;;UAIO,gCAAA;EA5IF;EA8Ib,OAAA;EA1IA;EA4IA,KAAK;AAAA"}
@@ -1,4 +1,4 @@
1
- import { t as MobileServerFailureResponse } from "./serverBaseTypes-DnLzsdm-.js";
1
+ import { $ as MobileServerFailureResponse } from "./types-Cwy1y_9x.js";
2
2
 
3
3
  //#region src/utils/serverResponseGuards.d.ts
4
4
  /**
@@ -13,4 +13,4 @@ declare function isMobileServerSuccessResponse<T extends {
13
13
  }>(data: unknown): data is T;
14
14
  //#endregion
15
15
  export { isMobileServerSuccessResponse as n, isMobileServerFailureResponse as t };
16
- //# sourceMappingURL=serverResponseGuards-CShiXpHT.d.ts.map
16
+ //# sourceMappingURL=serverResponseGuards-Bvw8ltYJ.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"serverResponseGuards-CShiXpHT.d.ts","names":[],"sources":["../src/utils/src/utils/serverResponseGuards.ts"],"mappings":";;;;;AAKA;iBAAgB,6BAAA,CACd,IAAA,YACC,IAAA,IAAQ,2BAA2B;;;;iBAWtB,6BAAA;EAA0C,MAAA;AAAA,EAAA,CACxD,IAAA,YACC,IAAA,IAAQ,CAAC"}
1
+ {"version":3,"file":"serverResponseGuards-Bvw8ltYJ.d.ts","names":[],"sources":["../src/utils/src/utils/serverResponseGuards.ts"],"mappings":";;;;;AAKA;iBAAgB,6BAAA,CACd,IAAA,YACC,IAAA,IAAQ,2BAA2B;;;;iBAWtB,6BAAA;EAA0C,MAAA;AAAA,EAAA,CACxD,IAAA,YACC,IAAA,IAAQ,CAAC"}
@@ -1,4 +1,4 @@
1
- import { t as MobileServerFailureResponse } from "./serverBaseTypes-B5J1_TyC.cjs";
1
+ import { $ as MobileServerFailureResponse } from "./types-C9YE4EIt.cjs";
2
2
 
3
3
  //#region src/utils/serverResponseGuards.d.ts
4
4
  /**
@@ -13,4 +13,4 @@ declare function isMobileServerSuccessResponse<T extends {
13
13
  }>(data: unknown): data is T;
14
14
  //#endregion
15
15
  export { isMobileServerSuccessResponse as n, isMobileServerFailureResponse as t };
16
- //# sourceMappingURL=serverResponseGuards-BW69PS7O.d.cts.map
16
+ //# sourceMappingURL=serverResponseGuards-i1njcYKN.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"serverResponseGuards-BW69PS7O.d.cts","names":[],"sources":["../src/utils/src/utils/serverResponseGuards.ts"],"mappings":";;;;;AAKA;iBAAgB,6BAAA,CACd,IAAA,YACC,IAAA,IAAQ,2BAA2B;;;;iBAWtB,6BAAA;EAA0C,MAAA;AAAA,EAAA,CACxD,IAAA,YACC,IAAA,IAAQ,CAAC"}
1
+ {"version":3,"file":"serverResponseGuards-i1njcYKN.d.cts","names":[],"sources":["../src/utils/src/utils/serverResponseGuards.ts"],"mappings":";;;;;AAKA;iBAAgB,6BAAA,CACd,IAAA,YACC,IAAA,IAAQ,2BAA2B;;;;iBAWtB,6BAAA;EAA0C,MAAA;AAAA,EAAA,CACxD,IAAA,YACC,IAAA,IAAQ,CAAC"}
@@ -1,2 +1,2 @@
1
- import { t as buildSignedMobileRequest } from "../buildSignedMobileRequest-C1v0flCR.cjs";
1
+ import { t as buildSignedMobileRequest } from "../buildSignedMobileRequest-DyKCK34Y.cjs";
2
2
  export { buildSignedMobileRequest };
@@ -1,2 +1,2 @@
1
- import { t as buildSignedMobileRequest } from "../buildSignedMobileRequest-UeeWdYGU.js";
1
+ import { t as buildSignedMobileRequest } from "../buildSignedMobileRequest-BR-KJhIF.js";
2
2
  export { buildSignedMobileRequest };
@@ -9,6 +9,48 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
9
9
  */
10
10
  function canonicalizeMobileInner(inner) {
11
11
  switch (inner.type) {
12
+ case "register_expo_token_v2": return {
13
+ type: inner.type,
14
+ expo_token: inner.expo_token,
15
+ platform: inner.platform,
16
+ locale: inner.locale,
17
+ app_version: inner.app_version,
18
+ capabilities: {
19
+ payload_versions: [...inner.capabilities.payload_versions],
20
+ type_ids: [...inner.capabilities.type_ids],
21
+ routes: [...inner.capabilities.routes]
22
+ }
23
+ };
24
+ case "notification_subscriptions": return { type: inner.type };
25
+ case "update_notification_subscriptions": return {
26
+ type: inner.type,
27
+ expected_revision: inner.expected_revision,
28
+ trader_bell: inner.trader_bell == null ? null : {
29
+ subaccount: inner.trader_bell.subaccount,
30
+ enabled: inner.trader_bell.enabled
31
+ },
32
+ market: inner.market == null ? null : {
33
+ product_id: inner.market.product_id,
34
+ subscribed: inner.market.subscribed
35
+ },
36
+ import_markets: inner.import_markets == null ? null : [...inner.import_markets]
37
+ };
38
+ case "notification_inbox_v2": return {
39
+ type: inner.type,
40
+ cursor: inner.cursor,
41
+ limit: inner.limit
42
+ };
43
+ case "record_product_events": return {
44
+ type: inner.type,
45
+ events: inner.events.map((event) => ({
46
+ client_event_id: event.client_event_id,
47
+ event_name: event.event_name,
48
+ notification_id: event.notification_id,
49
+ occurred_at: event.occurred_at,
50
+ product_id: event.product_id,
51
+ query: event.query
52
+ }))
53
+ };
12
54
  case "create_feed_post": return {
13
55
  type: inner.type,
14
56
  client_request_id: inner.client_request_id,
@@ -16,7 +58,8 @@ function canonicalizeMobileInner(inner) {
16
58
  ...inner.action_id === void 0 ? {} : { action_id: inner.action_id },
17
59
  text: inner.text,
18
60
  mentions: inner.mentions.map(canonicalizeMention),
19
- ...inner.drawing_data_json === void 0 ? {} : { drawing_data_json: inner.drawing_data_json }
61
+ ...inner.drawing_data_json === void 0 ? {} : { drawing_data_json: inner.drawing_data_json },
62
+ ...inner.image_ids === void 0 ? {} : { image_ids: [...inner.image_ids] }
20
63
  };
21
64
  case "create_feed_comment": return {
22
65
  type: inner.type,
@@ -25,7 +68,13 @@ function canonicalizeMobileInner(inner) {
25
68
  ...inner.reply_to_item_id === void 0 ? {} : { reply_to_item_id: inner.reply_to_item_id },
26
69
  text: inner.text,
27
70
  mentions: inner.mentions.map(canonicalizeMention),
28
- ...inner.attached_position_id === void 0 ? {} : { attached_position_id: inner.attached_position_id }
71
+ ...inner.attached_position_id === void 0 ? {} : { attached_position_id: inner.attached_position_id },
72
+ ...inner.image_ids === void 0 ? {} : { image_ids: [...inner.image_ids] }
73
+ };
74
+ case "create_feed_post_image_uploads":
75
+ case "create_feed_comment_image_uploads": return {
76
+ type: inner.type,
77
+ content_hash: inner.content_hash
29
78
  };
30
79
  case "create_feed_chart_drawing":
31
80
  case "update_feed_chart_drawing": return {