compass_api_sdk 0.2.1__py3-none-any.whl → 0.3.1__py3-none-any.whl

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.

Potentially problematic release.


This version of compass_api_sdk might be problematic. Click here for more details.

Files changed (182) hide show
  1. {compass_api_sdk-0.2.1.dist-info → compass_api_sdk-0.3.1.dist-info}/METADATA +33 -33
  2. compass_api_sdk-0.3.1.dist-info/RECORD +180 -0
  3. {compass_api_sdk → compassapisdk}/_hooks/sdkhooks.py +1 -1
  4. {compass_api_sdk → compassapisdk}/_hooks/types.py +1 -1
  5. {compass_api_sdk → compassapisdk}/_version.py +3 -3
  6. {compass_api_sdk → compassapisdk}/aave_v3.py +27 -27
  7. {compass_api_sdk → compassapisdk}/aerodrome_slipstream.py +11 -11
  8. {compass_api_sdk → compassapisdk}/basesdk.py +3 -3
  9. {compass_api_sdk → compassapisdk}/errors/httpvalidationerror.py +3 -3
  10. {compass_api_sdk → compassapisdk}/httpclient.py +7 -37
  11. {compass_api_sdk → compassapisdk}/models/aave_historical_transactionsop.py +8 -2
  12. {compass_api_sdk → compassapisdk}/models/aave_liquidity_changeop.py +8 -12
  13. {compass_api_sdk → compassapisdk}/models/aave_rateop.py +4 -12
  14. {compass_api_sdk → compassapisdk}/models/aave_reserve_overviewop.py +4 -12
  15. {compass_api_sdk → compassapisdk}/models/aave_token_priceop.py +4 -12
  16. {compass_api_sdk → compassapisdk}/models/aave_user_position_per_tokenop.py +6 -12
  17. {compass_api_sdk → compassapisdk}/models/aave_user_position_summaryop.py +4 -2
  18. {compass_api_sdk → compassapisdk}/models/aaveborrowparams.py +1 -1
  19. {compass_api_sdk → compassapisdk}/models/aaveborrowrequest.py +1 -1
  20. {compass_api_sdk → compassapisdk}/models/aavehistoricaltransactionsresponse.py +2 -2
  21. {compass_api_sdk → compassapisdk}/models/aaveliquiditychangeresponse.py +1 -1
  22. {compass_api_sdk → compassapisdk}/models/aavelooprequest.py +1 -1
  23. {compass_api_sdk → compassapisdk}/models/aaverateresponse.py +1 -1
  24. {compass_api_sdk → compassapisdk}/models/aaverepayparams.py +1 -1
  25. {compass_api_sdk → compassapisdk}/models/aaverepayrequest.py +1 -1
  26. {compass_api_sdk → compassapisdk}/models/aavereserveoverviewresponse.py +1 -1
  27. {compass_api_sdk → compassapisdk}/models/aavesupplyparams.py +1 -1
  28. {compass_api_sdk → compassapisdk}/models/aavesupplyrequest.py +1 -1
  29. {compass_api_sdk → compassapisdk}/models/aavetokenpriceresponse.py +1 -1
  30. {compass_api_sdk → compassapisdk}/models/aaveuserpositionpertokenresponse.py +1 -1
  31. {compass_api_sdk → compassapisdk}/models/aaveuserpositionsummaryresponse.py +1 -1
  32. {compass_api_sdk → compassapisdk}/models/aavewithdrawparams.py +1 -1
  33. {compass_api_sdk → compassapisdk}/models/aavewithdrawrequest.py +1 -1
  34. {compass_api_sdk → compassapisdk}/models/aerodrome_slipstream_liquidity_provision_positionsop.py +4 -2
  35. {compass_api_sdk → compassapisdk}/models/aerodrome_slipstream_pool_priceop.py +8 -22
  36. {compass_api_sdk → compassapisdk}/models/aerodromelppositionsresponse.py +1 -1
  37. {compass_api_sdk → compassapisdk}/models/aerodromeposition.py +1 -1
  38. {compass_api_sdk → compassapisdk}/models/aerodromeslipstreambuyexactlyparams.py +1 -1
  39. {compass_api_sdk → compassapisdk}/models/aerodromeslipstreambuyexactlyrequest.py +1 -1
  40. {compass_api_sdk → compassapisdk}/models/aerodromeslipstreamincreaseliquidityprovisionparams.py +1 -1
  41. {compass_api_sdk → compassapisdk}/models/aerodromeslipstreamincreaseliquidityprovisionrequest.py +1 -1
  42. {compass_api_sdk → compassapisdk}/models/aerodromeslipstreammintliquidityprovisionparams.py +1 -1
  43. {compass_api_sdk → compassapisdk}/models/aerodromeslipstreammintliquidityprovisionrequest.py +1 -1
  44. {compass_api_sdk → compassapisdk}/models/aerodromeslipstreampoolpriceresponse.py +1 -1
  45. {compass_api_sdk → compassapisdk}/models/aerodromeslipstreamsellexactlyparams.py +1 -1
  46. {compass_api_sdk → compassapisdk}/models/aerodromeslipstreamsellexactlyrequest.py +1 -1
  47. {compass_api_sdk → compassapisdk}/models/aerodromeslipstreamwithdrawliquidityprovisionparams.py +1 -1
  48. {compass_api_sdk → compassapisdk}/models/aerodromeslipstreamwithdrawliquidityprovisionrequest.py +1 -1
  49. {compass_api_sdk → compassapisdk}/models/allowanceinforesponse.py +1 -1
  50. {compass_api_sdk → compassapisdk}/models/borrow.py +2 -2
  51. {compass_api_sdk → compassapisdk}/models/chaininfo.py +1 -1
  52. {compass_api_sdk → compassapisdk}/models/compass_api_backend_models_morpho_read_response_get_markets_asset.py +1 -1
  53. {compass_api_sdk → compassapisdk}/models/compass_api_backend_models_morpho_read_response_get_vaults_asset.py +1 -1
  54. {compass_api_sdk → compassapisdk}/models/ensnameinforesponse.py +1 -1
  55. {compass_api_sdk → compassapisdk}/models/generic_allowanceop.py +10 -12
  56. {compass_api_sdk → compassapisdk}/models/generic_ensop.py +4 -2
  57. {compass_api_sdk → compassapisdk}/models/generic_portfolioop.py +4 -2
  58. {compass_api_sdk → compassapisdk}/models/generic_supported_tokensop.py +2 -2
  59. {compass_api_sdk → compassapisdk}/models/generic_visualize_portfolioop.py +4 -2
  60. {compass_api_sdk → compassapisdk}/models/image.py +1 -1
  61. {compass_api_sdk → compassapisdk}/models/increaseallowanceanyparams.py +1 -1
  62. {compass_api_sdk → compassapisdk}/models/increaseallowanceparams.py +1 -1
  63. {compass_api_sdk → compassapisdk}/models/increaseallowancerequest.py +1 -1
  64. {compass_api_sdk → compassapisdk}/models/liquidationcall.py +2 -2
  65. {compass_api_sdk → compassapisdk}/models/marketstate.py +1 -1
  66. {compass_api_sdk → compassapisdk}/models/morpho_market_positionop.py +9 -6
  67. {compass_api_sdk → compassapisdk}/models/morpho_marketsop.py +20 -23
  68. {compass_api_sdk → compassapisdk}/models/morpho_vault_positionop.py +9 -6
  69. {compass_api_sdk → compassapisdk}/models/morpho_vaultsop.py +14 -19
  70. {compass_api_sdk → compassapisdk}/models/morphoborrowrequest.py +1 -1
  71. {compass_api_sdk → compassapisdk}/models/morphocheckmarketpositionresponse.py +1 -1
  72. {compass_api_sdk → compassapisdk}/models/morphocheckvaultpositionresponse.py +1 -1
  73. {compass_api_sdk → compassapisdk}/models/morphodepositrequest.py +1 -1
  74. {compass_api_sdk → compassapisdk}/models/morphogetmarketsresponse.py +1 -1
  75. {compass_api_sdk → compassapisdk}/models/morphogetvaultsresponse.py +1 -1
  76. {compass_api_sdk → compassapisdk}/models/morphomarket.py +1 -1
  77. {compass_api_sdk → compassapisdk}/models/morphorepayrequest.py +1 -1
  78. {compass_api_sdk → compassapisdk}/models/morphosetvaultallowancerequest.py +1 -1
  79. {compass_api_sdk → compassapisdk}/models/morphosupplycollateralrequest.py +1 -1
  80. {compass_api_sdk → compassapisdk}/models/morphovault.py +1 -1
  81. {compass_api_sdk → compassapisdk}/models/morphowithdrawcollateralrequest.py +1 -1
  82. {compass_api_sdk → compassapisdk}/models/morphowithdrawrequest.py +1 -1
  83. {compass_api_sdk → compassapisdk}/models/multicallaction.py +1 -1
  84. {compass_api_sdk → compassapisdk}/models/multicallauthorizationrequest.py +1 -1
  85. {compass_api_sdk → compassapisdk}/models/multicallauthorizationresponse.py +1 -1
  86. {compass_api_sdk → compassapisdk}/models/multicallexecuterequest.py +1 -1
  87. {compass_api_sdk → compassapisdk}/models/portfolio.py +1 -1
  88. {compass_api_sdk → compassapisdk}/models/redeemunderlying.py +1 -1
  89. {compass_api_sdk → compassapisdk}/models/repay.py +2 -2
  90. {compass_api_sdk → compassapisdk}/models/reserve.py +1 -1
  91. {compass_api_sdk → compassapisdk}/models/security.py +2 -2
  92. {compass_api_sdk → compassapisdk}/models/signedauthorization.py +1 -1
  93. {compass_api_sdk → compassapisdk}/models/sky_positionop.py +4 -2
  94. {compass_api_sdk → compassapisdk}/models/skybuyrequest.py +2 -2
  95. {compass_api_sdk → compassapisdk}/models/skycheckpositionresponse.py +1 -1
  96. {compass_api_sdk → compassapisdk}/models/skydepositrequest.py +2 -2
  97. {compass_api_sdk → compassapisdk}/models/skysellrequest.py +2 -2
  98. {compass_api_sdk → compassapisdk}/models/skywithdrawrequest.py +2 -2
  99. {compass_api_sdk → compassapisdk}/models/supply.py +2 -2
  100. {compass_api_sdk → compassapisdk}/models/swapborrowrate.py +2 -2
  101. {compass_api_sdk → compassapisdk}/models/token_addressop.py +4 -12
  102. {compass_api_sdk → compassapisdk}/models/token_balanceop.py +8 -2
  103. {compass_api_sdk → compassapisdk}/models/token_priceop.py +4 -12
  104. {compass_api_sdk → compassapisdk}/models/tokenaddressresponse.py +1 -1
  105. {compass_api_sdk → compassapisdk}/models/tokenbalance.py +1 -1
  106. {compass_api_sdk → compassapisdk}/models/tokenbalanceresponse.py +1 -1
  107. {compass_api_sdk → compassapisdk}/models/tokeninfo.py +1 -1
  108. {compass_api_sdk → compassapisdk}/models/tokenpriceresponse.py +1 -1
  109. {compass_api_sdk → compassapisdk}/models/tokentransfererc20params.py +1 -1
  110. {compass_api_sdk → compassapisdk}/models/tokentransferrequest.py +1 -1
  111. {compass_api_sdk → compassapisdk}/models/uniswap_liquidity_provision_in_rangeop.py +4 -2
  112. {compass_api_sdk → compassapisdk}/models/uniswap_liquidity_provision_positionsop.py +4 -2
  113. {compass_api_sdk → compassapisdk}/models/uniswap_pool_priceop.py +8 -30
  114. {compass_api_sdk → compassapisdk}/models/uniswap_quote_buy_exactlyop.py +12 -30
  115. {compass_api_sdk → compassapisdk}/models/uniswap_quote_sell_exactlyop.py +12 -30
  116. {compass_api_sdk → compassapisdk}/models/uniswapbuyexactlyparams.py +1 -1
  117. {compass_api_sdk → compassapisdk}/models/uniswapbuyexactlyrequest.py +1 -1
  118. {compass_api_sdk → compassapisdk}/models/uniswapbuyquoteinforesponse.py +1 -1
  119. {compass_api_sdk → compassapisdk}/models/uniswapcheckinrangeresponse.py +1 -1
  120. {compass_api_sdk → compassapisdk}/models/uniswapincreaseliquidityprovisionparams.py +1 -1
  121. {compass_api_sdk → compassapisdk}/models/uniswapincreaseliquidityprovisionrequest.py +1 -1
  122. {compass_api_sdk → compassapisdk}/models/uniswaplppositionsinforesponse.py +1 -1
  123. {compass_api_sdk → compassapisdk}/models/uniswapmintliquidityprovisionparams.py +1 -1
  124. {compass_api_sdk → compassapisdk}/models/uniswapmintliquidityprovisionrequest.py +1 -1
  125. {compass_api_sdk → compassapisdk}/models/uniswappoolpriceresponse.py +1 -1
  126. {compass_api_sdk → compassapisdk}/models/uniswappositionssolidityresponse.py +1 -1
  127. {compass_api_sdk → compassapisdk}/models/uniswapsellexactlyparams.py +1 -1
  128. {compass_api_sdk → compassapisdk}/models/uniswapsellexactlyrequest.py +1 -1
  129. {compass_api_sdk → compassapisdk}/models/uniswapsellquoteinforesponse.py +1 -1
  130. {compass_api_sdk → compassapisdk}/models/uniswapwithdrawliquidityprovisionparams.py +1 -1
  131. {compass_api_sdk → compassapisdk}/models/uniswapwithdrawliquidityprovisionrequest.py +1 -1
  132. {compass_api_sdk → compassapisdk}/models/unsignedmulticalltransaction.py +1 -1
  133. {compass_api_sdk → compassapisdk}/models/unsignedtransaction.py +1 -1
  134. {compass_api_sdk → compassapisdk}/models/unwrapwethparams.py +1 -1
  135. {compass_api_sdk → compassapisdk}/models/unwrapwethrequest.py +1 -1
  136. {compass_api_sdk → compassapisdk}/models/usageascollateral.py +2 -2
  137. {compass_api_sdk → compassapisdk}/models/validationerror.py +1 -1
  138. {compass_api_sdk → compassapisdk}/models/vaultstate.py +1 -1
  139. {compass_api_sdk → compassapisdk}/models/weeklyapys.py +1 -1
  140. {compass_api_sdk → compassapisdk}/models/wrapethparams.py +1 -1
  141. {compass_api_sdk → compassapisdk}/models/wrapethrequest.py +1 -1
  142. {compass_api_sdk → compassapisdk}/morpho.py +31 -47
  143. {compass_api_sdk → compassapisdk}/sdk.py +11 -11
  144. {compass_api_sdk → compassapisdk}/sdkconfiguration.py +2 -2
  145. {compass_api_sdk → compassapisdk}/sky.py +5 -5
  146. {compass_api_sdk → compassapisdk}/token_sdk.py +11 -11
  147. {compass_api_sdk → compassapisdk}/transaction_batching.py +3 -3
  148. {compass_api_sdk → compassapisdk}/uniswap_v3.py +29 -29
  149. {compass_api_sdk → compassapisdk}/universal.py +15 -15
  150. compass_api_sdk/_hooks/registration.py +0 -13
  151. compass_api_sdk-0.2.1.dist-info/RECORD +0 -181
  152. {compass_api_sdk-0.2.1.dist-info → compass_api_sdk-0.3.1.dist-info}/WHEEL +0 -0
  153. {compass_api_sdk → compassapisdk}/__init__.py +0 -0
  154. {compass_api_sdk → compassapisdk}/_hooks/__init__.py +0 -0
  155. {compass_api_sdk → compassapisdk}/errors/__init__.py +0 -0
  156. {compass_api_sdk → compassapisdk}/errors/apierror.py +0 -0
  157. {compass_api_sdk → compassapisdk}/models/__init__.py +0 -0
  158. {compass_api_sdk → compassapisdk}/models/chain.py +0 -0
  159. {compass_api_sdk → compassapisdk}/models/contractname.py +0 -0
  160. {compass_api_sdk → compassapisdk}/models/feeenum.py +0 -0
  161. {compass_api_sdk → compassapisdk}/models/interestratemode.py +0 -0
  162. {compass_api_sdk → compassapisdk}/models/multicallactiontype.py +0 -0
  163. {compass_api_sdk → compassapisdk}/models/token_enum.py +0 -0
  164. {compass_api_sdk → compassapisdk}/py.typed +0 -0
  165. {compass_api_sdk → compassapisdk}/types/__init__.py +0 -0
  166. {compass_api_sdk → compassapisdk}/types/basemodel.py +0 -0
  167. {compass_api_sdk → compassapisdk}/utils/__init__.py +0 -0
  168. {compass_api_sdk → compassapisdk}/utils/annotations.py +0 -0
  169. {compass_api_sdk → compassapisdk}/utils/datetimes.py +0 -0
  170. {compass_api_sdk → compassapisdk}/utils/enums.py +0 -0
  171. {compass_api_sdk → compassapisdk}/utils/eventstreaming.py +0 -0
  172. {compass_api_sdk → compassapisdk}/utils/forms.py +0 -0
  173. {compass_api_sdk → compassapisdk}/utils/headers.py +0 -0
  174. {compass_api_sdk → compassapisdk}/utils/logger.py +0 -0
  175. {compass_api_sdk → compassapisdk}/utils/metadata.py +0 -0
  176. {compass_api_sdk → compassapisdk}/utils/queryparams.py +0 -0
  177. {compass_api_sdk → compassapisdk}/utils/requestbodies.py +0 -0
  178. {compass_api_sdk → compassapisdk}/utils/retries.py +0 -0
  179. {compass_api_sdk → compassapisdk}/utils/security.py +0 -0
  180. {compass_api_sdk → compassapisdk}/utils/serializers.py +0 -0
  181. {compass_api_sdk → compassapisdk}/utils/url.py +0 -0
  182. {compass_api_sdk → compassapisdk}/utils/values.py +0 -0
