@nadohq/mobile-client 0.65.0 → 0.67.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.
- package/README.md +202 -10
- package/dist/{MobileClient-CfVZXTcz.cjs → MobileClient-vuI5wlB_.cjs} +303 -21
- package/dist/MobileClient-vuI5wlB_.cjs.map +1 -0
- package/dist/MobileClient.cjs +1 -1
- package/dist/MobileClient.d.cts +175 -20
- package/dist/MobileClient.d.cts.map +1 -1
- package/dist/MobileClient.d.ts +175 -20
- package/dist/MobileClient.d.ts.map +1 -1
- package/dist/MobileClient.js +303 -21
- package/dist/MobileClient.js.map +1 -1
- package/dist/{MobileServerFailureError-BZVwlsMg.d.ts → MobileServerFailureError-BeCCNShj.d.cts} +2 -3
- package/dist/MobileServerFailureError-BeCCNShj.d.cts.map +1 -0
- package/dist/{MobileServerFailureError-CbtK8kD4.d.cts → MobileServerFailureError-hHv28weI.d.ts} +2 -3
- package/dist/MobileServerFailureError-hHv28weI.d.ts.map +1 -0
- package/dist/MobileUnsupportedNotificationRouteError-DpiNBvvY.d.cts +15 -0
- package/dist/MobileUnsupportedNotificationRouteError-DpiNBvvY.d.cts.map +1 -0
- package/dist/MobileUnsupportedNotificationRouteError-DpiNBvvY.d.ts +15 -0
- package/dist/MobileUnsupportedNotificationRouteError-DpiNBvvY.d.ts.map +1 -0
- package/dist/{buildSignedMobileRequest-C1v0flCR.d.cts → buildSignedMobileRequest-DcEMKU_4.d.cts} +2 -2
- package/dist/{buildSignedMobileRequest-C1v0flCR.d.cts.map → buildSignedMobileRequest-DcEMKU_4.d.cts.map} +1 -1
- package/dist/{buildSignedMobileRequest-UeeWdYGU.d.ts → buildSignedMobileRequest-DlTMvoXR.d.ts} +2 -2
- package/dist/{buildSignedMobileRequest-UeeWdYGU.d.ts.map → buildSignedMobileRequest-DlTMvoXR.d.ts.map} +1 -1
- package/dist/{canonicalize-5eeZrkzQ.d.ts → canonicalize-BOZlflI3.d.ts} +2 -2
- package/dist/canonicalize-BOZlflI3.d.ts.map +1 -0
- package/dist/{canonicalize-CBaZprTo.d.cts → canonicalize-BvCozzvJ.d.cts} +2 -2
- package/dist/canonicalize-BvCozzvJ.d.cts.map +1 -0
- package/dist/{clientTypes-_mEgzmNs.d.cts → clientTypes-KpHlCDGZ.d.cts} +341 -38
- package/dist/clientTypes-KpHlCDGZ.d.cts.map +1 -0
- package/dist/{clientTypes-C9dJufxk.d.ts → clientTypes-XRI41VdC.d.ts} +341 -38
- package/dist/clientTypes-XRI41VdC.d.ts.map +1 -0
- package/dist/dataMappers.cjs +257 -20
- package/dist/dataMappers.cjs.map +1 -1
- package/dist/dataMappers.d.cts +98 -15
- package/dist/dataMappers.d.cts.map +1 -1
- package/dist/dataMappers.d.ts +98 -15
- package/dist/dataMappers.d.ts.map +1 -1
- package/dist/dataMappers.js +242 -20
- package/dist/dataMappers.js.map +1 -1
- package/dist/{eip712MethodByType-D8jLoxDu.d.cts → eip712MethodByType-DyAmzH7b.d.cts} +2 -2
- package/dist/eip712MethodByType-DyAmzH7b.d.cts.map +1 -0
- package/dist/{eip712MethodByType-DcUh8h-l.d.ts → eip712MethodByType-qSSAF6i2.d.ts} +2 -2
- package/dist/eip712MethodByType-qSSAF6i2.d.ts.map +1 -0
- package/dist/feed-BrgkFqP3.d.cts +23 -0
- package/dist/feed-BrgkFqP3.d.cts.map +1 -0
- package/dist/feed-DcbhLoo1.d.ts +23 -0
- package/dist/feed-DcbhLoo1.d.ts.map +1 -0
- package/dist/index-BVVgDSdq.d.cts +1 -0
- package/dist/index-BVVgDSdq.d.ts +1 -0
- package/dist/index.cjs +8 -2
- package/dist/index.d.cts +14 -16
- package/dist/index.d.ts +14 -16
- package/dist/index.js +4 -3
- package/dist/{mobileErrorCodes-CmjYEIYm.d.ts → mobileErrorCodes-CdwX6QTO.d.cts} +8 -3
- package/dist/mobileErrorCodes-CdwX6QTO.d.cts.map +1 -0
- package/dist/{mobileErrorCodes-CmjYEIYm.d.cts → mobileErrorCodes-CdwX6QTO.d.ts} +8 -3
- package/dist/mobileErrorCodes-CdwX6QTO.d.ts.map +1 -0
- package/dist/{payloadHash-DhHmgRqL.d.cts → payloadHash-BgGSZock.d.cts} +2 -2
- package/dist/payloadHash-BgGSZock.d.cts.map +1 -0
- package/dist/{payloadHash-E1_8fpLW.d.ts → payloadHash-Bi6upCLQ.d.ts} +2 -2
- package/dist/payloadHash-Bi6upCLQ.d.ts.map +1 -0
- package/dist/{serverExecuteTypes-BwWGspOg.d.ts → serverExecuteTypes-DuCWe_H_.d.cts} +23 -14
- package/dist/serverExecuteTypes-DuCWe_H_.d.cts.map +1 -0
- package/dist/{serverExecuteTypes-B-OJok19.d.cts → serverExecuteTypes-usJ6HMJv.d.ts} +23 -14
- package/dist/serverExecuteTypes-usJ6HMJv.d.ts.map +1 -0
- package/dist/{serverModelTypes-CiA-dy1R.d.ts → serverModelTypes-CTHMNIQS.d.cts} +170 -13
- package/dist/serverModelTypes-CTHMNIQS.d.cts.map +1 -0
- package/dist/{serverModelTypes-CiA-dy1R.d.cts → serverModelTypes-CTHMNIQS.d.ts} +170 -13
- package/dist/serverModelTypes-CTHMNIQS.d.ts.map +1 -0
- package/dist/{serverResponseGuards-CShiXpHT.d.ts → serverResponseGuards-CzmldAad.d.cts} +2 -2
- package/dist/{serverResponseGuards-BW69PS7O.d.cts.map → serverResponseGuards-CzmldAad.d.cts.map} +1 -1
- package/dist/{serverResponseGuards-BW69PS7O.d.cts → serverResponseGuards-Dvkbjp2_.d.ts} +2 -2
- package/dist/{serverResponseGuards-CShiXpHT.d.ts.map → serverResponseGuards-Dvkbjp2_.d.ts.map} +1 -1
- package/dist/signing/buildSignedMobileRequest.d.cts +1 -1
- package/dist/signing/buildSignedMobileRequest.d.ts +1 -1
- package/dist/signing/canonicalize.cjs +53 -2
- package/dist/signing/canonicalize.cjs.map +1 -1
- package/dist/signing/canonicalize.d.cts +1 -1
- package/dist/signing/canonicalize.d.ts +1 -1
- package/dist/signing/canonicalize.js +53 -2
- package/dist/signing/canonicalize.js.map +1 -1
- package/dist/signing/eip712MethodByType.cjs +7 -0
- package/dist/signing/eip712MethodByType.cjs.map +1 -1
- package/dist/signing/eip712MethodByType.d.cts +1 -1
- package/dist/signing/eip712MethodByType.d.ts +1 -1
- package/dist/signing/eip712MethodByType.js +7 -0
- package/dist/signing/eip712MethodByType.js.map +1 -1
- package/dist/signing/index.d.cts +5 -5
- package/dist/signing/index.d.ts +5 -5
- package/dist/signing/payloadHash.cjs +1 -1
- package/dist/signing/payloadHash.d.cts +1 -1
- package/dist/signing/payloadHash.d.ts +1 -1
- package/dist/signing/payloadHash.js +1 -1
- package/dist/signing/types.d.cts +1 -1
- package/dist/signing/types.d.ts +1 -1
- package/dist/types/MobileServerFailureError.d.cts +1 -1
- package/dist/types/MobileServerFailureError.d.ts +1 -1
- package/dist/types/MobileUnsupportedNotificationRouteError.cjs +19 -0
- package/dist/types/MobileUnsupportedNotificationRouteError.cjs.map +1 -0
- package/dist/types/MobileUnsupportedNotificationRouteError.d.cts +2 -0
- package/dist/types/MobileUnsupportedNotificationRouteError.d.ts +2 -0
- package/dist/types/MobileUnsupportedNotificationRouteError.js +18 -0
- package/dist/types/MobileUnsupportedNotificationRouteError.js.map +1 -0
- package/dist/types/clientTypes.d.cts +2 -2
- package/dist/types/clientTypes.d.ts +2 -2
- package/dist/types/index.cjs +4 -0
- package/dist/types/index.d.cts +8 -9
- package/dist/types/index.d.ts +8 -9
- package/dist/types/index.js +3 -2
- package/dist/types/mobileErrorCodes.cjs +11 -1
- package/dist/types/mobileErrorCodes.cjs.map +1 -1
- package/dist/types/mobileErrorCodes.d.cts +1 -1
- package/dist/types/mobileErrorCodes.d.ts +1 -1
- package/dist/types/mobileErrorCodes.js +11 -1
- package/dist/types/mobileErrorCodes.js.map +1 -1
- package/dist/types/serverBaseTypes.d.cts +1 -1
- package/dist/types/serverBaseTypes.d.ts +1 -1
- package/dist/types/serverExecuteTypes.d.cts +2 -2
- package/dist/types/serverExecuteTypes.d.ts +2 -2
- package/dist/types/serverModelTypes.cjs +15 -0
- package/dist/types/serverModelTypes.cjs.map +1 -1
- package/dist/types/serverModelTypes.d.cts +2 -2
- package/dist/types/serverModelTypes.d.ts +2 -2
- package/dist/types/serverModelTypes.js +14 -1
- package/dist/types/serverModelTypes.js.map +1 -1
- package/dist/types/serverQueryTypes.d.cts +2 -2
- package/dist/types/serverQueryTypes.d.ts +2 -2
- package/dist/types/serverRequestTypes.d.cts +2 -2
- package/dist/types/serverRequestTypes.d.ts +2 -2
- package/dist/types-CByl_NyJ.d.ts +825 -0
- package/dist/types-CByl_NyJ.d.ts.map +1 -0
- package/dist/types-CR5iaKR4.d.cts +825 -0
- package/dist/types-CR5iaKR4.d.cts.map +1 -0
- package/dist/utils/buildMobileFeedImageMultipart.cjs +31 -0
- package/dist/utils/buildMobileFeedImageMultipart.cjs.map +1 -0
- package/dist/utils/buildMobileFeedImageMultipart.d.cts +15 -0
- package/dist/utils/buildMobileFeedImageMultipart.d.cts.map +1 -0
- package/dist/utils/buildMobileFeedImageMultipart.d.ts +15 -0
- package/dist/utils/buildMobileFeedImageMultipart.d.ts.map +1 -0
- package/dist/utils/buildMobileFeedImageMultipart.js +30 -0
- package/dist/utils/buildMobileFeedImageMultipart.js.map +1 -0
- package/dist/utils/feed.cjs +12 -0
- package/dist/utils/feed.cjs.map +1 -1
- package/dist/utils/feed.d.cts +2 -2
- package/dist/utils/feed.d.ts +2 -2
- package/dist/utils/feed.js +11 -1
- package/dist/utils/feed.js.map +1 -1
- package/dist/utils/index.cjs +3 -1
- package/dist/utils/index.d.cts +3 -3
- package/dist/utils/index.d.ts +3 -3
- package/dist/utils/index.js +2 -2
- package/dist/utils/serverResponseGuards.d.cts +1 -1
- package/dist/utils/serverResponseGuards.d.ts +1 -1
- package/package.json +3 -3
- package/src/MobileClient.ts +444 -19
- package/src/dataMappers.test.ts +511 -6
- package/src/dataMappers.ts +325 -24
- package/src/feedImages.test.ts +309 -0
- package/src/notifications.test.ts +950 -0
- package/src/signing/canonicalize.ts +72 -0
- package/src/signing/eip712MethodByType.ts +10 -0
- package/src/signing/signing.test.ts +67 -1
- package/src/signing/types.ts +55 -9
- package/src/socialFeed.test.ts +63 -2
- package/src/types/MobileUnsupportedNotificationRouteError.ts +16 -0
- package/src/types/clientTypes.ts +427 -36
- package/src/types/index.ts +1 -0
- package/src/types/mobileErrorCodes.ts +10 -0
- package/src/types/serverExecuteTypes.ts +22 -10
- package/src/types/serverModelTypes.ts +216 -11
- package/src/types/serverQueryTypes.ts +106 -9
- package/src/types/serverRequestTypes.ts +114 -17
- package/src/utils/buildMobileFeedImageMultipart.test.ts +45 -0
- package/src/utils/buildMobileFeedImageMultipart.ts +36 -0
- package/src/utils/feed.ts +16 -0
- package/dist/MobileClient-CfVZXTcz.cjs.map +0 -1
- package/dist/MobileServerFailureError-BZVwlsMg.d.ts.map +0 -1
- package/dist/MobileServerFailureError-CbtK8kD4.d.cts.map +0 -1
- package/dist/canonicalize-5eeZrkzQ.d.ts.map +0 -1
- package/dist/canonicalize-CBaZprTo.d.cts.map +0 -1
- package/dist/clientTypes-C9dJufxk.d.ts.map +0 -1
- package/dist/clientTypes-_mEgzmNs.d.cts.map +0 -1
- package/dist/eip712MethodByType-D8jLoxDu.d.cts.map +0 -1
- package/dist/eip712MethodByType-DcUh8h-l.d.ts.map +0 -1
- package/dist/feed-DTJlsg8W.d.cts +0 -14
- package/dist/feed-DTJlsg8W.d.cts.map +0 -1
- package/dist/feed-DTJlsg8W.d.ts +0 -14
- package/dist/feed-DTJlsg8W.d.ts.map +0 -1
- package/dist/mobileErrorCodes-CmjYEIYm.d.cts.map +0 -1
- package/dist/mobileErrorCodes-CmjYEIYm.d.ts.map +0 -1
- package/dist/payloadHash-DhHmgRqL.d.cts.map +0 -1
- package/dist/payloadHash-E1_8fpLW.d.ts.map +0 -1
- package/dist/serverBaseTypes-B5J1_TyC.d.cts +0 -25
- package/dist/serverBaseTypes-B5J1_TyC.d.cts.map +0 -1
- package/dist/serverBaseTypes-DnLzsdm-.d.ts +0 -25
- package/dist/serverBaseTypes-DnLzsdm-.d.ts.map +0 -1
- package/dist/serverExecuteTypes-B-OJok19.d.cts.map +0 -1
- package/dist/serverExecuteTypes-BwWGspOg.d.ts.map +0 -1
- package/dist/serverModelTypes-CiA-dy1R.d.cts.map +0 -1
- package/dist/serverModelTypes-CiA-dy1R.d.ts.map +0 -1
- package/dist/serverQueryTypes-CJcjLB7n.d.ts +0 -283
- package/dist/serverQueryTypes-CJcjLB7n.d.ts.map +0 -1
- package/dist/serverQueryTypes-V1f9yE7L.d.cts +0 -283
- package/dist/serverQueryTypes-V1f9yE7L.d.cts.map +0 -1
- package/dist/serverRequestTypes-CRlkNSu5.d.cts +0 -270
- package/dist/serverRequestTypes-CRlkNSu5.d.cts.map +0 -1
- package/dist/serverRequestTypes-DZoOhV2o.d.ts +0 -270
- package/dist/serverRequestTypes-DZoOhV2o.d.ts.map +0 -1
- package/dist/types-BiRmH5Iv.d.cts +0 -108
- package/dist/types-BiRmH5Iv.d.cts.map +0 -1
- package/dist/types-DoJuq0Ij.d.ts +0 -108
- package/dist/types-DoJuq0Ij.d.ts.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
export { GetMobileFeedChartDrawingParams, GetMobileFeedCommentsParams, GetMobileFeedItemParams, GetMobileFeedParams, GetMobileFeedUpdatesParams, GetMobileFollowListParams, GetMobileFollowersParams, GetMobileFollowingParams, GetMobileForYouFeedParams, GetMobileFriendsFeedParams, GetMobileMarketFeedParams, GetMobileNotificationPreferencesParams, GetMobilePositionChartParams, GetMobilePositionFeedParams, GetMobilePositionHistoryParams, GetMobilePositionWatchersParams, GetMobileProfileFeedParams, GetMobileProfilesParams, GetMobileRegisteredWalletParams, GetMobileSelfFeedPositionsParams, GetMobileTopTradersFeedParams, GetMobileUsernameAvailabilityParams, MobileAvatarPreset, MobileAvatarSelection, MobileAvatarUpload, MobileCreateAvatarUploadParams, MobileCreateFeedCommentParams, MobileCreateFeedPostParams, MobileFeedChartDrawingParams, MobileFeedMargin, MobileFeedPage, MobileFeedTrade, MobileFollowBatchResultItem, MobileFollowListAccount, MobileFollowListPage, MobileFollowMutationResult, MobileFollowSummary, MobileIdentitySummary, MobileNotificationCategoryPreference, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobilePositionPresenceParams, MobileProfileSearchPage, MobileProfilesInclude, MobilePublicProfile, MobileRecordFeedViewsParams, MobileRegisterExpoTokenParams, MobileRegisteredWallet, MobileSetAvatarParams, MobileSetBioParams, MobileSetFeedLikeParams, MobileSetFollowBatchParams, MobileSetFollowParams, MobileSetPrivateModeParams, MobileSetUsernameParams, MobileSignedRequestParams, MobileSocialFeedActionCandidate, MobileSocialFeedActionMarker, MobileSocialFeedActionResolutionResult, MobileSocialFeedAuthor, MobileSocialFeedCandle, MobileSocialFeedCapabilities, MobileSocialFeedCategorizedParams, MobileSocialFeedChartRange, MobileSocialFeedCohort, MobileSocialFeedCohortCoverage, MobileSocialFeedCommentPreview, MobileSocialFeedCommentResult, MobileSocialFeedCommentsPage, MobileSocialFeedCompactCard, MobileSocialFeedContentBase, MobileSocialFeedDrawing, MobileSocialFeedDrawingMutationResult, MobileSocialFeedDrawingResult, MobileSocialFeedEstimatedLiquidationLine, MobileSocialFeedHistoryMetrics, MobileSocialFeedHistorySummary, MobileSocialFeedHistoryTake, MobileSocialFeedInteraction, MobileSocialFeedItem, MobileSocialFeedItemBase, MobileSocialFeedItemPatch, MobileSocialFeedItemResponse, MobileSocialFeedLikeResult, MobileSocialFeedListParams, MobileSocialFeedMarket, MobileSocialFeedMentionParams, MobileSocialFeedPage, MobileSocialFeedPnl, MobileSocialFeedPositionAction, MobileSocialFeedPositionCard, MobileSocialFeedPositionChart, MobileSocialFeedPositionHistory, MobileSocialFeedPositionHistoryCard, MobileSocialFeedPositionPatch, MobileSocialFeedPositionResolutionResult, MobileSocialFeedPositionsPage, MobileSocialFeedPost, MobileSocialFeedPresence, MobileSocialFeedPublishablePosition, MobileSocialFeedRankedPage, MobileSocialFeedReadParams, MobileSocialFeedReadSession, MobileSocialFeedReply, MobileSocialFeedTimelineEntry, MobileSocialFeedTopTradersPage, MobileSocialFeedTradeCard, MobileSocialFeedTradeRow, MobileSocialFeedTradeRowBase, MobileSocialFeedTraderBadge, MobileSocialFeedTradingContext, MobileSocialFeedTradingTarget, MobileSocialFeedUpdates,
|
|
1
|
+
import { $ as MobileNotificationPayloadV2, $t as MobileSocialFeedItem, A as GetMobileUsernameAvailabilityParams, An as MobileSocialFeedTradeRowBase, At as MobileSocialFeedCandle, B as MobileFeedMargin, Bn as MobileUpdateNotificationSubscriptionsParams, Bt as MobileSocialFeedCompactCard, C as GetMobilePositionThoughtsParams, Cn as MobileSocialFeedReadParams, Ct as MobileSetPrivateModeParams, D as GetMobileRegisteredWalletParams, Dn as MobileSocialFeedTopTradersPage, Dt as MobileSocialFeedActionMarker, E as GetMobileProfilesParams, En as MobileSocialFeedTimelineEntry, Et as MobileSocialFeedActionCandidate, F as MobileCreateFeedCommentParams, Fn as MobileSocialFeedUploadedImage, Ft as MobileSocialFeedCohortCoverage, G as MobileFollowListPage, Gn as SearchMobileProfilesParams, Gt as MobileSocialFeedEstimatedLiquidationLine, H as MobileFeedTrade, Hn as MobileWithExpoTokenParams, Ht as MobileSocialFeedDrawing, I as MobileCreateFeedImageUploadParams, In as MobileSocialFeedWatchers, It as MobileSocialFeedCommentGroup, J as MobileIdentitySummary, Jt as MobileSocialFeedHistorySummary, K as MobileFollowMutationResult, Kt as MobileSocialFeedExternalImage, L as MobileCreateFeedPostParams, Ln as MobileUnregisterExpoTokenParams, Lt as MobileSocialFeedCommentPreview, M as MobileAvatarSelection, Mn as MobileSocialFeedTradingContext, Mt as MobileSocialFeedCategorizedParams, N as MobileAvatarUpload, Nn as MobileSocialFeedTradingTarget, Nt as MobileSocialFeedChartRange, O as GetMobileSelfFeedPositionsParams, On as MobileSocialFeedTradeCard, Ot as MobileSocialFeedActionResolutionResult, P as MobileCreateAvatarUploadParams, Pn as MobileSocialFeedUpdates, Pt as MobileSocialFeedCohort, Q as MobileNotificationInboxV2, Qt as MobileSocialFeedInteraction, R as MobileFeedChartDrawingParams, Rn as MobileUpdateNotificationPreferencesParams, Rt as MobileSocialFeedCommentResult, S as GetMobilePositionHistoryParams, Sn as MobileSocialFeedRankedPage, St as MobileSetFollowParams, T as GetMobileProfileFeedParams, Tn as MobileSocialFeedReply, Tt as MobileSignedRequestParams, U as MobileFollowBatchResultItem, Un as ResolveMobileFeedActionParams, Ut as MobileSocialFeedDrawingMutationResult, V as MobileFeedPage, Vn as MobileUsernameAvailability, Vt as MobileSocialFeedContentBase, W as MobileFollowListAccount, Wn as ResolveMobileFeedPositionParams, Wt as MobileSocialFeedDrawingResult, X as MobileNotificationCategoryPreference, Xt as MobileSocialFeedImage, Y as MobileNotificationCapabilities, Yt as MobileSocialFeedHistoryTake, Z as MobileNotificationInboxItem, Zt as MobileSocialFeedImageThumbnail, _ as GetMobileNotificationSettingsV2Params, _n as MobileSocialFeedPositionThoughtsPage, _t as MobileRegisteredWallet, a as GetMobileFeedItemParams, an as MobileSocialFeedMarket, at as MobileNotificationSettingsV2, b as GetMobilePositionFeedParams, bn as MobileSocialFeedPresence, bt as MobileSetFeedLikeParams, c as GetMobileFollowListParams, cn as MobileSocialFeedPnl, ct as MobilePositionPresenceParams, d as GetMobileForYouFeedParams, dn as MobileSocialFeedPositionChart, dt as MobileProfilesInclude, en as MobileSocialFeedItemBase, et as MobileNotificationPreferenceScope, f as GetMobileFriendsFeedParams, fn as MobileSocialFeedPositionHistory, ft as MobilePublicProfile, g as GetMobileNotificationRegistrationV2Params, gn as MobileSocialFeedPositionThought, gt as MobileRegisterExpoTokenV2Params, h as GetMobileNotificationPreferencesParams, hn as MobileSocialFeedPositionResolutionResult, ht as MobileRegisterExpoTokenParams, i as GetMobileFeedImageRequestParams, in as MobileSocialFeedListParams, it as MobileNotificationSettings, j as MobileAvatarPreset, jn as MobileSocialFeedTraderBadge, jt as MobileSocialFeedCapabilities, k as GetMobileTopTradersFeedParams, kn as MobileSocialFeedTradeRow, kt as MobileSocialFeedAuthor, l as GetMobileFollowersParams, ln as MobileSocialFeedPositionAction, lt as MobileProductEvent, m as GetMobileNotificationInboxV2Params, mn as MobileSocialFeedPositionPatch, mt as MobileRecordProductEventsParams, n as GetMobileFeedCommentsParams, nn as MobileSocialFeedItemResponse, nt as MobileNotificationRegistrationV2, o as GetMobileFeedParams, on as MobileSocialFeedMentionParams, ot as MobileNotificationSubscriptions, p as GetMobileMarketFeedParams, pn as MobileSocialFeedPositionHistoryCard, pt as MobileRecordFeedViewsParams, q as MobileFollowSummary, qt as MobileSocialFeedHistoryMetrics, r as GetMobileFeedImageBytesParams, rn as MobileSocialFeedLikeResult, rt as MobileNotificationRoute, s as GetMobileFeedUpdatesParams, sn as MobileSocialFeedPage, st as MobileNotificationSubscriptionsUpdate, t as GetMobileFeedChartDrawingParams, tn as MobileSocialFeedItemPatch, tt as MobileNotificationPreferences, u as GetMobileFollowingParams, un as MobileSocialFeedPositionCard, ut as MobileProfileSearchPage, v as GetMobileNotificationSubscriptionsParams, vn as MobileSocialFeedPositionsPage, vt as MobileSetAvatarParams, w as GetMobilePositionWatchersParams, wn as MobileSocialFeedReadSession, wt as MobileSetUsernameParams, x as GetMobilePositionHistoryAllParams, xn as MobileSocialFeedPublishablePosition, xt as MobileSetFollowBatchParams, y as GetMobilePositionChartParams, yn as MobileSocialFeedPost, yt as MobileSetBioParams, z as MobileFeedImageRequest, zn as MobileUpdateNotificationSettingsV2Params, zt as MobileSocialFeedCommentsPage } from "../clientTypes-XRI41VdC.js";
|
|
2
|
+
export { GetMobileFeedChartDrawingParams, GetMobileFeedCommentsParams, GetMobileFeedImageBytesParams, GetMobileFeedImageRequestParams, GetMobileFeedItemParams, GetMobileFeedParams, GetMobileFeedUpdatesParams, GetMobileFollowListParams, GetMobileFollowersParams, GetMobileFollowingParams, GetMobileForYouFeedParams, GetMobileFriendsFeedParams, GetMobileMarketFeedParams, GetMobileNotificationInboxV2Params, GetMobileNotificationPreferencesParams, GetMobileNotificationRegistrationV2Params, GetMobileNotificationSettingsV2Params, GetMobileNotificationSubscriptionsParams, GetMobilePositionChartParams, GetMobilePositionFeedParams, GetMobilePositionHistoryAllParams, GetMobilePositionHistoryParams, GetMobilePositionThoughtsParams, GetMobilePositionWatchersParams, GetMobileProfileFeedParams, GetMobileProfilesParams, GetMobileRegisteredWalletParams, GetMobileSelfFeedPositionsParams, GetMobileTopTradersFeedParams, GetMobileUsernameAvailabilityParams, MobileAvatarPreset, MobileAvatarSelection, MobileAvatarUpload, MobileCreateAvatarUploadParams, MobileCreateFeedCommentParams, MobileCreateFeedImageUploadParams, MobileCreateFeedPostParams, MobileFeedChartDrawingParams, MobileFeedImageRequest, MobileFeedMargin, MobileFeedPage, MobileFeedTrade, MobileFollowBatchResultItem, MobileFollowListAccount, MobileFollowListPage, MobileFollowMutationResult, MobileFollowSummary, MobileIdentitySummary, MobileNotificationCapabilities, MobileNotificationCategoryPreference, MobileNotificationInboxItem, MobileNotificationInboxV2, MobileNotificationPayloadV2, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobileNotificationRegistrationV2, MobileNotificationRoute, MobileNotificationSettings, MobileNotificationSettingsV2, MobileNotificationSubscriptions, MobileNotificationSubscriptionsUpdate, MobilePositionPresenceParams, MobileProductEvent, MobileProfileSearchPage, MobileProfilesInclude, MobilePublicProfile, MobileRecordFeedViewsParams, MobileRecordProductEventsParams, MobileRegisterExpoTokenParams, MobileRegisterExpoTokenV2Params, MobileRegisteredWallet, MobileSetAvatarParams, MobileSetBioParams, MobileSetFeedLikeParams, MobileSetFollowBatchParams, MobileSetFollowParams, MobileSetPrivateModeParams, MobileSetUsernameParams, MobileSignedRequestParams, MobileSocialFeedActionCandidate, MobileSocialFeedActionMarker, MobileSocialFeedActionResolutionResult, MobileSocialFeedAuthor, MobileSocialFeedCandle, MobileSocialFeedCapabilities, MobileSocialFeedCategorizedParams, MobileSocialFeedChartRange, MobileSocialFeedCohort, MobileSocialFeedCohortCoverage, MobileSocialFeedCommentGroup, MobileSocialFeedCommentPreview, MobileSocialFeedCommentResult, MobileSocialFeedCommentsPage, MobileSocialFeedCompactCard, MobileSocialFeedContentBase, MobileSocialFeedDrawing, MobileSocialFeedDrawingMutationResult, MobileSocialFeedDrawingResult, MobileSocialFeedEstimatedLiquidationLine, MobileSocialFeedExternalImage, MobileSocialFeedHistoryMetrics, MobileSocialFeedHistorySummary, MobileSocialFeedHistoryTake, MobileSocialFeedImage, MobileSocialFeedImageThumbnail, MobileSocialFeedInteraction, MobileSocialFeedItem, MobileSocialFeedItemBase, MobileSocialFeedItemPatch, MobileSocialFeedItemResponse, MobileSocialFeedLikeResult, MobileSocialFeedListParams, MobileSocialFeedMarket, MobileSocialFeedMentionParams, MobileSocialFeedPage, MobileSocialFeedPnl, MobileSocialFeedPositionAction, MobileSocialFeedPositionCard, MobileSocialFeedPositionChart, MobileSocialFeedPositionHistory, MobileSocialFeedPositionHistoryCard, MobileSocialFeedPositionPatch, MobileSocialFeedPositionResolutionResult, MobileSocialFeedPositionThought, MobileSocialFeedPositionThoughtsPage, MobileSocialFeedPositionsPage, MobileSocialFeedPost, MobileSocialFeedPresence, MobileSocialFeedPublishablePosition, MobileSocialFeedRankedPage, MobileSocialFeedReadParams, MobileSocialFeedReadSession, MobileSocialFeedReply, MobileSocialFeedTimelineEntry, MobileSocialFeedTopTradersPage, MobileSocialFeedTradeCard, MobileSocialFeedTradeRow, MobileSocialFeedTradeRowBase, MobileSocialFeedTraderBadge, MobileSocialFeedTradingContext, MobileSocialFeedTradingTarget, MobileSocialFeedUpdates, MobileSocialFeedUploadedImage, MobileSocialFeedWatchers, MobileUnregisterExpoTokenParams, MobileUpdateNotificationPreferencesParams, MobileUpdateNotificationSettingsV2Params, MobileUpdateNotificationSubscriptionsParams, MobileUsernameAvailability, MobileWithExpoTokenParams, ResolveMobileFeedActionParams, ResolveMobileFeedPositionParams, SearchMobileProfilesParams };
|
package/dist/types/index.cjs
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_types_MobileUnsupportedFeedItemError = require("./MobileUnsupportedFeedItemError.cjs");
|
|
3
|
+
const require_types_MobileUnsupportedNotificationRouteError = require("./MobileUnsupportedNotificationRouteError.cjs");
|
|
3
4
|
const require_types_MobileServerFailureError = require("./MobileServerFailureError.cjs");
|
|
4
5
|
const require_types_mobileErrorCodes = require("./mobileErrorCodes.cjs");
|
|
5
6
|
const require_types_serverModelTypes = require("./serverModelTypes.cjs");
|
|
@@ -7,5 +8,8 @@ exports.MOBILE_ERROR_CODES = require_types_mobileErrorCodes.MOBILE_ERROR_CODES;
|
|
|
7
8
|
exports.MOBILE_FEED_MARGIN_MODES = require_types_serverModelTypes.MOBILE_FEED_MARGIN_MODES;
|
|
8
9
|
exports.MOBILE_FEED_TRADE_POSITION_DIRECTIONS = require_types_serverModelTypes.MOBILE_FEED_TRADE_POSITION_DIRECTIONS;
|
|
9
10
|
exports.MOBILE_FEED_TRADE_POSITION_EFFECTS = require_types_serverModelTypes.MOBILE_FEED_TRADE_POSITION_EFFECTS;
|
|
11
|
+
exports.MOBILE_NOTIFICATION_MIN_TRADE_SIZES_USD = require_types_serverModelTypes.MOBILE_NOTIFICATION_MIN_TRADE_SIZES_USD;
|
|
12
|
+
exports.MOBILE_NOTIFICATION_POSITION_THRESHOLDS = require_types_serverModelTypes.MOBILE_NOTIFICATION_POSITION_THRESHOLDS;
|
|
10
13
|
exports.MobileServerFailureError = require_types_MobileServerFailureError.MobileServerFailureError;
|
|
11
14
|
exports.MobileUnsupportedFeedItemError = require_types_MobileUnsupportedFeedItemError.MobileUnsupportedFeedItemError;
|
|
15
|
+
exports.MobileUnsupportedNotificationRouteError = require_types_MobileUnsupportedNotificationRouteError.MobileUnsupportedNotificationRouteError;
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
import { $ as
|
|
3
|
-
import {
|
|
4
|
-
import { n as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { n as MobileErrorCode, t as MOBILE_ERROR_CODES } from "../mobileErrorCodes-CmjYEIYm.cjs";
|
|
8
|
-
import { t as MobileServerFailureError } from "../MobileServerFailureError-CbtK8kD4.cjs";
|
|
1
|
+
import { $ as MobileServerSocialFeedImage, $t as MobileSocialFeedUnavailableTarget, A as MobileServerNotificationPreferences, At as MobileSocialFeedCohortStatus, B as MobileServerSocialFeedChartRange, Bt as MobileSocialFeedPositionResolution, C as MobileServerIdentitySummary, Ct as MobileSocialFeedAction, D as MobileServerNotificationInboxItem, Dt as MobileSocialFeedAttachmentStatus, E as MobileServerNotificationDeviceMetadata, Et as MobileSocialFeedActionUnavailableReason, F as MobileServerSocialFeedActionCandidate, Ft as MobileSocialFeedMention, G as MobileServerSocialFeedCompactCard, Gt as MobileSocialFeedSourceCategory, H as MobileServerSocialFeedCohortCoverage, Ht as MobileSocialFeedPositionState, I as MobileServerSocialFeedActionMarker, It as MobileSocialFeedPnlBasis, J as MobileServerSocialFeedEstimatedLiquidationLine, Jt as MobileSocialFeedTradeSizeChangeAction, K as MobileServerSocialFeedContentBase, Kt as MobileSocialFeedTargetType, L as MobileServerSocialFeedAuthor, Lt as MobileSocialFeedPnlMode, M as MobileServerNotificationSettings, Mt as MobileSocialFeedLeverage, N as MobileServerProductEvent, Nt as MobileSocialFeedLiquidationPriceQuality, O as MobileServerNotificationPayloadV2, Ot as MobileSocialFeedChartDataQuality, P as MobileServerProfile, Pt as MobileSocialFeedMarketCategory, Q as MobileServerSocialFeedHistoryTake, Qt as MobileSocialFeedType, R as MobileServerSocialFeedCandle, Rt as MobileSocialFeedPnlQuality, S as MobileServerFollowSummary, St as MobileServerSocialFeedUploadedImage, T as MobileServerNotificationCategoryPreference, Tt as MobileSocialFeedActionResolution, U as MobileServerSocialFeedCommentGroup, Ut as MobileSocialFeedPresenceState, V as MobileServerSocialFeedCohort, Vt as MobileSocialFeedPositionResolutionReason, W as MobileServerSocialFeedCommentPreview, Wt as MobileSocialFeedReadSessionMode, X as MobileServerSocialFeedHistoryMetrics, Xt as MobileSocialFeedTraderDataStatus, Y as MobileServerSocialFeedExternalImage, Yt as MobileSocialFeedTraderBadgeCode, Z as MobileServerSocialFeedHistorySummary, Zt as MobileSocialFeedTradingResolution, _ as MobileServerAvatarPreset, _t as MobileServerSocialFeedTradeRow, a as MOBILE_NOTIFICATION_POSITION_THRESHOLDS, at as MobileServerSocialFeedMarket, b as MobileServerFeedTrade, bt as MobileServerSocialFeedTradingContext, c as MobileFeedTradePositionDirection, ct as MobileServerSocialFeedPositionCard, d as MobileNotificationMinTradeSizeUsd, dt as MobileServerSocialFeedPost, et as MobileServerSocialFeedImageThumbnail, f as MobileNotificationPlatform, ft as MobileServerSocialFeedPublishablePosition, g as MobileProductEventName, gt as MobileServerSocialFeedTradeCard, h as MobileNotificationTypeId, ht as MobileServerSocialFeedTimelineEntry, i as MOBILE_NOTIFICATION_MIN_TRADE_SIZES_USD, it as MobileServerSocialFeedItemPatch, j as MobileServerNotificationRoute, jt as MobileSocialFeedHistoryQuality, k as MobileServerNotificationPreferenceScope, kt as MobileSocialFeedChartInterval, l as MobileFeedTradePositionEffect, lt as MobileServerSocialFeedPositionHistoryCard, m as MobileNotificationRouteName, mt as MobileServerSocialFeedReply, n as MOBILE_FEED_TRADE_POSITION_DIRECTIONS, nt as MobileServerSocialFeedItem, o as MobileFeedMarginMode, ot as MobileServerSocialFeedPnl, p as MobileNotificationPositionThreshold, pt as MobileServerSocialFeedReadSession, q as MobileServerSocialFeedDrawing, qt as MobileSocialFeedTradeCardAction, r as MOBILE_FEED_TRADE_POSITION_EFFECTS, rt as MobileServerSocialFeedItemBase, s as MobileFeedTradePosition, st as MobileServerSocialFeedPositionAction, t as MOBILE_FEED_MARGIN_MODES, tt as MobileServerSocialFeedInteraction, u as MobileNotificationCategory, ut as MobileServerSocialFeedPositionPatch, v as MobileServerAvatarSelection, vt as MobileServerSocialFeedTradeRowBase, w as MobileServerNotificationCapabilities, wt as MobileSocialFeedActionPriceBasis, x as MobileServerFollowListAccount, xt as MobileServerSocialFeedTradingTarget, y as MobileServerFeedMargin, yt as MobileServerSocialFeedTraderBadge, z as MobileServerSocialFeedCapabilities, zt as MobileSocialFeedPositionDisplayBasis } from "../serverModelTypes-CTHMNIQS.cjs";
|
|
2
|
+
import { $ as MobileNotificationPayloadV2, $t as MobileSocialFeedItem, A as GetMobileUsernameAvailabilityParams, An as MobileSocialFeedTradeRowBase, At as MobileSocialFeedCandle, B as MobileFeedMargin, Bn as MobileUpdateNotificationSubscriptionsParams, Bt as MobileSocialFeedCompactCard, C as GetMobilePositionThoughtsParams, Cn as MobileSocialFeedReadParams, Ct as MobileSetPrivateModeParams, D as GetMobileRegisteredWalletParams, Dn as MobileSocialFeedTopTradersPage, Dt as MobileSocialFeedActionMarker, E as GetMobileProfilesParams, En as MobileSocialFeedTimelineEntry, Et as MobileSocialFeedActionCandidate, F as MobileCreateFeedCommentParams, Fn as MobileSocialFeedUploadedImage, Ft as MobileSocialFeedCohortCoverage, G as MobileFollowListPage, Gn as SearchMobileProfilesParams, Gt as MobileSocialFeedEstimatedLiquidationLine, H as MobileFeedTrade, Hn as MobileWithExpoTokenParams, Ht as MobileSocialFeedDrawing, I as MobileCreateFeedImageUploadParams, In as MobileSocialFeedWatchers, It as MobileSocialFeedCommentGroup, J as MobileIdentitySummary, Jt as MobileSocialFeedHistorySummary, K as MobileFollowMutationResult, Kt as MobileSocialFeedExternalImage, L as MobileCreateFeedPostParams, Ln as MobileUnregisterExpoTokenParams, Lt as MobileSocialFeedCommentPreview, M as MobileAvatarSelection, Mn as MobileSocialFeedTradingContext, Mt as MobileSocialFeedCategorizedParams, N as MobileAvatarUpload, Nn as MobileSocialFeedTradingTarget, Nt as MobileSocialFeedChartRange, O as GetMobileSelfFeedPositionsParams, On as MobileSocialFeedTradeCard, Ot as MobileSocialFeedActionResolutionResult, P as MobileCreateAvatarUploadParams, Pn as MobileSocialFeedUpdates, Pt as MobileSocialFeedCohort, Q as MobileNotificationInboxV2, Qt as MobileSocialFeedInteraction, R as MobileFeedChartDrawingParams, Rn as MobileUpdateNotificationPreferencesParams, Rt as MobileSocialFeedCommentResult, S as GetMobilePositionHistoryParams, Sn as MobileSocialFeedRankedPage, St as MobileSetFollowParams, T as GetMobileProfileFeedParams, Tn as MobileSocialFeedReply, Tt as MobileSignedRequestParams, U as MobileFollowBatchResultItem, Un as ResolveMobileFeedActionParams, Ut as MobileSocialFeedDrawingMutationResult, V as MobileFeedPage, Vn as MobileUsernameAvailability, Vt as MobileSocialFeedContentBase, W as MobileFollowListAccount, Wn as ResolveMobileFeedPositionParams, Wt as MobileSocialFeedDrawingResult, X as MobileNotificationCategoryPreference, Xt as MobileSocialFeedImage, Y as MobileNotificationCapabilities, Yt as MobileSocialFeedHistoryTake, Z as MobileNotificationInboxItem, Zt as MobileSocialFeedImageThumbnail, _ as GetMobileNotificationSettingsV2Params, _n as MobileSocialFeedPositionThoughtsPage, _t as MobileRegisteredWallet, a as GetMobileFeedItemParams, an as MobileSocialFeedMarket, at as MobileNotificationSettingsV2, b as GetMobilePositionFeedParams, bn as MobileSocialFeedPresence, bt as MobileSetFeedLikeParams, c as GetMobileFollowListParams, cn as MobileSocialFeedPnl, ct as MobilePositionPresenceParams, d as GetMobileForYouFeedParams, dn as MobileSocialFeedPositionChart, dt as MobileProfilesInclude, en as MobileSocialFeedItemBase, et as MobileNotificationPreferenceScope, f as GetMobileFriendsFeedParams, fn as MobileSocialFeedPositionHistory, ft as MobilePublicProfile, g as GetMobileNotificationRegistrationV2Params, gn as MobileSocialFeedPositionThought, gt as MobileRegisterExpoTokenV2Params, h as GetMobileNotificationPreferencesParams, hn as MobileSocialFeedPositionResolutionResult, ht as MobileRegisterExpoTokenParams, i as GetMobileFeedImageRequestParams, in as MobileSocialFeedListParams, it as MobileNotificationSettings, j as MobileAvatarPreset, jn as MobileSocialFeedTraderBadge, jt as MobileSocialFeedCapabilities, k as GetMobileTopTradersFeedParams, kn as MobileSocialFeedTradeRow, kt as MobileSocialFeedAuthor, l as GetMobileFollowersParams, ln as MobileSocialFeedPositionAction, lt as MobileProductEvent, m as GetMobileNotificationInboxV2Params, mn as MobileSocialFeedPositionPatch, mt as MobileRecordProductEventsParams, n as GetMobileFeedCommentsParams, nn as MobileSocialFeedItemResponse, nt as MobileNotificationRegistrationV2, o as GetMobileFeedParams, on as MobileSocialFeedMentionParams, ot as MobileNotificationSubscriptions, p as GetMobileMarketFeedParams, pn as MobileSocialFeedPositionHistoryCard, pt as MobileRecordFeedViewsParams, q as MobileFollowSummary, qt as MobileSocialFeedHistoryMetrics, r as GetMobileFeedImageBytesParams, rn as MobileSocialFeedLikeResult, rt as MobileNotificationRoute, s as GetMobileFeedUpdatesParams, sn as MobileSocialFeedPage, st as MobileNotificationSubscriptionsUpdate, t as GetMobileFeedChartDrawingParams, tn as MobileSocialFeedItemPatch, tt as MobileNotificationPreferences, u as GetMobileFollowingParams, un as MobileSocialFeedPositionCard, ut as MobileProfileSearchPage, v as GetMobileNotificationSubscriptionsParams, vn as MobileSocialFeedPositionsPage, vt as MobileSetAvatarParams, w as GetMobilePositionWatchersParams, wn as MobileSocialFeedReadSession, wt as MobileSetUsernameParams, x as GetMobilePositionHistoryAllParams, xn as MobileSocialFeedPublishablePosition, xt as MobileSetFollowBatchParams, y as GetMobilePositionChartParams, yn as MobileSocialFeedPost, yt as MobileSetBioParams, z as MobileFeedImageRequest, zn as MobileUpdateNotificationSettingsV2Params, zt as MobileSocialFeedCommentsPage } from "../clientTypes-KpHlCDGZ.cjs";
|
|
3
|
+
import { $ as MobileServerSocialFeedWatchersResponse, A as MobileServerNotificationSubscriptionsResponse, B as MobileServerSocialFeedCommentsResponse, C as MobileServerAvatarPresetsResponse, D as MobileServerNotificationPreferencesResponse, E as MobileServerNotificationInboxV2Response, F as MobileServerRegisteredWalletResponse, G as MobileServerSocialFeedPositionResolutionResponse, H as MobileServerSocialFeedItemResponse, I as MobileServerSearchProfilesResponse, J as MobileServerSocialFeedPositionsResponse, K as MobileServerSocialFeedPositionThought, L as MobileServerSignedQueryResponseByType, M as MobileServerPublicQueryRequest, N as MobileServerPublicQueryResponseByType, O as MobileServerNotificationRegistrationV2Response, P as MobileServerPublicQuerySuccessResponse, Q as MobileServerSocialFeedUpdatesResponse, R as MobileServerSignedQuerySuccessResponse, S as MobileServerWithExpoTokenParams, T as MobileServerFollowListResponse, U as MobileServerSocialFeedPositionChartResponse, V as MobileServerSocialFeedDrawingResponse, W as MobileServerSocialFeedPositionHistoryResponse, X as MobileServerSocialFeedResponse, Y as MobileServerSocialFeedRankedResponse, Z as MobileServerSocialFeedTopTradersResponse, _ as MobileServerSearchProfilesRequest, b as MobileServerSocialFeedListParams, c as MobileServerNotificationSubscriptionsUpdate, d as MobileServerPublicExecuteRequestType, et as MobileServerUsernameAvailabilityResponse, f as MobileServerPublicQueryRequestByType, g as MobileServerRequestType, h as MobileServerRegisterExpoTokenV2Params, j as MobileServerProfilesResponse, k as MobileServerNotificationSettingsV2Response, l as MobileServerProfilesInclude, m as MobileServerRegisterExpoTokenParams, nt as MobileServerSuccessResponse, o as MobileServerExecuteRequestType, p as MobileServerPublicQueryRequestType, q as MobileServerSocialFeedPositionThoughtsResponse, s as MobileServerFollowListRequest, tt as MobileServerFailureResponse, u as MobileServerPublicExecuteRequestByType, v as MobileServerSignedQueryRequestType, w as MobileServerFeedResponse, x as MobileServerSocialFeedReadParams, y as MobileServerSocialFeedCategorizedParams, z as MobileServerSocialFeedActionResolutionResponse } from "../types-CR5iaKR4.cjs";
|
|
4
|
+
import { _ as MobileServerSocialFeedPresenceResponse, a as MobileServerExecuteSuccessResponse, c as MobileServerFollowMutationResponse, d as MobileServerPublicExecuteSuccessResponse, f as MobileServerSocialFeedCommentResponse, g as MobileServerSocialFeedPostResponse, h as MobileServerSocialFeedLikeResponse, i as MobileServerExecuteResult, l as MobileServerPublicExecuteRequest, m as MobileServerSocialFeedImageUploadResponse, n as MobileServerEmptyExecuteResponse, o as MobileServerFollowBatchResponse, p as MobileServerSocialFeedDrawingMutationResponse, r as MobileServerExecuteResponseByType, s as MobileServerFollowBatchResultItem, t as MobileServerAvatarUploadResponse, u as MobileServerPublicExecuteResponseByType } from "../serverExecuteTypes-DuCWe_H_.cjs";
|
|
5
|
+
import { n as MobileErrorCode, t as MOBILE_ERROR_CODES } from "../mobileErrorCodes-CdwX6QTO.cjs";
|
|
6
|
+
import { t as MobileServerFailureError } from "../MobileServerFailureError-BeCCNShj.cjs";
|
|
9
7
|
import { t as MobileUnsupportedFeedItemError } from "../MobileUnsupportedFeedItemError-BsZvW8i2.cjs";
|
|
10
|
-
|
|
8
|
+
import { t as MobileUnsupportedNotificationRouteError } from "../MobileUnsupportedNotificationRouteError-DpiNBvvY.cjs";
|
|
9
|
+
export { GetMobileFeedChartDrawingParams, GetMobileFeedCommentsParams, GetMobileFeedImageBytesParams, GetMobileFeedImageRequestParams, GetMobileFeedItemParams, GetMobileFeedParams, GetMobileFeedUpdatesParams, GetMobileFollowListParams, GetMobileFollowersParams, GetMobileFollowingParams, GetMobileForYouFeedParams, GetMobileFriendsFeedParams, GetMobileMarketFeedParams, GetMobileNotificationInboxV2Params, GetMobileNotificationPreferencesParams, GetMobileNotificationRegistrationV2Params, GetMobileNotificationSettingsV2Params, GetMobileNotificationSubscriptionsParams, GetMobilePositionChartParams, GetMobilePositionFeedParams, GetMobilePositionHistoryAllParams, GetMobilePositionHistoryParams, GetMobilePositionThoughtsParams, GetMobilePositionWatchersParams, GetMobileProfileFeedParams, GetMobileProfilesParams, GetMobileRegisteredWalletParams, GetMobileSelfFeedPositionsParams, GetMobileTopTradersFeedParams, GetMobileUsernameAvailabilityParams, MOBILE_ERROR_CODES, MOBILE_FEED_MARGIN_MODES, MOBILE_FEED_TRADE_POSITION_DIRECTIONS, MOBILE_FEED_TRADE_POSITION_EFFECTS, MOBILE_NOTIFICATION_MIN_TRADE_SIZES_USD, MOBILE_NOTIFICATION_POSITION_THRESHOLDS, MobileAvatarPreset, MobileAvatarSelection, MobileAvatarUpload, MobileCreateAvatarUploadParams, MobileCreateFeedCommentParams, MobileCreateFeedImageUploadParams, MobileCreateFeedPostParams, MobileErrorCode, MobileFeedChartDrawingParams, MobileFeedImageRequest, MobileFeedMargin, MobileFeedMarginMode, MobileFeedPage, MobileFeedTrade, MobileFeedTradePosition, MobileFeedTradePositionDirection, MobileFeedTradePositionEffect, MobileFollowBatchResultItem, MobileFollowListAccount, MobileFollowListPage, MobileFollowMutationResult, MobileFollowSummary, MobileIdentitySummary, MobileNotificationCapabilities, MobileNotificationCategory, MobileNotificationCategoryPreference, MobileNotificationInboxItem, MobileNotificationInboxV2, MobileNotificationMinTradeSizeUsd, MobileNotificationPayloadV2, MobileNotificationPlatform, MobileNotificationPositionThreshold, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobileNotificationRegistrationV2, MobileNotificationRoute, MobileNotificationRouteName, MobileNotificationSettings, MobileNotificationSettingsV2, MobileNotificationSubscriptions, MobileNotificationSubscriptionsUpdate, MobileNotificationTypeId, MobilePositionPresenceParams, MobileProductEvent, MobileProductEventName, MobileProfileSearchPage, MobileProfilesInclude, MobilePublicProfile, MobileRecordFeedViewsParams, MobileRecordProductEventsParams, MobileRegisterExpoTokenParams, MobileRegisterExpoTokenV2Params, MobileRegisteredWallet, MobileServerAvatarPreset, MobileServerAvatarPresetsResponse, MobileServerAvatarSelection, MobileServerAvatarUploadResponse, MobileServerEmptyExecuteResponse, MobileServerExecuteRequestType, MobileServerExecuteResponseByType, MobileServerExecuteResult, MobileServerExecuteSuccessResponse, MobileServerFailureError, MobileServerFailureResponse, MobileServerFeedMargin, MobileServerFeedResponse, MobileServerFeedTrade, MobileServerFollowBatchResponse, MobileServerFollowBatchResultItem, MobileServerFollowListAccount, MobileServerFollowListRequest, MobileServerFollowListResponse, MobileServerFollowMutationResponse, MobileServerFollowSummary, MobileServerIdentitySummary, MobileServerNotificationCapabilities, MobileServerNotificationCategoryPreference, MobileServerNotificationDeviceMetadata, MobileServerNotificationInboxItem, MobileServerNotificationInboxV2Response, MobileServerNotificationPayloadV2, MobileServerNotificationPreferenceScope, MobileServerNotificationPreferences, MobileServerNotificationPreferencesResponse, MobileServerNotificationRegistrationV2Response, MobileServerNotificationRoute, MobileServerNotificationSettings, MobileServerNotificationSettingsV2Response, MobileServerNotificationSubscriptionsResponse, MobileServerNotificationSubscriptionsUpdate, MobileServerProductEvent, MobileServerProfile, MobileServerProfilesInclude, MobileServerProfilesResponse, MobileServerPublicExecuteRequest, MobileServerPublicExecuteRequestByType, MobileServerPublicExecuteRequestType, MobileServerPublicExecuteResponseByType, MobileServerPublicExecuteSuccessResponse, MobileServerPublicQueryRequest, MobileServerPublicQueryRequestByType, MobileServerPublicQueryRequestType, MobileServerPublicQueryResponseByType, MobileServerPublicQuerySuccessResponse, MobileServerRegisterExpoTokenParams, MobileServerRegisterExpoTokenV2Params, MobileServerRegisteredWalletResponse, MobileServerRequestType, MobileServerSearchProfilesRequest, MobileServerSearchProfilesResponse, MobileServerSignedQueryRequestType, MobileServerSignedQueryResponseByType, MobileServerSignedQuerySuccessResponse, MobileServerSocialFeedActionCandidate, MobileServerSocialFeedActionMarker, MobileServerSocialFeedActionResolutionResponse, MobileServerSocialFeedAuthor, MobileServerSocialFeedCandle, MobileServerSocialFeedCapabilities, MobileServerSocialFeedCategorizedParams, MobileServerSocialFeedChartRange, MobileServerSocialFeedCohort, MobileServerSocialFeedCohortCoverage, MobileServerSocialFeedCommentGroup, MobileServerSocialFeedCommentPreview, MobileServerSocialFeedCommentResponse, MobileServerSocialFeedCommentsResponse, MobileServerSocialFeedCompactCard, MobileServerSocialFeedContentBase, MobileServerSocialFeedDrawing, MobileServerSocialFeedDrawingMutationResponse, MobileServerSocialFeedDrawingResponse, MobileServerSocialFeedEstimatedLiquidationLine, MobileServerSocialFeedExternalImage, MobileServerSocialFeedHistoryMetrics, MobileServerSocialFeedHistorySummary, MobileServerSocialFeedHistoryTake, MobileServerSocialFeedImage, MobileServerSocialFeedImageThumbnail, MobileServerSocialFeedImageUploadResponse, MobileServerSocialFeedInteraction, MobileServerSocialFeedItem, MobileServerSocialFeedItemBase, MobileServerSocialFeedItemPatch, MobileServerSocialFeedItemResponse, MobileServerSocialFeedLikeResponse, MobileServerSocialFeedListParams, MobileServerSocialFeedMarket, MobileServerSocialFeedPnl, MobileServerSocialFeedPositionAction, MobileServerSocialFeedPositionCard, MobileServerSocialFeedPositionChartResponse, MobileServerSocialFeedPositionHistoryCard, MobileServerSocialFeedPositionHistoryResponse, MobileServerSocialFeedPositionPatch, MobileServerSocialFeedPositionResolutionResponse, MobileServerSocialFeedPositionThought, MobileServerSocialFeedPositionThoughtsResponse, MobileServerSocialFeedPositionsResponse, MobileServerSocialFeedPost, MobileServerSocialFeedPostResponse, MobileServerSocialFeedPresenceResponse, MobileServerSocialFeedPublishablePosition, MobileServerSocialFeedRankedResponse, MobileServerSocialFeedReadParams, MobileServerSocialFeedReadSession, MobileServerSocialFeedReply, MobileServerSocialFeedResponse, MobileServerSocialFeedTimelineEntry, MobileServerSocialFeedTopTradersResponse, MobileServerSocialFeedTradeCard, MobileServerSocialFeedTradeRow, MobileServerSocialFeedTradeRowBase, MobileServerSocialFeedTraderBadge, MobileServerSocialFeedTradingContext, MobileServerSocialFeedTradingTarget, MobileServerSocialFeedUpdatesResponse, MobileServerSocialFeedUploadedImage, MobileServerSocialFeedWatchersResponse, MobileServerSuccessResponse, MobileServerUsernameAvailabilityResponse, MobileServerWithExpoTokenParams, MobileSetAvatarParams, MobileSetBioParams, MobileSetFeedLikeParams, MobileSetFollowBatchParams, MobileSetFollowParams, MobileSetPrivateModeParams, MobileSetUsernameParams, MobileSignedRequestParams, MobileSocialFeedAction, MobileSocialFeedActionCandidate, MobileSocialFeedActionMarker, MobileSocialFeedActionPriceBasis, MobileSocialFeedActionResolution, MobileSocialFeedActionResolutionResult, MobileSocialFeedActionUnavailableReason, MobileSocialFeedAttachmentStatus, MobileSocialFeedAuthor, MobileSocialFeedCandle, MobileSocialFeedCapabilities, MobileSocialFeedCategorizedParams, MobileSocialFeedChartDataQuality, MobileSocialFeedChartInterval, MobileSocialFeedChartRange, MobileSocialFeedCohort, MobileSocialFeedCohortCoverage, MobileSocialFeedCohortStatus, MobileSocialFeedCommentGroup, MobileSocialFeedCommentPreview, MobileSocialFeedCommentResult, MobileSocialFeedCommentsPage, MobileSocialFeedCompactCard, MobileSocialFeedContentBase, MobileSocialFeedDrawing, MobileSocialFeedDrawingMutationResult, MobileSocialFeedDrawingResult, MobileSocialFeedEstimatedLiquidationLine, MobileSocialFeedExternalImage, MobileSocialFeedHistoryMetrics, MobileSocialFeedHistoryQuality, MobileSocialFeedHistorySummary, MobileSocialFeedHistoryTake, MobileSocialFeedImage, MobileSocialFeedImageThumbnail, MobileSocialFeedInteraction, MobileSocialFeedItem, MobileSocialFeedItemBase, MobileSocialFeedItemPatch, MobileSocialFeedItemResponse, MobileSocialFeedLeverage, MobileSocialFeedLikeResult, MobileSocialFeedLiquidationPriceQuality, MobileSocialFeedListParams, MobileSocialFeedMarket, MobileSocialFeedMarketCategory, MobileSocialFeedMention, MobileSocialFeedMentionParams, MobileSocialFeedPage, MobileSocialFeedPnl, MobileSocialFeedPnlBasis, MobileSocialFeedPnlMode, MobileSocialFeedPnlQuality, MobileSocialFeedPositionAction, MobileSocialFeedPositionCard, MobileSocialFeedPositionChart, MobileSocialFeedPositionDisplayBasis, MobileSocialFeedPositionHistory, MobileSocialFeedPositionHistoryCard, MobileSocialFeedPositionPatch, MobileSocialFeedPositionResolution, MobileSocialFeedPositionResolutionReason, MobileSocialFeedPositionResolutionResult, MobileSocialFeedPositionState, MobileSocialFeedPositionThought, MobileSocialFeedPositionThoughtsPage, MobileSocialFeedPositionsPage, MobileSocialFeedPost, MobileSocialFeedPresence, MobileSocialFeedPresenceState, MobileSocialFeedPublishablePosition, MobileSocialFeedRankedPage, MobileSocialFeedReadParams, MobileSocialFeedReadSession, MobileSocialFeedReadSessionMode, MobileSocialFeedReply, MobileSocialFeedSourceCategory, MobileSocialFeedTargetType, MobileSocialFeedTimelineEntry, MobileSocialFeedTopTradersPage, MobileSocialFeedTradeCard, MobileSocialFeedTradeCardAction, MobileSocialFeedTradeRow, MobileSocialFeedTradeRowBase, MobileSocialFeedTradeSizeChangeAction, MobileSocialFeedTraderBadge, MobileSocialFeedTraderBadgeCode, MobileSocialFeedTraderDataStatus, MobileSocialFeedTradingContext, MobileSocialFeedTradingResolution, MobileSocialFeedTradingTarget, MobileSocialFeedType, MobileSocialFeedUnavailableTarget, MobileSocialFeedUpdates, MobileSocialFeedUploadedImage, MobileSocialFeedWatchers, MobileUnregisterExpoTokenParams, MobileUnsupportedFeedItemError, MobileUnsupportedNotificationRouteError, MobileUpdateNotificationPreferencesParams, MobileUpdateNotificationSettingsV2Params, MobileUpdateNotificationSubscriptionsParams, MobileUsernameAvailability, MobileWithExpoTokenParams, ResolveMobileFeedActionParams, ResolveMobileFeedPositionParams, SearchMobileProfilesParams };
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
import { $ as
|
|
3
|
-
import {
|
|
4
|
-
import { n as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { n as MobileErrorCode, t as MOBILE_ERROR_CODES } from "../mobileErrorCodes-CmjYEIYm.js";
|
|
8
|
-
import { t as MobileServerFailureError } from "../MobileServerFailureError-BZVwlsMg.js";
|
|
1
|
+
import { $ as MobileServerSocialFeedImage, $t as MobileSocialFeedUnavailableTarget, A as MobileServerNotificationPreferences, At as MobileSocialFeedCohortStatus, B as MobileServerSocialFeedChartRange, Bt as MobileSocialFeedPositionResolution, C as MobileServerIdentitySummary, Ct as MobileSocialFeedAction, D as MobileServerNotificationInboxItem, Dt as MobileSocialFeedAttachmentStatus, E as MobileServerNotificationDeviceMetadata, Et as MobileSocialFeedActionUnavailableReason, F as MobileServerSocialFeedActionCandidate, Ft as MobileSocialFeedMention, G as MobileServerSocialFeedCompactCard, Gt as MobileSocialFeedSourceCategory, H as MobileServerSocialFeedCohortCoverage, Ht as MobileSocialFeedPositionState, I as MobileServerSocialFeedActionMarker, It as MobileSocialFeedPnlBasis, J as MobileServerSocialFeedEstimatedLiquidationLine, Jt as MobileSocialFeedTradeSizeChangeAction, K as MobileServerSocialFeedContentBase, Kt as MobileSocialFeedTargetType, L as MobileServerSocialFeedAuthor, Lt as MobileSocialFeedPnlMode, M as MobileServerNotificationSettings, Mt as MobileSocialFeedLeverage, N as MobileServerProductEvent, Nt as MobileSocialFeedLiquidationPriceQuality, O as MobileServerNotificationPayloadV2, Ot as MobileSocialFeedChartDataQuality, P as MobileServerProfile, Pt as MobileSocialFeedMarketCategory, Q as MobileServerSocialFeedHistoryTake, Qt as MobileSocialFeedType, R as MobileServerSocialFeedCandle, Rt as MobileSocialFeedPnlQuality, S as MobileServerFollowSummary, St as MobileServerSocialFeedUploadedImage, T as MobileServerNotificationCategoryPreference, Tt as MobileSocialFeedActionResolution, U as MobileServerSocialFeedCommentGroup, Ut as MobileSocialFeedPresenceState, V as MobileServerSocialFeedCohort, Vt as MobileSocialFeedPositionResolutionReason, W as MobileServerSocialFeedCommentPreview, Wt as MobileSocialFeedReadSessionMode, X as MobileServerSocialFeedHistoryMetrics, Xt as MobileSocialFeedTraderDataStatus, Y as MobileServerSocialFeedExternalImage, Yt as MobileSocialFeedTraderBadgeCode, Z as MobileServerSocialFeedHistorySummary, Zt as MobileSocialFeedTradingResolution, _ as MobileServerAvatarPreset, _t as MobileServerSocialFeedTradeRow, a as MOBILE_NOTIFICATION_POSITION_THRESHOLDS, at as MobileServerSocialFeedMarket, b as MobileServerFeedTrade, bt as MobileServerSocialFeedTradingContext, c as MobileFeedTradePositionDirection, ct as MobileServerSocialFeedPositionCard, d as MobileNotificationMinTradeSizeUsd, dt as MobileServerSocialFeedPost, et as MobileServerSocialFeedImageThumbnail, f as MobileNotificationPlatform, ft as MobileServerSocialFeedPublishablePosition, g as MobileProductEventName, gt as MobileServerSocialFeedTradeCard, h as MobileNotificationTypeId, ht as MobileServerSocialFeedTimelineEntry, i as MOBILE_NOTIFICATION_MIN_TRADE_SIZES_USD, it as MobileServerSocialFeedItemPatch, j as MobileServerNotificationRoute, jt as MobileSocialFeedHistoryQuality, k as MobileServerNotificationPreferenceScope, kt as MobileSocialFeedChartInterval, l as MobileFeedTradePositionEffect, lt as MobileServerSocialFeedPositionHistoryCard, m as MobileNotificationRouteName, mt as MobileServerSocialFeedReply, n as MOBILE_FEED_TRADE_POSITION_DIRECTIONS, nt as MobileServerSocialFeedItem, o as MobileFeedMarginMode, ot as MobileServerSocialFeedPnl, p as MobileNotificationPositionThreshold, pt as MobileServerSocialFeedReadSession, q as MobileServerSocialFeedDrawing, qt as MobileSocialFeedTradeCardAction, r as MOBILE_FEED_TRADE_POSITION_EFFECTS, rt as MobileServerSocialFeedItemBase, s as MobileFeedTradePosition, st as MobileServerSocialFeedPositionAction, t as MOBILE_FEED_MARGIN_MODES, tt as MobileServerSocialFeedInteraction, u as MobileNotificationCategory, ut as MobileServerSocialFeedPositionPatch, v as MobileServerAvatarSelection, vt as MobileServerSocialFeedTradeRowBase, w as MobileServerNotificationCapabilities, wt as MobileSocialFeedActionPriceBasis, x as MobileServerFollowListAccount, xt as MobileServerSocialFeedTradingTarget, y as MobileServerFeedMargin, yt as MobileServerSocialFeedTraderBadge, z as MobileServerSocialFeedCapabilities, zt as MobileSocialFeedPositionDisplayBasis } from "../serverModelTypes-CTHMNIQS.js";
|
|
2
|
+
import { $ as MobileNotificationPayloadV2, $t as MobileSocialFeedItem, A as GetMobileUsernameAvailabilityParams, An as MobileSocialFeedTradeRowBase, At as MobileSocialFeedCandle, B as MobileFeedMargin, Bn as MobileUpdateNotificationSubscriptionsParams, Bt as MobileSocialFeedCompactCard, C as GetMobilePositionThoughtsParams, Cn as MobileSocialFeedReadParams, Ct as MobileSetPrivateModeParams, D as GetMobileRegisteredWalletParams, Dn as MobileSocialFeedTopTradersPage, Dt as MobileSocialFeedActionMarker, E as GetMobileProfilesParams, En as MobileSocialFeedTimelineEntry, Et as MobileSocialFeedActionCandidate, F as MobileCreateFeedCommentParams, Fn as MobileSocialFeedUploadedImage, Ft as MobileSocialFeedCohortCoverage, G as MobileFollowListPage, Gn as SearchMobileProfilesParams, Gt as MobileSocialFeedEstimatedLiquidationLine, H as MobileFeedTrade, Hn as MobileWithExpoTokenParams, Ht as MobileSocialFeedDrawing, I as MobileCreateFeedImageUploadParams, In as MobileSocialFeedWatchers, It as MobileSocialFeedCommentGroup, J as MobileIdentitySummary, Jt as MobileSocialFeedHistorySummary, K as MobileFollowMutationResult, Kt as MobileSocialFeedExternalImage, L as MobileCreateFeedPostParams, Ln as MobileUnregisterExpoTokenParams, Lt as MobileSocialFeedCommentPreview, M as MobileAvatarSelection, Mn as MobileSocialFeedTradingContext, Mt as MobileSocialFeedCategorizedParams, N as MobileAvatarUpload, Nn as MobileSocialFeedTradingTarget, Nt as MobileSocialFeedChartRange, O as GetMobileSelfFeedPositionsParams, On as MobileSocialFeedTradeCard, Ot as MobileSocialFeedActionResolutionResult, P as MobileCreateAvatarUploadParams, Pn as MobileSocialFeedUpdates, Pt as MobileSocialFeedCohort, Q as MobileNotificationInboxV2, Qt as MobileSocialFeedInteraction, R as MobileFeedChartDrawingParams, Rn as MobileUpdateNotificationPreferencesParams, Rt as MobileSocialFeedCommentResult, S as GetMobilePositionHistoryParams, Sn as MobileSocialFeedRankedPage, St as MobileSetFollowParams, T as GetMobileProfileFeedParams, Tn as MobileSocialFeedReply, Tt as MobileSignedRequestParams, U as MobileFollowBatchResultItem, Un as ResolveMobileFeedActionParams, Ut as MobileSocialFeedDrawingMutationResult, V as MobileFeedPage, Vn as MobileUsernameAvailability, Vt as MobileSocialFeedContentBase, W as MobileFollowListAccount, Wn as ResolveMobileFeedPositionParams, Wt as MobileSocialFeedDrawingResult, X as MobileNotificationCategoryPreference, Xt as MobileSocialFeedImage, Y as MobileNotificationCapabilities, Yt as MobileSocialFeedHistoryTake, Z as MobileNotificationInboxItem, Zt as MobileSocialFeedImageThumbnail, _ as GetMobileNotificationSettingsV2Params, _n as MobileSocialFeedPositionThoughtsPage, _t as MobileRegisteredWallet, a as GetMobileFeedItemParams, an as MobileSocialFeedMarket, at as MobileNotificationSettingsV2, b as GetMobilePositionFeedParams, bn as MobileSocialFeedPresence, bt as MobileSetFeedLikeParams, c as GetMobileFollowListParams, cn as MobileSocialFeedPnl, ct as MobilePositionPresenceParams, d as GetMobileForYouFeedParams, dn as MobileSocialFeedPositionChart, dt as MobileProfilesInclude, en as MobileSocialFeedItemBase, et as MobileNotificationPreferenceScope, f as GetMobileFriendsFeedParams, fn as MobileSocialFeedPositionHistory, ft as MobilePublicProfile, g as GetMobileNotificationRegistrationV2Params, gn as MobileSocialFeedPositionThought, gt as MobileRegisterExpoTokenV2Params, h as GetMobileNotificationPreferencesParams, hn as MobileSocialFeedPositionResolutionResult, ht as MobileRegisterExpoTokenParams, i as GetMobileFeedImageRequestParams, in as MobileSocialFeedListParams, it as MobileNotificationSettings, j as MobileAvatarPreset, jn as MobileSocialFeedTraderBadge, jt as MobileSocialFeedCapabilities, k as GetMobileTopTradersFeedParams, kn as MobileSocialFeedTradeRow, kt as MobileSocialFeedAuthor, l as GetMobileFollowersParams, ln as MobileSocialFeedPositionAction, lt as MobileProductEvent, m as GetMobileNotificationInboxV2Params, mn as MobileSocialFeedPositionPatch, mt as MobileRecordProductEventsParams, n as GetMobileFeedCommentsParams, nn as MobileSocialFeedItemResponse, nt as MobileNotificationRegistrationV2, o as GetMobileFeedParams, on as MobileSocialFeedMentionParams, ot as MobileNotificationSubscriptions, p as GetMobileMarketFeedParams, pn as MobileSocialFeedPositionHistoryCard, pt as MobileRecordFeedViewsParams, q as MobileFollowSummary, qt as MobileSocialFeedHistoryMetrics, r as GetMobileFeedImageBytesParams, rn as MobileSocialFeedLikeResult, rt as MobileNotificationRoute, s as GetMobileFeedUpdatesParams, sn as MobileSocialFeedPage, st as MobileNotificationSubscriptionsUpdate, t as GetMobileFeedChartDrawingParams, tn as MobileSocialFeedItemPatch, tt as MobileNotificationPreferences, u as GetMobileFollowingParams, un as MobileSocialFeedPositionCard, ut as MobileProfileSearchPage, v as GetMobileNotificationSubscriptionsParams, vn as MobileSocialFeedPositionsPage, vt as MobileSetAvatarParams, w as GetMobilePositionWatchersParams, wn as MobileSocialFeedReadSession, wt as MobileSetUsernameParams, x as GetMobilePositionHistoryAllParams, xn as MobileSocialFeedPublishablePosition, xt as MobileSetFollowBatchParams, y as GetMobilePositionChartParams, yn as MobileSocialFeedPost, yt as MobileSetBioParams, z as MobileFeedImageRequest, zn as MobileUpdateNotificationSettingsV2Params, zt as MobileSocialFeedCommentsPage } from "../clientTypes-XRI41VdC.js";
|
|
3
|
+
import { $ as MobileServerSocialFeedWatchersResponse, A as MobileServerNotificationSubscriptionsResponse, B as MobileServerSocialFeedCommentsResponse, C as MobileServerAvatarPresetsResponse, D as MobileServerNotificationPreferencesResponse, E as MobileServerNotificationInboxV2Response, F as MobileServerRegisteredWalletResponse, G as MobileServerSocialFeedPositionResolutionResponse, H as MobileServerSocialFeedItemResponse, I as MobileServerSearchProfilesResponse, J as MobileServerSocialFeedPositionsResponse, K as MobileServerSocialFeedPositionThought, L as MobileServerSignedQueryResponseByType, M as MobileServerPublicQueryRequest, N as MobileServerPublicQueryResponseByType, O as MobileServerNotificationRegistrationV2Response, P as MobileServerPublicQuerySuccessResponse, Q as MobileServerSocialFeedUpdatesResponse, R as MobileServerSignedQuerySuccessResponse, S as MobileServerWithExpoTokenParams, T as MobileServerFollowListResponse, U as MobileServerSocialFeedPositionChartResponse, V as MobileServerSocialFeedDrawingResponse, W as MobileServerSocialFeedPositionHistoryResponse, X as MobileServerSocialFeedResponse, Y as MobileServerSocialFeedRankedResponse, Z as MobileServerSocialFeedTopTradersResponse, _ as MobileServerSearchProfilesRequest, b as MobileServerSocialFeedListParams, c as MobileServerNotificationSubscriptionsUpdate, d as MobileServerPublicExecuteRequestType, et as MobileServerUsernameAvailabilityResponse, f as MobileServerPublicQueryRequestByType, g as MobileServerRequestType, h as MobileServerRegisterExpoTokenV2Params, j as MobileServerProfilesResponse, k as MobileServerNotificationSettingsV2Response, l as MobileServerProfilesInclude, m as MobileServerRegisterExpoTokenParams, nt as MobileServerSuccessResponse, o as MobileServerExecuteRequestType, p as MobileServerPublicQueryRequestType, q as MobileServerSocialFeedPositionThoughtsResponse, s as MobileServerFollowListRequest, tt as MobileServerFailureResponse, u as MobileServerPublicExecuteRequestByType, v as MobileServerSignedQueryRequestType, w as MobileServerFeedResponse, x as MobileServerSocialFeedReadParams, y as MobileServerSocialFeedCategorizedParams, z as MobileServerSocialFeedActionResolutionResponse } from "../types-CByl_NyJ.js";
|
|
4
|
+
import { _ as MobileServerSocialFeedPresenceResponse, a as MobileServerExecuteSuccessResponse, c as MobileServerFollowMutationResponse, d as MobileServerPublicExecuteSuccessResponse, f as MobileServerSocialFeedCommentResponse, g as MobileServerSocialFeedPostResponse, h as MobileServerSocialFeedLikeResponse, i as MobileServerExecuteResult, l as MobileServerPublicExecuteRequest, m as MobileServerSocialFeedImageUploadResponse, n as MobileServerEmptyExecuteResponse, o as MobileServerFollowBatchResponse, p as MobileServerSocialFeedDrawingMutationResponse, r as MobileServerExecuteResponseByType, s as MobileServerFollowBatchResultItem, t as MobileServerAvatarUploadResponse, u as MobileServerPublicExecuteResponseByType } from "../serverExecuteTypes-usJ6HMJv.js";
|
|
5
|
+
import { n as MobileErrorCode, t as MOBILE_ERROR_CODES } from "../mobileErrorCodes-CdwX6QTO.js";
|
|
6
|
+
import { t as MobileServerFailureError } from "../MobileServerFailureError-hHv28weI.js";
|
|
9
7
|
import { t as MobileUnsupportedFeedItemError } from "../MobileUnsupportedFeedItemError-BsZvW8i2.js";
|
|
10
|
-
|
|
8
|
+
import { t as MobileUnsupportedNotificationRouteError } from "../MobileUnsupportedNotificationRouteError-DpiNBvvY.js";
|
|
9
|
+
export { GetMobileFeedChartDrawingParams, GetMobileFeedCommentsParams, GetMobileFeedImageBytesParams, GetMobileFeedImageRequestParams, GetMobileFeedItemParams, GetMobileFeedParams, GetMobileFeedUpdatesParams, GetMobileFollowListParams, GetMobileFollowersParams, GetMobileFollowingParams, GetMobileForYouFeedParams, GetMobileFriendsFeedParams, GetMobileMarketFeedParams, GetMobileNotificationInboxV2Params, GetMobileNotificationPreferencesParams, GetMobileNotificationRegistrationV2Params, GetMobileNotificationSettingsV2Params, GetMobileNotificationSubscriptionsParams, GetMobilePositionChartParams, GetMobilePositionFeedParams, GetMobilePositionHistoryAllParams, GetMobilePositionHistoryParams, GetMobilePositionThoughtsParams, GetMobilePositionWatchersParams, GetMobileProfileFeedParams, GetMobileProfilesParams, GetMobileRegisteredWalletParams, GetMobileSelfFeedPositionsParams, GetMobileTopTradersFeedParams, GetMobileUsernameAvailabilityParams, MOBILE_ERROR_CODES, MOBILE_FEED_MARGIN_MODES, MOBILE_FEED_TRADE_POSITION_DIRECTIONS, MOBILE_FEED_TRADE_POSITION_EFFECTS, MOBILE_NOTIFICATION_MIN_TRADE_SIZES_USD, MOBILE_NOTIFICATION_POSITION_THRESHOLDS, MobileAvatarPreset, MobileAvatarSelection, MobileAvatarUpload, MobileCreateAvatarUploadParams, MobileCreateFeedCommentParams, MobileCreateFeedImageUploadParams, MobileCreateFeedPostParams, MobileErrorCode, MobileFeedChartDrawingParams, MobileFeedImageRequest, MobileFeedMargin, MobileFeedMarginMode, MobileFeedPage, MobileFeedTrade, MobileFeedTradePosition, MobileFeedTradePositionDirection, MobileFeedTradePositionEffect, MobileFollowBatchResultItem, MobileFollowListAccount, MobileFollowListPage, MobileFollowMutationResult, MobileFollowSummary, MobileIdentitySummary, MobileNotificationCapabilities, MobileNotificationCategory, MobileNotificationCategoryPreference, MobileNotificationInboxItem, MobileNotificationInboxV2, MobileNotificationMinTradeSizeUsd, MobileNotificationPayloadV2, MobileNotificationPlatform, MobileNotificationPositionThreshold, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobileNotificationRegistrationV2, MobileNotificationRoute, MobileNotificationRouteName, MobileNotificationSettings, MobileNotificationSettingsV2, MobileNotificationSubscriptions, MobileNotificationSubscriptionsUpdate, MobileNotificationTypeId, MobilePositionPresenceParams, MobileProductEvent, MobileProductEventName, MobileProfileSearchPage, MobileProfilesInclude, MobilePublicProfile, MobileRecordFeedViewsParams, MobileRecordProductEventsParams, MobileRegisterExpoTokenParams, MobileRegisterExpoTokenV2Params, MobileRegisteredWallet, MobileServerAvatarPreset, MobileServerAvatarPresetsResponse, MobileServerAvatarSelection, MobileServerAvatarUploadResponse, MobileServerEmptyExecuteResponse, MobileServerExecuteRequestType, MobileServerExecuteResponseByType, MobileServerExecuteResult, MobileServerExecuteSuccessResponse, MobileServerFailureError, MobileServerFailureResponse, MobileServerFeedMargin, MobileServerFeedResponse, MobileServerFeedTrade, MobileServerFollowBatchResponse, MobileServerFollowBatchResultItem, MobileServerFollowListAccount, MobileServerFollowListRequest, MobileServerFollowListResponse, MobileServerFollowMutationResponse, MobileServerFollowSummary, MobileServerIdentitySummary, MobileServerNotificationCapabilities, MobileServerNotificationCategoryPreference, MobileServerNotificationDeviceMetadata, MobileServerNotificationInboxItem, MobileServerNotificationInboxV2Response, MobileServerNotificationPayloadV2, MobileServerNotificationPreferenceScope, MobileServerNotificationPreferences, MobileServerNotificationPreferencesResponse, MobileServerNotificationRegistrationV2Response, MobileServerNotificationRoute, MobileServerNotificationSettings, MobileServerNotificationSettingsV2Response, MobileServerNotificationSubscriptionsResponse, MobileServerNotificationSubscriptionsUpdate, MobileServerProductEvent, MobileServerProfile, MobileServerProfilesInclude, MobileServerProfilesResponse, MobileServerPublicExecuteRequest, MobileServerPublicExecuteRequestByType, MobileServerPublicExecuteRequestType, MobileServerPublicExecuteResponseByType, MobileServerPublicExecuteSuccessResponse, MobileServerPublicQueryRequest, MobileServerPublicQueryRequestByType, MobileServerPublicQueryRequestType, MobileServerPublicQueryResponseByType, MobileServerPublicQuerySuccessResponse, MobileServerRegisterExpoTokenParams, MobileServerRegisterExpoTokenV2Params, MobileServerRegisteredWalletResponse, MobileServerRequestType, MobileServerSearchProfilesRequest, MobileServerSearchProfilesResponse, MobileServerSignedQueryRequestType, MobileServerSignedQueryResponseByType, MobileServerSignedQuerySuccessResponse, MobileServerSocialFeedActionCandidate, MobileServerSocialFeedActionMarker, MobileServerSocialFeedActionResolutionResponse, MobileServerSocialFeedAuthor, MobileServerSocialFeedCandle, MobileServerSocialFeedCapabilities, MobileServerSocialFeedCategorizedParams, MobileServerSocialFeedChartRange, MobileServerSocialFeedCohort, MobileServerSocialFeedCohortCoverage, MobileServerSocialFeedCommentGroup, MobileServerSocialFeedCommentPreview, MobileServerSocialFeedCommentResponse, MobileServerSocialFeedCommentsResponse, MobileServerSocialFeedCompactCard, MobileServerSocialFeedContentBase, MobileServerSocialFeedDrawing, MobileServerSocialFeedDrawingMutationResponse, MobileServerSocialFeedDrawingResponse, MobileServerSocialFeedEstimatedLiquidationLine, MobileServerSocialFeedExternalImage, MobileServerSocialFeedHistoryMetrics, MobileServerSocialFeedHistorySummary, MobileServerSocialFeedHistoryTake, MobileServerSocialFeedImage, MobileServerSocialFeedImageThumbnail, MobileServerSocialFeedImageUploadResponse, MobileServerSocialFeedInteraction, MobileServerSocialFeedItem, MobileServerSocialFeedItemBase, MobileServerSocialFeedItemPatch, MobileServerSocialFeedItemResponse, MobileServerSocialFeedLikeResponse, MobileServerSocialFeedListParams, MobileServerSocialFeedMarket, MobileServerSocialFeedPnl, MobileServerSocialFeedPositionAction, MobileServerSocialFeedPositionCard, MobileServerSocialFeedPositionChartResponse, MobileServerSocialFeedPositionHistoryCard, MobileServerSocialFeedPositionHistoryResponse, MobileServerSocialFeedPositionPatch, MobileServerSocialFeedPositionResolutionResponse, MobileServerSocialFeedPositionThought, MobileServerSocialFeedPositionThoughtsResponse, MobileServerSocialFeedPositionsResponse, MobileServerSocialFeedPost, MobileServerSocialFeedPostResponse, MobileServerSocialFeedPresenceResponse, MobileServerSocialFeedPublishablePosition, MobileServerSocialFeedRankedResponse, MobileServerSocialFeedReadParams, MobileServerSocialFeedReadSession, MobileServerSocialFeedReply, MobileServerSocialFeedResponse, MobileServerSocialFeedTimelineEntry, MobileServerSocialFeedTopTradersResponse, MobileServerSocialFeedTradeCard, MobileServerSocialFeedTradeRow, MobileServerSocialFeedTradeRowBase, MobileServerSocialFeedTraderBadge, MobileServerSocialFeedTradingContext, MobileServerSocialFeedTradingTarget, MobileServerSocialFeedUpdatesResponse, MobileServerSocialFeedUploadedImage, MobileServerSocialFeedWatchersResponse, MobileServerSuccessResponse, MobileServerUsernameAvailabilityResponse, MobileServerWithExpoTokenParams, MobileSetAvatarParams, MobileSetBioParams, MobileSetFeedLikeParams, MobileSetFollowBatchParams, MobileSetFollowParams, MobileSetPrivateModeParams, MobileSetUsernameParams, MobileSignedRequestParams, MobileSocialFeedAction, MobileSocialFeedActionCandidate, MobileSocialFeedActionMarker, MobileSocialFeedActionPriceBasis, MobileSocialFeedActionResolution, MobileSocialFeedActionResolutionResult, MobileSocialFeedActionUnavailableReason, MobileSocialFeedAttachmentStatus, MobileSocialFeedAuthor, MobileSocialFeedCandle, MobileSocialFeedCapabilities, MobileSocialFeedCategorizedParams, MobileSocialFeedChartDataQuality, MobileSocialFeedChartInterval, MobileSocialFeedChartRange, MobileSocialFeedCohort, MobileSocialFeedCohortCoverage, MobileSocialFeedCohortStatus, MobileSocialFeedCommentGroup, MobileSocialFeedCommentPreview, MobileSocialFeedCommentResult, MobileSocialFeedCommentsPage, MobileSocialFeedCompactCard, MobileSocialFeedContentBase, MobileSocialFeedDrawing, MobileSocialFeedDrawingMutationResult, MobileSocialFeedDrawingResult, MobileSocialFeedEstimatedLiquidationLine, MobileSocialFeedExternalImage, MobileSocialFeedHistoryMetrics, MobileSocialFeedHistoryQuality, MobileSocialFeedHistorySummary, MobileSocialFeedHistoryTake, MobileSocialFeedImage, MobileSocialFeedImageThumbnail, MobileSocialFeedInteraction, MobileSocialFeedItem, MobileSocialFeedItemBase, MobileSocialFeedItemPatch, MobileSocialFeedItemResponse, MobileSocialFeedLeverage, MobileSocialFeedLikeResult, MobileSocialFeedLiquidationPriceQuality, MobileSocialFeedListParams, MobileSocialFeedMarket, MobileSocialFeedMarketCategory, MobileSocialFeedMention, MobileSocialFeedMentionParams, MobileSocialFeedPage, MobileSocialFeedPnl, MobileSocialFeedPnlBasis, MobileSocialFeedPnlMode, MobileSocialFeedPnlQuality, MobileSocialFeedPositionAction, MobileSocialFeedPositionCard, MobileSocialFeedPositionChart, MobileSocialFeedPositionDisplayBasis, MobileSocialFeedPositionHistory, MobileSocialFeedPositionHistoryCard, MobileSocialFeedPositionPatch, MobileSocialFeedPositionResolution, MobileSocialFeedPositionResolutionReason, MobileSocialFeedPositionResolutionResult, MobileSocialFeedPositionState, MobileSocialFeedPositionThought, MobileSocialFeedPositionThoughtsPage, MobileSocialFeedPositionsPage, MobileSocialFeedPost, MobileSocialFeedPresence, MobileSocialFeedPresenceState, MobileSocialFeedPublishablePosition, MobileSocialFeedRankedPage, MobileSocialFeedReadParams, MobileSocialFeedReadSession, MobileSocialFeedReadSessionMode, MobileSocialFeedReply, MobileSocialFeedSourceCategory, MobileSocialFeedTargetType, MobileSocialFeedTimelineEntry, MobileSocialFeedTopTradersPage, MobileSocialFeedTradeCard, MobileSocialFeedTradeCardAction, MobileSocialFeedTradeRow, MobileSocialFeedTradeRowBase, MobileSocialFeedTradeSizeChangeAction, MobileSocialFeedTraderBadge, MobileSocialFeedTraderBadgeCode, MobileSocialFeedTraderDataStatus, MobileSocialFeedTradingContext, MobileSocialFeedTradingResolution, MobileSocialFeedTradingTarget, MobileSocialFeedType, MobileSocialFeedUnavailableTarget, MobileSocialFeedUpdates, MobileSocialFeedUploadedImage, MobileSocialFeedWatchers, MobileUnregisterExpoTokenParams, MobileUnsupportedFeedItemError, MobileUnsupportedNotificationRouteError, MobileUpdateNotificationPreferencesParams, MobileUpdateNotificationSettingsV2Params, MobileUpdateNotificationSubscriptionsParams, MobileUsernameAvailability, MobileWithExpoTokenParams, ResolveMobileFeedActionParams, ResolveMobileFeedPositionParams, SearchMobileProfilesParams };
|
package/dist/types/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { MobileUnsupportedFeedItemError } from "./MobileUnsupportedFeedItemError.js";
|
|
2
|
+
import { MobileUnsupportedNotificationRouteError } from "./MobileUnsupportedNotificationRouteError.js";
|
|
2
3
|
import { MobileServerFailureError } from "./MobileServerFailureError.js";
|
|
3
4
|
import { MOBILE_ERROR_CODES } from "./mobileErrorCodes.js";
|
|
4
|
-
import { MOBILE_FEED_MARGIN_MODES, MOBILE_FEED_TRADE_POSITION_DIRECTIONS, MOBILE_FEED_TRADE_POSITION_EFFECTS } from "./serverModelTypes.js";
|
|
5
|
-
export { MOBILE_ERROR_CODES, MOBILE_FEED_MARGIN_MODES, MOBILE_FEED_TRADE_POSITION_DIRECTIONS, MOBILE_FEED_TRADE_POSITION_EFFECTS, MobileServerFailureError, MobileUnsupportedFeedItemError };
|
|
5
|
+
import { MOBILE_FEED_MARGIN_MODES, MOBILE_FEED_TRADE_POSITION_DIRECTIONS, MOBILE_FEED_TRADE_POSITION_EFFECTS, MOBILE_NOTIFICATION_MIN_TRADE_SIZES_USD, MOBILE_NOTIFICATION_POSITION_THRESHOLDS } from "./serverModelTypes.js";
|
|
6
|
+
export { MOBILE_ERROR_CODES, MOBILE_FEED_MARGIN_MODES, MOBILE_FEED_TRADE_POSITION_DIRECTIONS, MOBILE_FEED_TRADE_POSITION_EFFECTS, MOBILE_NOTIFICATION_MIN_TRADE_SIZES_USD, MOBILE_NOTIFICATION_POSITION_THRESHOLDS, MobileServerFailureError, MobileUnsupportedFeedItemError, MobileUnsupportedNotificationRouteError };
|
|
@@ -44,6 +44,12 @@ const MOBILE_ERROR_CODES = {
|
|
|
44
44
|
INVALID_EXPO_TOKEN: 6200,
|
|
45
45
|
INVALID_DEVICE_METADATA: 6201,
|
|
46
46
|
INVALID_PREFERENCES: 6202,
|
|
47
|
+
/** Settings or subscription revision is stale. Read the resource again before retrying. */
|
|
48
|
+
NOTIFICATION_REVISION_CONFLICT: 6203,
|
|
49
|
+
/** Invalid subscription operation, inbox parameters, event batch, timestamp, or notification ownership. */
|
|
50
|
+
INVALID_NOTIFICATION_REQUEST: 6204,
|
|
51
|
+
/** Wallet already has the maximum number of active device registrations. */
|
|
52
|
+
NOTIFICATION_DEVICE_LIMIT: 6205,
|
|
47
53
|
/** Feed `minimumNotional` or `limit` is outside its allowed domain. Fix the request; do not retry unchanged. */
|
|
48
54
|
INVALID_FEED_FILTER: 6300,
|
|
49
55
|
/** Feed cursor is malformed or bound to a different filter. Discard it and restart from the first page. */
|
|
@@ -87,7 +93,11 @@ const MOBILE_ERROR_CODES = {
|
|
|
87
93
|
/** A post has neither nonblank text nor a drawing, or a comment is blank. */
|
|
88
94
|
EMPTY_SOCIAL_FEED_CONTENT: 6323,
|
|
89
95
|
/** Feed reads are only available through public_query. */
|
|
90
|
-
SOCIAL_FEED_QUERY_REMOVED: 6325
|
|
96
|
+
SOCIAL_FEED_QUERY_REMOVED: 6325,
|
|
97
|
+
/** Image format, dimensions, integrity, ownership, readiness, expiry, hash, or count is invalid. */
|
|
98
|
+
INVALID_SOCIAL_FEED_IMAGE: 6326,
|
|
99
|
+
/** Initial history/thoughts directory exceeds 4 MiB; do not automatically retry the same query. */
|
|
100
|
+
SOCIAL_FEED_HISTORY_TOO_LARGE: 6328
|
|
91
101
|
};
|
|
92
102
|
//#endregion
|
|
93
103
|
exports.MOBILE_ERROR_CODES = MOBILE_ERROR_CODES;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mobileErrorCodes.cjs","names":["NADO_ERROR_CODES"],"sources":["../../src/types/mobileErrorCodes.ts"],"sourcesContent":["import { NADO_ERROR_CODES } from '@nadohq/shared';\n\n/**\n * Numeric error codes returned by the mobile service API. Identity codes (61xx), notification codes (62xx),\n * and feed codes (63xx) are mobile-specific; the remaining codes are shared cross-service codes from the\n * backend's common error enum, inlined via spread from {@link NADO_ERROR_CODES}.\n */\nexport const MOBILE_ERROR_CODES = {\n ...NADO_ERROR_CODES,\n INVALID_DISPLAY_NAME: 6100,\n USERNAME_UNAVAILABLE: 6101,\n INVALID_IDENTITY_TARGET: 6104,\n /** Another identity write for the subaccount committed with a later nonce. Re-read before retrying. */\n STALE_IDENTITY_UPDATE: 6105,\n PROFILE_NOT_FOUND: 6106,\n /** Profiles lookup is empty, holds duplicates, or exceeds the batch maximum. Do not retry unchanged. */\n INVALID_PROFILES_REQUEST: 6107,\n /**\n * Profile search query is outside the username alphabet or length, or its limit is out of range. Do not\n * retry unchanged.\n */\n INVALID_PROFILE_SEARCH_REQUEST: 6108,\n /**\n * Profile search cursor is malformed, oversized, or was issued for a different query. Restart from\n * `cursor: undefined`.\n */\n INVALID_PROFILE_SEARCH_CURSOR: 6109,\n /** Follow mutation names the same source and target, or an isolated participant. Do not retry unchanged. */\n INVALID_FOLLOW_TARGET: 6110,\n /** Signed follower is not yet in the canonical Query DB subaccount index. Retry after index catch-up. */\n FOLLOWER_NOT_ELIGIBLE: 6111,\n /** Follow target is not yet in the canonical Query DB subaccount index. Refresh after a new record. */\n FOLLOWING_NOT_FOUND: 6112,\n /** Follow list cursor is malformed or bound to a different list request. Restart from `cursor: null`. */\n INVALID_FOLLOW_CURSOR: 6113,\n /** A follow list or followed-by limit is outside its accepted range. Fix it; do not retry unchanged. */\n INVALID_FOLLOW_LIMIT: 6114,\n /** Biography exceeds the maximum length or contains a null character. */\n INVALID_BIO: 6115,\n /** Invalid preset, upload size, staging key, or image. Correct the selection before retrying. */\n INVALID_AVATAR: 6116,\n /** Follow batch is empty, holds duplicates, or exceeds the batch maximum. Do not retry unchanged. */\n INVALID_FOLLOW_BATCH: 6117,\n INVALID_EXPO_TOKEN: 6200,\n INVALID_DEVICE_METADATA: 6201,\n INVALID_PREFERENCES: 6202,\n /** Feed `minimumNotional` or `limit` is outside its allowed domain. Fix the request; do not retry unchanged. */\n INVALID_FEED_FILTER: 6300,\n /** Feed cursor is malformed or bound to a different filter. Discard it and restart from the first page. */\n INVALID_FEED_CURSOR: 6301,\n /** Drawing JSON, outer value, storage representation, or nonce is invalid. */\n INVALID_SOCIAL_FEED_DRAWING: 6302,\n /** Original drawing JSON exceeds 256 KiB UTF-8. */\n SOCIAL_FEED_DRAWING_TOO_LARGE: 6303,\n /** Drawing parent is unavailable, or an update targets a missing drawing. */\n SOCIAL_FEED_DRAWING_UNAVAILABLE: 6304,\n /** A different drawing already exists when first attaching one. */\n SOCIAL_FEED_DRAWING_EXISTS: 6305,\n /** Drawing nonce is stale or reused for different content. Re-read before retrying. */\n STALE_SOCIAL_FEED_DRAWING_UPDATE: 6306,\n /** Invalid social feed parameters, including missing fields, invalid types/formats, filters, or Content-Type. */\n INVALID_SOCIAL_FEED_PARAMS: 6310,\n /** Session, credential, viewing account, cursor, source, or viewport mismatch; also a request sequence or viewport revision rollback. */\n SOCIAL_FEED_SESSION_MISMATCH: 6311,\n /** Reading session or browsing credential is expired, missing, or incompatible; create a new session. */\n SOCIAL_FEED_SESSION_EXPIRED: 6312,\n /** Content does not exist or is not currently accessible. */\n SOCIAL_FEED_CONTENT_UNAVAILABLE: 6313,\n /** Position no longer qualifies for publication or a new attachment. */\n SOCIAL_FEED_POSITION_CLOSED: 6314,\n /** Selected position does not belong to the signed author. */\n SOCIAL_FEED_POSITION_NOT_OWNED: 6315,\n /** Item or action does not support the requested operation. */\n INVALID_SOCIAL_FEED_OPERATION: 6316,\n /** Published body cannot be edited; existing drawings may still be updated. */\n SOCIAL_FEED_CONTENT_ALREADY_PUBLISHED: 6317,\n /** Mention offsets, mentioned identity, or reply relationship is invalid. */\n INVALID_SOCIAL_FEED_MENTION: 6318,\n /** Author-scoped request ID was already used with different content. */\n SOCIAL_FEED_REQUEST_CONFLICT: 6319,\n /** Required authoritative position, action, cohort, or market data is unavailable. */\n SOCIAL_FEED_DATA_UNAVAILABLE: 6320,\n /** Text or mention count exceeds the operation's limit. */\n SOCIAL_FEED_CONTENT_TOO_LARGE: 6321,\n /** Like nonce is stale or reused with a different state. */\n STALE_SOCIAL_FEED_LIKE_UPDATE: 6322,\n /** A post has neither nonblank text nor a drawing, or a comment is blank. */\n EMPTY_SOCIAL_FEED_CONTENT: 6323,\n /** Feed reads are only available through public_query. */\n SOCIAL_FEED_QUERY_REMOVED: 6325,\n} as const;\n\n/**\n * Union of all known mobile service API error codes.\n */\nexport type MobileErrorCode =\n (typeof MOBILE_ERROR_CODES)[keyof typeof MOBILE_ERROR_CODES];\n"],"mappings":";;;;;;;AAOA,MAAa,qBAAqB;CAChC,2BAAGA,EAAAA;CACH,sBAAsB;CACtB,sBAAsB;CACtB,yBAAyB;;CAEzB,uBAAuB;CACvB,mBAAmB;;CAEnB,0BAA0B;;;;;CAK1B,gCAAgC;;;;;CAKhC,+BAA+B;;CAE/B,uBAAuB;;CAEvB,uBAAuB;;CAEvB,qBAAqB;;CAErB,uBAAuB;;CAEvB,sBAAsB;;CAEtB,aAAa;;CAEb,gBAAgB;;CAEhB,sBAAsB;CACtB,oBAAoB;CACpB,yBAAyB;CACzB,qBAAqB;;CAErB,qBAAqB;;CAErB,qBAAqB;;CAErB,6BAA6B;;CAE7B,+BAA+B;;CAE/B,iCAAiC;;CAEjC,4BAA4B;;CAE5B,kCAAkC;;CAElC,4BAA4B;;CAE5B,8BAA8B;;CAE9B,6BAA6B;;CAE7B,iCAAiC;;CAEjC,6BAA6B;;CAE7B,gCAAgC;;CAEhC,+BAA+B;;CAE/B,uCAAuC;;CAEvC,6BAA6B;;CAE7B,8BAA8B;;CAE9B,8BAA8B;;CAE9B,+BAA+B;;CAE/B,+BAA+B;;CAE/B,2BAA2B;;CAE3B,2BAA2B;
|
|
1
|
+
{"version":3,"file":"mobileErrorCodes.cjs","names":["NADO_ERROR_CODES"],"sources":["../../src/types/mobileErrorCodes.ts"],"sourcesContent":["import { NADO_ERROR_CODES } from '@nadohq/shared';\n\n/**\n * Numeric error codes returned by the mobile service API. Identity codes (61xx), notification codes (62xx),\n * and feed codes (63xx) are mobile-specific; the remaining codes are shared cross-service codes from the\n * backend's common error enum, inlined via spread from {@link NADO_ERROR_CODES}.\n */\nexport const MOBILE_ERROR_CODES = {\n ...NADO_ERROR_CODES,\n INVALID_DISPLAY_NAME: 6100,\n USERNAME_UNAVAILABLE: 6101,\n INVALID_IDENTITY_TARGET: 6104,\n /** Another identity write for the subaccount committed with a later nonce. Re-read before retrying. */\n STALE_IDENTITY_UPDATE: 6105,\n PROFILE_NOT_FOUND: 6106,\n /** Profiles lookup is empty, holds duplicates, or exceeds the batch maximum. Do not retry unchanged. */\n INVALID_PROFILES_REQUEST: 6107,\n /**\n * Profile search query is outside the username alphabet or length, or its limit is out of range. Do not\n * retry unchanged.\n */\n INVALID_PROFILE_SEARCH_REQUEST: 6108,\n /**\n * Profile search cursor is malformed, oversized, or was issued for a different query. Restart from\n * `cursor: undefined`.\n */\n INVALID_PROFILE_SEARCH_CURSOR: 6109,\n /** Follow mutation names the same source and target, or an isolated participant. Do not retry unchanged. */\n INVALID_FOLLOW_TARGET: 6110,\n /** Signed follower is not yet in the canonical Query DB subaccount index. Retry after index catch-up. */\n FOLLOWER_NOT_ELIGIBLE: 6111,\n /** Follow target is not yet in the canonical Query DB subaccount index. Refresh after a new record. */\n FOLLOWING_NOT_FOUND: 6112,\n /** Follow list cursor is malformed or bound to a different list request. Restart from `cursor: null`. */\n INVALID_FOLLOW_CURSOR: 6113,\n /** A follow list or followed-by limit is outside its accepted range. Fix it; do not retry unchanged. */\n INVALID_FOLLOW_LIMIT: 6114,\n /** Biography exceeds the maximum length or contains a null character. */\n INVALID_BIO: 6115,\n /** Invalid preset, upload size, staging key, or image. Correct the selection before retrying. */\n INVALID_AVATAR: 6116,\n /** Follow batch is empty, holds duplicates, or exceeds the batch maximum. Do not retry unchanged. */\n INVALID_FOLLOW_BATCH: 6117,\n INVALID_EXPO_TOKEN: 6200,\n INVALID_DEVICE_METADATA: 6201,\n INVALID_PREFERENCES: 6202,\n /** Settings or subscription revision is stale. Read the resource again before retrying. */\n NOTIFICATION_REVISION_CONFLICT: 6203,\n /** Invalid subscription operation, inbox parameters, event batch, timestamp, or notification ownership. */\n INVALID_NOTIFICATION_REQUEST: 6204,\n /** Wallet already has the maximum number of active device registrations. */\n NOTIFICATION_DEVICE_LIMIT: 6205,\n /** Feed `minimumNotional` or `limit` is outside its allowed domain. Fix the request; do not retry unchanged. */\n INVALID_FEED_FILTER: 6300,\n /** Feed cursor is malformed or bound to a different filter. Discard it and restart from the first page. */\n INVALID_FEED_CURSOR: 6301,\n /** Drawing JSON, outer value, storage representation, or nonce is invalid. */\n INVALID_SOCIAL_FEED_DRAWING: 6302,\n /** Original drawing JSON exceeds 256 KiB UTF-8. */\n SOCIAL_FEED_DRAWING_TOO_LARGE: 6303,\n /** Drawing parent is unavailable, or an update targets a missing drawing. */\n SOCIAL_FEED_DRAWING_UNAVAILABLE: 6304,\n /** A different drawing already exists when first attaching one. */\n SOCIAL_FEED_DRAWING_EXISTS: 6305,\n /** Drawing nonce is stale or reused for different content. Re-read before retrying. */\n STALE_SOCIAL_FEED_DRAWING_UPDATE: 6306,\n /** Invalid social feed parameters, including missing fields, invalid types/formats, filters, or Content-Type. */\n INVALID_SOCIAL_FEED_PARAMS: 6310,\n /** Session, credential, viewing account, cursor, source, or viewport mismatch; also a request sequence or viewport revision rollback. */\n SOCIAL_FEED_SESSION_MISMATCH: 6311,\n /** Reading session or browsing credential is expired, missing, or incompatible; create a new session. */\n SOCIAL_FEED_SESSION_EXPIRED: 6312,\n /** Content does not exist or is not currently accessible. */\n SOCIAL_FEED_CONTENT_UNAVAILABLE: 6313,\n /** Position no longer qualifies for publication or a new attachment. */\n SOCIAL_FEED_POSITION_CLOSED: 6314,\n /** Selected position does not belong to the signed author. */\n SOCIAL_FEED_POSITION_NOT_OWNED: 6315,\n /** Item or action does not support the requested operation. */\n INVALID_SOCIAL_FEED_OPERATION: 6316,\n /** Published body cannot be edited; existing drawings may still be updated. */\n SOCIAL_FEED_CONTENT_ALREADY_PUBLISHED: 6317,\n /** Mention offsets, mentioned identity, or reply relationship is invalid. */\n INVALID_SOCIAL_FEED_MENTION: 6318,\n /** Author-scoped request ID was already used with different content. */\n SOCIAL_FEED_REQUEST_CONFLICT: 6319,\n /** Required authoritative position, action, cohort, or market data is unavailable. */\n SOCIAL_FEED_DATA_UNAVAILABLE: 6320,\n /** Text or mention count exceeds the operation's limit. */\n SOCIAL_FEED_CONTENT_TOO_LARGE: 6321,\n /** Like nonce is stale or reused with a different state. */\n STALE_SOCIAL_FEED_LIKE_UPDATE: 6322,\n /** A post has neither nonblank text nor a drawing, or a comment is blank. */\n EMPTY_SOCIAL_FEED_CONTENT: 6323,\n /** Feed reads are only available through public_query. */\n SOCIAL_FEED_QUERY_REMOVED: 6325,\n /** Image format, dimensions, integrity, ownership, readiness, expiry, hash, or count is invalid. */\n INVALID_SOCIAL_FEED_IMAGE: 6326,\n /** Initial history/thoughts directory exceeds 4 MiB; do not automatically retry the same query. */\n SOCIAL_FEED_HISTORY_TOO_LARGE: 6328,\n} as const;\n\n/**\n * Union of all known mobile service API error codes.\n */\nexport type MobileErrorCode =\n (typeof MOBILE_ERROR_CODES)[keyof typeof MOBILE_ERROR_CODES];\n"],"mappings":";;;;;;;AAOA,MAAa,qBAAqB;CAChC,2BAAGA,EAAAA;CACH,sBAAsB;CACtB,sBAAsB;CACtB,yBAAyB;;CAEzB,uBAAuB;CACvB,mBAAmB;;CAEnB,0BAA0B;;;;;CAK1B,gCAAgC;;;;;CAKhC,+BAA+B;;CAE/B,uBAAuB;;CAEvB,uBAAuB;;CAEvB,qBAAqB;;CAErB,uBAAuB;;CAEvB,sBAAsB;;CAEtB,aAAa;;CAEb,gBAAgB;;CAEhB,sBAAsB;CACtB,oBAAoB;CACpB,yBAAyB;CACzB,qBAAqB;;CAErB,gCAAgC;;CAEhC,8BAA8B;;CAE9B,2BAA2B;;CAE3B,qBAAqB;;CAErB,qBAAqB;;CAErB,6BAA6B;;CAE7B,+BAA+B;;CAE/B,iCAAiC;;CAEjC,4BAA4B;;CAE5B,kCAAkC;;CAElC,4BAA4B;;CAE5B,8BAA8B;;CAE9B,6BAA6B;;CAE7B,iCAAiC;;CAEjC,6BAA6B;;CAE7B,gCAAgC;;CAEhC,+BAA+B;;CAE/B,uCAAuC;;CAEvC,6BAA6B;;CAE7B,8BAA8B;;CAE9B,8BAA8B;;CAE9B,+BAA+B;;CAE/B,+BAA+B;;CAE/B,2BAA2B;;CAE3B,2BAA2B;;CAE3B,2BAA2B;;CAE3B,+BAA+B;AACjC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as MobileErrorCode, t as MOBILE_ERROR_CODES } from "../mobileErrorCodes-
|
|
1
|
+
import { n as MobileErrorCode, t as MOBILE_ERROR_CODES } from "../mobileErrorCodes-CdwX6QTO.cjs";
|
|
2
2
|
export { MOBILE_ERROR_CODES, MobileErrorCode };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as MobileErrorCode, t as MOBILE_ERROR_CODES } from "../mobileErrorCodes-
|
|
1
|
+
import { n as MobileErrorCode, t as MOBILE_ERROR_CODES } from "../mobileErrorCodes-CdwX6QTO.js";
|
|
2
2
|
export { MOBILE_ERROR_CODES, MobileErrorCode };
|
|
@@ -44,6 +44,12 @@ const MOBILE_ERROR_CODES = {
|
|
|
44
44
|
INVALID_EXPO_TOKEN: 6200,
|
|
45
45
|
INVALID_DEVICE_METADATA: 6201,
|
|
46
46
|
INVALID_PREFERENCES: 6202,
|
|
47
|
+
/** Settings or subscription revision is stale. Read the resource again before retrying. */
|
|
48
|
+
NOTIFICATION_REVISION_CONFLICT: 6203,
|
|
49
|
+
/** Invalid subscription operation, inbox parameters, event batch, timestamp, or notification ownership. */
|
|
50
|
+
INVALID_NOTIFICATION_REQUEST: 6204,
|
|
51
|
+
/** Wallet already has the maximum number of active device registrations. */
|
|
52
|
+
NOTIFICATION_DEVICE_LIMIT: 6205,
|
|
47
53
|
/** Feed `minimumNotional` or `limit` is outside its allowed domain. Fix the request; do not retry unchanged. */
|
|
48
54
|
INVALID_FEED_FILTER: 6300,
|
|
49
55
|
/** Feed cursor is malformed or bound to a different filter. Discard it and restart from the first page. */
|
|
@@ -87,7 +93,11 @@ const MOBILE_ERROR_CODES = {
|
|
|
87
93
|
/** A post has neither nonblank text nor a drawing, or a comment is blank. */
|
|
88
94
|
EMPTY_SOCIAL_FEED_CONTENT: 6323,
|
|
89
95
|
/** Feed reads are only available through public_query. */
|
|
90
|
-
SOCIAL_FEED_QUERY_REMOVED: 6325
|
|
96
|
+
SOCIAL_FEED_QUERY_REMOVED: 6325,
|
|
97
|
+
/** Image format, dimensions, integrity, ownership, readiness, expiry, hash, or count is invalid. */
|
|
98
|
+
INVALID_SOCIAL_FEED_IMAGE: 6326,
|
|
99
|
+
/** Initial history/thoughts directory exceeds 4 MiB; do not automatically retry the same query. */
|
|
100
|
+
SOCIAL_FEED_HISTORY_TOO_LARGE: 6328
|
|
91
101
|
};
|
|
92
102
|
//#endregion
|
|
93
103
|
export { MOBILE_ERROR_CODES };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mobileErrorCodes.js","names":[],"sources":["../../src/types/mobileErrorCodes.ts"],"sourcesContent":["import { NADO_ERROR_CODES } from '@nadohq/shared';\n\n/**\n * Numeric error codes returned by the mobile service API. Identity codes (61xx), notification codes (62xx),\n * and feed codes (63xx) are mobile-specific; the remaining codes are shared cross-service codes from the\n * backend's common error enum, inlined via spread from {@link NADO_ERROR_CODES}.\n */\nexport const MOBILE_ERROR_CODES = {\n ...NADO_ERROR_CODES,\n INVALID_DISPLAY_NAME: 6100,\n USERNAME_UNAVAILABLE: 6101,\n INVALID_IDENTITY_TARGET: 6104,\n /** Another identity write for the subaccount committed with a later nonce. Re-read before retrying. */\n STALE_IDENTITY_UPDATE: 6105,\n PROFILE_NOT_FOUND: 6106,\n /** Profiles lookup is empty, holds duplicates, or exceeds the batch maximum. Do not retry unchanged. */\n INVALID_PROFILES_REQUEST: 6107,\n /**\n * Profile search query is outside the username alphabet or length, or its limit is out of range. Do not\n * retry unchanged.\n */\n INVALID_PROFILE_SEARCH_REQUEST: 6108,\n /**\n * Profile search cursor is malformed, oversized, or was issued for a different query. Restart from\n * `cursor: undefined`.\n */\n INVALID_PROFILE_SEARCH_CURSOR: 6109,\n /** Follow mutation names the same source and target, or an isolated participant. Do not retry unchanged. */\n INVALID_FOLLOW_TARGET: 6110,\n /** Signed follower is not yet in the canonical Query DB subaccount index. Retry after index catch-up. */\n FOLLOWER_NOT_ELIGIBLE: 6111,\n /** Follow target is not yet in the canonical Query DB subaccount index. Refresh after a new record. */\n FOLLOWING_NOT_FOUND: 6112,\n /** Follow list cursor is malformed or bound to a different list request. Restart from `cursor: null`. */\n INVALID_FOLLOW_CURSOR: 6113,\n /** A follow list or followed-by limit is outside its accepted range. Fix it; do not retry unchanged. */\n INVALID_FOLLOW_LIMIT: 6114,\n /** Biography exceeds the maximum length or contains a null character. */\n INVALID_BIO: 6115,\n /** Invalid preset, upload size, staging key, or image. Correct the selection before retrying. */\n INVALID_AVATAR: 6116,\n /** Follow batch is empty, holds duplicates, or exceeds the batch maximum. Do not retry unchanged. */\n INVALID_FOLLOW_BATCH: 6117,\n INVALID_EXPO_TOKEN: 6200,\n INVALID_DEVICE_METADATA: 6201,\n INVALID_PREFERENCES: 6202,\n /** Feed `minimumNotional` or `limit` is outside its allowed domain. Fix the request; do not retry unchanged. */\n INVALID_FEED_FILTER: 6300,\n /** Feed cursor is malformed or bound to a different filter. Discard it and restart from the first page. */\n INVALID_FEED_CURSOR: 6301,\n /** Drawing JSON, outer value, storage representation, or nonce is invalid. */\n INVALID_SOCIAL_FEED_DRAWING: 6302,\n /** Original drawing JSON exceeds 256 KiB UTF-8. */\n SOCIAL_FEED_DRAWING_TOO_LARGE: 6303,\n /** Drawing parent is unavailable, or an update targets a missing drawing. */\n SOCIAL_FEED_DRAWING_UNAVAILABLE: 6304,\n /** A different drawing already exists when first attaching one. */\n SOCIAL_FEED_DRAWING_EXISTS: 6305,\n /** Drawing nonce is stale or reused for different content. Re-read before retrying. */\n STALE_SOCIAL_FEED_DRAWING_UPDATE: 6306,\n /** Invalid social feed parameters, including missing fields, invalid types/formats, filters, or Content-Type. */\n INVALID_SOCIAL_FEED_PARAMS: 6310,\n /** Session, credential, viewing account, cursor, source, or viewport mismatch; also a request sequence or viewport revision rollback. */\n SOCIAL_FEED_SESSION_MISMATCH: 6311,\n /** Reading session or browsing credential is expired, missing, or incompatible; create a new session. */\n SOCIAL_FEED_SESSION_EXPIRED: 6312,\n /** Content does not exist or is not currently accessible. */\n SOCIAL_FEED_CONTENT_UNAVAILABLE: 6313,\n /** Position no longer qualifies for publication or a new attachment. */\n SOCIAL_FEED_POSITION_CLOSED: 6314,\n /** Selected position does not belong to the signed author. */\n SOCIAL_FEED_POSITION_NOT_OWNED: 6315,\n /** Item or action does not support the requested operation. */\n INVALID_SOCIAL_FEED_OPERATION: 6316,\n /** Published body cannot be edited; existing drawings may still be updated. */\n SOCIAL_FEED_CONTENT_ALREADY_PUBLISHED: 6317,\n /** Mention offsets, mentioned identity, or reply relationship is invalid. */\n INVALID_SOCIAL_FEED_MENTION: 6318,\n /** Author-scoped request ID was already used with different content. */\n SOCIAL_FEED_REQUEST_CONFLICT: 6319,\n /** Required authoritative position, action, cohort, or market data is unavailable. */\n SOCIAL_FEED_DATA_UNAVAILABLE: 6320,\n /** Text or mention count exceeds the operation's limit. */\n SOCIAL_FEED_CONTENT_TOO_LARGE: 6321,\n /** Like nonce is stale or reused with a different state. */\n STALE_SOCIAL_FEED_LIKE_UPDATE: 6322,\n /** A post has neither nonblank text nor a drawing, or a comment is blank. */\n EMPTY_SOCIAL_FEED_CONTENT: 6323,\n /** Feed reads are only available through public_query. */\n SOCIAL_FEED_QUERY_REMOVED: 6325,\n} as const;\n\n/**\n * Union of all known mobile service API error codes.\n */\nexport type MobileErrorCode =\n (typeof MOBILE_ERROR_CODES)[keyof typeof MOBILE_ERROR_CODES];\n"],"mappings":";;;;;;;AAOA,MAAa,qBAAqB;CAChC,GAAG;CACH,sBAAsB;CACtB,sBAAsB;CACtB,yBAAyB;;CAEzB,uBAAuB;CACvB,mBAAmB;;CAEnB,0BAA0B;;;;;CAK1B,gCAAgC;;;;;CAKhC,+BAA+B;;CAE/B,uBAAuB;;CAEvB,uBAAuB;;CAEvB,qBAAqB;;CAErB,uBAAuB;;CAEvB,sBAAsB;;CAEtB,aAAa;;CAEb,gBAAgB;;CAEhB,sBAAsB;CACtB,oBAAoB;CACpB,yBAAyB;CACzB,qBAAqB;;CAErB,qBAAqB;;CAErB,qBAAqB;;CAErB,6BAA6B;;CAE7B,+BAA+B;;CAE/B,iCAAiC;;CAEjC,4BAA4B;;CAE5B,kCAAkC;;CAElC,4BAA4B;;CAE5B,8BAA8B;;CAE9B,6BAA6B;;CAE7B,iCAAiC;;CAEjC,6BAA6B;;CAE7B,gCAAgC;;CAEhC,+BAA+B;;CAE/B,uCAAuC;;CAEvC,6BAA6B;;CAE7B,8BAA8B;;CAE9B,8BAA8B;;CAE9B,+BAA+B;;CAE/B,+BAA+B;;CAE/B,2BAA2B;;CAE3B,2BAA2B;
|
|
1
|
+
{"version":3,"file":"mobileErrorCodes.js","names":[],"sources":["../../src/types/mobileErrorCodes.ts"],"sourcesContent":["import { NADO_ERROR_CODES } from '@nadohq/shared';\n\n/**\n * Numeric error codes returned by the mobile service API. Identity codes (61xx), notification codes (62xx),\n * and feed codes (63xx) are mobile-specific; the remaining codes are shared cross-service codes from the\n * backend's common error enum, inlined via spread from {@link NADO_ERROR_CODES}.\n */\nexport const MOBILE_ERROR_CODES = {\n ...NADO_ERROR_CODES,\n INVALID_DISPLAY_NAME: 6100,\n USERNAME_UNAVAILABLE: 6101,\n INVALID_IDENTITY_TARGET: 6104,\n /** Another identity write for the subaccount committed with a later nonce. Re-read before retrying. */\n STALE_IDENTITY_UPDATE: 6105,\n PROFILE_NOT_FOUND: 6106,\n /** Profiles lookup is empty, holds duplicates, or exceeds the batch maximum. Do not retry unchanged. */\n INVALID_PROFILES_REQUEST: 6107,\n /**\n * Profile search query is outside the username alphabet or length, or its limit is out of range. Do not\n * retry unchanged.\n */\n INVALID_PROFILE_SEARCH_REQUEST: 6108,\n /**\n * Profile search cursor is malformed, oversized, or was issued for a different query. Restart from\n * `cursor: undefined`.\n */\n INVALID_PROFILE_SEARCH_CURSOR: 6109,\n /** Follow mutation names the same source and target, or an isolated participant. Do not retry unchanged. */\n INVALID_FOLLOW_TARGET: 6110,\n /** Signed follower is not yet in the canonical Query DB subaccount index. Retry after index catch-up. */\n FOLLOWER_NOT_ELIGIBLE: 6111,\n /** Follow target is not yet in the canonical Query DB subaccount index. Refresh after a new record. */\n FOLLOWING_NOT_FOUND: 6112,\n /** Follow list cursor is malformed or bound to a different list request. Restart from `cursor: null`. */\n INVALID_FOLLOW_CURSOR: 6113,\n /** A follow list or followed-by limit is outside its accepted range. Fix it; do not retry unchanged. */\n INVALID_FOLLOW_LIMIT: 6114,\n /** Biography exceeds the maximum length or contains a null character. */\n INVALID_BIO: 6115,\n /** Invalid preset, upload size, staging key, or image. Correct the selection before retrying. */\n INVALID_AVATAR: 6116,\n /** Follow batch is empty, holds duplicates, or exceeds the batch maximum. Do not retry unchanged. */\n INVALID_FOLLOW_BATCH: 6117,\n INVALID_EXPO_TOKEN: 6200,\n INVALID_DEVICE_METADATA: 6201,\n INVALID_PREFERENCES: 6202,\n /** Settings or subscription revision is stale. Read the resource again before retrying. */\n NOTIFICATION_REVISION_CONFLICT: 6203,\n /** Invalid subscription operation, inbox parameters, event batch, timestamp, or notification ownership. */\n INVALID_NOTIFICATION_REQUEST: 6204,\n /** Wallet already has the maximum number of active device registrations. */\n NOTIFICATION_DEVICE_LIMIT: 6205,\n /** Feed `minimumNotional` or `limit` is outside its allowed domain. Fix the request; do not retry unchanged. */\n INVALID_FEED_FILTER: 6300,\n /** Feed cursor is malformed or bound to a different filter. Discard it and restart from the first page. */\n INVALID_FEED_CURSOR: 6301,\n /** Drawing JSON, outer value, storage representation, or nonce is invalid. */\n INVALID_SOCIAL_FEED_DRAWING: 6302,\n /** Original drawing JSON exceeds 256 KiB UTF-8. */\n SOCIAL_FEED_DRAWING_TOO_LARGE: 6303,\n /** Drawing parent is unavailable, or an update targets a missing drawing. */\n SOCIAL_FEED_DRAWING_UNAVAILABLE: 6304,\n /** A different drawing already exists when first attaching one. */\n SOCIAL_FEED_DRAWING_EXISTS: 6305,\n /** Drawing nonce is stale or reused for different content. Re-read before retrying. */\n STALE_SOCIAL_FEED_DRAWING_UPDATE: 6306,\n /** Invalid social feed parameters, including missing fields, invalid types/formats, filters, or Content-Type. */\n INVALID_SOCIAL_FEED_PARAMS: 6310,\n /** Session, credential, viewing account, cursor, source, or viewport mismatch; also a request sequence or viewport revision rollback. */\n SOCIAL_FEED_SESSION_MISMATCH: 6311,\n /** Reading session or browsing credential is expired, missing, or incompatible; create a new session. */\n SOCIAL_FEED_SESSION_EXPIRED: 6312,\n /** Content does not exist or is not currently accessible. */\n SOCIAL_FEED_CONTENT_UNAVAILABLE: 6313,\n /** Position no longer qualifies for publication or a new attachment. */\n SOCIAL_FEED_POSITION_CLOSED: 6314,\n /** Selected position does not belong to the signed author. */\n SOCIAL_FEED_POSITION_NOT_OWNED: 6315,\n /** Item or action does not support the requested operation. */\n INVALID_SOCIAL_FEED_OPERATION: 6316,\n /** Published body cannot be edited; existing drawings may still be updated. */\n SOCIAL_FEED_CONTENT_ALREADY_PUBLISHED: 6317,\n /** Mention offsets, mentioned identity, or reply relationship is invalid. */\n INVALID_SOCIAL_FEED_MENTION: 6318,\n /** Author-scoped request ID was already used with different content. */\n SOCIAL_FEED_REQUEST_CONFLICT: 6319,\n /** Required authoritative position, action, cohort, or market data is unavailable. */\n SOCIAL_FEED_DATA_UNAVAILABLE: 6320,\n /** Text or mention count exceeds the operation's limit. */\n SOCIAL_FEED_CONTENT_TOO_LARGE: 6321,\n /** Like nonce is stale or reused with a different state. */\n STALE_SOCIAL_FEED_LIKE_UPDATE: 6322,\n /** A post has neither nonblank text nor a drawing, or a comment is blank. */\n EMPTY_SOCIAL_FEED_CONTENT: 6323,\n /** Feed reads are only available through public_query. */\n SOCIAL_FEED_QUERY_REMOVED: 6325,\n /** Image format, dimensions, integrity, ownership, readiness, expiry, hash, or count is invalid. */\n INVALID_SOCIAL_FEED_IMAGE: 6326,\n /** Initial history/thoughts directory exceeds 4 MiB; do not automatically retry the same query. */\n SOCIAL_FEED_HISTORY_TOO_LARGE: 6328,\n} as const;\n\n/**\n * Union of all known mobile service API error codes.\n */\nexport type MobileErrorCode =\n (typeof MOBILE_ERROR_CODES)[keyof typeof MOBILE_ERROR_CODES];\n"],"mappings":";;;;;;;AAOA,MAAa,qBAAqB;CAChC,GAAG;CACH,sBAAsB;CACtB,sBAAsB;CACtB,yBAAyB;;CAEzB,uBAAuB;CACvB,mBAAmB;;CAEnB,0BAA0B;;;;;CAK1B,gCAAgC;;;;;CAKhC,+BAA+B;;CAE/B,uBAAuB;;CAEvB,uBAAuB;;CAEvB,qBAAqB;;CAErB,uBAAuB;;CAEvB,sBAAsB;;CAEtB,aAAa;;CAEb,gBAAgB;;CAEhB,sBAAsB;CACtB,oBAAoB;CACpB,yBAAyB;CACzB,qBAAqB;;CAErB,gCAAgC;;CAEhC,8BAA8B;;CAE9B,2BAA2B;;CAE3B,qBAAqB;;CAErB,qBAAqB;;CAErB,6BAA6B;;CAE7B,+BAA+B;;CAE/B,iCAAiC;;CAEjC,4BAA4B;;CAE5B,kCAAkC;;CAElC,4BAA4B;;CAE5B,8BAA8B;;CAE9B,6BAA6B;;CAE7B,iCAAiC;;CAEjC,6BAA6B;;CAE7B,gCAAgC;;CAEhC,+BAA+B;;CAE/B,uCAAuC;;CAEvC,6BAA6B;;CAE7B,8BAA8B;;CAE9B,8BAA8B;;CAE9B,+BAA+B;;CAE/B,+BAA+B;;CAE/B,2BAA2B;;CAE3B,2BAA2B;;CAE3B,2BAA2B;;CAE3B,+BAA+B;AACjC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { nt as MobileServerSuccessResponse, tt as MobileServerFailureResponse } from "../types-CR5iaKR4.cjs";
|
|
2
2
|
export { MobileServerFailureResponse, MobileServerSuccessResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { nt as MobileServerSuccessResponse, tt as MobileServerFailureResponse } from "../types-CByl_NyJ.js";
|
|
2
2
|
export { MobileServerFailureResponse, MobileServerSuccessResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as
|
|
2
|
-
export { MobileServerAvatarUploadResponse, MobileServerEmptyExecuteResponse, MobileServerExecuteResponseByType, MobileServerExecuteResult, MobileServerExecuteSuccessResponse, MobileServerFollowBatchResponse, MobileServerFollowBatchResultItem, MobileServerFollowMutationResponse, MobileServerPublicExecuteRequest, MobileServerPublicExecuteResponseByType, MobileServerPublicExecuteSuccessResponse, MobileServerSocialFeedCommentResponse, MobileServerSocialFeedDrawingMutationResponse, MobileServerSocialFeedLikeResponse, MobileServerSocialFeedPostResponse, MobileServerSocialFeedPresenceResponse
|
|
1
|
+
import { _ as MobileServerSocialFeedPresenceResponse, a as MobileServerExecuteSuccessResponse, c as MobileServerFollowMutationResponse, d as MobileServerPublicExecuteSuccessResponse, f as MobileServerSocialFeedCommentResponse, g as MobileServerSocialFeedPostResponse, h as MobileServerSocialFeedLikeResponse, i as MobileServerExecuteResult, l as MobileServerPublicExecuteRequest, m as MobileServerSocialFeedImageUploadResponse, n as MobileServerEmptyExecuteResponse, o as MobileServerFollowBatchResponse, p as MobileServerSocialFeedDrawingMutationResponse, r as MobileServerExecuteResponseByType, s as MobileServerFollowBatchResultItem, t as MobileServerAvatarUploadResponse, u as MobileServerPublicExecuteResponseByType } from "../serverExecuteTypes-DuCWe_H_.cjs";
|
|
2
|
+
export { MobileServerAvatarUploadResponse, MobileServerEmptyExecuteResponse, MobileServerExecuteResponseByType, MobileServerExecuteResult, MobileServerExecuteSuccessResponse, MobileServerFollowBatchResponse, MobileServerFollowBatchResultItem, MobileServerFollowMutationResponse, MobileServerPublicExecuteRequest, MobileServerPublicExecuteResponseByType, MobileServerPublicExecuteSuccessResponse, MobileServerSocialFeedCommentResponse, MobileServerSocialFeedDrawingMutationResponse, MobileServerSocialFeedImageUploadResponse, MobileServerSocialFeedLikeResponse, MobileServerSocialFeedPostResponse, MobileServerSocialFeedPresenceResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as
|
|
2
|
-
export { MobileServerAvatarUploadResponse, MobileServerEmptyExecuteResponse, MobileServerExecuteResponseByType, MobileServerExecuteResult, MobileServerExecuteSuccessResponse, MobileServerFollowBatchResponse, MobileServerFollowBatchResultItem, MobileServerFollowMutationResponse, MobileServerPublicExecuteRequest, MobileServerPublicExecuteResponseByType, MobileServerPublicExecuteSuccessResponse, MobileServerSocialFeedCommentResponse, MobileServerSocialFeedDrawingMutationResponse, MobileServerSocialFeedLikeResponse, MobileServerSocialFeedPostResponse, MobileServerSocialFeedPresenceResponse
|
|
1
|
+
import { _ as MobileServerSocialFeedPresenceResponse, a as MobileServerExecuteSuccessResponse, c as MobileServerFollowMutationResponse, d as MobileServerPublicExecuteSuccessResponse, f as MobileServerSocialFeedCommentResponse, g as MobileServerSocialFeedPostResponse, h as MobileServerSocialFeedLikeResponse, i as MobileServerExecuteResult, l as MobileServerPublicExecuteRequest, m as MobileServerSocialFeedImageUploadResponse, n as MobileServerEmptyExecuteResponse, o as MobileServerFollowBatchResponse, p as MobileServerSocialFeedDrawingMutationResponse, r as MobileServerExecuteResponseByType, s as MobileServerFollowBatchResultItem, t as MobileServerAvatarUploadResponse, u as MobileServerPublicExecuteResponseByType } from "../serverExecuteTypes-usJ6HMJv.js";
|
|
2
|
+
export { MobileServerAvatarUploadResponse, MobileServerEmptyExecuteResponse, MobileServerExecuteResponseByType, MobileServerExecuteResult, MobileServerExecuteSuccessResponse, MobileServerFollowBatchResponse, MobileServerFollowBatchResultItem, MobileServerFollowMutationResponse, MobileServerPublicExecuteRequest, MobileServerPublicExecuteResponseByType, MobileServerPublicExecuteSuccessResponse, MobileServerSocialFeedCommentResponse, MobileServerSocialFeedDrawingMutationResponse, MobileServerSocialFeedImageUploadResponse, MobileServerSocialFeedLikeResponse, MobileServerSocialFeedPostResponse, MobileServerSocialFeedPresenceResponse };
|
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
//#region src/types/serverModelTypes.ts
|
|
3
|
+
/** Position milestone options supported by notification settings. */
|
|
4
|
+
const MOBILE_NOTIFICATION_POSITION_THRESHOLDS = [
|
|
5
|
+
10,
|
|
6
|
+
25,
|
|
7
|
+
50
|
|
8
|
+
];
|
|
9
|
+
/** Minimum trade-size options, in whole USD, supported by notification settings. */
|
|
10
|
+
const MOBILE_NOTIFICATION_MIN_TRADE_SIZES_USD = [
|
|
11
|
+
0,
|
|
12
|
+
100,
|
|
13
|
+
1e3,
|
|
14
|
+
1e4
|
|
15
|
+
];
|
|
3
16
|
/**
|
|
4
17
|
* Every {@link MobileFeedTradePositionDirection} the feed can report, for callers that need the values at
|
|
5
18
|
* runtime (validation, filters, UI enumeration).
|
|
@@ -25,5 +38,7 @@ const MOBILE_FEED_MARGIN_MODES = ["cross", "isolated"];
|
|
|
25
38
|
exports.MOBILE_FEED_MARGIN_MODES = MOBILE_FEED_MARGIN_MODES;
|
|
26
39
|
exports.MOBILE_FEED_TRADE_POSITION_DIRECTIONS = MOBILE_FEED_TRADE_POSITION_DIRECTIONS;
|
|
27
40
|
exports.MOBILE_FEED_TRADE_POSITION_EFFECTS = MOBILE_FEED_TRADE_POSITION_EFFECTS;
|
|
41
|
+
exports.MOBILE_NOTIFICATION_MIN_TRADE_SIZES_USD = MOBILE_NOTIFICATION_MIN_TRADE_SIZES_USD;
|
|
42
|
+
exports.MOBILE_NOTIFICATION_POSITION_THRESHOLDS = MOBILE_NOTIFICATION_POSITION_THRESHOLDS;
|
|
28
43
|
|
|
29
44
|
//# sourceMappingURL=serverModelTypes.cjs.map
|