@aave/graphql 1.0.1 → 1.0.2

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.ts CHANGED
@@ -413,11 +413,12 @@ type introspection_types = {
413
413
  'PointsProgram': { kind: 'OBJECT'; name: 'PointsProgram'; fields: { 'externalUrl': { name: 'externalUrl'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'iconUrl': { name: 'iconUrl'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'RewardId'; ofType: null; }; } }; 'name': { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; };
414
414
  'PositionAmount': { kind: 'OBJECT'; name: 'PositionAmount'; fields: { 'amount': { name: 'amount'; 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: 'ReserveInfo'; ofType: null; }; } }; }; };
415
415
  'PositionSwapAdapterContractApproval': { kind: 'OBJECT'; name: 'PositionSwapAdapterContractApproval'; fields: { 'bySignature': { name: 'bySignature'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SwapTypedData'; ofType: null; }; } }; }; };
416
- 'PositionSwapApproval': { kind: 'UNION'; name: 'PositionSwapApproval'; fields: {}; possibleTypes: 'PositionSwapAdapterContractApproval' | 'PositionSwapPositionManagerApproval'; };
416
+ 'PositionSwapApproval': { kind: 'UNION'; name: 'PositionSwapApproval'; fields: {}; possibleTypes: 'PositionSwapAdapterContractApproval' | 'PositionSwapPositionManagerApproval' | 'PositionSwapSetCollateralApproval'; };
417
417
  'PositionSwapByIntentApprovalsRequired': { kind: 'OBJECT'; name: 'PositionSwapByIntentApprovalsRequired'; fields: { 'approvals': { name: 'approvals'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'PositionSwapApproval'; ofType: null; }; }; }; } }; 'quote': { name: 'quote'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SwapQuote'; ofType: null; }; } }; }; };
418
418
  'PositionSwapPositionManagerApproval': { kind: 'OBJECT'; name: 'PositionSwapPositionManagerApproval'; fields: { 'bySignature': { name: 'bySignature'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SwapTypedData'; ofType: null; }; } }; 'byTransaction': { name: 'byTransaction'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; ofType: null; }; } }; }; };
419
+ 'PositionSwapSetCollateralApproval': { kind: 'OBJECT'; name: 'PositionSwapSetCollateralApproval'; fields: { 'bySignature': { name: 'bySignature'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SwapTypedData'; ofType: null; }; } }; }; };
419
420
  'PreContractActionRequired': { kind: 'OBJECT'; name: 'PreContractActionRequired'; fields: { 'originalTransaction': { name: 'originalTransaction'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; ofType: null; }; } }; 'reason': { name: 'reason'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'transaction': { name: 'transaction'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; ofType: null; }; } }; }; };
420
- 'PreparePositionSwapRequest': { kind: 'INPUT_OBJECT'; name: 'PreparePositionSwapRequest'; isOneOf: false; inputFields: [{ name: 'quoteId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'SwapQuoteId'; ofType: null; }; }; defaultValue: null }, { name: 'adapterContractSignature'; type: { kind: 'SCALAR'; name: 'Signature'; ofType: null; }; defaultValue: null }, { name: 'positionManagerSignature'; type: { kind: 'SCALAR'; name: 'Signature'; ofType: null; }; defaultValue: null }]; };
421
+ 'PreparePositionSwapRequest': { kind: 'INPUT_OBJECT'; name: 'PreparePositionSwapRequest'; isOneOf: false; inputFields: [{ name: 'quoteId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'SwapQuoteId'; ofType: null; }; }; defaultValue: null }, { name: 'adapterContractSignature'; type: { kind: 'SCALAR'; name: 'Signature'; ofType: null; }; defaultValue: null }, { name: 'positionManagerSignature'; type: { kind: 'SCALAR'; name: 'Signature'; ofType: null; }; defaultValue: null }, { name: 'setCollateralSignature'; type: { kind: 'SCALAR'; name: 'Signature'; ofType: null; }; defaultValue: null }]; };
421
422
  'PreparePositionSwapResult': { kind: 'UNION'; name: 'PreparePositionSwapResult'; fields: {}; possibleTypes: 'InsufficientBalanceError' | 'PrepareSwapOrder'; };
422
423
  'PrepareSwapCancelRequest': { kind: 'INPUT_OBJECT'; name: 'PrepareSwapCancelRequest'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'SwapId'; ofType: null; }; }; defaultValue: null }]; };
423
424
  'PrepareSwapCancelResult': { kind: 'OBJECT'; name: 'PrepareSwapCancelResult'; fields: { 'data': { name: 'data'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SwapTypedData'; ofType: null; }; } }; }; };
@@ -627,7 +628,7 @@ type introspection_types = {
627
628
  'UserSuppliesRequestOrderBy': { kind: 'INPUT_OBJECT'; name: 'UserSuppliesRequestOrderBy'; isOneOf: true; inputFields: [{ name: 'assetName'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }, { name: 'created'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }, { name: 'amount'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }, { name: 'apy'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }]; };
628
629
  'UserSuppliesRequestQuery': { kind: 'INPUT_OBJECT'; name: 'UserSuppliesRequestQuery'; isOneOf: true; inputFields: [{ name: 'userSpoke'; type: { kind: 'INPUT_OBJECT'; name: 'UserSpokeInput'; ofType: null; }; defaultValue: null }, { name: 'userToken'; type: { kind: 'INPUT_OBJECT'; name: 'UserToken'; ofType: null; }; defaultValue: null }, { name: 'userPositionId'; type: { kind: 'SCALAR'; name: 'UserPositionId'; ofType: null; }; defaultValue: null }, { name: 'userChains'; type: { kind: 'INPUT_OBJECT'; name: 'UserChains'; ofType: null; }; defaultValue: null }, { name: 'userHub'; type: { kind: 'INPUT_OBJECT'; name: 'UserHub'; ofType: null; }; defaultValue: null }]; };
629
630
  'UserSupplyAsCollateral': { kind: 'INPUT_OBJECT'; name: 'UserSupplyAsCollateral'; isOneOf: false; inputFields: [{ name: 'reserve'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ReserveId'; ofType: null; }; }; defaultValue: null }, { name: 'enableCollateral'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; }; defaultValue: null }]; };
630
- 'UserSupplyItem': { kind: 'OBJECT'; name: 'UserSupplyItem'; fields: { 'createdAt': { name: 'createdAt'; type: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'UserSupplyItemId'; ofType: null; }; } }; 'interest': { name: 'interest'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; 'isCollateral': { name: 'isCollateral'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; 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; }; } }; 'withdrawable': { name: 'withdrawable'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; }; };
631
+ 'UserSupplyItem': { kind: 'OBJECT'; name: 'UserSupplyItem'; fields: { 'balance': { name: 'balance'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; 'createdAt': { name: 'createdAt'; type: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'UserSupplyItemId'; ofType: null; }; } }; 'interest': { name: 'interest'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; 'isCollateral': { name: 'isCollateral'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; 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; }; } }; 'withdrawable': { name: 'withdrawable'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; }; };
631
632
  'UserSupplyItemId': unknown;
632
633
  'UserSwapsRequest': { kind: 'INPUT_OBJECT'; name: 'UserSwapsRequest'; isOneOf: false; inputFields: [{ name: 'chainId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; defaultValue: null }, { name: 'user'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'filterBy'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'SwapStatusFilter'; ofType: null; }; }; }; defaultValue: null }, { name: 'pageSize'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'PageSize'; ofType: null; }; }; defaultValue: "FIFTY" }, { name: 'cursor'; type: { kind: 'SCALAR'; name: 'Cursor'; ofType: null; }; defaultValue: null }]; };
633
634
  'UserToken': { kind: 'INPUT_OBJECT'; name: 'UserToken'; isOneOf: false; inputFields: [{ name: 'user'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'token'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'Erc20Input'; ofType: null; }; }; defaultValue: null }]; };
@@ -78710,6 +78711,26 @@ declare const PositionSwapPositionManagerApprovalFragment: gql_tada.TadaDocument
78710
78711
  masked: false;
78711
78712
  }>;
78712
78713
  type PositionSwapPositionManagerApproval = FragmentOf<typeof PositionSwapPositionManagerApprovalFragment>;
78714
+ declare const PositionSwapSetCollateralApprovalFragment: gql_tada.TadaDocumentNode<{
78715
+ __typename: "PositionSwapSetCollateralApproval";
78716
+ bySignature: {
78717
+ __typename: "SwapTypedData";
78718
+ primaryType: string;
78719
+ types: type_fest.JsonObject;
78720
+ domain: {
78721
+ name: string;
78722
+ version: string;
78723
+ chainId: _aave_types.ChainId;
78724
+ verifyingContract: _aave_types.EvmAddress;
78725
+ };
78726
+ message: type_fest.JsonObject;
78727
+ };
78728
+ }, {}, {
78729
+ fragment: "PositionSwapSetCollateralApproval";
78730
+ on: "PositionSwapSetCollateralApproval";
78731
+ masked: false;
78732
+ }>;
78733
+ type PositionSwapSetCollateralApproval = FragmentOf<typeof PositionSwapSetCollateralApprovalFragment>;
78713
78734
  declare const PositionSwapApprovalFragment: gql_tada.TadaDocumentNode<{
78714
78735
  __typename: "PositionSwapAdapterContractApproval";
78715
78736
  bySignature: {
@@ -78747,6 +78768,20 @@ declare const PositionSwapApprovalFragment: gql_tada.TadaDocumentNode<{
78747
78768
  };
78748
78769
  message: type_fest.JsonObject;
78749
78770
  };
78771
+ } | {
78772
+ __typename: "PositionSwapSetCollateralApproval";
78773
+ bySignature: {
78774
+ __typename: "SwapTypedData";
78775
+ primaryType: string;
78776
+ types: type_fest.JsonObject;
78777
+ domain: {
78778
+ name: string;
78779
+ version: string;
78780
+ chainId: _aave_types.ChainId;
78781
+ verifyingContract: _aave_types.EvmAddress;
78782
+ };
78783
+ message: type_fest.JsonObject;
78784
+ };
78750
78785
  }, {}, {
78751
78786
  fragment: "PositionSwapApproval";
78752
78787
  on: "PositionSwapApproval";
@@ -79734,6 +79769,20 @@ declare const PositionSwapByIntentApprovalsRequiredFragment: gql_tada.TadaDocume
79734
79769
  };
79735
79770
  message: type_fest.JsonObject;
79736
79771
  };
79772
+ } | {
79773
+ __typename: "PositionSwapSetCollateralApproval";
79774
+ bySignature: {
79775
+ __typename: "SwapTypedData";
79776
+ primaryType: string;
79777
+ types: type_fest.JsonObject;
79778
+ domain: {
79779
+ name: string;
79780
+ version: string;
79781
+ chainId: _aave_types.ChainId;
79782
+ verifyingContract: _aave_types.EvmAddress;
79783
+ };
79784
+ message: type_fest.JsonObject;
79785
+ };
79737
79786
  })[];
79738
79787
  }, {}, {
79739
79788
  fragment: "PositionSwapByIntentApprovalsRequired";
@@ -80725,6 +80774,20 @@ declare const SupplySwapQuoteResultFragment: gql_tada.TadaDocumentNode<{
80725
80774
  };
80726
80775
  message: type_fest.JsonObject;
80727
80776
  };
80777
+ } | {
80778
+ __typename: "PositionSwapSetCollateralApproval";
80779
+ bySignature: {
80780
+ __typename: "SwapTypedData";
80781
+ primaryType: string;
80782
+ types: type_fest.JsonObject;
80783
+ domain: {
80784
+ name: string;
80785
+ version: string;
80786
+ chainId: _aave_types.ChainId;
80787
+ verifyingContract: _aave_types.EvmAddress;
80788
+ };
80789
+ message: type_fest.JsonObject;
80790
+ };
80728
80791
  })[];
80729
80792
  }, {}, {
80730
80793
  fragment: "SupplySwapQuoteResult";
@@ -81716,6 +81779,20 @@ declare const BorrowSwapQuoteResultFragment: gql_tada.TadaDocumentNode<{
81716
81779
  };
81717
81780
  message: type_fest.JsonObject;
81718
81781
  };
81782
+ } | {
81783
+ __typename: "PositionSwapSetCollateralApproval";
81784
+ bySignature: {
81785
+ __typename: "SwapTypedData";
81786
+ primaryType: string;
81787
+ types: type_fest.JsonObject;
81788
+ domain: {
81789
+ name: string;
81790
+ version: string;
81791
+ chainId: _aave_types.ChainId;
81792
+ verifyingContract: _aave_types.EvmAddress;
81793
+ };
81794
+ message: type_fest.JsonObject;
81795
+ };
81719
81796
  })[];
81720
81797
  }, {}, {
81721
81798
  fragment: "BorrowSwapQuoteResult";
@@ -82707,6 +82784,20 @@ declare const RepayWithSupplyQuoteResultFragment: gql_tada.TadaDocumentNode<{
82707
82784
  };
82708
82785
  message: type_fest.JsonObject;
82709
82786
  };
82787
+ } | {
82788
+ __typename: "PositionSwapSetCollateralApproval";
82789
+ bySignature: {
82790
+ __typename: "SwapTypedData";
82791
+ primaryType: string;
82792
+ types: type_fest.JsonObject;
82793
+ domain: {
82794
+ name: string;
82795
+ version: string;
82796
+ chainId: _aave_types.ChainId;
82797
+ verifyingContract: _aave_types.EvmAddress;
82798
+ };
82799
+ message: type_fest.JsonObject;
82800
+ };
82710
82801
  })[];
