@aave/graphql 1.0.0-next.2 → 1.0.0-next.4

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/index.d.cts CHANGED
@@ -198,6 +198,7 @@ type introspection_types = {
198
198
  'HubAssetsRequestOrderBy': { kind: 'INPUT_OBJECT'; name: 'HubAssetsRequestOrderBy'; isOneOf: true; inputFields: [{ name: 'assetName'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }, { name: 'availableLiquidity'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }, { name: 'supplyApy'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }, { name: 'borrowApy'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }]; };
199
199
  'HubAssetsRequestQuery': { kind: 'INPUT_OBJECT'; name: 'HubAssetsRequestQuery'; isOneOf: true; inputFields: [{ name: 'hubInput'; type: { kind: 'INPUT_OBJECT'; name: 'HubInput'; ofType: null; }; defaultValue: null }, { name: 'hubId'; type: { kind: 'SCALAR'; name: 'HubId'; ofType: null; }; defaultValue: null }]; };
200
200
  'HubId': unknown;
201
+ 'HubIdTokenInput': { kind: 'INPUT_OBJECT'; name: 'HubIdTokenInput'; isOneOf: false; inputFields: [{ name: 'hubId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'HubId'; ofType: null; }; }; defaultValue: null }, { name: 'token'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; };
201
202
  'HubInput': { kind: 'INPUT_OBJECT'; name: 'HubInput'; isOneOf: false; inputFields: [{ name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'chainId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; defaultValue: null }]; };
202
203
  'HubRequest': { kind: 'INPUT_OBJECT'; name: 'HubRequest'; isOneOf: false; inputFields: [{ name: 'query'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'HubRequestQuery'; ofType: null; }; }; defaultValue: null }]; };
203
204
  'HubRequestQuery': { kind: 'INPUT_OBJECT'; name: 'HubRequestQuery'; isOneOf: true; inputFields: [{ name: 'hubInput'; type: { kind: 'INPUT_OBJECT'; name: 'HubInput'; ofType: null; }; defaultValue: null }, { name: 'hubId'; type: { kind: 'SCALAR'; name: 'HubId'; ofType: null; }; defaultValue: null }]; };
@@ -267,7 +268,7 @@ type introspection_types = {
267
268
  'ReservesRequest': { kind: 'INPUT_OBJECT'; name: 'ReservesRequest'; isOneOf: false; inputFields: [{ name: 'query'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'ReservesRequestQuery'; ofType: null; }; }; defaultValue: null }, { name: 'user'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; defaultValue: null }, { name: 'filter'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'ReservesRequestFilter'; ofType: null; }; }; defaultValue: "ALL" }, { name: 'orderBy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'ReservesRequestOrderBy'; ofType: null; }; }; defaultValue: "{assetName: ASC}" }]; };
268
269
  'ReservesRequestFilter': { name: 'ReservesRequestFilter'; enumValues: 'SUPPLY' | 'BORROW' | 'ALL'; };
269
270
  'ReservesRequestOrderBy': { kind: 'INPUT_OBJECT'; name: 'ReservesRequestOrderBy'; isOneOf: true; inputFields: [{ name: 'assetName'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }, { name: 'userBalance'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }, { name: 'supplyApy'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }, { name: 'supplyAvailable'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }, { name: 'borrowApy'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }, { name: 'borrowAvailable'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }, { name: 'collateralFactor'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }]; };
270
- 'ReservesRequestQuery': { kind: 'INPUT_OBJECT'; name: 'ReservesRequestQuery'; isOneOf: true; inputFields: [{ name: 'spoke'; type: { kind: 'INPUT_OBJECT'; name: 'SpokeInput'; ofType: null; }; defaultValue: null }, { name: 'spokeId'; type: { kind: 'SCALAR'; name: 'SpokeId'; ofType: null; }; defaultValue: null }, { name: 'tokens'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'Erc20Input'; ofType: null; }; }; }; defaultValue: null }, { name: 'hubToken'; type: { kind: 'INPUT_OBJECT'; name: 'HubTokenInput'; ofType: null; }; defaultValue: null }, { name: 'chainIds'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; }; defaultValue: null }, { name: 'spokeToken'; type: { kind: 'INPUT_OBJECT'; name: 'SpokeTokenInput'; ofType: null; }; defaultValue: null }, { name: 'hub'; type: { kind: 'INPUT_OBJECT'; name: 'HubInput'; ofType: null; }; defaultValue: null }, { name: 'userPositionId'; type: { kind: 'SCALAR'; name: 'UserPositionId'; ofType: null; }; defaultValue: null }]; };
271
+ 'ReservesRequestQuery': { kind: 'INPUT_OBJECT'; name: 'ReservesRequestQuery'; isOneOf: true; inputFields: [{ name: 'spoke'; type: { kind: 'INPUT_OBJECT'; name: 'SpokeInput'; ofType: null; }; defaultValue: null }, { name: 'spokeId'; type: { kind: 'SCALAR'; name: 'SpokeId'; ofType: null; }; defaultValue: null }, { name: 'tokens'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'Erc20Input'; ofType: null; }; }; }; defaultValue: null }, { name: 'hubToken'; type: { kind: 'INPUT_OBJECT'; name: 'HubTokenInput'; ofType: null; }; defaultValue: null }, { name: 'hubIdToken'; type: { kind: 'INPUT_OBJECT'; name: 'HubIdTokenInput'; ofType: null; }; defaultValue: null }, { name: 'chainIds'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; }; defaultValue: null }, { name: 'spokeToken'; type: { kind: 'INPUT_OBJECT'; name: 'SpokeTokenInput'; ofType: null; }; defaultValue: null }, { name: 'hub'; type: { kind: 'INPUT_OBJECT'; name: 'HubInput'; ofType: null; }; defaultValue: null }, { name: 'hubId'; type: { kind: 'SCALAR'; name: 'HubId'; ofType: null; }; defaultValue: null }, { name: 'userPositionId'; type: { kind: 'SCALAR'; name: 'UserPositionId'; ofType: null; }; defaultValue: null }]; };
271
272
  'SetSpokeUserPositionManagerRequest': { kind: 'INPUT_OBJECT'; name: 'SetSpokeUserPositionManagerRequest'; isOneOf: false; inputFields: [{ name: 'spoke'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'SpokeId'; ofType: null; }; }; defaultValue: null }, { name: 'manager'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'approve'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; }; defaultValue: null }, { name: 'user'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'signature'; type: { kind: 'INPUT_OBJECT'; name: 'ERC20PermitSignature'; ofType: null; }; defaultValue: null }]; };
272
273
  'SetUserSupplyAsCollateralRequest': { kind: 'INPUT_OBJECT'; name: 'SetUserSupplyAsCollateralRequest'; isOneOf: false; inputFields: [{ name: 'reserve'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ReserveId'; ofType: null; }; }; defaultValue: null }, { name: 'sender'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'enableCollateral'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; }; defaultValue: null }]; };
273
274
  'Signature': unknown;
@@ -333,10 +334,11 @@ type introspection_types = {
333
334
  'UserBalanceId': unknown;
334
335
  'UserBalancesByChains': { kind: 'INPUT_OBJECT'; name: 'UserBalancesByChains'; isOneOf: false; inputFields: [{ name: 'chainIds'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; }; }; defaultValue: null }, { name: 'byReservesType'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'ReservesRequestFilter'; ofType: null; }; }; defaultValue: "ALL" }]; };