@@ -2,7 +2,7 @@
2
2
 
3
3
  from __future__ import annotations
4
4
  from .chain import Chain
5
- from compass_api_sdk.types import BaseModel
5
+ from compassapisdk.types import BaseModel
6
6
  from typing import Union
7
7
  from typing_extensions import TypeAliasType, TypedDict
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  from __future__ import annotations
4
4
  from .token_enum import TokenEnum
5
- from compass_api_sdk.types import (
5
+ from compassapisdk.types import (
6
6
  BaseModel,
7
7
  Nullable,
8
8
  OptionalNullable,
@@ -3,7 +3,7 @@
3
3
  from __future__ import annotations
4
4
  from .chain import Chain
5
5
  from .token_enum import TokenEnum
6
- from compass_api_sdk.types import (
6
+ from compassapisdk.types import (
7
7
  BaseModel,
8
8
  Nullable,
9
9
  OptionalNullable,
@@ -2,7 +2,7 @@
2
2
 
3
3
  from __future__ import annotations
4
4
  from .token_enum import TokenEnum
5
- from compass_api_sdk.types import BaseModel
5
+ from compassapisdk.types import BaseModel
6
6
  from typing_extensions import TypedDict
7
7
 
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  from __future__ import annotations
4
4
  from .token_enum import TokenEnum
5
- from compass_api_sdk.types import BaseModel
5
+ from compassapisdk.types import BaseModel
6
6
  from typing import Optional, Union
7
7
  from typing_extensions import NotRequired, TypeAliasType, TypedDict
8
8
 
@@ -3,7 +3,7 @@
3
3
  from __future__ import annotations
4
4
  from .chain import Chain
5
5
  from .token_enum import TokenEnum
6
- from compass_api_sdk.types import BaseModel
6
+ from compassapisdk.types import BaseModel
7
7
  from typing import Optional, Union
8
8
  from typing_extensions import NotRequired, TypeAliasType, TypedDict
9
9
 
@@ -1,7 +1,7 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
- from compass_api_sdk.types import BaseModel
4
+ from compassapisdk.types import BaseModel
5
5
  from typing import Union
6
6
  from typing_extensions import TypeAliasType, TypedDict
7
7
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  from __future__ import annotations
4
4
  from .chain import Chain
5
- from compass_api_sdk.types import BaseModel
5
+ from compassapisdk.types import BaseModel
6
6
  from typing import Union
7
7
  from typing_extensions import TypeAliasType, TypedDict
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  from __future__ import annotations
4
4
  from .token_enum import TokenEnum
5
- from compass_api_sdk.types import BaseModel
5
+ from compassapisdk.types import BaseModel
6
6
  from typing_extensions import TypedDict
7
7
 
8
8
 
@@ -2,8 +2,8 @@
2
2
 
3
3
  from __future__ import annotations
4
4
  from .reserve import Reserve, ReserveTypedDict
5
- from compass_api_sdk.types import BaseModel
6
- from compass_api_sdk.utils import validate_const
5
+ from compassapisdk.types import BaseModel
6
+ from compassapisdk.utils import validate_const
7
7
  from enum import Enum
8
8
  import pydantic
9
9
  from pydantic.functional_validators import AfterValidator
@@ -1,7 +1,7 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
- from compass_api_sdk.types import (
4
+ from compassapisdk.types import (
5
5
  BaseModel,
6
6
  Nullable,
7
7
  OptionalNullable,
@@ -1,7 +1,7 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
- from compass_api_sdk.types import BaseModel
4
+ from compassapisdk.types import BaseModel
5
5
  from typing_extensions import TypedDict
6
6
 
7
7
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  from __future__ import annotations
4
4
  from .chaininfo import ChainInfo, ChainInfoTypedDict
5
- from compass_api_sdk.types import BaseModel
5
+ from compassapisdk.types import BaseModel
6
6
  from typing_extensions import TypedDict
7
7
 
8
8
 
@@ -1,7 +1,7 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
- from compass_api_sdk.types import BaseModel
4
+ from compassapisdk.types import BaseModel
5
5
  from typing_extensions import TypedDict
6
6
 
7
7
 
@@ -1,8 +1,8 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
- from compass_api_sdk.types import BaseModel
5
- from compass_api_sdk.utils import FieldMetadata, QueryParamMetadata
4
+ from compassapisdk.types import BaseModel
5
+ from compassapisdk.utils import FieldMetadata, QueryParamMetadata
6
6
  from enum import Enum
7
7
  from typing import Optional
8
8
  from typing_extensions import Annotated, NotRequired, TypedDict
@@ -70,6 +70,8 @@ class GenericAllowanceToken(str, Enum):
70
70
 
71
71
 
72
72
  class GenericAllowanceContractName(str, Enum):
73
+ r"""The name of the contract to check allowance for."""
74
+
73
75
  AAVE_V3_POOL = "AaveV3Pool"
74
76
  AERODROME_BASIC_ROUTER = "AerodromeBasicRouter"
75
77
  AERODROME_SLIPSTREAM_ROUTER = "AerodromeSlipstreamRouter"
@@ -88,13 +90,11 @@ class GenericAllowanceRequestTypedDict(TypedDict):
88
90
  chain: GenericAllowanceChain
89
91
  r"""The chain to use."""
90
92
  user: NotRequired[str]
93
+ r"""The user to get the ERC20 allowance of."""
91
94
  token: GenericAllowanceToken
92
- r"""A class representing the token.
93
-
94
- This class is used to represent the token in the system. Notice individual
95
- endpoints' documentation where per chain tokens are presented.
96
- """
95
+ r"""The symbol of the token for which the allowance is checked.."""
97
96
  contract_name: GenericAllowanceContractName
97
+ r"""The name of the contract to check allowance for."""
98
98
 
99
99
 
100
100
  class GenericAllowanceRequest(BaseModel):
@@ -108,18 +108,16 @@ class GenericAllowanceRequest(BaseModel):
108
108
  Optional[str],
109
109
  FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
110
110
  ] = "0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B"
111
+ r"""The user to get the ERC20 allowance of."""
111
112
 
112
113
  token: Annotated[
113
114
  GenericAllowanceToken,
114
115
  FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
115
116
  ] = GenericAllowanceToken.USDC
116
- r"""A class representing the token.
117
-
118
- This class is used to represent the token in the system. Notice individual
119
- endpoints' documentation where per chain tokens are presented.
120
- """
117
+ r"""The symbol of the token for which the allowance is checked.."""
121
118
 
122
119
  contract_name: Annotated[
123
120
  GenericAllowanceContractName,
124
121
  FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
125
122
  ] = GenericAllowanceContractName.AAVE_V3_POOL
123
+ r"""The name of the contract to check allowance for."""
@@ -1,8 +1,8 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
- from compass_api_sdk.types import BaseModel
5
- from compass_api_sdk.utils import FieldMetadata, QueryParamMetadata
4
+ from compassapisdk.types import BaseModel
5
+ from compassapisdk.utils import FieldMetadata, QueryParamMetadata
6
6
  from enum import Enum
7
7
  from typing import Optional
8
8
  from typing_extensions import Annotated, NotRequired, TypedDict
@@ -20,6 +20,7 @@ class GenericEnsRequestTypedDict(TypedDict):
20
20
  chain: GenericEnsChain
21
21
  r"""The chain to use."""
22
22
  ens_name: NotRequired[str]
23
+ r"""The ENS name to resolve."""
23
24
 
24
25
 
25
26
  class GenericEnsRequest(BaseModel):
@@ -33,3 +34,4 @@ class GenericEnsRequest(BaseModel):
33
34
  Optional[str],
34
35
  FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
35
36
  ] = "vitalik.eth"
37
+ r"""The ENS name to resolve."""
@@ -1,8 +1,8 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
- from compass_api_sdk.types import BaseModel
5
- from compass_api_sdk.utils import FieldMetadata, QueryParamMetadata
4
+ from compassapisdk.types import BaseModel
5
+ from compassapisdk.utils import FieldMetadata, QueryParamMetadata
6
6
  from enum import Enum
7
7
  from typing import Optional
8
8
  from typing_extensions import Annotated, NotRequired, TypedDict
@@ -20,6 +20,7 @@ class GenericPortfolioRequestTypedDict(TypedDict):
20
20
  chain: GenericPortfolioChain
21
21
  r"""The chain to use."""
22
22
  user: NotRequired[str]
23
+ r"""The user to get portfolio for."""
23
24
 
24
25
 
25
26
  class GenericPortfolioRequest(BaseModel):
@@ -33,3 +34,4 @@ class GenericPortfolioRequest(BaseModel):
33
34
  Optional[str],
34
35
  FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
35
36
  ] = "0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B"
37
+ r"""The user to get portfolio for."""
@@ -1,8 +1,8 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
- from compass_api_sdk.types import BaseModel
5
- from compass_api_sdk.utils import FieldMetadata, QueryParamMetadata
4
+ from compassapisdk.types import BaseModel
5
+ from compassapisdk.utils import FieldMetadata, QueryParamMetadata
6
6
  from enum import Enum
7
7
  from typing_extensions import Annotated, TypedDict
8
8
 
@@ -1,8 +1,8 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
- from compass_api_sdk.types import BaseModel
5
- from compass_api_sdk.utils import FieldMetadata, QueryParamMetadata
4
+ from compassapisdk.types import BaseModel
5
+ from compassapisdk.utils import FieldMetadata, QueryParamMetadata
6
6
  from enum import Enum
7
7
  from typing import Optional
8
8
  from typing_extensions import Annotated, NotRequired, TypedDict
@@ -20,6 +20,7 @@ class GenericVisualizePortfolioRequestTypedDict(TypedDict):
20
20
  chain: GenericVisualizePortfolioChain
21
21
  r"""The chain to use."""
22
22
  user: NotRequired[str]
23
+ r"""The user to get portfolio for."""
23
24
 
24
25
 
25
26
  class GenericVisualizePortfolioRequest(BaseModel):
@@ -33,3 +34,4 @@ class GenericVisualizePortfolioRequest(BaseModel):
33
34
  Optional[str],
34
35
  FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
35
36
  ] = "0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B"
37
+ r"""The user to get portfolio for."""
@@ -1,7 +1,7 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
- from compass_api_sdk.types import BaseModel
4
+ from compassapisdk.types import BaseModel
5
5
  from typing_extensions import TypedDict
6
6
 
7
7
 
@@ -3,7 +3,7 @@
3
3
  from __future__ import annotations
4
4
  from .contractname import ContractName
5
5
  from .token_enum import TokenEnum
6
- from compass_api_sdk.types import BaseModel
6
+ from compassapisdk.types import BaseModel
7
7
  from typing import Union
8
8
  from typing_extensions import TypeAliasType, TypedDict
9
9
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  from __future__ import annotations
4
4
  from .token_enum import TokenEnum
5
- from compass_api_sdk.types import BaseModel
5
+ from compassapisdk.types import BaseModel
6
6
  from enum import Enum
7
7
  from typing import Union
8
8
  from typing_extensions import TypeAliasType, TypedDict
@@ -3,7 +3,7 @@
3
3
  from __future__ import annotations
4
4
  from .chain import Chain
5
5
  from .token_enum import TokenEnum
6
- from compass_api_sdk.types import BaseModel
6
+ from compassapisdk.types import BaseModel
7
7
  from enum import Enum
8
8
  from typing import Union
9
9
  from typing_extensions import TypeAliasType, TypedDict
@@ -2,8 +2,8 @@
2
2
 
3
3
  from __future__ import annotations
4
4
  from .reserve import Reserve, ReserveTypedDict
5
- from compass_api_sdk.types import BaseModel
6
- from compass_api_sdk.utils import validate_const
5
+ from compassapisdk.types import BaseModel
6
+ from compassapisdk.utils import validate_const
7
7
  import pydantic
8
8
  from pydantic.functional_validators import AfterValidator
9
9
  from typing import Literal
@@ -1,7 +1,7 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
- from compass_api_sdk.types import BaseModel
4
+ from compassapisdk.types import BaseModel
5
5
  import pydantic
6
6
  from typing_extensions import Annotated, TypedDict
7
7
 
@@ -1,11 +1,10 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
- from compass_api_sdk.types import BaseModel
5
- from compass_api_sdk.utils import FieldMetadata, QueryParamMetadata
4
+ from compassapisdk.types import BaseModel
5
+ from compassapisdk.utils import FieldMetadata, QueryParamMetadata
6
6
  from enum import Enum
7
- from typing import Optional
8
- from typing_extensions import Annotated, NotRequired, TypedDict
7
+ from typing_extensions import Annotated, TypedDict
9
8
 
10
9
 
11
10
  class MorphoMarketPositionChain(str, Enum):
@@ -14,21 +13,25 @@ class MorphoMarketPositionChain(str, Enum):
14
13
 
15
14
 
16
15
  class MorphoMarketPositionRequestTypedDict(TypedDict):
17
- chain: NotRequired[MorphoMarketPositionChain]
16
+ chain: MorphoMarketPositionChain
18
17
  user_address: str
18
+ r"""The user address of the desired market position."""
19
19
  unique_market_key: str
20
+ r"""The key that uniquely identifies the market. This can be found using the 'Get Markets' endpoint."""
20
21
 
21
22
 
22
23
  class MorphoMarketPositionRequest(BaseModel):
23
24
  chain: Annotated[
24
- Optional[MorphoMarketPositionChain],
25
+ MorphoMarketPositionChain,
25
26
  FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
26
27
  ] = MorphoMarketPositionChain.ETHEREUM_MAINNET
27
28
 
28
29
  user_address: Annotated[
29
30
  str, FieldMetadata(query=QueryParamMetadata(style="form", explode=True))
30
31
  ] = "0xa829B388A3DF7f581cE957a95edbe419dd146d1B"
32
+ r"""The user address of the desired market position."""
31
33
 
32
34
  unique_market_key: Annotated[
33
35
  str, FieldMetadata(query=QueryParamMetadata(style="form", explode=True))
34
36
  ] = "0xe7399fdebc318d76dfec7356caafcf8cd4b91287e139a3ec423f09aeeb656fc4"
37
+ r"""The key that uniquely identifies the market. This can be found using the 'Get Markets' endpoint."""
@@ -1,18 +1,11 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
- from compass_api_sdk.types import (
5
- BaseModel,
6
- Nullable,
7
- OptionalNullable,
8
- UNSET,
9
- UNSET_SENTINEL,
10
- )
11
- from compass_api_sdk.utils import FieldMetadata, QueryParamMetadata
4
+ from compassapisdk.types import BaseModel, Nullable, UNSET_SENTINEL
5
+ from compassapisdk.utils import FieldMetadata, QueryParamMetadata
12
6
  from enum import Enum
13
7
  from pydantic import model_serializer
14
- from typing import Optional
15
- from typing_extensions import Annotated, NotRequired, TypedDict
8
+ from typing_extensions import Annotated, TypedDict
16
9
 
17
10
 
18
11
  class MorphoMarketsChain(str, Enum):
@@ -21,30 +14,34 @@ class MorphoMarketsChain(str, Enum):
21
14
 
22
15
 
23
16
  class MorphoMarketsRequestTypedDict(TypedDict):
24
- chain: NotRequired[MorphoMarketsChain]
25
- collateral_token: NotRequired[Nullable[str]]
26
- loan_token: NotRequired[Nullable[str]]
17
+ collateral_token: Nullable[str]
18
+ r"""Collateral token to identify the market."""
19
+ loan_token: Nullable[str]
20
+ r"""Loan token to identify the market."""
21
+ chain: MorphoMarketsChain
27
22
 
28
23
 
29
24
  class MorphoMarketsRequest(BaseModel):
30
- chain: Annotated[
31
- Optional[MorphoMarketsChain],
32
- FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
33
- ] = MorphoMarketsChain.ETHEREUM_MAINNET
34
-
35
25
  collateral_token: Annotated[
36
- OptionalNullable[str],
26
+ Nullable[str],
37
27
  FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
38
- ] = UNSET
28
+ ]
29
+ r"""Collateral token to identify the market."""
39
30
 
40
31
  loan_token: Annotated[
41
- OptionalNullable[str],
32
+ Nullable[str],
42
33
  FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
43
- ] = UNSET
34
+ ]
35
+ r"""Loan token to identify the market."""
36
+
37
+ chain: Annotated[
38
+ MorphoMarketsChain,
39
+ FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
40
+ ] = MorphoMarketsChain.ETHEREUM_MAINNET
44
41
 