82711
82802
  }, {}, {
82712
82803
  fragment: "RepayWithSupplyQuoteResult";
@@ -83698,6 +83789,20 @@ declare const WithdrawSwapQuoteResultFragment: gql_tada.TadaDocumentNode<{
83698
83789
  };
83699
83790
  message: type_fest.JsonObject;
83700
83791
  };
83792
+ } | {
83793
+ __typename: "PositionSwapSetCollateralApproval";
83794
+ bySignature: {
83795
+ __typename: "SwapTypedData";
83796
+ primaryType: string;
83797
+ types: type_fest.JsonObject;
83798
+ domain: {
83799
+ name: string;
83800
+ version: string;
83801
+ chainId: _aave_types.ChainId;
83802
+ verifyingContract: _aave_types.EvmAddress;
83803
+ };
83804
+ message: type_fest.JsonObject;
83805
+ };
83701
83806
  })[];
83702
83807
  }, {}, {
83703
83808
  fragment: "WithdrawSwapQuoteResult";
@@ -85346,6 +85451,65 @@ declare const UserSupplyItemFragment: gql_tada.TadaDocumentNode<{
85346
85451
  value: _aave_types.BigDecimal;
85347
85452
  };
85348
85453
  };
85454
+ balance: {
85455
+ __typename: "Erc20Amount";
85456
+ token: {
85457
+ __typename: "Erc20Token";
85458
+ info: {
85459
+ __typename: "TokenInfo";
85460
+ id: TokenInfoId;
85461
+ name: string;
85462
+ symbol: string;
85463
+ icon: string;
85464
+ decimals: number;
85465
+ categories: TokenCategory[];
85466
+ };
85467
+ address: _aave_types.EvmAddress;
85468
+ chain: {
85469
+ __typename: "Chain";
85470
+ name: string;
85471
+ icon: string;
85472
+ chainId: _aave_types.ChainId;
85473
+ rpcUrl: string;
85474
+ explorerUrl: string;
85475
+ isTestnet: boolean;
85476
+ isFork: boolean;
85477
+ nativeWrappedToken: _aave_types.EvmAddress;
85478
+ nativeGateway: _aave_types.EvmAddress;
85479
+ signatureGateway: _aave_types.EvmAddress;
85480
+ nativeInfo: {
85481
+ __typename: "TokenInfo";
85482
+ id: TokenInfoId;
85483
+ name: string;
85484
+ symbol: string;
85485
+ icon: string;
85486
+ decimals: number;
85487
+ categories: TokenCategory[];
85488
+ };
85489
+ };
85490
+ isWrappedNativeToken: boolean;
85491
+ };
85492
+ amount: {
85493
+ __typename: "DecimalNumber";
85494
+ onChainValue: bigint;
85495
+ decimals: number;
85496
+ value: _aave_types.BigDecimal;
85497
+ };
85498
+ exchange: {
85499
+ __typename: "ExchangeAmount";
85500
+ value: _aave_types.BigDecimal;
85501
+ name: string;
85502
+ symbol: string;
85503
+ icon: string;
85504
+ decimals: number;
85505
+ };
85506
+ exchangeRate: {
85507
+ __typename: "DecimalNumber";
85508
+ onChainValue: bigint;
85509
+ decimals: number;
85510
+ value: _aave_types.BigDecimal;
85511
+ };
85512
+ };
85349
85513
  withdrawable: {
85350
85514
  __typename: "Erc20Amount";
85351
85515
  token: {
@@ -139836,6 +140000,20 @@ declare const SupplySwapQuoteQuery: gql_tada.TadaDocumentNode<{
139836
140000
  };
139837
140001
  message: type_fest.JsonObject;
139838
140002
  };
140003
+ } | {
140004
+ __typename: "PositionSwapSetCollateralApproval";
140005
+ bySignature: {
140006
+ __typename: "SwapTypedData";
140007
+ primaryType: string;
140008
+ types: type_fest.JsonObject;
140009
+ domain: {
140010
+ name: string;
140011
+ version: string;
140012
+ chainId: _aave_types.ChainId;
140013
+ verifyingContract: _aave_types.EvmAddress;
140014
+ };
140015
+ message: type_fest.JsonObject;
140016
+ };
139839
140017
  })[];
