@aave/graphql 1.0.0-next.14 → 1.0.0-next.15

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
@@ -337,7 +337,7 @@ type introspection_types = {
337
337
  'PreparePositionSwapResult': { kind: 'UNION'; name: 'PreparePositionSwapResult'; fields: {}; possibleTypes: 'InsufficientBalanceError' | 'SwapByIntent'; };
338
338
  '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 }]; };
339
339
  'PrepareSwapCancelResult': { kind: 'OBJECT'; name: 'PrepareSwapCancelResult'; fields: { 'data': { name: 'data'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SwapTypedData'; ofType: null; }; } }; }; };
340
- 'PrepareTokenSwapRequest': { kind: 'INPUT_OBJECT'; name: 'PrepareTokenSwapRequest'; isOneOf: false; inputFields: [{ name: 'quoteId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'SwapQuoteId'; ofType: null; }; }; defaultValue: null }, { name: 'permitSig'; type: { kind: 'SCALAR'; name: 'Signature'; ofType: null; }; defaultValue: null }]; };
340
+ 'PrepareTokenSwapRequest': { kind: 'INPUT_OBJECT'; name: 'PrepareTokenSwapRequest'; isOneOf: false; inputFields: [{ name: 'quoteId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'SwapQuoteId'; ofType: null; }; }; defaultValue: null }, { name: 'permitSig'; type: { kind: 'INPUT_OBJECT'; name: 'ERC20PermitSignature'; ofType: null; }; defaultValue: null }]; };
341
341
  'PrepareTokenSwapResult': { kind: 'UNION'; name: 'PrepareTokenSwapResult'; fields: {}; possibleTypes: 'InsufficientBalanceError' | 'SwapByIntent'; };
342
342
  'PreviewAction': { kind: 'INPUT_OBJECT'; name: 'PreviewAction'; isOneOf: true; inputFields: [{ name: 'supply'; type: { kind: 'INPUT_OBJECT'; name: 'SupplyRequest'; ofType: null; }; defaultValue: null }, { name: 'borrow'; type: { kind: 'INPUT_OBJECT'; name: 'BorrowRequest'; ofType: null; }; defaultValue: null }, { name: 'repay'; type: { kind: 'INPUT_OBJECT'; name: 'RepayRequest'; ofType: null; }; defaultValue: null }, { name: 'withdraw'; type: { kind: 'INPUT_OBJECT'; name: 'WithdrawRequest'; ofType: null; }; defaultValue: null }, { name: 'setUserSuppliesAsCollateral'; type: { kind: 'INPUT_OBJECT'; name: 'SetUserSuppliesAsCollateralRequest'; ofType: null; }; defaultValue: null }, { name: 'updateUserPositionConditions'; type: { kind: 'INPUT_OBJECT'; name: 'UpdateUserPositionConditionsRequest'; ofType: null; }; defaultValue: null }, { name: 'supplySwap'; type: { kind: 'INPUT_OBJECT'; name: 'SupplySwapQuoteRequest'; ofType: null; }; defaultValue: null }, { name: 'borrowSwap'; type: { kind: 'INPUT_OBJECT'; name: 'BorrowSwapQuoteRequest'; ofType: null; }; defaultValue: null }, { name: 'repayWithSupply'; type: { kind: 'INPUT_OBJECT'; name: 'RepayWithSupplyQuoteRequest'; ofType: null; }; defaultValue: null }, { name: 'withdrawSwap'; type: { kind: 'INPUT_OBJECT'; name: 'WithdrawSwapQuoteRequest'; ofType: null; }; defaultValue: null }]; };
343
343
  'PreviewRequest': { kind: 'INPUT_OBJECT'; name: 'PreviewRequest'; isOneOf: false; inputFields: [{ name: 'action'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'PreviewAction'; ofType: null; }; }; defaultValue: null }]; };
@@ -391,7 +391,7 @@ type introspection_types = {
391
391
  'SupplyActivity': { kind: 'OBJECT'; name: 'SupplyActivity'; fields: { 'chain': { name: 'chain'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Chain'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'reserve': { name: 'reserve'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ReserveInfo'; ofType: null; }; } }; 'spoke': { name: 'spoke'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Spoke'; ofType: null; }; } }; 'supplied': { name: 'supplied'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; 'timestamp': { name: 'timestamp'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'txHash': { name: 'txHash'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'TxHash'; ofType: null; }; } }; 'user': { name: 'user'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; }; };
392
392
  'SupplyApyHistoryRequest': { kind: 'INPUT_OBJECT'; name: 'SupplyApyHistoryRequest'; isOneOf: false; inputFields: [{ name: 'reserve'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ReserveId'; ofType: null; }; }; defaultValue: null }, { name: 'window'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'TimeWindow'; ofType: null; }; }; defaultValue: "LAST_DAY" }]; };
393
393
  'SupplyPermitRequest': { kind: 'INPUT_OBJECT'; name: 'SupplyPermitRequest'; isOneOf: false; inputFields: [{ name: 'reserve'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ReserveId'; ofType: null; }; }; defaultValue: null }, { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'ReserveErc20AmountInput'; ofType: null; }; }; defaultValue: null }, { name: 'enableCollateral'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; }; defaultValue: "true" }, { name: 'sender'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; };
394
- 'SupplyRequest': { kind: 'INPUT_OBJECT'; name: 'SupplyRequest'; isOneOf: false; inputFields: [{ name: 'reserve'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ReserveId'; ofType: null; }; }; defaultValue: null }, { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'ReserveAmountInputWithPermit'; ofType: null; }; }; defaultValue: null }, { name: 'enableCollateral'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; }; defaultValue: "true" }, { name: 'sender'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; };
394
+ 'SupplyRequest': { kind: 'INPUT_OBJECT'; name: 'SupplyRequest'; isOneOf: false; inputFields: [{ name: 'reserve'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ReserveId'; ofType: null; }; }; defaultValue: null }, { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'ReserveAmountInputWithPermit'; ofType: null; }; }; defaultValue: null }, { name: 'enableCollateral'; type: { kind: 'SCALAR'; name: 'AlwaysTrue'; ofType: null; }; defaultValue: null }, { name: 'sender'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; };
395
395
  'SupplySwapKind': { name: 'SupplySwapKind'; enumValues: 'CURRENT' | 'NEW'; };
396
396
  'SupplySwapQuoteRequest': { kind: 'INPUT_OBJECT'; name: 'SupplySwapQuoteRequest'; isOneOf: true; inputFields: [{ name: 'market'; type: { kind: 'INPUT_OBJECT'; name: 'MarketSupplySwapQuoteInput'; ofType: null; }; defaultValue: null }, { name: 'limit'; type: { kind: 'INPUT_OBJECT'; name: 'LimitSupplySwapQuoteInput'; ofType: null; }; defaultValue: null }, { name: 'fromQuote'; type: { kind: 'INPUT_OBJECT'; name: 'FromQuoteSupplySwapQuoteInput'; ofType: null; }; defaultValue: null }]; };
397
397
  'SupplySwapQuoteResult': { kind: 'UNION'; name: 'SupplySwapQuoteResult'; fields: {}; possibleTypes: 'PositionSwapByIntentApprovalsRequired'; };
@@ -33009,7 +33009,10 @@ declare const PrepareTokenSwapQuery: gql_tada.TadaDocumentNode<{
33009
33009
  }, {
33010
33010
  currency: Currency;
33011
33011
  request: {
33012
- permitSig?: _aave_types.Signature | null | undefined;
33012
+ permitSig?: {
33013
+ deadline: number;
33014
+ value: _aave_types.Signature;
33015
+ } | null | undefined;
33013
33016
  quoteId: SwapQuoteId;
33014
33017
  };
33015
33018
  }, void>;
@@ -45696,7 +45699,7 @@ declare const SupplyQuery: gql_tada.TadaDocumentNode<{
45696
45699
  }, {
45697
45700
  request: {
45698
45701
  sender: _aave_types.EvmAddress;
45699
- enableCollateral?: boolean | null | undefined;
45702
+ enableCollateral?: true | null | undefined;
45700
45703
  amount: {
45701
45704
  native: _aave_types.BigDecimal;
45702
45705
  } | {
@@ -47025,7 +47028,7 @@ declare const PreviewQuery: gql_tada.TadaDocumentNode<{
47025
47028
  action: {
47026
47029
  supply: {
47027
47030
  sender: _aave_types.EvmAddress;
47028
- enableCollateral?: boolean | null | undefined;
47031
+ enableCollateral?: true | null | undefined;
47029
47032
  amount: {
47030
47033
  native: _aave_types.BigDecimal;
47031
47034
  } | {
package/dist/index.d.ts CHANGED
@@ -337,7 +337,7 @@ type introspection_types = {
337
337
  'PreparePositionSwapResult': { kind: 'UNION'; name: 'PreparePositionSwapResult'; fields: {}; possibleTypes: 'InsufficientBalanceError' | 'SwapByIntent'; };
338
338
  '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 }]; };
339
339
  'PrepareSwapCancelResult': { kind: 'OBJECT'; name: 'PrepareSwapCancelResult'; fields: { 'data': { name: 'data'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SwapTypedData'; ofType: null; }; } }; }; };
340
- 'PrepareTokenSwapRequest': { kind: 'INPUT_OBJECT'; name: 'PrepareTokenSwapRequest'; isOneOf: false; inputFields: [{ name: 'quoteId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'SwapQuoteId'; ofType: null; }; }; defaultValue: null }, { name: 'permitSig'; type: { kind: 'SCALAR'; name: 'Signature'; ofType: null; }; defaultValue: null }]; };
340
+ 'PrepareTokenSwapRequest': { kind: 'INPUT_OBJECT'; name: 'PrepareTokenSwapRequest'; isOneOf: false; inputFields: [{ name: 'quoteId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'SwapQuoteId'; ofType: null; }; }; defaultValue: null }, { name: 'permitSig'; type: { kind: 'INPUT_OBJECT'; name: 'ERC20PermitSignature'; ofType: null; }; defaultValue: null }]; };
341
341
  'PrepareTokenSwapResult': { kind: 'UNION'; name: 'PrepareTokenSwapResult'; fields: {}; possibleTypes: 'InsufficientBalanceError' | 'SwapByIntent'; };
342
342
  'PreviewAction': { kind: 'INPUT_OBJECT'; name: 'PreviewAction'; isOneOf: true; inputFields: [{ name: 'supply'; type: { kind: 'INPUT_OBJECT'; name: 'SupplyRequest'; ofType: null; }; defaultValue: null }, { name: 'borrow'; type: { kind: 'INPUT_OBJECT'; name: 'BorrowRequest'; ofType: null; }; defaultValue: null }, { name: 'repay'; type: { kind: 'INPUT_OBJECT'; name: 'RepayRequest'; ofType: null; }; defaultValue: null }, { name: 'withdraw'; type: { kind: 'INPUT_OBJECT'; name: 'WithdrawRequest'; ofType: null; }; defaultValue: null }, { name: 'setUserSuppliesAsCollateral'; type: { kind: 'INPUT_OBJECT'; name: 'SetUserSuppliesAsCollateralRequest'; ofType: null; }; defaultValue: null }, { name: 'updateUserPositionConditions'; type: { kind: 'INPUT_OBJECT'; name: 'UpdateUserPositionConditionsRequest'; ofType: null; }; defaultValue: null }, { name: 'supplySwap'; type: { kind: 'INPUT_OBJECT'; name: 'SupplySwapQuoteRequest'; ofType: null; }; defaultValue: null }, { name: 'borrowSwap'; type: { kind: 'INPUT_OBJECT'; name: 'BorrowSwapQuoteRequest'; ofType: null; }; defaultValue: null }, { name: 'repayWithSupply'; type: { kind: 'INPUT_OBJECT'; name: 'RepayWithSupplyQuoteRequest'; ofType: null; }; defaultValue: null }, { name: 'withdrawSwap'; type: { kind: 'INPUT_OBJECT'; name: 'WithdrawSwapQuoteRequest'; ofType: null; }; defaultValue: null }]; };
343
343
  'PreviewRequest': { kind: 'INPUT_OBJECT'; name: 'PreviewRequest'; isOneOf: false; inputFields: [{ name: 'action'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'PreviewAction'; ofType: null; }; }; defaultValue: null }]; };
@@ -391,7 +391,7 @@ type introspection_types = {
391
391
  'SupplyActivity': { kind: 'OBJECT'; name: 'SupplyActivity'; fields: { 'chain': { name: 'chain'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Chain'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'reserve': { name: 'reserve'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ReserveInfo'; ofType: null; }; } }; 'spoke': { name: 'spoke'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Spoke'; ofType: null; }; } }; 'supplied': { name: 'supplied'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; 'timestamp': { name: 'timestamp'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'txHash': { name: 'txHash'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'TxHash'; ofType: null; }; } }; 'user': { name: 'user'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; }; };
392
392
  'SupplyApyHistoryRequest': { kind: 'INPUT_OBJECT'; name: 'SupplyApyHistoryRequest'; isOneOf: false; inputFields: [{ name: 'reserve'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ReserveId'; ofType: null; }; }; defaultValue: null }, { name: 'window'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'TimeWindow'; ofType: null; }; }; defaultValue: "LAST_DAY" }]; };
393
393
  'SupplyPermitRequest': { kind: 'INPUT_OBJECT'; name: 'SupplyPermitRequest'; isOneOf: false; inputFields: [{ name: 'reserve'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ReserveId'; ofType: null; }; }; defaultValue: null }, { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'ReserveErc20AmountInput'; ofType: null; }; }; defaultValue: null }, { name: 'enableCollateral'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; }; defaultValue: "true" }, { name: 'sender'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; };
394
- 'SupplyRequest': { kind: 'INPUT_OBJECT'; name: 'SupplyRequest'; isOneOf: false; inputFields: [{ name: 'reserve'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ReserveId'; ofType: null; }; }; defaultValue: null }, { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'ReserveAmountInputWithPermit'; ofType: null; }; }; defaultValue: null }, { name: 'enableCollateral'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; }; defaultValue: "true" }, { name: 'sender'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; };
394
+ 'SupplyRequest': { kind: 'INPUT_OBJECT'; name: 'SupplyRequest'; isOneOf: false; inputFields: [{ name: 'reserve'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ReserveId'; ofType: null; }; }; defaultValue: null }, { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'ReserveAmountInputWithPermit'; ofType: null; }; }; defaultValue: null }, { name: 'enableCollateral'; type: { kind: 'SCALAR'; name: 'AlwaysTrue'; ofType: null; }; defaultValue: null }, { name: 'sender'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; };
395
395
  'SupplySwapKind': { name: 'SupplySwapKind'; enumValues: 'CURRENT' | 'NEW'; };
396
396
  'SupplySwapQuoteRequest': { kind: 'INPUT_OBJECT'; name: 'SupplySwapQuoteRequest'; isOneOf: true; inputFields: [{ name: 'market'; type: { kind: 'INPUT_OBJECT'; name: 'MarketSupplySwapQuoteInput'; ofType: null; }; defaultValue: null }, { name: 'limit'; type: { kind: 'INPUT_OBJECT'; name: 'LimitSupplySwapQuoteInput'; ofType: null; }; defaultValue: null }, { name: 'fromQuote'; type: { kind: 'INPUT_OBJECT'; name: 'FromQuoteSupplySwapQuoteInput'; ofType: null; }; defaultValue: null }]; };
397
397
  'SupplySwapQuoteResult': { kind: 'UNION'; name: 'SupplySwapQuoteResult'; fields: {}; possibleTypes: 'PositionSwapByIntentApprovalsRequired'; };
@@ -33009,7 +33009,10 @@ declare const PrepareTokenSwapQuery: gql_tada.TadaDocumentNode<{
33009
33009
  }, {
33010
33010
  currency: Currency;
33011
33011
  request: {
33012
- permitSig?: _aave_types.Signature | null | undefined;
33012
+ permitSig?: {
33013
+ deadline: number;
33014
+ value: _aave_types.Signature;
33015
+ } | null | undefined;
33013
33016
  quoteId: SwapQuoteId;
33014
33017
  };
33015
33018
  }, void>;
@@ -45696,7 +45699,7 @@ declare const SupplyQuery: gql_tada.TadaDocumentNode<{
45696
45699
  }, {
45697
45700
  request: {
45698
45701
  sender: _aave_types.EvmAddress;
45699
- enableCollateral?: boolean | null | undefined;
45702
+ enableCollateral?: true | null | undefined;
45700
45703
  amount: {
45701
45704
  native: _aave_types.BigDecimal;
45702
45705
  } | {
@@ -47025,7 +47028,7 @@ declare const PreviewQuery: gql_tada.TadaDocumentNode<{
47025
47028
  action: {
47026
47029
  supply: {
47027
47030
  sender: _aave_types.EvmAddress;
47028
- enableCollateral?: boolean | null | undefined;
47031
+ enableCollateral?: true | null | undefined;
47029
47032
  amount: {
47030
47033
  native: _aave_types.BigDecimal;
47031
47034
  } | {
package/dist/testing.d.ts CHANGED
@@ -218,7 +218,7 @@ type introspection_types = {
218
218
  'PreparePositionSwapResult': { kind: 'UNION'; name: 'PreparePositionSwapResult'; fields: {}; possibleTypes: 'InsufficientBalanceError' | 'SwapByIntent'; };
219
219
  '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 }]; };
220
220
  'PrepareSwapCancelResult': { kind: 'OBJECT'; name: 'PrepareSwapCancelResult'; fields: { 'data': { name: 'data'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SwapTypedData'; ofType: null; }; } }; }; };
221
- 'PrepareTokenSwapRequest': { kind: 'INPUT_OBJECT'; name: 'PrepareTokenSwapRequest'; isOneOf: false; inputFields: [{ name: 'quoteId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'SwapQuoteId'; ofType: null; }; }; defaultValue: null }, { name: 'permitSig'; type: { kind: 'SCALAR'; name: 'Signature'; ofType: null; }; defaultValue: null }]; };
221
+ 'PrepareTokenSwapRequest': { kind: 'INPUT_OBJECT'; name: 'PrepareTokenSwapRequest'; isOneOf: false; inputFields: [{ name: 'quoteId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'SwapQuoteId'; ofType: null; }; }; defaultValue: null }, { name: 'permitSig'; type: { kind: 'INPUT_OBJECT'; name: 'ERC20PermitSignature'; ofType: null; }; defaultValue: null }]; };
222
222
  'PrepareTokenSwapResult': { kind: 'UNION'; name: 'PrepareTokenSwapResult'; fields: {}; possibleTypes: 'InsufficientBalanceError' | 'SwapByIntent'; };
223
223
  'PreviewAction': { kind: 'INPUT_OBJECT'; name: 'PreviewAction'; isOneOf: true; inputFields: [{ name: 'supply'; type: { kind: 'INPUT_OBJECT'; name: 'SupplyRequest'; ofType: null; }; defaultValue: null }, { name: 'borrow'; type: { kind: 'INPUT_OBJECT'; name: 'BorrowRequest'; ofType: null; }; defaultValue: null }, { name: 'repay'; type: { kind: 'INPUT_OBJECT'; name: 'RepayRequest'; ofType: null; }; defaultValue: null }, { name: 'withdraw'; type: { kind: 'INPUT_OBJECT'; name: 'WithdrawRequest'; ofType: null; }; defaultValue: null }, { name: 'setUserSuppliesAsCollateral'; type: { kind: 'INPUT_OBJECT'; name: 'SetUserSuppliesAsCollateralRequest'; ofType: null; }; defaultValue: null }, { name: 'updateUserPositionConditions'; type: { kind: 'INPUT_OBJECT'; name: 'UpdateUserPositionConditionsRequest'; ofType: null; }; defaultValue: null }, { name: 'supplySwap'; type: { kind: 'INPUT_OBJECT'; name: 'SupplySwapQuoteRequest'; ofType: null; }; defaultValue: null }, { name: 'borrowSwap'; type: { kind: 'INPUT_OBJECT'; name: 'BorrowSwapQuoteRequest'; ofType: null; }; defaultValue: null }, { name: 'repayWithSupply'; type: { kind: 'INPUT_OBJECT'; name: 'RepayWithSupplyQuoteRequest'; ofType: null; }; defaultValue: null }, { name: 'withdrawSwap'; type: { kind: 'INPUT_OBJECT'; name: 'WithdrawSwapQuoteRequest'; ofType: null; }; defaultValue: null }]; };
224
224
  'PreviewRequest': { kind: 'INPUT_OBJECT'; name: 'PreviewRequest'; isOneOf: false; inputFields: [{ name: 'action'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'PreviewAction'; ofType: null; }; }; defaultValue: null }]; };
@@ -272,7 +272,7 @@ type introspection_types = {
272
272
  'SupplyActivity': { kind: 'OBJECT'; name: 'SupplyActivity'; fields: { 'chain': { name: 'chain'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Chain'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'reserve': { name: 'reserve'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ReserveInfo'; ofType: null; }; } }; 'spoke': { name: 'spoke'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Spoke'; ofType: null; }; } }; 'supplied': { name: 'supplied'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; 'timestamp': { name: 'timestamp'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'txHash': { name: 'txHash'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'TxHash'; ofType: null; }; } }; 'user': { name: 'user'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; }; };
273
273
  'SupplyApyHistoryRequest': { kind: 'INPUT_OBJECT'; name: 'SupplyApyHistoryRequest'; isOneOf: false; inputFields: [{ name: 'reserve'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ReserveId'; ofType: null; }; }; defaultValue: null }, { name: 'window'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'TimeWindow'; ofType: null; }; }; defaultValue: "LAST_DAY" }]; };
274
274
  'SupplyPermitRequest': { kind: 'INPUT_OBJECT'; name: 'SupplyPermitRequest'; isOneOf: false; inputFields: [{ name: 'reserve'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ReserveId'; ofType: null; }; }; defaultValue: null }, { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'ReserveErc20AmountInput'; ofType: null; }; }; defaultValue: null }, { name: 'enableCollateral'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; }; defaultValue: "true" }, { name: 'sender'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; };
275
- 'SupplyRequest': { kind: 'INPUT_OBJECT'; name: 'SupplyRequest'; isOneOf: false; inputFields: [{ name: 'reserve'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ReserveId'; ofType: null; }; }; defaultValue: null }, { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'ReserveAmountInputWithPermit'; ofType: null; }; }; defaultValue: null }, { name: 'enableCollateral'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; }; defaultValue: "true" }, { name: 'sender'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; };
275
+ 'SupplyRequest': { kind: 'INPUT_OBJECT'; name: 'SupplyRequest'; isOneOf: false; inputFields: [{ name: 'reserve'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ReserveId'; ofType: null; }; }; defaultValue: null }, { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'ReserveAmountInputWithPermit'; ofType: null; }; }; defaultValue: null }, { name: 'enableCollateral'; type: { kind: 'SCALAR'; name: 'AlwaysTrue'; ofType: null; }; defaultValue: null }, { name: 'sender'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; };
276
276
  'SupplySwapKind': { name: 'SupplySwapKind'; enumValues: 'CURRENT' | 'NEW'; };
277
277
  'SupplySwapQuoteRequest': { kind: 'INPUT_OBJECT'; name: 'SupplySwapQuoteRequest'; isOneOf: true; inputFields: [{ name: 'market'; type: { kind: 'INPUT_OBJECT'; name: 'MarketSupplySwapQuoteInput'; ofType: null; }; defaultValue: null }, { name: 'limit'; type: { kind: 'INPUT_OBJECT'; name: 'LimitSupplySwapQuoteInput'; ofType: null; }; defaultValue: null }, { name: 'fromQuote'; type: { kind: 'INPUT_OBJECT'; name: 'FromQuoteSupplySwapQuoteInput'; ofType: null; }; defaultValue: null }]; };
278
278
  'SupplySwapQuoteResult': { kind: 'UNION'; name: 'SupplySwapQuoteResult'; fields: {}; possibleTypes: 'PositionSwapByIntentApprovalsRequired'; };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aave/graphql",
3
- "version": "1.0.0-next.14",
3
+ "version": "1.0.0-next.15",
4
4
  "description": "GraphQL bindings for the Aave API",
5
5
  "repository": {
6
6
  "directory": "packages/graphql",