45
42
  @model_serializer(mode="wrap")
46
43
  def serialize_model(self, handler):
47
- optional_fields = ["chain", "collateral_token", "loan_token"]
44
+ optional_fields = []
48
45
  nullable_fields = ["collateral_token", "loan_token"]
49
46
  null_default_fields = []
50
47
 
@@ -1,11 +1,10 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
- from compass_api_sdk.types import BaseModel
5
- from compass_api_sdk.utils import FieldMetadata, QueryParamMetadata
4
+ from compassapisdk.types import BaseModel
5
+ from compassapisdk.utils import FieldMetadata, QueryParamMetadata
6
6
  from enum import Enum
7
- from typing import Optional
8
- from typing_extensions import Annotated, NotRequired, TypedDict
7
+ from typing_extensions import Annotated, TypedDict
9
8
 
10
9
 
11
10
  class MorphoVaultPositionChain(str, Enum):
@@ -14,21 +13,25 @@ class MorphoVaultPositionChain(str, Enum):
14
13
 
15
14
 
16
15
  class MorphoVaultPositionRequestTypedDict(TypedDict):
17
- chain: NotRequired[MorphoVaultPositionChain]
16
+ chain: MorphoVaultPositionChain
18
17
  user_address: str
18
+ r"""The user address of the desired vault position."""
19
19
  vault_address: str