139840
140018
  };
139841
140019
  }, {
@@ -140860,6 +141038,20 @@ declare const BorrowSwapQuoteQuery: gql_tada.TadaDocumentNode<{
140860
141038
  };
140861
141039
  message: type_fest.JsonObject;
140862
141040
  };
141041
+ } | {
141042
+ __typename: "PositionSwapSetCollateralApproval";
141043
+ bySignature: {
141044
+ __typename: "SwapTypedData";
141045
+ primaryType: string;
141046
+ types: type_fest.JsonObject;
141047
+ domain: {
141048
+ name: string;
141049
+ version: string;
141050
+ chainId: _aave_types.ChainId;
141051
+ verifyingContract: _aave_types.EvmAddress;
141052
+ };
141053
+ message: type_fest.JsonObject;
141054
+ };
140863
141055
  })[];
140864
141056
  };
140865
141057
  }, {
@@ -141882,6 +142074,20 @@ declare const RepayWithSupplyQuoteQuery: gql_tada.TadaDocumentNode<{
141882
142074
  };
141883
142075
  message: type_fest.JsonObject;
141884
142076
  };
142077
+ } | {
142078
+ __typename: "PositionSwapSetCollateralApproval";
142079
+ bySignature: {
142080
+ __typename: "SwapTypedData";
142081
+ primaryType: string;
142082
+ types: type_fest.JsonObject;
142083
+ domain: {
142084
+ name: string;
142085
+ version: string;
142086
+ chainId: _aave_types.ChainId;
142087
+ verifyingContract: _aave_types.EvmAddress;
142088
+ };
142089
+ message: type_fest.JsonObject;
142090
+ };
141885
142091
  })[];
141886
142092
  };
141887
142093
  }, {
@@ -142905,6 +143111,20 @@ declare const WithdrawSwapQuoteQuery: gql_tada.TadaDocumentNode<{
142905
143111
  };
142906
143112
  message: type_fest.JsonObject;
142907
143113
  };
143114
+ } | {
143115
+ __typename: "PositionSwapSetCollateralApproval";
143116
+ bySignature: {
143117
+ __typename: "SwapTypedData";
143118
+ primaryType: string;
143119
+ types: type_fest.JsonObject;
143120
+ domain: {
143121
+ name: string;
143122
+ version: string;
143123
+ chainId: _aave_types.ChainId;
143124
+ verifyingContract: _aave_types.EvmAddress;
143125
+ };
143126
+ message: type_fest.JsonObject;
143127
+ };
142908
143128
  })[];
142909
143129
  };