335
336
  'UserBalancesByHub': { kind: 'INPUT_OBJECT'; name: 'UserBalancesByHub'; isOneOf: false; inputFields: [{ name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'chainId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; defaultValue: null }, { name: 'byReservesType'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'ReservesRequestFilter'; ofType: null; }; }; defaultValue: "ALL" }]; };
337
+ 'UserBalancesByHubId': { kind: 'INPUT_OBJECT'; name: 'UserBalancesByHubId'; isOneOf: false; inputFields: [{ name: 'hubId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'HubId'; ofType: null; }; }; defaultValue: null }, { name: 'byReservesType'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'ReservesRequestFilter'; ofType: null; }; }; defaultValue: "ALL" }]; };
336
338
  'UserBalancesBySpoke': { kind: 'INPUT_OBJECT'; name: 'UserBalancesBySpoke'; isOneOf: false; inputFields: [{ name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'chainId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; defaultValue: null }, { name: 'byReservesType'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'ReservesRequestFilter'; ofType: null; }; }; defaultValue: "ALL" }]; };
337
339
  'UserBalancesByUserPosition': { kind: 'INPUT_OBJECT'; name: 'UserBalancesByUserPosition'; isOneOf: false; inputFields: [{ name: 'userPositionId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'UserPositionId'; ofType: null; }; }; defaultValue: null }, { name: 'byReservesType'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'ReservesRequestFilter'; ofType: null; }; }; defaultValue: "ALL" }]; };
338
340
  'UserBalancesRequest': { kind: 'INPUT_OBJECT'; name: 'UserBalancesRequest'; isOneOf: false; inputFields: [{ name: 'user'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'orderBy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'UserBalancesRequestOrderBy'; ofType: null; }; }; defaultValue: "{balance: DESC}" }, { name: 'filter'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'UserBalancesRequestFilter'; ofType: null; }; }; defaultValue: null }, { name: 'includeZeroBalances'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; }; defaultValue: "false" }]; };
339
- 'UserBalancesRequestFilter': { kind: 'INPUT_OBJECT'; name: 'UserBalancesRequestFilter'; isOneOf: true; inputFields: [{ name: 'chains'; type: { kind: 'INPUT_OBJECT'; name: 'UserBalancesByChains'; ofType: null; }; defaultValue: null }, { name: 'hub'; type: { kind: 'INPUT_OBJECT'; name: 'UserBalancesByHub'; ofType: null; }; defaultValue: null }, { name: 'spoke'; type: { kind: 'INPUT_OBJECT'; name: 'UserBalancesBySpoke'; ofType: null; }; defaultValue: null }, { name: 'swappable'; type: { kind: 'INPUT_OBJECT'; name: 'SwappableTokensRequestQuery'; ofType: null; }; defaultValue: null }, { name: 'userPosition'; type: { kind: 'INPUT_OBJECT'; name: 'UserBalancesByUserPosition'; ofType: null; }; defaultValue: null }]; };
341
+ 'UserBalancesRequestFilter': { kind: 'INPUT_OBJECT'; name: 'UserBalancesRequestFilter'; isOneOf: true; inputFields: [{ name: 'chains'; type: { kind: 'INPUT_OBJECT'; name: 'UserBalancesByChains'; ofType: null; }; defaultValue: null }, { name: 'hub'; type: { kind: 'INPUT_OBJECT'; name: 'UserBalancesByHub'; ofType: null; }; defaultValue: null }, { name: 'hubId'; type: { kind: 'INPUT_OBJECT'; name: 'UserBalancesByHubId'; ofType: null; }; defaultValue: null }, { name: 'spoke'; type: { kind: 'INPUT_OBJECT'; name: 'UserBalancesBySpoke'; ofType: null; }; defaultValue: null }, { name: 'swappable'; type: { kind: 'INPUT_OBJECT'; name: 'SwappableTokensRequestQuery'; ofType: null; }; defaultValue: null }, { name: 'userPosition'; type: { kind: 'INPUT_OBJECT'; name: 'UserBalancesByUserPosition'; ofType: null; }; defaultValue: null }]; };
340
342
  'UserBalancesRequestOrderBy': { kind: 'INPUT_OBJECT'; name: 'UserBalancesRequestOrderBy'; isOneOf: true; inputFields: [{ name: 'name'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }, { name: 'balance'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }]; };
341
343
  'UserBorrowItem': { kind: 'OBJECT'; name: 'UserBorrowItem'; fields: { 'createdAt': { name: 'createdAt'; type: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; } }; 'debt': { name: 'debt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'UserBorrowItemId'; ofType: null; }; } }; 'interest': { name: 'interest'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; 'principal': { name: 'principal'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; 'reserve': { name: 'reserve'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Reserve'; ofType: null; }; } }; }; };
342
344
  'UserBorrowItemId': unknown;
@@ -9974,6 +9976,7 @@ declare function isTxHashInputVariant<T>(input: T): input is T & {
9974
9976
  txHash: TxHashInput;
9975
9977
  };
9976
9978
  type HubTokenInput = ReturnType<typeof graphql.scalar<'HubTokenInput'>>;
9979
+ type HubIdTokenInput = ReturnType<typeof graphql.scalar<'HubIdTokenInput'>>;
9977
9980
  type SpokeTokenInput = ReturnType<typeof graphql.scalar<'SpokeTokenInput'>>;
9978
9981
 
9979
9982
  /**
@@ -12433,6 +12436,11 @@ declare const ReservesQuery: gql_tada.TadaDocumentNode<{
12433
12436
  hub: _aave_types.EvmAddress;
12434
12437
  chainId: _aave_types.ChainId;
12435
12438
  };
12439
+ } | {
12440
+ hubIdToken: {
12441
+ token: _aave_types.EvmAddress;
12442
+ hubId: HubId;
12443
+ };
12436
12444
  } | {
12437
12445
  chainIds: _aave_types.ChainId[];
12438
12446
  } | {
@@ -12445,6 +12453,8 @@ declare const ReservesQuery: gql_tada.TadaDocumentNode<{
12445
12453
  chainId: _aave_types.ChainId;
12446
12454
  address: _aave_types.EvmAddress;
12447
12455
  };
12456
+ } | {
12457
+ hubId: HubId;
12448
12458
  } | {
12449
12459
  userPositionId: UserPositionId;
12450
12460
  };
@@ -31884,6 +31894,11 @@ declare const UserBalancesQuery: gql_tada.TadaDocumentNode<{
31884
31894
  chainId: _aave_types.ChainId;
31885
31895
  address: _aave_types.EvmAddress;
31886
31896
  };
31897
+ } | {
31898
+ hubId: {
31899
+ byReservesType?: ReservesRequestFilter | null | undefined;
31900
+ hubId: HubId;
31901
+ };
31887
31902
  } | {
31888
31903
  spoke: {
31889
31904
  byReservesType?: ReservesRequestFilter | null | undefined;
@@ -31930,6 +31945,7 @@ type UserBalancesRequest = RequestOf<typeof UserBalancesQuery>;
31930
31945
  type UserBalancesRequestFilter = ReturnType<typeof graphql.scalar<'UserBalancesRequestFilter'>>;
31931
31946
  type UserBalancesByChains = ReturnType<typeof graphql.scalar<'UserBalancesByChains'>>;
31932
31947
  type UserBalancesByHub = ReturnType<typeof graphql.scalar<'UserBalancesByHub'>>;
31948
+ type UserBalancesByHubId = ReturnType<typeof graphql.scalar<'UserBalancesByHubId'>>;
31933
31949
  type UserBalancesBySpoke = ReturnType<typeof graphql.scalar<'UserBalancesBySpoke'>>;
31934
31950
  type UserBalancesByUserPosition = ReturnType<typeof graphql.scalar<'UserBalancesByUserPosition'>>;
31935
31951
  /**
@@ -31991,4 +32007,4 @@ type UserSummaryFilter = ReturnType<typeof graphql.scalar<'UserSummaryFilter'>>;
31991
32007
  type UserSuppliesRequestQuery = ReturnType<typeof graphql.scalar<'UserSuppliesQueryRequest'>>;
31992
32008
  type UserSuppliesRequestOrderBy = ReturnType<typeof graphql.scalar<'UserSuppliesRequestOrderBy'>>;
31993
32009
 
31994
- export { type APYSample, APYSampleFragment, ActivitiesQuery, type ActivitiesRequest, type ActivitiesRequestQuery, type ActivityItem, ActivityItemFragment, ActivityType, type AmountInput, ApyMetric, type Asset, AssetBorrowHistoryQuery, type AssetBorrowHistoryRequest, type AssetBorrowHistoryRequestQuery, type AssetBorrowSample, AssetBorrowSampleFragment, AssetFragment, type AssetId, AssetPriceHistoryQuery, type AssetPriceHistoryRequest, type AssetPriceHistoryRequestQuery, type AssetPriceSample, AssetPriceSampleFragment, AssetQuery, type AssetRequest, type AssetRequestQuery, type AssetSummary, AssetSummaryFragment, AssetSupplyHistoryQuery, type AssetSupplyHistoryRequest, type AssetSupplyHistoryRequestQuery, type AssetSupplySample, AssetSupplySampleFragment, type Base64EncodedCompositeId, type BorrowAPYHistoryRequest, type BorrowActivity, BorrowActivityFragment, BorrowApyHistoryQuery, BorrowQuery, type BorrowRequest, type CancelIntentSwapInput, type CancelSwapExecutionPlan, CancelSwapExecutionPlanFragment, CancelSwapQuery, type CancelSwapRequest, type CancelSwapTypeDefinition, CancelSwapTypeDefinitionFragment, type CancelSwapTypedData, CancelSwapTypedDataFragment, type Chain, ChainFragment, ChainQuery, type ChainRequest, ChainsFilter, ChainsQuery, Currency, type DecimalNumber, DecimalNumberFragment, type DecimalNumberWithChange, DecimalNumberWithChangeFragment, type DomainData, DomainDataFragment, type ERC20PermitSignature, type Erc20Amount, Erc20AmountFragment, type Erc20ApprovalRequired, Erc20ApprovalRequiredFragment, type Erc20Input, type Erc20Token, Erc20TokenFragment, ExchangeRateQuery, type ExchangeRateRequest, type ExchangeRateRequestFrom, type ExecutionPlan, ExecutionPlanFragment, type FiatAmount, FiatAmountFragment, type FiatAmountValueVariation, FiatAmountValueVariationFragment, type FiatAmountWithChange, FiatAmountWithChangeFragment, type FragmentDocumentFor, HasProcessedKnownTransactionQuery, type HasProcessedKnownTransactionRequest, type HealthFactorError, HealthFactorErrorFragment, type HealthFactorResult, HealthFactorResultFragment, type HealthFactorVariation, HealthFactorVariationFragment, type HealthFactorWithChange, HealthFactorWithChangeFragment, HealthQuery, type Hub, type HubAsset, HubAssetFragment, type HubAssetId, type HubAssetSettings, HubAssetSettingsFragment, HubAssetStatusType, type HubAssetSummary, HubAssetSummaryFragment, type HubAssetUserState, HubAssetUserStateFragment, HubAssetsQuery, type HubAssetsRequest, HubAssetsRequestOrderBy, type HubAssetsRequestQuery, HubFragment, type HubId, type HubIdParts, type HubInput, HubQuery, type HubRequest, type HubRequestQuery, type HubSummary, HubSummaryFragment, type HubTokenInput, HubsQuery, type HubsRequest, type HubsRequestQuery, type ID, type InsufficientBalanceError, InsufficientBalanceErrorFragment, type LiquidatePositionDebtAmount, type LiquidatePositionExecutionPlan, LiquidatePositionExecutionPlanFragment, LiquidatePositionQuery, type LiquidatePositionRequest, type LiquidatedActivity, LiquidatedActivityFragment, type NativeAmount, NativeAmountFragment, type NativeToken, NativeTokenFragment, type OnChainHubAssetId, type OnChainReserveId, OperationType, OrderDirection, PageSize, type PaginatedActivitiesResult, PaginatedActivitiesResultFragment, type PaginatedResultInfo, PaginatedResultInfoFragment, type PaginatedSpokePositionManagerResult, PaginatedSpokePositionManagerResultFragment, type PaginatedSpokeUserPositionManagerResult, PaginatedSpokeUserPositionManagerResultFragment, type PaginatedUserSwapsResult, PaginatedUserSwapsResultFragment, type PercentNumber, PercentNumberFragment, type PercentNumberVariation, PercentNumberVariationFragment, type PercentNumberWithChange, PercentNumberWithChangeFragment, type PermitMessageData, PermitMessageDataFragment, type PermitRequest, PermitTypedDataQuery, type PermitTypedDataResponse, PermitTypedDataResponseFragment, type PreContractActionRequired, PreContractActionRequiredFragment, type PrepareLimitOrderSwapInput, type PrepareMarketOrderSwapInput, PrepareSwapCancelQuery, type PrepareSwapCancelRequest, type PrepareSwapCancelResult, PrepareSwapCancelResultFragment, PrepareSwapQuery, type PrepareSwapRequest, type PrepareSwapResult, PrepareSwapResultFragment, type PreviewAction, PreviewQuery, type PreviewRequest, type PreviewUserPosition, PreviewUserPositionFragment, RenounceSpokeUserPositionManagerQuery, type RenounceSpokeUserPositionManagerRequest, type RepayActivity, RepayActivityFragment, type RepayAmountInputWithPermit, type RepayErc20AmountInputWithPermit, type RepayPermitRequest, RepayQuery, type RepayRequest, type RequestOf, type Reserve, type ReserveAmountInput, type ReserveAmountInputWithPermit, type ReserveErc20AmountInput, type ReserveErc20AmountInputWithPermit, ReserveFragment, type ReserveId, type ReserveIdParts, type ReserveInfo, ReserveInfoFragment, type ReserveInput, ReserveQuery, type ReserveRequest, type ReserveRequestQuery, type ReserveSettings, ReserveSettingsFragment, type ReserveStatus, ReserveStatusFragment, type ReserveSummary, ReserveSummaryFragment, type ReserveUserState, ReserveUserStateFragment, ReservesQuery, type ReservesRequest, ReservesRequestFilter, type ReservesRequestOrderBy, type ReservesRequestQuery, SetSpokeUserPositionManagerQuery, type SetSpokeUserPositionManagerRequest, SetUserSupplyAsCollateralQuery, type SetUserSupplyAsCollateralRequest, type Spoke, SpokeFragment, type SpokeId, type SpokeIdParts, type SpokeInput, type SpokePositionManager, SpokePositionManagerFragment, SpokePositionManagersQuery, type SpokePositionManagersRequest, SpokeQuery, type SpokeRequest, type SpokeRequestQuery, type SpokeTokenInput, type SpokeUserPositionManager, SpokeUserPositionManagerFragment, SpokeUserPositionManagersQuery, type SpokeUserPositionManagersRequest, SpokesQuery, type SpokesRequest, type SpokesRequestQuery, type SupplyAPYHistoryRequest, type SupplyActivity, SupplyActivityFragment, SupplyApyHistoryQuery, type SupplyPermitRequest, SupplyQuery, type SupplyRequest, type SwapApprovalRequired, SwapApprovalRequiredFragment, type SwapByIntent, SwapByIntentFragment, type SwapByIntentInput, type SwapByIntentTypeDefinition, SwapByIntentTypeDefinitionFragment, type SwapByIntentTypedData, SwapByIntentTypedDataFragment, type SwapByIntentWithApprovalRequired, SwapByIntentWithApprovalRequiredFragment, type SwapByTransaction, SwapByTransactionFragment, type SwapCancelled, SwapCancelledFragment, type SwapExecutionPlan, SwapExecutionPlanFragment, type SwapExpired, SwapExpiredFragment, type SwapFulfilled, SwapFulfilledFragment, type SwapId, SwapKind, type SwapOpen, SwapOpenFragment, type SwapPendingSignature, SwapPendingSignatureFragment, SwapQuery, type SwapQuote, type SwapQuoteCosts, SwapQuoteCostsFragment, SwapQuoteFragment, type SwapQuoteId, SwapQuoteQuery, type SwapQuoteRequest, type SwapReceipt, SwapReceiptFragment, type SwapRequest, type SwapStatus, SwapStatusFilter, SwapStatusFragment, SwapStatusQuery, type SwapStatusRequest, type SwapTransactionRequest, SwapTransactionRequestFragment, type SwapWithTransactionInput, SwappableTokensQuery, type SwappableTokensRequest, type SwappableTokensRequestQuery, TimeWindow, type Token, type TokenAmount, TokenAmountFragment, TokenFragment, type TokenInfo, TokenInfoFragment, type TokenInput, type TransactionRequest, TransactionRequestFragment, type TxHashInput, type TypeDefinition, TypeDefinitionFragment, type TypeField, TypeFieldFragment, UpdateUserDynamicConfigQuery, type UpdateUserDynamicConfigRequest, UpdateUserRiskPremiumQuery, type UpdateUserRiskPremiumRequest, type UserBalance, UserBalanceFragment, type UserBalanceId, type UserBalancesByChains, type UserBalancesByHub, type UserBalancesBySpoke, type UserBalancesByUserPosition, UserBalancesQuery, type UserBalancesRequest, type UserBalancesRequestFilter, type UserBalancesRequestOrderBy, type UserBorrowItem, UserBorrowItemFragment, type UserBorrowItemId, UserBorrowsQuery, type UserBorrowsRequest, type UserBorrowsRequestOrderBy, type UserBorrowsRequestQuery, type UserChains, type UserPosition, UserPositionFragment, type UserPositionId, UserPositionQuery, type UserPositionRequest, UserPositionsQuery, type UserPositionsRequest, type UserPositionsRequestFilter, type UserPositionsRequestOrderBy, type UserSpokeInput, type UserSummary, type UserSummaryFilter, UserSummaryFragment, type UserSummaryHistoryItem, UserSummaryHistoryItemFragment, UserSummaryHistoryQuery, type UserSummaryHistoryRequest, UserSummaryQuery, type UserSummaryRequest, UserSuppliesQuery, type UserSuppliesRequest, type UserSuppliesRequestOrderBy, type UserSuppliesRequestQuery, type UserSupplyItem, UserSupplyItemFragment, type UserSupplyItemId, UserSwapsQuery, type UserSwapsRequest, type UserToken, type UsingAsCollateralActivity, UsingAsCollateralActivityFragment, type WithdrawActivity, WithdrawActivityFragment, WithdrawQuery, type WithdrawRequest, type WithdrawReserveAmountInput, assetId, decodeHubId, decodeReserveId, encodeHubId, encodeReserveId, encodeSpokeId, graphql, hubAssetId, hubId, isChainIdsVariant, isHubInputVariant, isSpokeInputVariant, isTxHashInputVariant, reserveId, spokeId, swapId, swapQuoteId, userBalanceId, userBorrowItemId, userPositionId, userSupplyItemId };
32010
+ export { type APYSample, APYSampleFragment, ActivitiesQuery, type ActivitiesRequest, type ActivitiesRequestQuery, type ActivityItem, ActivityItemFragment, ActivityType, type AmountInput, ApyMetric, type Asset, AssetBorrowHistoryQuery, type AssetBorrowHistoryRequest, type AssetBorrowHistoryRequestQuery, type AssetBorrowSample, AssetBorrowSampleFragment, AssetFragment, type AssetId, AssetPriceHistoryQuery, type AssetPriceHistoryRequest, type AssetPriceHistoryRequestQuery, type AssetPriceSample, AssetPriceSampleFragment, AssetQuery, type AssetRequest, type AssetRequestQuery, type AssetSummary, AssetSummaryFragment, AssetSupplyHistoryQuery, type AssetSupplyHistoryRequest, type AssetSupplyHistoryRequestQuery, type AssetSupplySample, AssetSupplySampleFragment, type Base64EncodedCompositeId, type BorrowAPYHistoryRequest, type BorrowActivity, BorrowActivityFragment, BorrowApyHistoryQuery, BorrowQuery, type BorrowRequest, type CancelIntentSwapInput, type CancelSwapExecutionPlan, CancelSwapExecutionPlanFragment, CancelSwapQuery, type CancelSwapRequest, type CancelSwapTypeDefinition, CancelSwapTypeDefinitionFragment, type CancelSwapTypedData, CancelSwapTypedDataFragment, type Chain, ChainFragment, ChainQuery, type ChainRequest, ChainsFilter, ChainsQuery, Currency, type DecimalNumber, DecimalNumberFragment, type DecimalNumberWithChange, DecimalNumberWithChangeFragment, type DomainData, DomainDataFragment, type ERC20PermitSignature, type Erc20Amount, Erc20AmountFragment, type Erc20ApprovalRequired, Erc20ApprovalRequiredFragment, type Erc20Input, type Erc20Token, Erc20TokenFragment, ExchangeRateQuery, type ExchangeRateRequest, type ExchangeRateRequestFrom, type ExecutionPlan, ExecutionPlanFragment, type FiatAmount, FiatAmountFragment, type FiatAmountValueVariation, FiatAmountValueVariationFragment, type FiatAmountWithChange, FiatAmountWithChangeFragment, type FragmentDocumentFor, HasProcessedKnownTransactionQuery, type HasProcessedKnownTransactionRequest, type HealthFactorError, HealthFactorErrorFragment, type HealthFactorResult, HealthFactorResultFragment, type HealthFactorVariation, HealthFactorVariationFragment, type HealthFactorWithChange, HealthFactorWithChangeFragment, HealthQuery, type Hub, type HubAsset, HubAssetFragment, type HubAssetId, type HubAssetSettings, HubAssetSettingsFragment, HubAssetStatusType, type HubAssetSummary, HubAssetSummaryFragment, type HubAssetUserState, HubAssetUserStateFragment, HubAssetsQuery, type HubAssetsRequest, HubAssetsRequestOrderBy, type HubAssetsRequestQuery, HubFragment, type HubId, type HubIdParts, type HubIdTokenInput, type HubInput, HubQuery, type HubRequest, type HubRequestQuery, type HubSummary, HubSummaryFragment, type HubTokenInput, HubsQuery, type HubsRequest, type HubsRequestQuery, type ID, type InsufficientBalanceError, InsufficientBalanceErrorFragment, type LiquidatePositionDebtAmount, type LiquidatePositionExecutionPlan, LiquidatePositionExecutionPlanFragment, LiquidatePositionQuery, type LiquidatePositionRequest, type LiquidatedActivity, LiquidatedActivityFragment, type NativeAmount, NativeAmountFragment, type NativeToken, NativeTokenFragment, type OnChainHubAssetId, type OnChainReserveId, OperationType, OrderDirection, PageSize, type PaginatedActivitiesResult, PaginatedActivitiesResultFragment, type PaginatedResultInfo, PaginatedResultInfoFragment, type PaginatedSpokePositionManagerResult, PaginatedSpokePositionManagerResultFragment, type PaginatedSpokeUserPositionManagerResult, PaginatedSpokeUserPositionManagerResultFragment, type PaginatedUserSwapsResult, PaginatedUserSwapsResultFragment, type PercentNumber, PercentNumberFragment, type PercentNumberVariation, PercentNumberVariationFragment, type PercentNumberWithChange, PercentNumberWithChangeFragment, type PermitMessageData, PermitMessageDataFragment, type PermitRequest, PermitTypedDataQuery, type PermitTypedDataResponse, PermitTypedDataResponseFragment, type PreContractActionRequired, PreContractActionRequiredFragment, type PrepareLimitOrderSwapInput, type PrepareMarketOrderSwapInput, PrepareSwapCancelQuery, type PrepareSwapCancelRequest, type PrepareSwapCancelResult, PrepareSwapCancelResultFragment, PrepareSwapQuery, type PrepareSwapRequest, type PrepareSwapResult, PrepareSwapResultFragment, type PreviewAction, PreviewQuery, type PreviewRequest, type PreviewUserPosition, PreviewUserPositionFragment, RenounceSpokeUserPositionManagerQuery, type RenounceSpokeUserPositionManagerRequest, type RepayActivity, RepayActivityFragment, type RepayAmountInputWithPermit, type RepayErc20AmountInputWithPermit, type RepayPermitRequest, RepayQuery, type RepayRequest, type RequestOf, type Reserve, type ReserveAmountInput, type ReserveAmountInputWithPermit, type ReserveErc20AmountInput, type ReserveErc20AmountInputWithPermit, ReserveFragment, type ReserveId, type ReserveIdParts, type ReserveInfo, ReserveInfoFragment, type ReserveInput, ReserveQuery, type ReserveRequest, type ReserveRequestQuery, type ReserveSettings, ReserveSettingsFragment, type ReserveStatus, ReserveStatusFragment, type ReserveSummary, ReserveSummaryFragment, type ReserveUserState, ReserveUserStateFragment, ReservesQuery, type ReservesRequest, ReservesRequestFilter, type ReservesRequestOrderBy, type ReservesRequestQuery, SetSpokeUserPositionManagerQuery, type SetSpokeUserPositionManagerRequest, SetUserSupplyAsCollateralQuery, type SetUserSupplyAsCollateralRequest, type Spoke, SpokeFragment, type SpokeId, type SpokeIdParts, type SpokeInput, type SpokePositionManager, SpokePositionManagerFragment, SpokePositionManagersQuery, type SpokePositionManagersRequest, SpokeQuery, type SpokeRequest, type SpokeRequestQuery, type SpokeTokenInput, type SpokeUserPositionManager, SpokeUserPositionManagerFragment, SpokeUserPositionManagersQuery, type SpokeUserPositionManagersRequest, SpokesQuery, type SpokesRequest, type SpokesRequestQuery, type SupplyAPYHistoryRequest, type SupplyActivity, SupplyActivityFragment, SupplyApyHistoryQuery, type SupplyPermitRequest, SupplyQuery, type SupplyRequest, type SwapApprovalRequired, SwapApprovalRequiredFragment, type SwapByIntent, SwapByIntentFragment, type SwapByIntentInput, type SwapByIntentTypeDefinition, SwapByIntentTypeDefinitionFragment, type SwapByIntentTypedData, SwapByIntentTypedDataFragment, type SwapByIntentWithApprovalRequired, SwapByIntentWithApprovalRequiredFragment, type SwapByTransaction, SwapByTransactionFragment, type SwapCancelled, SwapCancelledFragment, type SwapExecutionPlan, SwapExecutionPlanFragment, type SwapExpired, SwapExpiredFragment, type SwapFulfilled, SwapFulfilledFragment, type SwapId, SwapKind, type SwapOpen, SwapOpenFragment, type SwapPendingSignature, SwapPendingSignatureFragment, SwapQuery, type SwapQuote, type SwapQuoteCosts, SwapQuoteCostsFragment, SwapQuoteFragment, type SwapQuoteId, SwapQuoteQuery, type SwapQuoteRequest, type SwapReceipt, SwapReceiptFragment, type SwapRequest, type SwapStatus, SwapStatusFilter, SwapStatusFragment, SwapStatusQuery, type SwapStatusRequest, type SwapTransactionRequest, SwapTransactionRequestFragment, type SwapWithTransactionInput, SwappableTokensQuery, type SwappableTokensRequest, type SwappableTokensRequestQuery, TimeWindow, type Token, type TokenAmount, TokenAmountFragment, TokenFragment, type TokenInfo, TokenInfoFragment, type TokenInput, type TransactionRequest, TransactionRequestFragment, type TxHashInput, type TypeDefinition, TypeDefinitionFragment, type TypeField, TypeFieldFragment, UpdateUserDynamicConfigQuery, type UpdateUserDynamicConfigRequest, UpdateUserRiskPremiumQuery, type UpdateUserRiskPremiumRequest, type UserBalance, UserBalanceFragment, type UserBalanceId, type UserBalancesByChains, type UserBalancesByHub, type UserBalancesByHubId, type UserBalancesBySpoke, type UserBalancesByUserPosition, UserBalancesQuery, type UserBalancesRequest, type UserBalancesRequestFilter, type UserBalancesRequestOrderBy, type UserBorrowItem, UserBorrowItemFragment, type UserBorrowItemId, UserBorrowsQuery, type UserBorrowsRequest, type UserBorrowsRequestOrderBy, type UserBorrowsRequestQuery, type UserChains, type UserPosition, UserPositionFragment, type UserPositionId, UserPositionQuery, type UserPositionRequest, UserPositionsQuery, type UserPositionsRequest, type UserPositionsRequestFilter, type UserPositionsRequestOrderBy, type UserSpokeInput, type UserSummary, type UserSummaryFilter, UserSummaryFragment, type UserSummaryHistoryItem, UserSummaryHistoryItemFragment, UserSummaryHistoryQuery, type UserSummaryHistoryRequest, UserSummaryQuery, type UserSummaryRequest, UserSuppliesQuery, type UserSuppliesRequest, type UserSuppliesRequestOrderBy, type UserSuppliesRequestQuery, type UserSupplyItem, UserSupplyItemFragment, type UserSupplyItemId, UserSwapsQuery, type UserSwapsRequest, type UserToken, type UsingAsCollateralActivity, UsingAsCollateralActivityFragment, type WithdrawActivity, WithdrawActivityFragment, WithdrawQuery, type WithdrawRequest, type WithdrawReserveAmountInput, assetId, decodeHubId, decodeReserveId, encodeHubId, encodeReserveId, encodeSpokeId, graphql, hubAssetId, hubId, isChainIdsVariant, isHubInputVariant, isSpokeInputVariant, isTxHashInputVariant, reserveId, spokeId, swapId, swapQuoteId, userBalanceId, userBorrowItemId, userPositionId, userSupplyItemId };
package/dist/index.d.ts CHANGED
@@ -198,6 +198,7 @@ type introspection_types = {
198
198
  'HubAssetsRequestOrderBy': { kind: 'INPUT_OBJECT'; name: 'HubAssetsRequestOrderBy'; isOneOf: true; inputFields: [{ name: 'assetName'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }, { name: 'availableLiquidity'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }, { name: 'supplyApy'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }, { name: 'borrowApy'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }]; };
199
199
  'HubAssetsRequestQuery': { kind: 'INPUT_OBJECT'; name: 'HubAssetsRequestQuery'; isOneOf: true; inputFields: [{ name: 'hubInput'; type: { kind: 'INPUT_OBJECT'; name: 'HubInput'; ofType: null; }; defaultValue: null }, { name: 'hubId'; type: { kind: 'SCALAR'; name: 'HubId'; ofType: null; }; defaultValue: null }]; };
200
200
  'HubId': unknown;
201
+ 'HubIdTokenInput': { kind: 'INPUT_OBJECT'; name: 'HubIdTokenInput'; isOneOf: false; inputFields: [{ name: 'hubId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'HubId'; ofType: null; }; }; defaultValue: null }, { name: 'token'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; };
201
202
  'HubInput': { kind: 'INPUT_OBJECT'; name: 'HubInput'; isOneOf: false; inputFields: [{ name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'chainId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; defaultValue: null }]; };
202
203
  'HubRequest': { kind: 'INPUT_OBJECT'; name: 'HubRequest'; isOneOf: false; inputFields: [{ name: 'query'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'HubRequestQuery'; ofType: null; }; }; defaultValue: null }]; };
203
204
  'HubRequestQuery': { kind: 'INPUT_OBJECT'; name: 'HubRequestQuery'; isOneOf: true; inputFields: [{ name: 'hubInput'; type: { kind: 'INPUT_OBJECT'; name: 'HubInput'; ofType: null; }; defaultValue: null }, { name: 'hubId'; type: { kind: 'SCALAR'; name: 'HubId'; ofType: null; }; defaultValue: null }]; };
@@ -267,7 +268,7 @@ type introspection_types = {
267
268
  'ReservesRequest': { kind: 'INPUT_OBJECT'; name: 'ReservesRequest'; isOneOf: false; inputFields: [{ name: 'query'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'ReservesRequestQuery'; ofType: null; }; }; defaultValue: null }, { name: 'user'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; defaultValue: null }, { name: 'filter'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'ReservesRequestFilter'; ofType: null; }; }; defaultValue: "ALL" }, { name: 'orderBy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'ReservesRequestOrderBy'; ofType: null; }; }; defaultValue: "{assetName: ASC}" }]; };
268
269
  'ReservesRequestFilter': { name: 'ReservesRequestFilter'; enumValues: 'SUPPLY' | 'BORROW' | 'ALL'; };
269
270
  'ReservesRequestOrderBy': { kind: 'INPUT_OBJECT'; name: 'ReservesRequestOrderBy'; isOneOf: true; inputFields: [{ name: 'assetName'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }, { name: 'userBalance'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }, { name: 'supplyApy'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }, { name: 'supplyAvailable'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }, { name: 'borrowApy'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }, { name: 'borrowAvailable'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }, { name: 'collateralFactor'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }]; };
270
- 'ReservesRequestQuery': { kind: 'INPUT_OBJECT'; name: 'ReservesRequestQuery'; isOneOf: true; inputFields: [{ name: 'spoke'; type: { kind: 'INPUT_OBJECT'; name: 'SpokeInput'; ofType: null; }; defaultValue: null }, { name: 'spokeId'; type: { kind: 'SCALAR'; name: 'SpokeId'; ofType: null; }; defaultValue: null }, { name: 'tokens'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'Erc20Input'; ofType: null; }; }; }; defaultValue: null }, { name: 'hubToken'; type: { kind: 'INPUT_OBJECT'; name: 'HubTokenInput'; ofType: null; }; defaultValue: null }, { name: 'chainIds'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; }; defaultValue: null }, { name: 'spokeToken'; type: { kind: 'INPUT_OBJECT'; name: 'SpokeTokenInput'; ofType: null; }; defaultValue: null }, { name: 'hub'; type: { kind: 'INPUT_OBJECT'; name: 'HubInput'; ofType: null; }; defaultValue: null }, { name: 'userPositionId'; type: { kind: 'SCALAR'; name: 'UserPositionId'; ofType: null; }; defaultValue: null }]; };
271
+ 'ReservesRequestQuery': { kind: 'INPUT_OBJECT'; name: 'ReservesRequestQuery'; isOneOf: true; inputFields: [{ name: 'spoke'; type: { kind: 'INPUT_OBJECT'; name: 'SpokeInput'; ofType: null; }; defaultValue: null }, { name: 'spokeId'; type: { kind: 'SCALAR'; name: 'SpokeId'; ofType: null; }; defaultValue: null }, { name: 'tokens'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'Erc20Input'; ofType: null; }; }; }; defaultValue: null }, { name: 'hubToken'; type: { kind: 'INPUT_OBJECT'; name: 'HubTokenInput'; ofType: null; }; defaultValue: null }, { name: 'hubIdToken'; type: { kind: 'INPUT_OBJECT'; name: 'HubIdTokenInput'; ofType: null; }; defaultValue: null }, { name: 'chainIds'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; }; defaultValue: null }, { name: 'spokeToken'; type: { kind: 'INPUT_OBJECT'; name: 'SpokeTokenInput'; ofType: null; }; defaultValue: null }, { name: 'hub'; type: { kind: 'INPUT_OBJECT'; name: 'HubInput'; ofType: null; }; defaultValue: null }, { name: 'hubId'; type: { kind: 'SCALAR'; name: 'HubId'; ofType: null; }; defaultValue: null }, { name: 'userPositionId'; type: { kind: 'SCALAR'; name: 'UserPositionId'; ofType: null; }; defaultValue: null }]; };
271
272
  'SetSpokeUserPositionManagerRequest': { kind: 'INPUT_OBJECT'; name: 'SetSpokeUserPositionManagerRequest'; isOneOf: false; inputFields: [{ name: 'spoke'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'SpokeId'; ofType: null; }; }; defaultValue: null }, { name: 'manager'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'approve'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; }; defaultValue: null }, { name: 'user'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'signature'; type: { kind: 'INPUT_OBJECT'; name: 'ERC20PermitSignature'; ofType: null; }; defaultValue: null }]; };
272
273
  'SetUserSupplyAsCollateralRequest': { kind: 'INPUT_OBJECT'; name: 'SetUserSupplyAsCollateralRequest'; isOneOf: false; inputFields: [{ name: 'reserve'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ReserveId'; ofType: null; }; }; defaultValue: null }, { name: 'sender'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'enableCollateral'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; }; defaultValue: null }]; };
273
274
  'Signature': unknown;
@@ -333,10 +334,11 @@ type introspection_types = {
333
334
  'UserBalanceId': unknown;
334
335
  'UserBalancesByChains': { kind: 'INPUT_OBJECT'; name: 'UserBalancesByChains'; isOneOf: false; inputFields: [{ name: 'chainIds'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; }; }; defaultValue: null }, { name: 'byReservesType'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'ReservesRequestFilter'; ofType: null; }; }; defaultValue: "ALL" }]; };
335
336
  'UserBalancesByHub': { kind: 'INPUT_OBJECT'; name: 'UserBalancesByHub'; isOneOf: false; inputFields: [{ name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'chainId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; defaultValue: null }, { name: 'byReservesType'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'ReservesRequestFilter'; ofType: null; }; }; defaultValue: "ALL" }]; };
337
+ 'UserBalancesByHubId': { kind: 'INPUT_OBJECT'; name: 'UserBalancesByHubId'; isOneOf: false; inputFields: [{ name: 'hubId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'HubId'; ofType: null; }; }; defaultValue: null }, { name: 'byReservesType'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'ReservesRequestFilter'; ofType: null; }; }; defaultValue: "ALL" }]; };
336
338
  'UserBalancesBySpoke': { kind: 'INPUT_OBJECT'; name: 'UserBalancesBySpoke'; isOneOf: false; inputFields: [{ name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'chainId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; defaultValue: null }, { name: 'byReservesType'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'ReservesRequestFilter'; ofType: null; }; }; defaultValue: "ALL" }]; };
337
339
  'UserBalancesByUserPosition': { kind: 'INPUT_OBJECT'; name: 'UserBalancesByUserPosition'; isOneOf: false; inputFields: [{ name: 'userPositionId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'UserPositionId'; ofType: null; }; }; defaultValue: null }, { name: 'byReservesType'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'ReservesRequestFilter'; ofType: null; }; }; defaultValue: "ALL" }]; };
338
340
  'UserBalancesRequest': { kind: 'INPUT_OBJECT'; name: 'UserBalancesRequest'; isOneOf: false; inputFields: [{ name: 'user'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'orderBy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'UserBalancesRequestOrderBy'; ofType: null; }; }; defaultValue: "{balance: DESC}" }, { name: 'filter'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'UserBalancesRequestFilter'; ofType: null; }; }; defaultValue: null }, { name: 'includeZeroBalances'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; }; defaultValue: "false" }]; };
339
- 'UserBalancesRequestFilter': { kind: 'INPUT_OBJECT'; name: 'UserBalancesRequestFilter'; isOneOf: true; inputFields: [{ name: 'chains'; type: { kind: 'INPUT_OBJECT'; name: 'UserBalancesByChains'; ofType: null; }; defaultValue: null }, { name: 'hub'; type: { kind: 'INPUT_OBJECT'; name: 'UserBalancesByHub'; ofType: null; }; defaultValue: null }, { name: 'spoke'; type: { kind: 'INPUT_OBJECT'; name: 'UserBalancesBySpoke'; ofType: null; }; defaultValue: null }, { name: 'swappable'; type: { kind: 'INPUT_OBJECT'; name: 'SwappableTokensRequestQuery'; ofType: null; }; defaultValue: null }, { name: 'userPosition'; type: { kind: 'INPUT_OBJECT'; name: 'UserBalancesByUserPosition'; ofType: null; }; defaultValue: null }]; };
341
+ 'UserBalancesRequestFilter': { kind: 'INPUT_OBJECT'; name: 'UserBalancesRequestFilter'; isOneOf: true; inputFields: [{ name: 'chains'; type: { kind: 'INPUT_OBJECT'; name: 'UserBalancesByChains'; ofType: null; }; defaultValue: null }, { name: 'hub'; type: { kind: 'INPUT_OBJECT'; name: 'UserBalancesByHub'; ofType: null; }; defaultValue: null }, { name: 'hubId'; type: { kind: 'INPUT_OBJECT'; name: 'UserBalancesByHubId'; ofType: null; }; defaultValue: null }, { name: 'spoke'; type: { kind: 'INPUT_OBJECT'; name: 'UserBalancesBySpoke'; ofType: null; }; defaultValue: null }, { name: 'swappable'; type: { kind: 'INPUT_OBJECT'; name: 'SwappableTokensRequestQuery'; ofType: null; }; defaultValue: null }, { name: 'userPosition'; type: { kind: 'INPUT_OBJECT'; name: 'UserBalancesByUserPosition'; ofType: null; }; defaultValue: null }]; };
340
342
  'UserBalancesRequestOrderBy': { kind: 'INPUT_OBJECT'; name: 'UserBalancesRequestOrderBy'; isOneOf: true; inputFields: [{ name: 'name'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }, { name: 'balance'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }]; };
341
343
  'UserBorrowItem': { kind: 'OBJECT'; name: 'UserBorrowItem'; fields: { 'createdAt': { name: 'createdAt'; type: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; } }; 'debt': { name: 'debt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'UserBorrowItemId'; ofType: null; }; } }; 'interest': { name: 'interest'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; 'principal': { name: 'principal'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; 'reserve': { name: 'reserve'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Reserve'; ofType: null; }; } }; }; };
342
344
  'UserBorrowItemId': unknown;
@@ -9974,6 +9976,7 @@ declare function isTxHashInputVariant<T>(input: T): input is T & {
9974
9976
  txHash: TxHashInput;
9975
9977
  };
9976
9978
  type HubTokenInput = ReturnType<typeof graphql.scalar<'HubTokenInput'>>;
9979
+ type HubIdTokenInput = ReturnType<typeof graphql.scalar<'HubIdTokenInput'>>;
9977
9980
  type SpokeTokenInput = ReturnType<typeof graphql.scalar<'SpokeTokenInput'>>;
9978
9981
 
9979
9982
  /**
@@ -12433,6 +12436,11 @@ declare const ReservesQuery: gql_tada.TadaDocumentNode<{
12433
12436
  hub: _aave_types.EvmAddress;
12434
12437
  chainId: _aave_types.ChainId;
12435
12438
  };
12439
+ } | {
12440
+ hubIdToken: {
12441
+ token: _aave_types.EvmAddress;
12442
+ hubId: HubId;
12443
+ };
12436
12444
  } | {
12437
12445
  chainIds: _aave_types.ChainId[];
12438
12446
  } | {
@@ -12445,6 +12453,8 @@ declare const ReservesQuery: gql_tada.TadaDocumentNode<{
12445
12453
  chainId: _aave_types.ChainId;
12446
12454
  address: _aave_types.EvmAddress;
12447
12455
  };
12456
+ } | {
12457
+ hubId: HubId;
12448
12458
  } | {
12449
12459
  userPositionId: UserPositionId;
12450
12460
  };
@@ -31884,6 +31894,11 @@ declare const UserBalancesQuery: gql_tada.TadaDocumentNode<{
31884
31894
  chainId: _aave_types.ChainId;
31885
31895
  address: _aave_types.EvmAddress;
31886
31896
  };
31897
+ } | {
31898
+ hubId: {
31899
+ byReservesType?: ReservesRequestFilter | null | undefined;
31900
+ hubId: HubId;
31901
+ };
31887
31902
  } | {
31888
31903
  spoke: {
31889
31904
  byReservesType?: ReservesRequestFilter | null | undefined;
@@ -31930,6 +31945,7 @@ type UserBalancesRequest = RequestOf<typeof UserBalancesQuery>;
31930
31945
  type UserBalancesRequestFilter = ReturnType<typeof graphql.scalar<'UserBalancesRequestFilter'>>;
31931
31946
  type UserBalancesByChains = ReturnType<typeof graphql.scalar<'UserBalancesByChains'>>;
31932
31947
  type UserBalancesByHub = ReturnType<typeof graphql.scalar<'UserBalancesByHub'>>;
31948
+ type UserBalancesByHubId = ReturnType<typeof graphql.scalar<'UserBalancesByHubId'>>;
31933
31949
  type UserBalancesBySpoke = ReturnType<typeof graphql.scalar<'UserBalancesBySpoke'>>;
31934
31950
  type UserBalancesByUserPosition = ReturnType<typeof graphql.scalar<'UserBalancesByUserPosition'>>;
31935
31951
  /**
@@ -31991,4 +32007,4 @@ type UserSummaryFilter = ReturnType<typeof graphql.scalar<'UserSummaryFilter'>>;
31991
32007
  type UserSuppliesRequestQuery = ReturnType<typeof graphql.scalar<'UserSuppliesQueryRequest'>>;
31992
32008
  type UserSuppliesRequestOrderBy = ReturnType<typeof graphql.scalar<'UserSuppliesRequestOrderBy'>>;
31993
32009
 
31994
- export { type APYSample, APYSampleFragment, ActivitiesQuery, type ActivitiesRequest, type ActivitiesRequestQuery, type ActivityItem, ActivityItemFragment, ActivityType, type AmountInput, ApyMetric, type Asset, AssetBorrowHistoryQuery, type AssetBorrowHistoryRequest, type AssetBorrowHistoryRequestQuery, type AssetBorrowSample, AssetBorrowSampleFragment, AssetFragment, type AssetId, AssetPriceHistoryQuery, type AssetPriceHistoryRequest, type AssetPriceHistoryRequestQuery, type AssetPriceSample, AssetPriceSampleFragment, AssetQuery, type AssetRequest, type AssetRequestQuery, type AssetSummary, AssetSummaryFragment, AssetSupplyHistoryQuery, type AssetSupplyHistoryRequest, type AssetSupplyHistoryRequestQuery, type AssetSupplySample, AssetSupplySampleFragment, type Base64EncodedCompositeId, type BorrowAPYHistoryRequest, type BorrowActivity, BorrowActivityFragment, BorrowApyHistoryQuery, BorrowQuery, type BorrowRequest, type CancelIntentSwapInput, type CancelSwapExecutionPlan, CancelSwapExecutionPlanFragment, CancelSwapQuery, type CancelSwapRequest, type CancelSwapTypeDefinition, CancelSwapTypeDefinitionFragment, type CancelSwapTypedData, CancelSwapTypedDataFragment, type Chain, ChainFragment, ChainQuery, type ChainRequest, ChainsFilter, ChainsQuery, Currency, type DecimalNumber, DecimalNumberFragment, type DecimalNumberWithChange, DecimalNumberWithChangeFragment, type DomainData, DomainDataFragment, type ERC20PermitSignature, type Erc20Amount, Erc20AmountFragment, type Erc20ApprovalRequired, Erc20ApprovalRequiredFragment, type Erc20Input, type Erc20Token, Erc20TokenFragment, ExchangeRateQuery, type ExchangeRateRequest, type ExchangeRateRequestFrom, type ExecutionPlan, ExecutionPlanFragment, type FiatAmount, FiatAmountFragment, type FiatAmountValueVariation, FiatAmountValueVariationFragment, type FiatAmountWithChange, FiatAmountWithChangeFragment, type FragmentDocumentFor, HasProcessedKnownTransactionQuery, type HasProcessedKnownTransactionRequest, type HealthFactorError, HealthFactorErrorFragment, type HealthFactorResult, HealthFactorResultFragment, type HealthFactorVariation, HealthFactorVariationFragment, type HealthFactorWithChange, HealthFactorWithChangeFragment, HealthQuery, type Hub, type HubAsset, HubAssetFragment, type HubAssetId, type HubAssetSettings, HubAssetSettingsFragment, HubAssetStatusType, type HubAssetSummary, HubAssetSummaryFragment, type HubAssetUserState, HubAssetUserStateFragment, HubAssetsQuery, type HubAssetsRequest, HubAssetsRequestOrderBy, type HubAssetsRequestQuery, HubFragment, type HubId, type HubIdParts, type HubInput, HubQuery, type HubRequest, type HubRequestQuery, type HubSummary, HubSummaryFragment, type HubTokenInput, HubsQuery, type HubsRequest, type HubsRequestQuery, type ID, type InsufficientBalanceError, InsufficientBalanceErrorFragment, type LiquidatePositionDebtAmount, type LiquidatePositionExecutionPlan, LiquidatePositionExecutionPlanFragment, LiquidatePositionQuery, type LiquidatePositionRequest, type LiquidatedActivity, LiquidatedActivityFragment, type NativeAmount, NativeAmountFragment, type NativeToken, NativeTokenFragment, type OnChainHubAssetId, type OnChainReserveId, OperationType, OrderDirection, PageSize, type PaginatedActivitiesResult, PaginatedActivitiesResultFragment, type PaginatedResultInfo, PaginatedResultInfoFragment, type PaginatedSpokePositionManagerResult, PaginatedSpokePositionManagerResultFragment, type PaginatedSpokeUserPositionManagerResult, PaginatedSpokeUserPositionManagerResultFragment, type PaginatedUserSwapsResult, PaginatedUserSwapsResultFragment, type PercentNumber, PercentNumberFragment, type PercentNumberVariation, PercentNumberVariationFragment, type PercentNumberWithChange, PercentNumberWithChangeFragment, type PermitMessageData, PermitMessageDataFragment, type PermitRequest, PermitTypedDataQuery, type PermitTypedDataResponse, PermitTypedDataResponseFragment, type PreContractActionRequired, PreContractActionRequiredFragment, type PrepareLimitOrderSwapInput, type PrepareMarketOrderSwapInput, PrepareSwapCancelQuery, type PrepareSwapCancelRequest, type PrepareSwapCancelResult, PrepareSwapCancelResultFragment, PrepareSwapQuery, type PrepareSwapRequest, type PrepareSwapResult, PrepareSwapResultFragment, type PreviewAction, PreviewQuery, type PreviewRequest, type PreviewUserPosition, PreviewUserPositionFragment, RenounceSpokeUserPositionManagerQuery, type RenounceSpokeUserPositionManagerRequest, type RepayActivity, RepayActivityFragment, type RepayAmountInputWithPermit, type RepayErc20AmountInputWithPermit, type RepayPermitRequest, RepayQuery, type RepayRequest, type RequestOf, type Reserve, type ReserveAmountInput, type ReserveAmountInputWithPermit, type ReserveErc20AmountInput, type ReserveErc20AmountInputWithPermit, ReserveFragment, type ReserveId, type ReserveIdParts, type ReserveInfo, ReserveInfoFragment, type ReserveInput, ReserveQuery, type ReserveRequest, type ReserveRequestQuery, type ReserveSettings, ReserveSettingsFragment, type ReserveStatus, ReserveStatusFragment, type ReserveSummary, ReserveSummaryFragment, type ReserveUserState, ReserveUserStateFragment, ReservesQuery, type ReservesRequest, ReservesRequestFilter, type ReservesRequestOrderBy, type ReservesRequestQuery, SetSpokeUserPositionManagerQuery, type SetSpokeUserPositionManagerRequest, SetUserSupplyAsCollateralQuery, type SetUserSupplyAsCollateralRequest, type Spoke, SpokeFragment, type SpokeId, type SpokeIdParts, type SpokeInput, type SpokePositionManager, SpokePositionManagerFragment, SpokePositionManagersQuery, type SpokePositionManagersRequest, SpokeQuery, type SpokeRequest, type SpokeRequestQuery, type SpokeTokenInput, type SpokeUserPositionManager, SpokeUserPositionManagerFragment, SpokeUserPositionManagersQuery, type SpokeUserPositionManagersRequest, SpokesQuery, type SpokesRequest, type SpokesRequestQuery, type SupplyAPYHistoryRequest, type SupplyActivity, SupplyActivityFragment, SupplyApyHistoryQuery, type SupplyPermitRequest, SupplyQuery, type SupplyRequest, type SwapApprovalRequired, SwapApprovalRequiredFragment, type SwapByIntent, SwapByIntentFragment, type SwapByIntentInput, type SwapByIntentTypeDefinition, SwapByIntentTypeDefinitionFragment, type SwapByIntentTypedData, SwapByIntentTypedDataFragment, type SwapByIntentWithApprovalRequired, SwapByIntentWithApprovalRequiredFragment, type SwapByTransaction, SwapByTransactionFragment, type SwapCancelled, SwapCancelledFragment, type SwapExecutionPlan, SwapExecutionPlanFragment, type SwapExpired, SwapExpiredFragment, type SwapFulfilled, SwapFulfilledFragment, type SwapId, SwapKind, type SwapOpen, SwapOpenFragment, type SwapPendingSignature, SwapPendingSignatureFragment, SwapQuery, type SwapQuote, type SwapQuoteCosts, SwapQuoteCostsFragment, SwapQuoteFragment, type SwapQuoteId, SwapQuoteQuery, type SwapQuoteRequest, type SwapReceipt, SwapReceiptFragment, type SwapRequest, type SwapStatus, SwapStatusFilter, SwapStatusFragment, SwapStatusQuery, type SwapStatusRequest, type SwapTransactionRequest, SwapTransactionRequestFragment, type SwapWithTransactionInput, SwappableTokensQuery, type SwappableTokensRequest, type SwappableTokensRequestQuery, TimeWindow, type Token, type TokenAmount, TokenAmountFragment, TokenFragment, type TokenInfo, TokenInfoFragment, type TokenInput, type TransactionRequest, TransactionRequestFragment, type TxHashInput, type TypeDefinition, TypeDefinitionFragment, type TypeField, TypeFieldFragment, UpdateUserDynamicConfigQuery, type UpdateUserDynamicConfigRequest, UpdateUserRiskPremiumQuery, type UpdateUserRiskPremiumRequest, type UserBalance, UserBalanceFragment, type UserBalanceId, type UserBalancesByChains, type UserBalancesByHub, type UserBalancesBySpoke, type UserBalancesByUserPosition, UserBalancesQuery, type UserBalancesRequest, type UserBalancesRequestFilter, type UserBalancesRequestOrderBy, type UserBorrowItem, UserBorrowItemFragment, type UserBorrowItemId, UserBorrowsQuery, type UserBorrowsRequest, type UserBorrowsRequestOrderBy, type UserBorrowsRequestQuery, type UserChains, type UserPosition, UserPositionFragment, type UserPositionId, UserPositionQuery, type UserPositionRequest, UserPositionsQuery, type UserPositionsRequest, type UserPositionsRequestFilter, type UserPositionsRequestOrderBy, type UserSpokeInput, type UserSummary, type UserSummaryFilter, UserSummaryFragment, type UserSummaryHistoryItem, UserSummaryHistoryItemFragment, UserSummaryHistoryQuery, type UserSummaryHistoryRequest, UserSummaryQuery, type UserSummaryRequest, UserSuppliesQuery, type UserSuppliesRequest, type UserSuppliesRequestOrderBy, type UserSuppliesRequestQuery, type UserSupplyItem, UserSupplyItemFragment, type UserSupplyItemId, UserSwapsQuery, type UserSwapsRequest, type UserToken, type UsingAsCollateralActivity, UsingAsCollateralActivityFragment, type WithdrawActivity, WithdrawActivityFragment, WithdrawQuery, type WithdrawRequest, type WithdrawReserveAmountInput, assetId, decodeHubId, decodeReserveId, encodeHubId, encodeReserveId, encodeSpokeId, graphql, hubAssetId, hubId, isChainIdsVariant, isHubInputVariant, isSpokeInputVariant, isTxHashInputVariant, reserveId, spokeId, swapId, swapQuoteId, userBalanceId, userBorrowItemId, userPositionId, userSupplyItemId };
32010
+ export { type APYSample, APYSampleFragment, ActivitiesQuery, type ActivitiesRequest, type ActivitiesRequestQuery, type ActivityItem, ActivityItemFragment, ActivityType, type AmountInput, ApyMetric, type Asset, AssetBorrowHistoryQuery, type AssetBorrowHistoryRequest, type AssetBorrowHistoryRequestQuery, type AssetBorrowSample, AssetBorrowSampleFragment, AssetFragment, type AssetId, AssetPriceHistoryQuery, type AssetPriceHistoryRequest, type AssetPriceHistoryRequestQuery, type AssetPriceSample, AssetPriceSampleFragment, AssetQuery, type AssetRequest, type AssetRequestQuery, type AssetSummary, AssetSummaryFragment, AssetSupplyHistoryQuery, type AssetSupplyHistoryRequest, type AssetSupplyHistoryRequestQuery, type AssetSupplySample, AssetSupplySampleFragment, type Base64EncodedCompositeId, type BorrowAPYHistoryRequest, type BorrowActivity, BorrowActivityFragment, BorrowApyHistoryQuery, BorrowQuery, type BorrowRequest, type CancelIntentSwapInput, type CancelSwapExecutionPlan, CancelSwapExecutionPlanFragment, CancelSwapQuery, type CancelSwapRequest, type CancelSwapTypeDefinition, CancelSwapTypeDefinitionFragment, type CancelSwapTypedData, CancelSwapTypedDataFragment, type Chain, ChainFragment, ChainQuery, type ChainRequest, ChainsFilter, ChainsQuery, Currency, type DecimalNumber, DecimalNumberFragment, type DecimalNumberWithChange, DecimalNumberWithChangeFragment, type DomainData, DomainDataFragment, type ERC20PermitSignature, type Erc20Amount, Erc20AmountFragment, type Erc20ApprovalRequired, Erc20ApprovalRequiredFragment, type Erc20Input, type Erc20Token, Erc20TokenFragment, ExchangeRateQuery, type ExchangeRateRequest, type ExchangeRateRequestFrom, type ExecutionPlan, ExecutionPlanFragment, type FiatAmount, FiatAmountFragment, type FiatAmountValueVariation, FiatAmountValueVariationFragment, type FiatAmountWithChange, FiatAmountWithChangeFragment, type FragmentDocumentFor, HasProcessedKnownTransactionQuery, type HasProcessedKnownTransactionRequest, type HealthFactorError, HealthFactorErrorFragment, type HealthFactorResult, HealthFactorResultFragment, type HealthFactorVariation, HealthFactorVariationFragment, type HealthFactorWithChange, HealthFactorWithChangeFragment, HealthQuery, type Hub, type HubAsset, HubAssetFragment, type HubAssetId, type HubAssetSettings, HubAssetSettingsFragment, HubAssetStatusType, type HubAssetSummary, HubAssetSummaryFragment, type HubAssetUserState, HubAssetUserStateFragment, HubAssetsQuery, type HubAssetsRequest, HubAssetsRequestOrderBy, type HubAssetsRequestQuery, HubFragment, type HubId, type HubIdParts, type HubIdTokenInput, type HubInput, HubQuery, type HubRequest, type HubRequestQuery, type HubSummary, HubSummaryFragment, type HubTokenInput, HubsQuery, type HubsRequest, type HubsRequestQuery, type ID, type InsufficientBalanceError, InsufficientBalanceErrorFragment, type LiquidatePositionDebtAmount, type LiquidatePositionExecutionPlan, LiquidatePositionExecutionPlanFragment, LiquidatePositionQuery, type LiquidatePositionRequest, type LiquidatedActivity, LiquidatedActivityFragment, type NativeAmount, NativeAmountFragment, type NativeToken, NativeTokenFragment, type OnChainHubAssetId, type OnChainReserveId, OperationType, OrderDirection, PageSize, type PaginatedActivitiesResult, PaginatedActivitiesResultFragment, type PaginatedResultInfo, PaginatedResultInfoFragment, type PaginatedSpokePositionManagerResult, PaginatedSpokePositionManagerResultFragment, type PaginatedSpokeUserPositionManagerResult, PaginatedSpokeUserPositionManagerResultFragment, type PaginatedUserSwapsResult, PaginatedUserSwapsResultFragment, type PercentNumber, PercentNumberFragment, type PercentNumberVariation, PercentNumberVariationFragment, type PercentNumberWithChange, PercentNumberWithChangeFragment, type PermitMessageData, PermitMessageDataFragment, type PermitRequest, PermitTypedDataQuery, type PermitTypedDataResponse, PermitTypedDataResponseFragment, type PreContractActionRequired, PreContractActionRequiredFragment, type PrepareLimitOrderSwapInput, type PrepareMarketOrderSwapInput, PrepareSwapCancelQuery, type PrepareSwapCancelRequest, type PrepareSwapCancelResult, PrepareSwapCancelResultFragment, PrepareSwapQuery, type PrepareSwapRequest, type PrepareSwapResult, PrepareSwapResultFragment, type PreviewAction, PreviewQuery, type PreviewRequest, type PreviewUserPosition, PreviewUserPositionFragment, RenounceSpokeUserPositionManagerQuery, type RenounceSpokeUserPositionManagerRequest, type RepayActivity, RepayActivityFragment, type RepayAmountInputWithPermit, type RepayErc20AmountInputWithPermit, type RepayPermitRequest, RepayQuery, type RepayRequest, type RequestOf, type Reserve, type ReserveAmountInput, type ReserveAmountInputWithPermit, type ReserveErc20AmountInput, type ReserveErc20AmountInputWithPermit, ReserveFragment, type ReserveId, type ReserveIdParts, type ReserveInfo, ReserveInfoFragment, type ReserveInput, ReserveQuery, type ReserveRequest, type ReserveRequestQuery, type ReserveSettings, ReserveSettingsFragment, type ReserveStatus, ReserveStatusFragment, type ReserveSummary, ReserveSummaryFragment, type ReserveUserState, ReserveUserStateFragment, ReservesQuery, type ReservesRequest, ReservesRequestFilter, type ReservesRequestOrderBy, type ReservesRequestQuery, SetSpokeUserPositionManagerQuery, type SetSpokeUserPositionManagerRequest, SetUserSupplyAsCollateralQuery, type SetUserSupplyAsCollateralRequest, type Spoke, SpokeFragment, type SpokeId, type SpokeIdParts, type SpokeInput, type SpokePositionManager, SpokePositionManagerFragment, SpokePositionManagersQuery, type SpokePositionManagersRequest, SpokeQuery, type SpokeRequest, type SpokeRequestQuery, type SpokeTokenInput, type SpokeUserPositionManager, SpokeUserPositionManagerFragment, SpokeUserPositionManagersQuery, type SpokeUserPositionManagersRequest, SpokesQuery, type SpokesRequest, type SpokesRequestQuery, type SupplyAPYHistoryRequest, type SupplyActivity, SupplyActivityFragment, SupplyApyHistoryQuery, type SupplyPermitRequest, SupplyQuery, type SupplyRequest, type SwapApprovalRequired, SwapApprovalRequiredFragment, type SwapByIntent, SwapByIntentFragment, type SwapByIntentInput, type SwapByIntentTypeDefinition, SwapByIntentTypeDefinitionFragment, type SwapByIntentTypedData, SwapByIntentTypedDataFragment, type SwapByIntentWithApprovalRequired, SwapByIntentWithApprovalRequiredFragment, type SwapByTransaction, SwapByTransactionFragment, type SwapCancelled, SwapCancelledFragment, type SwapExecutionPlan, SwapExecutionPlanFragment, type SwapExpired, SwapExpiredFragment, type SwapFulfilled, SwapFulfilledFragment, type SwapId, SwapKind, type SwapOpen, SwapOpenFragment, type SwapPendingSignature, SwapPendingSignatureFragment, SwapQuery, type SwapQuote, type SwapQuoteCosts, SwapQuoteCostsFragment, SwapQuoteFragment, type SwapQuoteId, SwapQuoteQuery, type SwapQuoteRequest, type SwapReceipt, SwapReceiptFragment, type SwapRequest, type SwapStatus, SwapStatusFilter, SwapStatusFragment, SwapStatusQuery, type SwapStatusRequest, type SwapTransactionRequest, SwapTransactionRequestFragment, type SwapWithTransactionInput, SwappableTokensQuery, type SwappableTokensRequest, type SwappableTokensRequestQuery, TimeWindow, type Token, type TokenAmount, TokenAmountFragment, TokenFragment, type TokenInfo, TokenInfoFragment, type TokenInput, type TransactionRequest, TransactionRequestFragment, type TxHashInput, type TypeDefinition, TypeDefinitionFragment, type TypeField, TypeFieldFragment, UpdateUserDynamicConfigQuery, type UpdateUserDynamicConfigRequest, UpdateUserRiskPremiumQuery, type UpdateUserRiskPremiumRequest, type UserBalance, UserBalanceFragment, type UserBalanceId, type UserBalancesByChains, type UserBalancesByHub, type UserBalancesByHubId, type UserBalancesBySpoke, type UserBalancesByUserPosition, UserBalancesQuery, type UserBalancesRequest, type UserBalancesRequestFilter, type UserBalancesRequestOrderBy, type UserBorrowItem, UserBorrowItemFragment, type UserBorrowItemId, UserBorrowsQuery, type UserBorrowsRequest, type UserBorrowsRequestOrderBy, type UserBorrowsRequestQuery, type UserChains, type UserPosition, UserPositionFragment, type UserPositionId, UserPositionQuery, type UserPositionRequest, UserPositionsQuery, type UserPositionsRequest, type UserPositionsRequestFilter, type UserPositionsRequestOrderBy, type UserSpokeInput, type UserSummary, type UserSummaryFilter, UserSummaryFragment, type UserSummaryHistoryItem, UserSummaryHistoryItemFragment, UserSummaryHistoryQuery, type UserSummaryHistoryRequest, UserSummaryQuery, type UserSummaryRequest, UserSuppliesQuery, type UserSuppliesRequest, type UserSuppliesRequestOrderBy, type UserSuppliesRequestQuery, type UserSupplyItem, UserSupplyItemFragment, type UserSupplyItemId, UserSwapsQuery, type UserSwapsRequest, type UserToken, type UsingAsCollateralActivity, UsingAsCollateralActivityFragment, type WithdrawActivity, WithdrawActivityFragment, WithdrawQuery, type WithdrawRequest, type WithdrawReserveAmountInput, assetId, decodeHubId, decodeReserveId, encodeHubId, encodeReserveId, encodeSpokeId, graphql, hubAssetId, hubId, isChainIdsVariant, isHubInputVariant, isSpokeInputVariant, isTxHashInputVariant, reserveId, spokeId, swapId, swapQuoteId, userBalanceId, userBorrowItemId, userPositionId, userSupplyItemId };