20
+ r"""The vault address of the desired vault position."""
20
21
 
21
22
 
22
23
  class MorphoVaultPositionRequest(BaseModel):
23
24
  chain: Annotated[
24
- Optional[MorphoVaultPositionChain],
25
+ MorphoVaultPositionChain,
25
26
  FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
26
27
  ] = MorphoVaultPositionChain.ETHEREUM_MAINNET
27
28
 
28
29
  user_address: Annotated[
29
30
  str, FieldMetadata(query=QueryParamMetadata(style="form", explode=True))
30
31
  ] = "0xa829B388A3DF7f581cE957a95edbe419dd146d1B"
32
+ r"""The user address of the desired vault position."""
31
33
 
32
34
  vault_address: Annotated[
33
35
  str, FieldMetadata(query=QueryParamMetadata(style="form", explode=True))
34
36
  ] = "0xbEef047a543E45807105E51A8BBEFCc5950fcfBa"
37
+ r"""The vault address of the desired vault position."""
@@ -1,18 +1,11 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
- from compass_api_sdk.types import (
5
- BaseModel,
6
- Nullable,
7
- OptionalNullable,
8
- UNSET,
9
- UNSET_SENTINEL,
10
- )
11
- from compass_api_sdk.utils import FieldMetadata, QueryParamMetadata
4
+ from compassapisdk.types import BaseModel, Nullable, UNSET_SENTINEL
5
+ from compassapisdk.utils import FieldMetadata, QueryParamMetadata
12
6
  from enum import Enum
