@agg-build/hooks 1.2.12 → 2.0.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/dist/{chunk-R6VANZRA.mjs → chunk-KXO3JOXF.mjs} +1 -1
- package/dist/{chunk-V34QGQBO.mjs → chunk-OBHXWQ6L.mjs} +1 -1
- package/dist/{chunk-2C7JR5OH.mjs → chunk-VLYLQSDD.mjs} +117 -55
- package/dist/deposit.js +48 -19
- package/dist/deposit.mjs +2 -2
- package/dist/index.d.mts +198 -64
- package/dist/index.d.ts +198 -64
- package/dist/index.js +484 -219
- package/dist/index.mjs +267 -74
- package/dist/withdraw.d.mts +3 -3
- package/dist/withdraw.d.ts +3 -3
- package/dist/withdraw.js +51 -22
- package/dist/withdraw.mjs +2 -2
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -2,7 +2,7 @@ import * as _tanstack_react_query from '@tanstack/react-query';
|
|
|
2
2
|
import { QueryClient } from '@tanstack/react-query';
|
|
3
3
|
export { QueryClient, QueryClientProvider, useQueryClient } from '@tanstack/react-query';
|
|
4
4
|
import * as _agg_build_sdk from '@agg-build/sdk';
|
|
5
|
-
import { CandleBuilder, AggAuthStartBody, AggAuthStartResult, AggClientSessionInput, AggClient, RampQuote, RampQuoteRequest, RampWidgetSession, RampSessionRequest, QuoteManagedResponse, QuoteManagedParams, ExecuteManagedResponse, ExecuteManagedParams, GetPositionsParams, WsOrderSubmitted, WsBalanceUpdate, RedeemResponse, RedeemRequest, WsRedeemEvent, AggWebSocket, WsOrderEvent, WsWithdrawalLifecycleEvent, WsCandleInterval, WsTrade, AggregatedOrderbookResponse, AggLinkAccountBody, AggLinkAccountResult, AggLinkAccountConfirmResult, UserActivityQuery, UserActivityItem, PaginatedResponse, CandleInterval, OrderbookState, OrderbookQuoteResponse, OrderListQuery, TradeExecutorOrder, SmartRouteSide, SmartRouteResponse, MidpointRow, BatchMidpointsResponse, AppClientConfigResponse } from '@agg-build/sdk';
|
|
5
|
+
import { CandleBuilder, AggAuthStartBody, AggAuthStartResult, AggClientSessionInput, AggClient, RampQuote, RampQuoteRequest, RampWidgetSession, RampSessionRequest, QuoteManagedResponse, QuoteManagedParams, ExecuteManagedResponse, ExecuteManagedParams, GetPositionsParams, WsOrderSubmitted, WsBalanceUpdate, RedeemResponse, RedeemRequest, WsRedeemEvent, AggWebSocket, WsOrderEvent, WsWithdrawalLifecycleEvent, WsCandleInterval, WsTrade, AggregatedOrderbookResponse, AggLinkAccountBody, AggLinkAccountResult, AggLinkAccountConfirmResult, Category, UserActivityQuery, UserActivityItem, PaginatedResponse, CandleInterval, OrderbookState, OrderbookQuoteResponse, OrderListQuery, TradeExecutorOrder, SmartRouteSide, ExecutionMode, SmartRouteResponse, RecurrenceFilter, MidpointRow, BatchMidpointsResponse, AppClientConfigResponse } from '@agg-build/sdk';
|
|
6
6
|
export { TurnstileChallengeError } from '@agg-build/sdk';
|
|
7
7
|
import React, { ReactNode } from 'react';
|
|
8
8
|
export { UseManagedBalancesOptions, UseWithdrawEstimateParams, UseWithdrawFlowOptions, UseWithdrawFlowResult, UseWithdrawManagedOptions, UseWithdrawalLifecycleResult, WithdrawFeeEstimate, WithdrawalLifecycleState, useManagedBalances, useWithdrawEstimate, useWithdrawFlow, useWithdrawManaged, useWithdrawalLifecycle } from './withdraw.mjs';
|
|
@@ -69,8 +69,14 @@ declare enum OrderStatus {
|
|
|
69
69
|
pending_bridge = "pending_bridge",
|
|
70
70
|
submitting = "submitting",
|
|
71
71
|
submitted = "submitted",
|
|
72
|
+
open = "open",
|
|
73
|
+
partially_filled_open = "partially_filled_open",
|
|
74
|
+
cancel_pending = "cancel_pending",
|
|
72
75
|
filled = "filled",
|
|
73
|
-
partial_fill = "partial_fill"
|
|
76
|
+
partial_fill = "partial_fill",
|
|
77
|
+
failed = "failed",
|
|
78
|
+
expired = "expired",
|
|
79
|
+
cancelled = "cancelled"
|
|
74
80
|
}
|
|
75
81
|
|
|
76
82
|
/**
|
|
@@ -106,11 +112,15 @@ type UnifiedBalanceResponse = {
|
|
|
106
112
|
cash: {
|
|
107
113
|
tokenSymbol: string;
|
|
108
114
|
totalRaw: string;
|
|
115
|
+
availableRaw?: string | undefined;
|
|
116
|
+
reservedRaw?: string | undefined;
|
|
109
117
|
decimals: number;
|
|
110
118
|
chains: {
|
|
111
119
|
chainId: number;
|
|
112
120
|
tokenAddress: string;
|
|
113
121
|
balanceRaw: string;
|
|
122
|
+
heldRaw?: string | undefined;
|
|
123
|
+
availableRaw?: string | undefined;
|
|
114
124
|
decimals: number;
|
|
115
125
|
lastSyncedAt: string;
|
|
116
126
|
}[];
|
|
@@ -257,6 +267,10 @@ type VenueMarket = {
|
|
|
257
267
|
endDate?: string | null | undefined;
|
|
258
268
|
creationDate?: string | null | undefined;
|
|
259
269
|
resolutionDate?: string | null | undefined;
|
|
270
|
+
/** Sports market classification for type-aware sorting (moneyline, spread, total, etc.). */
|
|
271
|
+
sportsMarketType?: string | null | undefined;
|
|
272
|
+
/** Sort rank within a sports section (0=moneyline, 1=spread, 2=total, 3+=other). */
|
|
273
|
+
sectionRank?: number | null | undefined;
|
|
260
274
|
matchedVenueMarkets?: {
|
|
261
275
|
id: string;
|
|
262
276
|
venue: Venue;
|
|
@@ -296,6 +310,7 @@ type VenueEvent = {
|
|
|
296
310
|
category: {
|
|
297
311
|
id: string;
|
|
298
312
|
name: string;
|
|
313
|
+
displayName: string | null;
|
|
299
314
|
parentId: string | null;
|
|
300
315
|
eventCount: number;
|
|
301
316
|
};
|
|
@@ -315,10 +330,12 @@ type VenueEvent = {
|
|
|
315
330
|
/**
|
|
316
331
|
* ISO-8601 duration denormalized from Series.recurrence. `null` means
|
|
317
332
|
* the event has no recurring schedule (one-off). Use this value with
|
|
318
|
-
* the `?recurrence=` filter on /venue-events
|
|
319
|
-
* values
|
|
333
|
+
* the `?recurrence=` filter on /venue-events using public recurrence
|
|
334
|
+
* enum values.
|
|
320
335
|
*/
|
|
321
336
|
recurrence?: string | null | undefined;
|
|
337
|
+
/** Type-aware structure classification used to sort markets under this event. */
|
|
338
|
+
structureType?: "candidate" | "sport" | "axis" | "dates" | null | undefined;
|
|
322
339
|
};
|
|
323
340
|
type Orderbook = {
|
|
324
341
|
bids: {
|
|
@@ -656,7 +673,14 @@ interface AggUiLabels {
|
|
|
656
673
|
userProfile: {
|
|
657
674
|
activity: {
|
|
658
675
|
depositType: string;
|
|
676
|
+
redeemType: string;
|
|
659
677
|
withdrawalType: string;
|
|
678
|
+
redeemStatusTitles: {
|
|
679
|
+
pending: string;
|
|
680
|
+
completed: string;
|
|
681
|
+
failed: string;
|
|
682
|
+
canceled: string;
|
|
683
|
+
};
|
|
660
684
|
depositTitles: {
|
|
661
685
|
connectedWallet: string;
|
|
662
686
|
externalWallet: string;
|
|
@@ -772,6 +796,8 @@ interface AggUiLabels {
|
|
|
772
796
|
marketPlural: string;
|
|
773
797
|
venueSingular: string;
|
|
774
798
|
venuePlural: string;
|
|
799
|
+
matched: string;
|
|
800
|
+
matchedCount: (count: number) => string;
|
|
775
801
|
priceGap: string;
|
|
776
802
|
};
|
|
777
803
|
eventItemDetails: {
|
|
@@ -944,7 +970,7 @@ interface AggUiLabels {
|
|
|
944
970
|
/**
|
|
945
971
|
* Source-chain balance changed between quote and submit. Covers
|
|
946
972
|
* Limitless Base USDC, Polymarket pUSD, Solana SPL InsufficientFunds,
|
|
947
|
-
* BNB BEP20 transfer-exceeds-balance.
|
|
973
|
+
* BNB BEP20 transfer-exceeds-balance/allowance.
|
|
948
974
|
*/
|
|
949
975
|
sourceBalanceChanged: string;
|
|
950
976
|
/**
|
|
@@ -1008,6 +1034,8 @@ interface AggUiLabels {
|
|
|
1008
1034
|
feeBreakdownVenueFees: string;
|
|
1009
1035
|
feeBreakdownBridgeFees: string;
|
|
1010
1036
|
feeBreakdownExecutionGas: string;
|
|
1037
|
+
feeBreakdownAggMarket: string;
|
|
1038
|
+
feeBreakdownPlatformFeeBadge: string;
|
|
1011
1039
|
feeBreakdownTotalFees: string;
|
|
1012
1040
|
toWin: (tab: "buy" | "sell") => string;
|
|
1013
1041
|
buyingOutcome: (label: string) => string;
|
|
@@ -1231,6 +1259,19 @@ interface AggUiLabels {
|
|
|
1231
1259
|
failedTitle: string;
|
|
1232
1260
|
failedMessage: (errorReason?: string) => string;
|
|
1233
1261
|
};
|
|
1262
|
+
claim: {
|
|
1263
|
+
pendingTitle: string;
|
|
1264
|
+
pendingMessage: string;
|
|
1265
|
+
submittedTitle: string;
|
|
1266
|
+
submittedMessage: string;
|
|
1267
|
+
successTitle: string;
|
|
1268
|
+
successMessage: string;
|
|
1269
|
+
partialTitle: string;
|
|
1270
|
+
partialMessage: (errorReason?: string) => string;
|
|
1271
|
+
failedTitle: string;
|
|
1272
|
+
failedMessage: (errorReason?: string) => string;
|
|
1273
|
+
missingOutcomeMessage: string;
|
|
1274
|
+
};
|
|
1234
1275
|
};
|
|
1235
1276
|
}
|
|
1236
1277
|
type DeepPartial<TValue> = {
|
|
@@ -1260,6 +1301,8 @@ interface AggUiFeatureFlagsConfig {
|
|
|
1260
1301
|
enableAnimations: boolean;
|
|
1261
1302
|
/** Enable live updates */
|
|
1262
1303
|
enableLiveUpdates: boolean;
|
|
1304
|
+
/** Enable compact price-gap signals on aggregated event tiles. */
|
|
1305
|
+
enablePriceGap: boolean;
|
|
1263
1306
|
/** Enable fee UI in trading flows */
|
|
1264
1307
|
showFeesBreakdown: boolean;
|
|
1265
1308
|
/** Enable gradients */
|
|
@@ -1653,6 +1696,7 @@ declare const invalidateBalanceQueries: (queryClient: QueryClient, options?: Inv
|
|
|
1653
1696
|
declare const invalidatePositionQueries: (queryClient: QueryClient, options?: InvalidateBalanceQueriesOptions) => void;
|
|
1654
1697
|
declare const userActivityQueryKeys: {
|
|
1655
1698
|
all: () => readonly ["user-activity"];
|
|
1699
|
+
feed: (type?: string | null, limit?: number | null) => readonly ["user-activity", string, number];
|
|
1656
1700
|
};
|
|
1657
1701
|
type UserActivityInvalidationStrategy = "remove" | "invalidate";
|
|
1658
1702
|
interface InvalidateUserActivityOptions {
|
|
@@ -1694,6 +1738,13 @@ interface InvalidateUserMoneyStateOptions {
|
|
|
1694
1738
|
* current-user (no money fields change on deposit/withdraw today).
|
|
1695
1739
|
*/
|
|
1696
1740
|
declare const invalidateUserMoneyState: (queryClient: QueryClient, options?: InvalidateUserMoneyStateOptions) => void;
|
|
1741
|
+
/**
|
|
1742
|
+
* Refresh every user-facing cache touched by a winnings claim attempt. Claims
|
|
1743
|
+
* can change the visible claimable count, the active/closed position buckets,
|
|
1744
|
+
* balances, and activity rows. Run this from mutation `onSettled` so rejected
|
|
1745
|
+
* attempts also clear stale pending UI.
|
|
1746
|
+
*/
|
|
1747
|
+
declare const invalidateUserClaimState: (queryClient: QueryClient, options?: InvalidateUserMoneyStateOptions) => void;
|
|
1697
1748
|
|
|
1698
1749
|
declare function useRampQuotes(): _tanstack_react_query.UseMutationResult<RampQuote[], Error, RampQuoteRequest, unknown>;
|
|
1699
1750
|
|
|
@@ -1701,9 +1752,16 @@ declare function useRampSession(): _tanstack_react_query.UseMutationResult<RampW
|
|
|
1701
1752
|
|
|
1702
1753
|
declare const executionKeys: {
|
|
1703
1754
|
all: () => readonly ["execution"];
|
|
1704
|
-
balances: () => readonly ["execution", "balances"];
|
|
1705
|
-
positions: (cursor?: string | null, limit?: number | null, status?: "active" | "closed" | null) => readonly ["execution", "positions", string | null, number | null, "closed" | "active" | null];
|
|
1755
|
+
balances: (mode?: string | null) => readonly ["execution", "balances", string] | readonly ["execution", "balances"];
|
|
1756
|
+
positions: (cursor?: string | null, limit?: number | null, status?: "active" | "closed" | null, mode?: string | null) => readonly ["execution", "positions", string | null, number | null, "closed" | "active" | null, string] | readonly ["execution", "positions", string | null, number | null, "closed" | "active" | null];
|
|
1706
1757
|
positionsPrefix: () => readonly ["execution", "positions"];
|
|
1758
|
+
claimablePositionsCount: () => readonly ["execution", "positions", "claimable-count"];
|
|
1759
|
+
/**
|
|
1760
|
+
* @deprecated Misnomer — claimable (redeemStatus "eligible") groups live in
|
|
1761
|
+
* the ACTIVE bucket, not closed (won-but-unclaimed stays Active until a
|
|
1762
|
+
* redeem stamps redeemedAt). Same key value as `claimablePositionsCount`;
|
|
1763
|
+
* kept so existing invalidation call sites keep matching.
|
|
1764
|
+
*/
|
|
1707
1765
|
claimableClosedPositionsCount: () => readonly ["execution", "positions", "claimable-count"];
|
|
1708
1766
|
orders: (status?: string | null, cursor?: string | null, limit?: number | null) => readonly ["execution", "orders", string | null, string | null, number | null];
|
|
1709
1767
|
ordersPrefix: () => readonly ["execution", "orders"];
|
|
@@ -1955,6 +2013,7 @@ interface ExecutionTerminalOrderEvent {
|
|
|
1955
2013
|
interface UseExecutionProgressOptions {
|
|
1956
2014
|
orderIds: string[] | null;
|
|
1957
2015
|
enabled: boolean;
|
|
2016
|
+
mode?: "live" | "paper";
|
|
1958
2017
|
}
|
|
1959
2018
|
interface UseExecutionProgressResult {
|
|
1960
2019
|
phase: ExecutionProgressPhase;
|
|
@@ -1963,7 +2022,7 @@ interface UseExecutionProgressResult {
|
|
|
1963
2022
|
dagProgress: DagStepProgress | null;
|
|
1964
2023
|
terminalOrderEvents: ExecutionTerminalOrderEvent[];
|
|
1965
2024
|
}
|
|
1966
|
-
declare function useExecutionProgress({ orderIds, enabled, }: UseExecutionProgressOptions): UseExecutionProgressResult;
|
|
2025
|
+
declare function useExecutionProgress({ orderIds, enabled, mode, }: UseExecutionProgressOptions): UseExecutionProgressResult;
|
|
1967
2026
|
|
|
1968
2027
|
interface ClosedPositionTotals {
|
|
1969
2028
|
totalTraded: number;
|
|
@@ -2154,6 +2213,19 @@ interface GeoBlockState {
|
|
|
2154
2213
|
*/
|
|
2155
2214
|
declare function useGeoBlock(): GeoBlockState;
|
|
2156
2215
|
|
|
2216
|
+
type VenueAvailabilityState = "available" | "geoblocked" | "hidden";
|
|
2217
|
+
declare const normalizeVenueId: (venueId: string) => string;
|
|
2218
|
+
declare const isVenueDisabledByConfig: (venueId: string, disabledVenues?: readonly string[]) => boolean;
|
|
2219
|
+
declare const getVisibleVenuesByConfig: <TVenue extends {
|
|
2220
|
+
id: string;
|
|
2221
|
+
}>(venues: readonly TVenue[], disabledVenues?: readonly string[]) => TVenue[];
|
|
2222
|
+
declare const getVisibleVenueIdsByConfig: <TVenueId extends string>(venueIds: readonly TVenueId[], disabledVenues?: readonly string[]) => TVenueId[];
|
|
2223
|
+
declare const getVenueAvailabilityState: ({ venueId, disabledVenues, isLocationBlocked, }: {
|
|
2224
|
+
venueId: string;
|
|
2225
|
+
disabledVenues?: readonly string[];
|
|
2226
|
+
isLocationBlocked?: boolean;
|
|
2227
|
+
}) => VenueAvailabilityState;
|
|
2228
|
+
|
|
2157
2229
|
interface UseAggAuthOptions {
|
|
2158
2230
|
signMessage?: (message: string) => Promise<string>;
|
|
2159
2231
|
address?: string;
|
|
@@ -2198,14 +2270,23 @@ interface UseCategoriesOptions {
|
|
|
2198
2270
|
/** Page size when using cursor pagination. Default 20. */
|
|
2199
2271
|
limit?: number;
|
|
2200
2272
|
}
|
|
2273
|
+
interface UseCategoryChildrenOptions {
|
|
2274
|
+
/** Optional query-key scope to isolate caches across different surfaces. */
|
|
2275
|
+
queryKeyScope?: string;
|
|
2276
|
+
/** Parent category ids whose first child page should be fetched. */
|
|
2277
|
+
parentIds?: readonly (string | null | undefined)[];
|
|
2278
|
+
enabled?: boolean;
|
|
2279
|
+
/** Page size for each child query. Default 20. */
|
|
2280
|
+
limit?: number;
|
|
2281
|
+
}
|
|
2201
2282
|
/**
|
|
2202
2283
|
* Fetch categories via the API with cursor-based pagination.
|
|
2203
2284
|
* Use fetchNextPage for "Load more". Same pattern as useVenueEvents.
|
|
2204
2285
|
*/
|
|
2205
2286
|
declare function useCategories(options?: UseCategoriesOptions): {
|
|
2206
|
-
categories:
|
|
2287
|
+
categories: Category[];
|
|
2207
2288
|
hasNextPage: boolean;
|
|
2208
|
-
data: _tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<
|
|
2289
|
+
data: _tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<Category>, unknown>;
|
|
2209
2290
|
error: Error;
|
|
2210
2291
|
isError: true;
|
|
2211
2292
|
isPending: false;
|
|
@@ -2215,8 +2296,8 @@ declare function useCategories(options?: UseCategoriesOptions): {
|
|
|
2215
2296
|
isSuccess: false;
|
|
2216
2297
|
isPlaceholderData: false;
|
|
2217
2298
|
status: "error";
|
|
2218
|
-
fetchNextPage: (options?: _tanstack_react_query.FetchNextPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<
|
|
2219
|
-
fetchPreviousPage: (options?: _tanstack_react_query.FetchPreviousPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<
|
|
2299
|
+
fetchNextPage: (options?: _tanstack_react_query.FetchNextPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<Category>, unknown>, Error>>;
|
|
2300
|
+
fetchPreviousPage: (options?: _tanstack_react_query.FetchPreviousPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<Category>, unknown>, Error>>;
|
|
2220
2301
|
hasPreviousPage: boolean;
|
|
2221
2302
|
isFetchNextPageError: boolean;
|
|
2222
2303
|
isFetchingNextPage: boolean;
|
|
@@ -2235,13 +2316,13 @@ declare function useCategories(options?: UseCategoriesOptions): {
|
|
|
2235
2316
|
isRefetching: boolean;
|
|
2236
2317
|
isStale: boolean;
|
|
2237
2318
|
isEnabled: boolean;
|
|
2238
|
-
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<
|
|
2319
|
+
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<Category>, unknown>, Error>>;
|
|
2239
2320
|
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
2240
|
-
promise: Promise<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<
|
|
2321
|
+
promise: Promise<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<Category>, unknown>>;
|
|
2241
2322
|
} | {
|
|
2242
|
-
categories:
|
|
2323
|
+
categories: Category[];
|
|
2243
2324
|
hasNextPage: boolean;
|
|
2244
|
-
data: _tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<
|
|
2325
|
+
data: _tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<Category>, unknown>;
|
|
2245
2326
|
error: null;
|
|
2246
2327
|
isError: false;
|
|
2247
2328
|
isPending: false;
|
|
@@ -2253,8 +2334,8 @@ declare function useCategories(options?: UseCategoriesOptions): {
|
|
|
2253
2334
|
isSuccess: true;
|
|
2254
2335
|
isPlaceholderData: false;
|
|
2255
2336
|
status: "success";
|
|
2256
|
-
fetchNextPage: (options?: _tanstack_react_query.FetchNextPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<
|
|
2257
|
-
fetchPreviousPage: (options?: _tanstack_react_query.FetchPreviousPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<
|
|
2337
|
+
fetchNextPage: (options?: _tanstack_react_query.FetchNextPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<Category>, unknown>, Error>>;
|
|
2338
|
+
fetchPreviousPage: (options?: _tanstack_react_query.FetchPreviousPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<Category>, unknown>, Error>>;
|
|
2258
2339
|
hasPreviousPage: boolean;
|
|
2259
2340
|
isFetchingNextPage: boolean;
|
|
2260
2341
|
isFetchingPreviousPage: boolean;
|
|
@@ -2271,11 +2352,11 @@ declare function useCategories(options?: UseCategoriesOptions): {
|
|
|
2271
2352
|
isRefetching: boolean;
|
|
2272
2353
|
isStale: boolean;
|
|
2273
2354
|
isEnabled: boolean;
|
|
2274
|
-
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<
|
|
2355
|
+
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<Category>, unknown>, Error>>;
|
|
2275
2356
|
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
2276
|
-
promise: Promise<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<
|
|
2357
|
+
promise: Promise<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<Category>, unknown>>;
|
|
2277
2358
|
} | {
|
|
2278
|
-
categories:
|
|
2359
|
+
categories: Category[];
|
|
2279
2360
|
hasNextPage: boolean;
|
|
2280
2361
|
data: undefined;
|
|
2281
2362
|
error: Error;
|
|
@@ -2289,8 +2370,8 @@ declare function useCategories(options?: UseCategoriesOptions): {
|
|
|
2289
2370
|
isSuccess: false;
|
|
2290
2371
|
isPlaceholderData: false;
|
|
2291
2372
|
status: "error";
|
|
2292
|
-
fetchNextPage: (options?: _tanstack_react_query.FetchNextPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<
|
|
2293
|
-
fetchPreviousPage: (options?: _tanstack_react_query.FetchPreviousPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<
|
|
2373
|
+
fetchNextPage: (options?: _tanstack_react_query.FetchNextPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<Category>, unknown>, Error>>;
|
|
2374
|
+
fetchPreviousPage: (options?: _tanstack_react_query.FetchPreviousPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<Category>, unknown>, Error>>;
|
|
2294
2375
|
hasPreviousPage: boolean;
|
|
2295
2376
|
isFetchingNextPage: boolean;
|
|
2296
2377
|
isFetchingPreviousPage: boolean;
|
|
@@ -2307,11 +2388,11 @@ declare function useCategories(options?: UseCategoriesOptions): {
|
|
|
2307
2388
|
isRefetching: boolean;
|
|
2308
2389
|
isStale: boolean;
|
|
2309
2390
|
isEnabled: boolean;
|
|
2310
|
-
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<
|
|
2391
|
+
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<Category>, unknown>, Error>>;
|
|
2311
2392
|
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
2312
|
-
promise: Promise<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<
|
|
2393
|
+
promise: Promise<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<Category>, unknown>>;
|
|
2313
2394
|
} | {
|
|
2314
|
-
categories:
|
|
2395
|
+
categories: Category[];
|
|
2315
2396
|
hasNextPage: boolean;
|
|
2316
2397
|
data: undefined;
|
|
2317
2398
|
error: null;
|
|
@@ -2325,8 +2406,8 @@ declare function useCategories(options?: UseCategoriesOptions): {
|
|
|
2325
2406
|
isSuccess: false;
|
|
2326
2407
|
isPlaceholderData: false;
|
|
2327
2408
|
status: "pending";
|
|
2328
|
-
fetchNextPage: (options?: _tanstack_react_query.FetchNextPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<
|
|
2329
|
-
fetchPreviousPage: (options?: _tanstack_react_query.FetchPreviousPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<
|
|
2409
|
+
fetchNextPage: (options?: _tanstack_react_query.FetchNextPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<Category>, unknown>, Error>>;
|
|
2410
|
+
fetchPreviousPage: (options?: _tanstack_react_query.FetchPreviousPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<Category>, unknown>, Error>>;
|
|
2330
2411
|
hasPreviousPage: boolean;
|
|
2331
2412
|
isFetchingNextPage: boolean;
|
|
2332
2413
|
isFetchingPreviousPage: boolean;
|
|
@@ -2343,11 +2424,11 @@ declare function useCategories(options?: UseCategoriesOptions): {
|
|
|
2343
2424
|
isRefetching: boolean;
|
|
2344
2425
|
isStale: boolean;
|
|
2345
2426
|
isEnabled: boolean;
|
|
2346
|
-
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<
|
|
2427
|
+
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<Category>, unknown>, Error>>;
|
|
2347
2428
|
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
2348
|
-
promise: Promise<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<
|
|
2429
|
+
promise: Promise<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<Category>, unknown>>;
|
|
2349
2430
|
} | {
|
|
2350
|
-
categories:
|
|
2431
|
+
categories: Category[];
|
|
2351
2432
|
hasNextPage: boolean;
|
|
2352
2433
|
data: undefined;
|
|
2353
2434
|
error: null;
|
|
@@ -2360,8 +2441,8 @@ declare function useCategories(options?: UseCategoriesOptions): {
|
|
|
2360
2441
|
isSuccess: false;
|
|
2361
2442
|
isPlaceholderData: false;
|
|
2362
2443
|
status: "pending";
|
|
2363
|
-
fetchNextPage: (options?: _tanstack_react_query.FetchNextPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<
|
|
2364
|
-
fetchPreviousPage: (options?: _tanstack_react_query.FetchPreviousPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<
|
|
2444
|
+
fetchNextPage: (options?: _tanstack_react_query.FetchNextPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<Category>, unknown>, Error>>;
|
|
2445
|
+
fetchPreviousPage: (options?: _tanstack_react_query.FetchPreviousPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<Category>, unknown>, Error>>;
|
|
2365
2446
|
hasPreviousPage: boolean;
|
|
2366
2447
|
isFetchingNextPage: boolean;
|
|
2367
2448
|
isFetchingPreviousPage: boolean;
|
|
@@ -2379,13 +2460,13 @@ declare function useCategories(options?: UseCategoriesOptions): {
|
|
|
2379
2460
|
isRefetching: boolean;
|
|
2380
2461
|
isStale: boolean;
|
|
2381
2462
|
isEnabled: boolean;
|
|
2382
|
-
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<
|
|
2463
|
+
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<Category>, unknown>, Error>>;
|
|
2383
2464
|
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
2384
|
-
promise: Promise<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<
|
|
2465
|
+
promise: Promise<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<Category>, unknown>>;
|
|
2385
2466
|
} | {
|
|
2386
|
-
categories:
|
|
2467
|
+
categories: Category[];
|
|
2387
2468
|
hasNextPage: boolean;
|
|
2388
|
-
data: _tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<
|
|
2469
|
+
data: _tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<Category>, unknown>;
|
|
2389
2470
|
isError: false;
|
|
2390
2471
|
error: null;
|
|
2391
2472
|
isPending: false;
|
|
@@ -2397,8 +2478,8 @@ declare function useCategories(options?: UseCategoriesOptions): {
|
|
|
2397
2478
|
isFetchNextPageError: false;
|
|
2398
2479
|
isFetchPreviousPageError: false;
|
|
2399
2480
|
status: "success";
|
|
2400
|
-
fetchNextPage: (options?: _tanstack_react_query.FetchNextPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<
|
|
2401
|
-
fetchPreviousPage: (options?: _tanstack_react_query.FetchPreviousPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<
|
|
2481
|
+
fetchNextPage: (options?: _tanstack_react_query.FetchNextPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<Category>, unknown>, Error>>;
|
|
2482
|
+
fetchPreviousPage: (options?: _tanstack_react_query.FetchPreviousPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<Category>, unknown>, Error>>;
|
|
2402
2483
|
hasPreviousPage: boolean;
|
|
2403
2484
|
isFetchingNextPage: boolean;
|
|
2404
2485
|
isFetchingPreviousPage: boolean;
|
|
@@ -2415,15 +2496,27 @@ declare function useCategories(options?: UseCategoriesOptions): {
|
|
|
2415
2496
|
isRefetching: boolean;
|
|
2416
2497
|
isStale: boolean;
|
|
2417
2498
|
isEnabled: boolean;
|
|
2418
|
-
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<
|
|
2499
|
+
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<Category>, unknown>, Error>>;
|
|
2419
2500
|
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
2420
|
-
promise: Promise<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<
|
|
2501
|
+
promise: Promise<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<Category>, unknown>>;
|
|
2502
|
+
};
|
|
2503
|
+
/**
|
|
2504
|
+
* Fetch the first page of children for multiple parent categories.
|
|
2505
|
+
* This is intentionally first-page only: it is used to render folder affordances
|
|
2506
|
+
* and keep already-open branches visible without issuing one-off queries inside
|
|
2507
|
+
* the component tree for every rendered row.
|
|
2508
|
+
*/
|
|
2509
|
+
declare function useCategoryChildren(options?: UseCategoryChildrenOptions): {
|
|
2510
|
+
queries: _tanstack_react_query.UseQueryResult<_agg_build_sdk.PaginatedResponse<Category>, Error>[];
|
|
2511
|
+
childrenByParentId: Map<string, Category[]>;
|
|
2512
|
+
isLoading: boolean;
|
|
2421
2513
|
};
|
|
2422
2514
|
|
|
2423
2515
|
declare function useDebouncedValue<T>(value: T, delay: number): T;
|
|
2424
2516
|
|
|
2425
2517
|
interface UseExecutionOrdersOptions extends Omit<GetOrdersQuery, "cursor"> {
|
|
2426
2518
|
enabled?: boolean;
|
|
2519
|
+
mode?: "live" | "paper";
|
|
2427
2520
|
refetchIntervalMs?: number | false;
|
|
2428
2521
|
}
|
|
2429
2522
|
declare function useExecutionOrders(options?: UseExecutionOrdersOptions): {
|
|
@@ -2891,6 +2984,7 @@ declare function useExternalId(options?: UseExternalIdOptions): UseExternalIdRet
|
|
|
2891
2984
|
|
|
2892
2985
|
interface UseExecutionPositionsOptions extends Omit<GetPositionsQuery, "cursor"> {
|
|
2893
2986
|
enabled?: boolean;
|
|
2987
|
+
mode?: "live" | "paper";
|
|
2894
2988
|
}
|
|
2895
2989
|
declare function useExecutionPositions(options?: UseExecutionPositionsOptions): {
|
|
2896
2990
|
positions: PositionGroup[];
|
|
@@ -3523,6 +3617,51 @@ interface UseMarketOrderbookResult {
|
|
|
3523
3617
|
*/
|
|
3524
3618
|
declare function useMarketOrderbook(options: UseMarketOrderbookOptions): UseMarketOrderbookResult;
|
|
3525
3619
|
|
|
3620
|
+
interface UseMarketArbResult {
|
|
3621
|
+
/** Live arbReturn for the market, or null if no data received yet. */
|
|
3622
|
+
arbReturn: number | null;
|
|
3623
|
+
/** True once at least one live update (or a cached seed) has been received. */
|
|
3624
|
+
isLive: boolean;
|
|
3625
|
+
}
|
|
3626
|
+
interface UseArbFeedResult {
|
|
3627
|
+
/**
|
|
3628
|
+
* Live arbReturn keyed by marketId.
|
|
3629
|
+
* Values are the most-recently received arbReturn for each market.
|
|
3630
|
+
*/
|
|
3631
|
+
byMarket: Map<string, number>;
|
|
3632
|
+
/**
|
|
3633
|
+
* MAX arbReturn keyed by venueEventId.
|
|
3634
|
+
* Derived from byMarket by scanning all markets that share a venueEventId and
|
|
3635
|
+
* taking the maximum. Rebuilt fully on every batch so it is correct even when
|
|
3636
|
+
* a market's arb DROPS between batches.
|
|
3637
|
+
*/
|
|
3638
|
+
byEvent: Map<string, number>;
|
|
3639
|
+
}
|
|
3640
|
+
/**
|
|
3641
|
+
* Subscribe to real-time arbReturn updates for a single market.
|
|
3642
|
+
*
|
|
3643
|
+
* Seeds initial state from the WS cache (`ws.getArb`) if available, then
|
|
3644
|
+
* streams live updates via `ws.subscribeArb`. Unsubscribes on unmount or when
|
|
3645
|
+
* `marketId` changes.
|
|
3646
|
+
*
|
|
3647
|
+
* Returns `{ arbReturn: number | null; isLive: boolean }`.
|
|
3648
|
+
* `isLive` is true once at least one value (cached or live) is received.
|
|
3649
|
+
*/
|
|
3650
|
+
declare function useMarketArb(marketId: string | null): UseMarketArbResult;
|
|
3651
|
+
/**
|
|
3652
|
+
* Subscribe to the coalesced arb-return feed.
|
|
3653
|
+
*
|
|
3654
|
+
* Maintains a `byMarket` map (marketId → arbReturn) and derives a `byEvent`
|
|
3655
|
+
* map (venueEventId → max arbReturn across all markets in that event).
|
|
3656
|
+
*
|
|
3657
|
+
* `byEvent` is ALWAYS fully rebuilt from `byMarket` on each batch so that
|
|
3658
|
+
* dropping arb values (e.g. m2 goes from 0.30 → 0.02) are reflected correctly
|
|
3659
|
+
* — there is no stale running-max accumulation.
|
|
3660
|
+
*
|
|
3661
|
+
* Returns `{ byMarket: Map<string, number>; byEvent: Map<string, number> }`.
|
|
3662
|
+
*/
|
|
3663
|
+
declare function useArbFeed(): UseArbFeedResult;
|
|
3664
|
+
|
|
3526
3665
|
interface OrderbookResult {
|
|
3527
3666
|
market: VenueMarket;
|
|
3528
3667
|
outcome: VenueMarketOutcome;
|
|
@@ -3892,6 +4031,8 @@ interface UseSmartRouteOptions {
|
|
|
3892
4031
|
side?: SmartRouteSide | null;
|
|
3893
4032
|
/** Trade direction: "buy" (default) or "sell". */
|
|
3894
4033
|
tradeSide?: "buy" | "sell" | null;
|
|
4034
|
+
/** Trading mode. Defaults to live. */
|
|
4035
|
+
mode?: ExecutionMode | null;
|
|
3895
4036
|
/** Maximum USDC spend for the quote. Required for buy; optional for sell when sellShares is given. */
|
|
3896
4037
|
maxSpend?: number;
|
|
3897
4038
|
/** Sell only: target number of contracts to sell. */
|
|
@@ -4541,8 +4682,8 @@ interface UseVenueEventsOptions {
|
|
|
4541
4682
|
sortBy?: string;
|
|
4542
4683
|
/** Sort direction: "asc" or "desc". */
|
|
4543
4684
|
sortDir?: string;
|
|
4544
|
-
/** Recurrence filter
|
|
4545
|
-
recurrence?:
|
|
4685
|
+
/** Recurrence filter. Uses public ISO-8601 cadence enum values, or "null" for one-off events. */
|
|
4686
|
+
recurrence?: RecurrenceFilter | RecurrenceFilter[];
|
|
4546
4687
|
/** If provided, enable the query. */
|
|
4547
4688
|
enabled?: boolean;
|
|
4548
4689
|
/** Page size when using cursor pagination. Default 20. */
|
|
@@ -5236,26 +5377,14 @@ declare function useVenueMarketMidpoints(options: UseVenueMarketMidpointsOptions
|
|
|
5236
5377
|
promise: Promise<BatchMidpointsResponse>;
|
|
5237
5378
|
};
|
|
5238
5379
|
|
|
5239
|
-
|
|
5240
|
-
|
|
5241
|
-
|
|
5242
|
-
|
|
5243
|
-
|
|
5244
|
-
|
|
5245
|
-
|
|
5246
|
-
|
|
5247
|
-
midpointsByVenueMarketId: Map<string, number | null>;
|
|
5248
|
-
}
|
|
5249
|
-
/**
|
|
5250
|
-
* Returns Map<targetVenueMarketId, gapPct> for markets whose gap is >= MIN_PRICE_GAP_PCT.
|
|
5251
|
-
*
|
|
5252
|
-
* Gap = max over matched siblings of
|
|
5253
|
-
* `Math.abs(ownMidpoint - siblingMidpoint) / ownMidpoint * 100`
|
|
5254
|
-
*
|
|
5255
|
-
* Skip markets whose own midpoint is null/<=0. Skip sibling pairings whose
|
|
5256
|
-
* midpoint is null/<=0. Omit markets whose resulting gap is < MIN_PRICE_GAP_PCT.
|
|
5257
|
-
*/
|
|
5258
|
-
declare function computePriceGaps(input: ComputePriceGapsInput): Map<string, number>;
|
|
5380
|
+
declare const MIN_PRICE_GAP_PCT = 3;
|
|
5381
|
+
declare const MAX_PRICE_GAP_PCT = 50;
|
|
5382
|
+
type PriceGapValue = number;
|
|
5383
|
+
type ComputePriceGapsOptions = {
|
|
5384
|
+
markets: readonly VenueMarket[];
|
|
5385
|
+
midpointsByVenueMarketId: ReadonlyMap<string, number | null | undefined>;
|
|
5386
|
+
};
|
|
5387
|
+
declare const computePriceGaps: ({ markets, midpointsByVenueMarketId, }: ComputePriceGapsOptions) => Map<string, PriceGapValue>;
|
|
5259
5388
|
|
|
5260
5389
|
/**
|
|
5261
5390
|
* Fetch REST midpoints for a *dynamic* set of venue markets and cache them
|
|
@@ -5323,5 +5452,10 @@ interface UseAppConfigResult {
|
|
|
5323
5452
|
* Cached for 5 minutes — config rarely changes at runtime.
|
|
5324
5453
|
*/
|
|
5325
5454
|
declare function useAppConfig(): UseAppConfigResult;
|
|
5455
|
+
/**
|
|
5456
|
+
* Read the current App's UI config from the React Query cache without starting a fetch.
|
|
5457
|
+
* Use this in surfaces that open after config has already been loaded by a parent screen.
|
|
5458
|
+
*/
|
|
5459
|
+
declare function useCachedAppConfig(): UseAppConfigResult;
|
|
5326
5460
|
|
|
5327
|
-
export { AUTH_CHOOSER_OPEN_EVENT, type AggAuthContextValue, type AggAuthSignInOptions, type AggBalanceContextValue, AggBalanceProvider, AggProvider, type AggProviderProps, AggProvider as AggSdkProvider, type AggProviderProps as AggSdkProviderProps, type AggUiConfig, type AggUiConfigInput, type AggUiLabels, type AggUiLabelsInput, AggUiProvider, CHART_TIME_RANGES, CONFIRMED_MATCH_STATUSES, type ChartTimeRange, type ClosedPositionTotals, type
|
|
5461
|
+
export { AUTH_CHOOSER_OPEN_EVENT, type AggAuthContextValue, type AggAuthSignInOptions, type AggBalanceContextValue, AggBalanceProvider, AggProvider, type AggProviderProps, AggProvider as AggSdkProvider, type AggProviderProps as AggSdkProviderProps, type AggUiConfig, type AggUiConfigInput, type AggUiLabels, type AggUiLabelsInput, AggUiProvider, CHART_TIME_RANGES, CONFIRMED_MATCH_STATUSES, type ChartTimeRange, type ClosedPositionTotals, type ComputePriceGapsOptions, DEFAULT_AGG_ROOT_CLASS_NAME, type DagStepProgress, type EventListStateContextValue, EventListStateProvider, type EventListStateSnapshot, type EventTradingContextValue, type EventTradingState, type ExecutionProgressPhase, type ExecutionTerminalOrderEvent, type GeoBlockState, type GetOrdersQuery, type GetPositionsQuery, type InvalidateUserActivityOptions, type InvalidateUserMoneyStateOptions, type LiveBestPrices, type LiveCandle, MAX_PRICE_GAP_PCT, MIN_PRICE_GAP_PCT, type MarketChartCandle, type MarketChartData, type MarketChartVenueData, type MarketOrderbookData, type MarketOrderbookIntegrity, MarketStatus, type MarketTradingState, MatchStatus, MatchType, type OrderEligibility, type OrderEligibilityReason, type OrderListItem, type OrderbookResult, type PositionGroup, type PriceGapValue, type RedeemEvent, type RedeemLegLifecycle, type RedeemLifecycleState, RedeemRejectedError, type RollingChartWindow, type ScaledCandlePoint, type SdkUiConfig, type SdkUiConfigInput, type SdkUiProviderProps, type ThemeMode, TradeSide, type TradingAction, type TradingState, type TradingStateBase, type TradingStateKind, type UseAggAuthOptions, type UseAggAuthReturn, type UseAppConfigResult, type UseArbFeedResult, type UseCategoriesOptions, type UseCategoryChildrenOptions, type UseEnrichedVenueEventOptions, type UseExecuteManagedOptions, type UseExecutionOrdersOptions, type UseExecutionPositionsOptions, type UseExecutionProgressOptions, type UseExecutionProgressResult, type UseExternalIdOptions, type UseExternalIdReturn, type UseLinkAccountReturn, type UseLiveCandleOverlayOptions, type UseLiveCandleOverlayResult, type UseLiveCandlesOptions, type UseLiveCandlesResult, type UseLiveMarketResult, type UseMarketArbResult, type UseMarketChartOptions, type UseMarketChartResult, type UseMarketOrderbookOptions, type UseMarketOrderbookResult, type UseMarketOrderbookVenueOutcome, type UseMarketSearchOptions, type UseMidpointsResult, type UseOrderBookOptions, type UseOrderbookQuoteOptions, type UseOrderbookQuoteResult, type UseOrdersOptions, type UsePositionsOptions, type UseQuoteManagedOptions, type UseRedeemLifecycleInput, type UseRollingChartWindowOptions, type UseSearchOptions, type UseSmartRouteOptions, type UseSmartRouteResult, type UseTradableVenuesResult, type UseUserActivityOptions, type UseUserHoldingsOptions, type UseVenueEventOptions, type UseVenueEventsOptions, type UseVenueMarketMidpointsOptions, type UseVenueMarketsOptions, type UseVisibleIdsOptions, type UseVisibleIdsResult, type UserActivityInvalidationStrategy, Venue, type VenueAvailabilityState, type VenueEvent, type VenueEventWithMarkets, type VenueMarket, type VenueMarketOutcome, type WalletActionSendTokenParams, type WalletActions, computeClosedPositionTotals, computePriceGaps, defaultAggUiConfig, defaultAggUiConfig as defaultSdkUiConfig, executionKeys, findLivePriceById, getBuilder, getOrCreateBuilder, getVenueAvailabilityState, getVisibleVenueIdsByConfig, getVisibleVenuesByConfig, getWalletAddressFromUserProfile, invalidateBalanceQueries, invalidatePositionQueries, invalidateUserActivityQueries, invalidateUserClaimState, invalidateUserMoneyState, isVenueDisabledByConfig, mergeBestPricesPreferringLive, normalizeVenueId, optimizedImageUrl, parseEmail, parseEmailStrict, rangeToSeconds, requestAggAuthChooserOpen, resolveAggUiLabels, resolveDefaultMarket as resolveDefaultTradingMarket, resolveEventTradingState, resolveMarketTradingState, resolveMarketWinningOutcome, resolveOrderEligibility, resolveRollingWindow, resolveTradingStateKind, sortVenues, timeRangeToInterval, tradingReducer, useAggAuth, useAggAuthContext, useAggAuthState, useAggBalance, useAggBalanceContext, useAggBalanceState, useAggClient, useAggLabels, useAggUiConfig, useAggWebSocket, useAppConfig, useArbFeed, useCachedAppConfig, useCategories, useCategoryChildren, useDebouncedValue, useEnrichedVenueEvent, useEventListState, useEventOrderbookData, useEventTradingContext, useExecuteManaged, useExecutionOrders, useExecutionPositions, useExecutionProgress, useExternalId, useGeoBlock, useLabels, useLinkAccount, useLiveBestPrices, useLiveCandleOverlay, useLiveCandles, useLiveMarket, useLiveMarketStores, useLiveOutcomePrices, useLiveTrades, useMarketArb, useMarketChart, useMarketOrderbook, useMarketSearch, useMidpoints, useOnBalanceUpdate, useOnOrderEvent, useOnOrderSubmitted, useOnRedeemEvent, useOnWithdrawalLifecycle, useOptionalAggClient, useOrderBook, useOrderbookQuote, useOrders, usePositions, useQuoteManaged, useRampQuotes, useRampSession, useRedeem, useRedeemEligibleCount, useRedeemLifecycle, useRedeemLifecycles, useRollingChartWindow, useSdkLabels, useSdkUiConfig, useSearch, useSmartRoute, useTradableVenues, useUserActivity, useUserHoldings, useVenueEvent, useVenueEvents, useVenueMarketMidpoints, useVenueMarkets, useViewportMidpoints, useVisibleIds, userActivityQueryKeys };
|