142910
143130
  }, {
@@ -142983,6 +143203,7 @@ declare const PreparePositionSwapQuery: gql_tada.TadaDocumentNode<{
142983
143203
  };
142984
143204
  }, {
142985
143205
  request: {
143206
+ setCollateralSignature?: _aave_types.Signature | null | undefined;
142986
143207
  positionManagerSignature?: _aave_types.Signature | null | undefined;
142987
143208
  adapterContractSignature?: _aave_types.Signature | null | undefined;
142988
143209
  quoteId: SwapQuoteId;
@@ -206204,6 +206425,65 @@ declare const UserSuppliesQuery: gql_tada.TadaDocumentNode<{
206204
206425
  value: _aave_types.BigDecimal;
206205
206426
  };
206206
206427
  };
206428
+ balance: {
206429
+ __typename: "Erc20Amount";
206430
+ token: {
206431
+ __typename: "Erc20Token";
206432
+ info: {
206433
+ __typename: "TokenInfo";
206434
+ id: TokenInfoId;
206435
+ name: string;
206436
+ symbol: string;
206437
+ icon: string;
206438
+ decimals: number;
206439
+ categories: TokenCategory[];
206440
+ };
206441
+ address: _aave_types.EvmAddress;
206442
+ chain: {
206443
+ __typename: "Chain";
206444
+ name: string;
206445
+ icon: string;
206446
+ chainId: _aave_types.ChainId;
206447
+ rpcUrl: string;
206448
+ explorerUrl: string;
206449
+ isTestnet: boolean;
206450
+ isFork: boolean;
206451
+ nativeWrappedToken: _aave_types.EvmAddress;
206452
+ nativeGateway: _aave_types.EvmAddress;
206453
+ signatureGateway: _aave_types.EvmAddress;
206454
+ nativeInfo: {
206455
+ __typename: "TokenInfo";
206456
+ id: TokenInfoId;
206457
+ name: string;
206458
+ symbol: string;
206459
+ icon: string;
206460
+ decimals: number;
206461
+ categories: TokenCategory[];
206462
+ };
206463
+ };
206464
+ isWrappedNativeToken: boolean;
206465
+ };
206466
+ amount: {
206467
+ __typename: "DecimalNumber";
206468
+ onChainValue: bigint;
206469
+ decimals: number;
206470
+ value: _aave_types.BigDecimal;
206471
+ };
206472
+ exchange: {
206473
+ __typename: "ExchangeAmount";
206474
+ value: _aave_types.BigDecimal;
206475
+ name: string;
206476
+ symbol: string;
206477
+ icon: string;
206478
+ decimals: number;
206479
+ };
206480
+ exchangeRate: {
206481
+ __typename: "DecimalNumber";
206482
+ onChainValue: bigint;
206483
+ decimals: number;
206484
+ value: _aave_types.BigDecimal;
206485
+ };
206486
+ };
206207
206487
  withdrawable: {
206208
206488
  __typename: "Erc20Amount";
206209
206489
  token: {
@@ -209973,4 +210253,4 @@ type StableVaultWithdrawRedeemInput = ReturnType<typeof graphql.scalar<'StableVa
209973
210253
  type StableVaultsRequestInput = ReturnType<typeof graphql.scalar<'StableVaultsRequest'>>;
209974
210254
  type SurplusClaim = ReturnType<typeof graphql.scalar<'SurplusClaim'>>;
209975
210255
 
209976
- export { ActivitiesQuery, type ActivitiesRequest, type ActivitiesRequestQuery, type ActivityItem, ActivityItemFragment, ActivityType, type AmountInput, ApyMetric, type ApySample, ApySampleFragment, type Asset, type AssetAmountWithChange, AssetAmountWithChangeFragment, 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 AssetSampleBreakdown, AssetSampleBreakdownFragment, type AssetSummary, AssetSummaryFragment, AssetSupplyHistoryQuery, type AssetSupplyHistoryRequest, type AssetSupplyHistoryRequestQuery, type AssetSupplySample, AssetSupplySampleFragment, type Base64EncodedCompositeId, type BoostedRate, BoostedRateFragment, type BoostedRateId, type BorrowActivity, BorrowActivityFragment, BorrowApyHistoryQuery, type BorrowApyHistoryRequest, type BorrowPoints, BorrowPointsFragment, BorrowQuery, type BorrowRequest, type BorrowSwap, type BorrowSwapActivity, BorrowSwapActivityFragment, BorrowSwapFragment, BorrowSwapKind, BorrowSwapQuoteQuery, type BorrowSwapQuoteRequest, type BorrowSwapQuoteResult, BorrowSwapQuoteResultFragment, type CancelIntentSwapInput, type CancelSwapExecutionPlan, CancelSwapExecutionPlanFragment, CancelSwapMutation, type CancelSwapRequest, type Chain, ChainFragment, ChainQuery, type ChainRequest, type ChainTokenCategories, type ChainTokenInput, ChainsFilter, ChainsQuery, type ChainsRequest, type ChainsRequestQuery, ClaimRewardsQuery, type ClaimRewardsRequest, type CollateralFactorVariation, CollateralFactorVariationFragment, CollateralMetric, Currency, type DecimalNumber, DecimalNumberFragment, type DecimalNumberWithChange, DecimalNumberWithChangeFragment, type DomainData, DomainDataFragment, type ERC20PermitSignature, type Erc20Amount, Erc20AmountFragment, type Erc20Approval, Erc20ApprovalFragment, type Erc20ApprovalRequired, Erc20ApprovalRequiredFragment, type Erc20Input, type Erc20Token, Erc20TokenFragment, type ExchangeAmount, ExchangeAmountFragment, type ExchangeAmountVariation, ExchangeAmountVariationFragment, type ExchangeAmountWithChange, ExchangeAmountWithChangeFragment, ExchangeRateQuery, type ExchangeRateRequest, type ExchangeRateRequestFrom, type ExecutionPlan, ExecutionPlanFragment, type ExtendWithOpaqueVariant, type FragmentDocumentFor, type FromQuoteDebtSwapQuoteInput, type FromQuoteRepayWithSupplyQuoteInput, type FromQuoteSupplySwapQuoteInput, type FromQuoteWithdrawSwapQuoteInput, HasProcessedKnownTransactionQuery, type HasProcessedKnownTransactionRequest, type HealthFactorError, HealthFactorErrorFragment, type HealthFactorResult, HealthFactorResultFragment, type HealthFactorVariation, HealthFactorVariationFragment, type HealthFactorWithChange, HealthFactorWithChangeFragment, HealthQuery, type Hub, type HubAsset, HubAssetFragment, type HubAssetId, type HubAssetInterestRateModelPoint, HubAssetInterestRateModelPointFragment, HubAssetInterestRateModelQuery, type HubAssetInterestRateModelRequest, type HubAssetInterestRateModelRequestQuery, type HubAssetSettings, HubAssetSettingsFragment, type HubAssetSummary, HubAssetSummaryFragment, type HubAssetUserState, HubAssetUserStateFragment, HubAssetsQuery, type HubAssetsRequest, type HubAssetsRequestOrderBy, type HubAssetsRequestQuery, HubFragment, type HubId, type HubIdParts, type HubIdTokenInput, type HubInput, HubQuery, type HubRequest, type HubRequestQuery, type HubSummary, HubSummaryFragment, HubSummaryHistoryQuery, type HubSummaryHistoryRequest, type HubSummaryHistoryRequestQuery, type HubSummarySample, HubSummarySampleFragment, type HubTokenInput, HubsQuery, type HubsRequest, type HubsRequestOrderBy, type HubsRequestQuery, type ID, type InsufficientBalanceError, InsufficientBalanceErrorFragment, type InsufficientLiquidityError, InsufficientLiquidityErrorFragment, type LimitDebtSwapQuoteInput, type LimitOrderTokenSwapQuoteInput, type LimitRepayWithSupplyQuoteInput, type LimitSupplySwapQuoteInput, type LimitWithdrawSwapQuoteInput, type LiquidateExactAmountWithPermit, type LiquidatePositionDebtAmount, type LiquidatePositionExecutionPlan, LiquidatePositionExecutionPlanFragment, LiquidatePositionQuery, type LiquidatePositionRequest, type LiquidatedActivity, LiquidatedActivityFragment, type LiquidationFeeVariation, LiquidationFeeVariationFragment, type MarketDebtSwapQuoteInput, type MarketOrderTokenSwapFromQuoteInput, type MarketOrderTokenSwapQuoteInput, type MarketRepayWithSupplyQuoteInput, type MarketSupplySwapQuoteInput, type MarketWithdrawSwapQuoteInput, type MaxLiquidationBonusVariation, MaxLiquidationBonusVariationFragment, type MerklBorrowReward, MerklBorrowRewardFragment, type MerklCriteria, MerklCriteriaFragment, type MerklGenericCriteria, MerklGenericCriteriaFragment, type MerklSupplyReward, MerklSupplyRewardFragment, type NativeAmount, NativeAmountFragment, type NativeToken, NativeTokenFragment, type OnChainHubAssetId, type OnChainReserveId, type OpaqueEnumVariant, OperationType, OrderDirection, PageSize, type PaginatedActivitiesResult, PaginatedActivitiesResultFragment, type PaginatedResultInfo, PaginatedResultInfoFragment, type PaginatedSpokePositionManagerResult, PaginatedSpokePositionManagerResultFragment, type PaginatedSpokeUserPositionManagerResult, PaginatedSpokeUserPositionManagerResultFragment, type PaginatedStableVaultMovementsResult, PaginatedStableVaultMovementsResultFragment, type PaginatedStableVaultRateUsersResult, PaginatedStableVaultRateUsersResultFragment, type PaginatedUserSwapsResult, PaginatedUserSwapsResultFragment, type PercentNumber, type PercentNumberChangeSnapshot, PercentNumberChangeSnapshotFragment, PercentNumberFragment, type PercentNumberVariation, PercentNumberVariationFragment, type PercentNumberWithChange, PercentNumberWithChangeFragment, type PermitTypedData, PermitTypedDataFragment, type PointsCriteria, PointsCriteriaFragment, type PointsGenericCriteria, PointsGenericCriteriaFragment, type PointsProgram, PointsProgramFragment, type PositionAmount, PositionAmountFragment, type PositionSwapAdapterContractApproval, PositionSwapAdapterContractApprovalFragment, type PositionSwapApproval, PositionSwapApprovalFragment, type PositionSwapByIntentApprovalsRequired, PositionSwapByIntentApprovalsRequiredFragment, type PositionSwapPositionManagerApproval, PositionSwapPositionManagerApprovalFragment, type PreContractActionRequired, PreContractActionRequiredFragment, PreparePositionSwapQuery, type PreparePositionSwapRequest, type PreparePositionSwapResult, PreparePositionSwapResultFragment, PrepareSwapCancelQuery, type PrepareSwapCancelRequest, type PrepareSwapCancelResult, PrepareSwapCancelResultFragment, type PrepareSwapOrder, PrepareSwapOrderFragment, PrepareTokenSwapQuery, type PrepareTokenSwapRequest, type PrepareTokenSwapResult, PrepareTokenSwapResultFragment, type PreviewAction, type PreviewBorrowPoints, PreviewBorrowPointsFragment, type PreviewMerklBorrowReward, PreviewMerklBorrowRewardFragment, type PreviewMerklSupplyReward, PreviewMerklSupplyRewardFragment, PreviewQuery, type PreviewRequest, type PreviewReward, PreviewRewardFragment, type PreviewRewardOutcome, PreviewRewardOutcomeFragment, type PreviewSupplyPoints, PreviewSupplyPointsFragment, type PreviewUserPosition, PreviewUserPositionFragment, ProtocolHistoryQuery, type ProtocolHistoryRequest, type ProtocolHistorySample, ProtocolHistorySampleFragment, QuoteAccuracy, RenounceSpokeUserPositionManagerQuery, type RenounceSpokeUserPositionManagerRequest, type RepayActivity, RepayActivityFragment, type RepayAmountInputWithPermit, type RepayErc20AmountInputWithPermit, RepayQuery, type RepayRequest, type RepaySignedPermitInput, type RepayWithSupply, type RepayWithSupplyActivity, RepayWithSupplyActivityFragment, RepayWithSupplyFragment, RepayWithSupplyKind, RepayWithSupplyQuoteQuery, type RepayWithSupplyQuoteRequest, type RepayWithSupplyQuoteResult, RepayWithSupplyQuoteResultFragment, 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, type Reward, RewardFragment, type RewardId, SetSpokeUserPositionManagerQuery, type SetSpokeUserPositionManagerRequest, SetUserSuppliesAsCollateralQuery, type SetUserSuppliesAsCollateralRequest, 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 StableVault, type StableVaultAmountInput, type StableVaultAssignRateInput, StableVaultAssignRateQuery, type StableVaultAssignRateRequest, StableVaultClaimStatus, type StableVaultClaimStatusInput, StableVaultClaimStatusQuery, type StableVaultClaimStatusRequest, type StableVaultClaimSurplusInput, StableVaultClaimSurplusQuery, type StableVaultClaimSurplusRequest, type StableVaultDepositExecutionPlan, StableVaultDepositExecutionPlanFragment, type StableVaultDepositInput, StableVaultDepositQuery, type StableVaultDepositRequest, StableVaultFragment, type StableVaultId, type StableVaultInput, type StableVaultMovementsInput, StableVaultMovementsQuery, type StableVaultMovementsRequest, type StableVaultPendingAvailability, StableVaultPendingAvailabilityFragment, StableVaultQuery, type StableVaultRateUsersInput, StableVaultRateUsersQuery, type StableVaultRateUsersRequest, type StableVaultRates, StableVaultRatesFragment, type StableVaultRequest, type StableVaultRequestInput, type StableVaultSummary, StableVaultSummaryFragment, type StableVaultUnassignRateInput, StableVaultUnassignRateQuery, type StableVaultUnassignRateRequest, type StableVaultUserPosition, StableVaultUserPositionFragment, type StableVaultUserPositionId, type StableVaultUserPositionsInput, StableVaultUserPositionsQuery, type StableVaultUserPositionsRequest, type StableVaultUserPositionsRequestFilter, type StableVaultWithdrawClaim, StableVaultWithdrawClaimFragment, type StableVaultWithdrawClaimId, type StableVaultWithdrawExecutionPlan, StableVaultWithdrawExecutionPlanFragment, type StableVaultWithdrawInput, StableVaultWithdrawQuery, type StableVaultWithdrawRedeemExecutionPlan, StableVaultWithdrawRedeemExecutionPlanFragment, type StableVaultWithdrawRedeemInput, StableVaultWithdrawRedeemMutation, type StableVaultWithdrawRedeemRequest, type StableVaultWithdrawRequest, StableVaultsQuery, type StableVaultsRequest, type StableVaultsRequestInput, type SupplyActivity, SupplyActivityFragment, SupplyApyHistoryQuery, type SupplyApyHistoryRequest, type SupplyPoints, SupplyPointsFragment, SupplyQuery, type SupplyRequest, type SupplySwap, type SupplySwapActivity, SupplySwapActivityFragment, SupplySwapFragment, SupplySwapKind, SupplySwapQuoteQuery, type SupplySwapQuoteRequest, type SupplySwapQuoteResult, SupplySwapQuoteResultFragment, type SurplusClaim, SwapActivityStatus, type SwapByIntent, SwapByIntentFragment, type SwapByIntentInput, type SwapByIntentWithApprovalRequired, SwapByIntentWithApprovalRequiredFragment, type SwapByTransaction, SwapByTransactionFragment, type SwapByTransactionWithApprovalRequired, SwapByTransactionWithApprovalRequiredFragment, type SwapCancelled, SwapCancelledFragment, type SwapCancelledResult, SwapCancelledResultFragment, type SwapErc20Input, type SwapExecutionPlan, SwapExecutionPlanFragment, type SwapExpired, SwapExpiredFragment, type SwapFulfilled, SwapFulfilledFragment, type SwapId, SwapMutation, type SwapOpen, SwapOpenFragment, type SwapOperation, SwapOperationFragment, SwapOrderClass, type SwapPendingSignature, SwapPendingSignatureFragment, type SwapQuote, type SwapQuoteCosts, SwapQuoteCostsFragment, SwapQuoteFragment, type SwapQuoteId, type SwapReceipt, SwapReceiptFragment, type SwapRequest, type SwapStatus, SwapStatusFilter, SwapStatusFragment, SwapStatusQuery, type SwapStatusRequest, type SwapTokenInput, type SwapTransactionRequest, SwapTransactionRequestFragment, type SwapTypedData, SwapTypedDataFragment, type SwapWithTransactionInput, type SwappableTokenInput, SwappableTokensQuery, type SwappableTokensRequest, type SwappableTokensRequestQuery, TimeWindow, type Token, type TokenAmount, TokenAmountFragment, TokenCategory, TokenFragment, type TokenInfo, TokenInfoFragment, type TokenInfoId, type TokenInput, type TokenMovement, type TokenMovementAllocate, TokenMovementAllocateFragment, type TokenMovementBridgeIn, TokenMovementBridgeInFragment, type TokenMovementBridgeOut, TokenMovementBridgeOutFragment, type TokenMovementDeallocate, TokenMovementDeallocateFragment, TokenMovementFragment, type TokenMovementId, type TokenMovementRebalance, TokenMovementRebalanceFragment, type TokenMovementRecord, TokenMovementRecordFragment, TokenMovementStatus, type TokenMovementSwap, TokenMovementSwapFragment, type TokenSwap, type TokenSwapActivity, TokenSwapActivityFragment, TokenSwapFragment, TokenSwapKind, TokenSwapQuoteQuery, type TokenSwapQuoteRequest, type TokenSwapQuoteResult, TokenSwapQuoteResultFragment, type TransactionRequest, TransactionRequestFragment, type TxHashInput, UpdateUserPositionConditionsQuery, type UpdateUserPositionConditionsRequest, type UpdatedDynamicConfigActivity, UpdatedDynamicConfigActivityFragment, type UpdatedRiskPremiumActivity, UpdatedRiskPremiumActivityFragment, type UserBalance, UserBalanceFragment, type UserBalanceId, type UserBalancesByChains, type UserBalancesByHub, type UserBalancesByHubId, type UserBalancesBySpoke, type UserBalancesByTokens, type UserBalancesByUserPosition, UserBalancesQuery, type UserBalancesRequest, type UserBalancesRequestFilter, type UserBalancesRequestOrderBy, type UserBorrowItem, UserBorrowItemFragment, type UserBorrowItemId, UserBorrowsQuery, type UserBorrowsRequest, type UserBorrowsRequestOrderBy, type UserBorrowsRequestQuery, type UserChains, type UserClaimableReward, UserClaimableRewardFragment, UserClaimableRewardsQuery, type UserClaimableRewardsRequest, type UserHub, type UserHubInput, type UserMerklClaimableReward, UserMerklClaimableRewardFragment, type UserPosition, type UserPositionConditionVariation, UserPositionConditionVariationFragment, UserPositionConditionsUpdate, UserPositionFragment, type UserPositionId, type UserPositionIdParts, UserPositionQuery, type UserPositionRequest, type UserPositionRiskPremium, UserPositionRiskPremiumFragment, UserPositionsQuery, type UserPositionsRequest, type UserPositionsRequestFilter, type UserPositionsRequestOrderBy, type UserRiskPremiumBreakdownItem, UserRiskPremiumBreakdownItemFragment, UserRiskPremiumBreakdownQuery, type UserRiskPremiumBreakdownRequest, type UserRiskPremiumBreakdownRequestQuery, type UserSpokeInput, type UserSummary, type UserSummaryFilter, UserSummaryFragment, type UserSummaryHistoryItem, UserSummaryHistoryItemFragment, UserSummaryHistoryQuery, type UserSummaryHistoryRequest, UserSummaryQuery, type UserSummaryRequest, UserSuppliesQuery, type UserSuppliesRequest, type UserSuppliesRequestOrderBy, type UserSuppliesRequestQuery, type UserSupplyAsCollateral, type UserSupplyItem, UserSupplyItemFragment, type UserSupplyItemId, UserSwapsQuery, type UserSwapsRequest, type UserToken, type UsingAsCollateralActivity, UsingAsCollateralActivityFragment, type WithdrawActivity, WithdrawActivityFragment, WithdrawQuery, type WithdrawRequest, type WithdrawReserveAmountInput, type WithdrawSwap, type WithdrawSwapActivity, WithdrawSwapActivityFragment, WithdrawSwapFragment, WithdrawSwapKind, WithdrawSwapQuoteQuery, type WithdrawSwapQuoteRequest, type WithdrawSwapQuoteResult, WithdrawSwapQuoteResultFragment, assetId, boostedRateId, decodeHubId, decodeReserveId, decodeSpokeId, decodeUserPositionId, encodeHubId, encodeReserveId, encodeSpokeId, encodeUserPositionId, graphql, hubAssetId, hubId, isChainIdsVariant, isERC20PermitSignature, isHubInputVariant, isReserveInputVariant, isSpokeInputVariant, isTokensVariant, isTxHashInputVariant, reserveId, spokeId, stableVaultId, stableVaultUserPositionId, stableVaultWithdrawClaimId, swapId, swapQuoteId, tokenInfoId, tokenMovementId, userBalanceId, userBorrowItemId, userPositionId, userSupplyItemId };
210256
+ export { ActivitiesQuery, type ActivitiesRequest, type ActivitiesRequestQuery, type ActivityItem, ActivityItemFragment, ActivityType, type AmountInput, ApyMetric, type ApySample, ApySampleFragment, type Asset, type AssetAmountWithChange, AssetAmountWithChangeFragment, 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 AssetSampleBreakdown, AssetSampleBreakdownFragment, type AssetSummary, AssetSummaryFragment, AssetSupplyHistoryQuery, type AssetSupplyHistoryRequest, type AssetSupplyHistoryRequestQuery, type AssetSupplySample, AssetSupplySampleFragment, type Base64EncodedCompositeId, type BoostedRate, BoostedRateFragment, type BoostedRateId, type BorrowActivity, BorrowActivityFragment, BorrowApyHistoryQuery, type BorrowApyHistoryRequest, type BorrowPoints, BorrowPointsFragment, BorrowQuery, type BorrowRequest, type BorrowSwap, type BorrowSwapActivity, BorrowSwapActivityFragment, BorrowSwapFragment, BorrowSwapKind, BorrowSwapQuoteQuery, type BorrowSwapQuoteRequest, type BorrowSwapQuoteResult, BorrowSwapQuoteResultFragment, type CancelIntentSwapInput, type CancelSwapExecutionPlan, CancelSwapExecutionPlanFragment, CancelSwapMutation, type CancelSwapRequest, type Chain, ChainFragment, ChainQuery, type ChainRequest, type ChainTokenCategories, type ChainTokenInput, ChainsFilter, ChainsQuery, type ChainsRequest, type ChainsRequestQuery, ClaimRewardsQuery, type ClaimRewardsRequest, type CollateralFactorVariation, CollateralFactorVariationFragment, CollateralMetric, Currency, type DecimalNumber, DecimalNumberFragment, type DecimalNumberWithChange, DecimalNumberWithChangeFragment, type DomainData, DomainDataFragment, type ERC20PermitSignature, type Erc20Amount, Erc20AmountFragment, type Erc20Approval, Erc20ApprovalFragment, type Erc20ApprovalRequired, Erc20ApprovalRequiredFragment, type Erc20Input, type Erc20Token, Erc20TokenFragment, type ExchangeAmount, ExchangeAmountFragment, type ExchangeAmountVariation, ExchangeAmountVariationFragment, type ExchangeAmountWithChange, ExchangeAmountWithChangeFragment, ExchangeRateQuery, type ExchangeRateRequest, type ExchangeRateRequestFrom, type ExecutionPlan, ExecutionPlanFragment, type ExtendWithOpaqueVariant, type FragmentDocumentFor, type FromQuoteDebtSwapQuoteInput, type FromQuoteRepayWithSupplyQuoteInput, type FromQuoteSupplySwapQuoteInput, type FromQuoteWithdrawSwapQuoteInput, HasProcessedKnownTransactionQuery, type HasProcessedKnownTransactionRequest, type HealthFactorError, HealthFactorErrorFragment, type HealthFactorResult, HealthFactorResultFragment, type HealthFactorVariation, HealthFactorVariationFragment, type HealthFactorWithChange, HealthFactorWithChangeFragment, HealthQuery, type Hub, type HubAsset, HubAssetFragment, type HubAssetId, type HubAssetInterestRateModelPoint, HubAssetInterestRateModelPointFragment, HubAssetInterestRateModelQuery, type HubAssetInterestRateModelRequest, type HubAssetInterestRateModelRequestQuery, type HubAssetSettings, HubAssetSettingsFragment, type HubAssetSummary, HubAssetSummaryFragment, type HubAssetUserState, HubAssetUserStateFragment, HubAssetsQuery, type HubAssetsRequest, type HubAssetsRequestOrderBy, type HubAssetsRequestQuery, HubFragment, type HubId, type HubIdParts, type HubIdTokenInput, type HubInput, HubQuery, type HubRequest, type HubRequestQuery, type HubSummary, HubSummaryFragment, HubSummaryHistoryQuery, type HubSummaryHistoryRequest, type HubSummaryHistoryRequestQuery, type HubSummarySample, HubSummarySampleFragment, type HubTokenInput, HubsQuery, type HubsRequest, type HubsRequestOrderBy, type HubsRequestQuery, type ID, type InsufficientBalanceError, InsufficientBalanceErrorFragment, type InsufficientLiquidityError, InsufficientLiquidityErrorFragment, type LimitDebtSwapQuoteInput, type LimitOrderTokenSwapQuoteInput, type LimitRepayWithSupplyQuoteInput, type LimitSupplySwapQuoteInput, type LimitWithdrawSwapQuoteInput, type LiquidateExactAmountWithPermit, type LiquidatePositionDebtAmount, type LiquidatePositionExecutionPlan, LiquidatePositionExecutionPlanFragment, LiquidatePositionQuery, type LiquidatePositionRequest, type LiquidatedActivity, LiquidatedActivityFragment, type LiquidationFeeVariation, LiquidationFeeVariationFragment, type MarketDebtSwapQuoteInput, type MarketOrderTokenSwapFromQuoteInput, type MarketOrderTokenSwapQuoteInput, type MarketRepayWithSupplyQuoteInput, type MarketSupplySwapQuoteInput, type MarketWithdrawSwapQuoteInput, type MaxLiquidationBonusVariation, MaxLiquidationBonusVariationFragment, type MerklBorrowReward, MerklBorrowRewardFragment, type MerklCriteria, MerklCriteriaFragment, type MerklGenericCriteria, MerklGenericCriteriaFragment, type MerklSupplyReward, MerklSupplyRewardFragment, type NativeAmount, NativeAmountFragment, type NativeToken, NativeTokenFragment, type OnChainHubAssetId, type OnChainReserveId, type OpaqueEnumVariant, OperationType, OrderDirection, PageSize, type PaginatedActivitiesResult, PaginatedActivitiesResultFragment, type PaginatedResultInfo, PaginatedResultInfoFragment, type PaginatedSpokePositionManagerResult, PaginatedSpokePositionManagerResultFragment, type PaginatedSpokeUserPositionManagerResult, PaginatedSpokeUserPositionManagerResultFragment, type PaginatedStableVaultMovementsResult, PaginatedStableVaultMovementsResultFragment, type PaginatedStableVaultRateUsersResult, PaginatedStableVaultRateUsersResultFragment, type PaginatedUserSwapsResult, PaginatedUserSwapsResultFragment, type PercentNumber, type PercentNumberChangeSnapshot, PercentNumberChangeSnapshotFragment, PercentNumberFragment, type PercentNumberVariation, PercentNumberVariationFragment, type PercentNumberWithChange, PercentNumberWithChangeFragment, type PermitTypedData, PermitTypedDataFragment, type PointsCriteria, PointsCriteriaFragment, type PointsGenericCriteria, PointsGenericCriteriaFragment, type PointsProgram, PointsProgramFragment, type PositionAmount, PositionAmountFragment, type PositionSwapAdapterContractApproval, PositionSwapAdapterContractApprovalFragment, type PositionSwapApproval, PositionSwapApprovalFragment, type PositionSwapByIntentApprovalsRequired, PositionSwapByIntentApprovalsRequiredFragment, type PositionSwapPositionManagerApproval, PositionSwapPositionManagerApprovalFragment, type PositionSwapSetCollateralApproval, PositionSwapSetCollateralApprovalFragment, type PreContractActionRequired, PreContractActionRequiredFragment, PreparePositionSwapQuery, type PreparePositionSwapRequest, type PreparePositionSwapResult, PreparePositionSwapResultFragment, PrepareSwapCancelQuery, type PrepareSwapCancelRequest, type PrepareSwapCancelResult, PrepareSwapCancelResultFragment, type PrepareSwapOrder, PrepareSwapOrderFragment, PrepareTokenSwapQuery, type PrepareTokenSwapRequest, type PrepareTokenSwapResult, PrepareTokenSwapResultFragment, type PreviewAction, type PreviewBorrowPoints, PreviewBorrowPointsFragment, type PreviewMerklBorrowReward, PreviewMerklBorrowRewardFragment, type PreviewMerklSupplyReward, PreviewMerklSupplyRewardFragment, PreviewQuery, type PreviewRequest, type PreviewReward, PreviewRewardFragment, type PreviewRewardOutcome, PreviewRewardOutcomeFragment, type PreviewSupplyPoints, PreviewSupplyPointsFragment, type PreviewUserPosition, PreviewUserPositionFragment, ProtocolHistoryQuery, type ProtocolHistoryRequest, type ProtocolHistorySample, ProtocolHistorySampleFragment, QuoteAccuracy, RenounceSpokeUserPositionManagerQuery, type RenounceSpokeUserPositionManagerRequest, type RepayActivity, RepayActivityFragment, type RepayAmountInputWithPermit, type RepayErc20AmountInputWithPermit, RepayQuery, type RepayRequest, type RepaySignedPermitInput, type RepayWithSupply, type RepayWithSupplyActivity, RepayWithSupplyActivityFragment, RepayWithSupplyFragment, RepayWithSupplyKind, RepayWithSupplyQuoteQuery, type RepayWithSupplyQuoteRequest, type RepayWithSupplyQuoteResult, RepayWithSupplyQuoteResultFragment, 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, type Reward, RewardFragment, type RewardId, SetSpokeUserPositionManagerQuery, type SetSpokeUserPositionManagerRequest, SetUserSuppliesAsCollateralQuery, type SetUserSuppliesAsCollateralRequest, 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 StableVault, type StableVaultAmountInput, type StableVaultAssignRateInput, StableVaultAssignRateQuery, type StableVaultAssignRateRequest, StableVaultClaimStatus, type StableVaultClaimStatusInput, StableVaultClaimStatusQuery, type StableVaultClaimStatusRequest, type StableVaultClaimSurplusInput, StableVaultClaimSurplusQuery, type StableVaultClaimSurplusRequest, type StableVaultDepositExecutionPlan, StableVaultDepositExecutionPlanFragment, type StableVaultDepositInput, StableVaultDepositQuery, type StableVaultDepositRequest, StableVaultFragment, type StableVaultId, type StableVaultInput, type StableVaultMovementsInput, StableVaultMovementsQuery, type StableVaultMovementsRequest, type StableVaultPendingAvailability, StableVaultPendingAvailabilityFragment, StableVaultQuery, type StableVaultRateUsersInput, StableVaultRateUsersQuery, type StableVaultRateUsersRequest, type StableVaultRates, StableVaultRatesFragment, type StableVaultRequest, type StableVaultRequestInput, type StableVaultSummary, StableVaultSummaryFragment, type StableVaultUnassignRateInput, StableVaultUnassignRateQuery, type StableVaultUnassignRateRequest, type StableVaultUserPosition, StableVaultUserPositionFragment, type StableVaultUserPositionId, type StableVaultUserPositionsInput, StableVaultUserPositionsQuery, type StableVaultUserPositionsRequest, type StableVaultUserPositionsRequestFilter, type StableVaultWithdrawClaim, StableVaultWithdrawClaimFragment, type StableVaultWithdrawClaimId, type StableVaultWithdrawExecutionPlan, StableVaultWithdrawExecutionPlanFragment, type StableVaultWithdrawInput, StableVaultWithdrawQuery, type StableVaultWithdrawRedeemExecutionPlan, StableVaultWithdrawRedeemExecutionPlanFragment, type StableVaultWithdrawRedeemInput, StableVaultWithdrawRedeemMutation, type StableVaultWithdrawRedeemRequest, type StableVaultWithdrawRequest, StableVaultsQuery, type StableVaultsRequest, type StableVaultsRequestInput, type SupplyActivity, SupplyActivityFragment, SupplyApyHistoryQuery, type SupplyApyHistoryRequest, type SupplyPoints, SupplyPointsFragment, SupplyQuery, type SupplyRequest, type SupplySwap, type SupplySwapActivity, SupplySwapActivityFragment, SupplySwapFragment, SupplySwapKind, SupplySwapQuoteQuery, type SupplySwapQuoteRequest, type SupplySwapQuoteResult, SupplySwapQuoteResultFragment, type SurplusClaim, SwapActivityStatus, type SwapByIntent, SwapByIntentFragment, type SwapByIntentInput, type SwapByIntentWithApprovalRequired, SwapByIntentWithApprovalRequiredFragment, type SwapByTransaction, SwapByTransactionFragment, type SwapByTransactionWithApprovalRequired, SwapByTransactionWithApprovalRequiredFragment, type SwapCancelled, SwapCancelledFragment, type SwapCancelledResult, SwapCancelledResultFragment, type SwapErc20Input, type SwapExecutionPlan, SwapExecutionPlanFragment, type SwapExpired, SwapExpiredFragment, type SwapFulfilled, SwapFulfilledFragment, type SwapId, SwapMutation, type SwapOpen, SwapOpenFragment, type SwapOperation, SwapOperationFragment, SwapOrderClass, type SwapPendingSignature, SwapPendingSignatureFragment, type SwapQuote, type SwapQuoteCosts, SwapQuoteCostsFragment, SwapQuoteFragment, type SwapQuoteId, type SwapReceipt, SwapReceiptFragment, type SwapRequest, type SwapStatus, SwapStatusFilter, SwapStatusFragment, SwapStatusQuery, type SwapStatusRequest, type SwapTokenInput, type SwapTransactionRequest, SwapTransactionRequestFragment, type SwapTypedData, SwapTypedDataFragment, type SwapWithTransactionInput, type SwappableTokenInput, SwappableTokensQuery, type SwappableTokensRequest, type SwappableTokensRequestQuery, TimeWindow, type Token, type TokenAmount, TokenAmountFragment, TokenCategory, TokenFragment, type TokenInfo, TokenInfoFragment, type TokenInfoId, type TokenInput, type TokenMovement, type TokenMovementAllocate, TokenMovementAllocateFragment, type TokenMovementBridgeIn, TokenMovementBridgeInFragment, type TokenMovementBridgeOut, TokenMovementBridgeOutFragment, type TokenMovementDeallocate, TokenMovementDeallocateFragment, TokenMovementFragment, type TokenMovementId, type TokenMovementRebalance, TokenMovementRebalanceFragment, type TokenMovementRecord, TokenMovementRecordFragment, TokenMovementStatus, type TokenMovementSwap, TokenMovementSwapFragment, type TokenSwap, type TokenSwapActivity, TokenSwapActivityFragment, TokenSwapFragment, TokenSwapKind, TokenSwapQuoteQuery, type TokenSwapQuoteRequest, type TokenSwapQuoteResult, TokenSwapQuoteResultFragment, type TransactionRequest, TransactionRequestFragment, type TxHashInput, UpdateUserPositionConditionsQuery, type UpdateUserPositionConditionsRequest, type UpdatedDynamicConfigActivity, UpdatedDynamicConfigActivityFragment, type UpdatedRiskPremiumActivity, UpdatedRiskPremiumActivityFragment, type UserBalance, UserBalanceFragment, type UserBalanceId, type UserBalancesByChains, type UserBalancesByHub, type UserBalancesByHubId, type UserBalancesBySpoke, type UserBalancesByTokens, type UserBalancesByUserPosition, UserBalancesQuery, type UserBalancesRequest, type UserBalancesRequestFilter, type UserBalancesRequestOrderBy, type UserBorrowItem, UserBorrowItemFragment, type UserBorrowItemId, UserBorrowsQuery, type UserBorrowsRequest, type UserBorrowsRequestOrderBy, type UserBorrowsRequestQuery, type UserChains, type UserClaimableReward, UserClaimableRewardFragment, UserClaimableRewardsQuery, type UserClaimableRewardsRequest, type UserHub, type UserHubInput, type UserMerklClaimableReward, UserMerklClaimableRewardFragment, type UserPosition, type UserPositionConditionVariation, UserPositionConditionVariationFragment, UserPositionConditionsUpdate, UserPositionFragment, type UserPositionId, type UserPositionIdParts, UserPositionQuery, type UserPositionRequest, type UserPositionRiskPremium, UserPositionRiskPremiumFragment, UserPositionsQuery, type UserPositionsRequest, type UserPositionsRequestFilter, type UserPositionsRequestOrderBy, type UserRiskPremiumBreakdownItem, UserRiskPremiumBreakdownItemFragment, UserRiskPremiumBreakdownQuery, type UserRiskPremiumBreakdownRequest, type UserRiskPremiumBreakdownRequestQuery, type UserSpokeInput, type UserSummary, type UserSummaryFilter, UserSummaryFragment, type UserSummaryHistoryItem, UserSummaryHistoryItemFragment, UserSummaryHistoryQuery, type UserSummaryHistoryRequest, UserSummaryQuery, type UserSummaryRequest, UserSuppliesQuery, type UserSuppliesRequest, type UserSuppliesRequestOrderBy, type UserSuppliesRequestQuery, type UserSupplyAsCollateral, type UserSupplyItem, UserSupplyItemFragment, type UserSupplyItemId, UserSwapsQuery, type UserSwapsRequest, type UserToken, type UsingAsCollateralActivity, UsingAsCollateralActivityFragment, type WithdrawActivity, WithdrawActivityFragment, WithdrawQuery, type WithdrawRequest, type WithdrawReserveAmountInput, type WithdrawSwap, type WithdrawSwapActivity, WithdrawSwapActivityFragment, WithdrawSwapFragment, WithdrawSwapKind, WithdrawSwapQuoteQuery, type WithdrawSwapQuoteRequest, type WithdrawSwapQuoteResult, WithdrawSwapQuoteResultFragment, assetId, boostedRateId, decodeHubId, decodeReserveId, decodeSpokeId, decodeUserPositionId, encodeHubId, encodeReserveId, encodeSpokeId, encodeUserPositionId, graphql, hubAssetId, hubId, isChainIdsVariant, isERC20PermitSignature, isHubInputVariant, isReserveInputVariant, isSpokeInputVariant, isTokensVariant, isTxHashInputVariant, reserveId, spokeId, stableVaultId, stableVaultUserPositionId, stableVaultWithdrawClaimId, swapId, swapQuoteId, tokenInfoId, tokenMovementId, userBalanceId, userBorrowItemId, userPositionId, userSupplyItemId };