13
7
  from pydantic import model_serializer
14
- from typing import Optional
15
- from typing_extensions import Annotated, NotRequired, TypedDict
8
+ from typing_extensions import Annotated, TypedDict
16
9
 
17
10
 
18
11
  class MorphoVaultsChain(str, Enum):
@@ -21,24 +14,26 @@ class MorphoVaultsChain(str, Enum):
21
14
 
22
15
 
23
16
  class MorphoVaultsRequestTypedDict(TypedDict):
24
- chain: NotRequired[MorphoVaultsChain]
25
- deposit_token: NotRequired[Nullable[str]]
17
+ deposit_token: Nullable[str]
18
+ r"""Token address that will filter vaults by this deposit token."""
19
+ chain: MorphoVaultsChain
26
20
 
27
21
 
28
22
  class MorphoVaultsRequest(BaseModel):
29
- chain: Annotated[
30
- Optional[MorphoVaultsChain],
23
+ deposit_token: Annotated[
24
+ Nullable[str],
31
25
  FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
32
- ] = MorphoVaultsChain.ETHEREUM_MAINNET
26
+ ]
27
+ r"""Token address that will filter vaults by this deposit token."""
33
28
 
34
- deposit_token: Annotated[
35
- OptionalNullable[str],
29
+ chain: Annotated[
30
+ MorphoVaultsChain,
36
31
  FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
37
- ] = UNSET
32
+ ] = MorphoVaultsChain.ETHEREUM_MAINNET
38
33
 
39
34
  @model_serializer(mode="wrap")
40
35
  def serialize_model(self, handler):
41
- optional_fields = ["chain", "deposit_token"]
36
+ optional_fields = []
42
37
  nullable_fields = ["deposit_token"]
43
38
  null_default_fields = []
44
39
 
@@ -1,7 +1,7 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
- from compass_api_sdk.types import (
4
+ from compassapisdk.types import (
5
5
  BaseModel,
6
6
  Nullable,
7
7
  OptionalNullable,
@@ -1,7 +1,7 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
- from compass_api_sdk.types import BaseModel
4
+ from compassapisdk.types import BaseModel
5
5
  from typing_extensions import TypedDict
6
6
 
7
7
 
@@ -1,7 +1,7 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
- from compass_api_sdk.types import BaseModel
4
+ from compassapisdk.types import BaseModel
5
5
  from typing_extensions import TypedDict
6
6
 
7
7
 
@@ -1,7 +1,7 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
- from compass_api_sdk.types import (
4
+ from compassapisdk.types import (
5
5
  BaseModel,
6
6
  Nullable,
7
7
  OptionalNullable,
@@ -2,7 +2,7 @@
2
2
 
3
3
  from __future__ import annotations
4
4
  from .morphomarket import MorphoMarket, MorphoMarketTypedDict
5
- from compass_api_sdk.types import BaseModel
5
+ from compassapisdk.types import BaseModel
6
6
  from typing import List
7
7
  from typing_extensions import TypedDict
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  from __future__ import annotations
4
4
  from .morphovault import MorphoVault, MorphoVaultTypedDict
5
- from compass_api_sdk.types import BaseModel
5
+ from compassapisdk.types import BaseModel
6
6
  from typing import List
7
7
  from typing_extensions import TypedDict
8
8
 
@@ -7,7 +7,7 @@ from .compass_api_backend_models_morpho_read_response_get_markets_asset import (
7
7
  )
8
8
  from .marketstate import MarketState, MarketStateTypedDict
9
9
  from .weeklyapys import WeeklyApys, WeeklyApysTypedDict
10
- from compass_api_sdk.types import BaseModel, Nullable, UNSET_SENTINEL
10
+ from compassapisdk.types import BaseModel, Nullable, UNSET_SENTINEL
11
11
  import pydantic
12
12
  from pydantic import model_serializer
13
13
  from typing_extensions import Annotated, TypedDict
@@ -1,7 +1,7 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
- from compass_api_sdk.types import (
4
+ from compassapisdk.types import (
5
5
  BaseModel,
6
6
  Nullable,
7
7
  OptionalNullable,