Skip to content

Commit b7c41b2

Browse files
feat(api): manual updates
1 parent fabb464 commit b7c41b2

92 files changed

Lines changed: 1497 additions & 1382 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 48
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cryptech%2Fneptune-api-v2-65d147ca43891623187340ff0aa56887343ee8e60d19ad156b65e241ebea8a99.yml
3-
openapi_spec_hash: c063aafd7db98b2572545d87247fc8a1
4-
config_hash: 25ce124efff11211f32262e6c378136d
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cryptech%2Fneptune-api-v2-5768d4f43166406f5b74235f2dd9e91082bd67a7b182ca05d5df55604ebedd7e.yml
3+
openapi_spec_hash: 2c5da98fd945fbfc68611634b7aa7042
4+
config_hash: fa0efc29593602eac57523d55bc83fa6

api.md

Lines changed: 45 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,20 @@
33
Types:
44

55
```python
6-
from neptune_api_v2.types import Interval, IntervalUnit
6+
from neptune_api_v2.types import (
7+
ErrorData,
8+
ErrorDataVariants,
9+
ErrorKind,
10+
ErrorResponseVariants,
11+
ErrorScope,
12+
FieldValidationError,
13+
Interval,
14+
IntervalUnit,
15+
ListErrorResponse,
16+
ObjErrorResponse,
17+
ValidationErrorData,
18+
ValidationFieldSource,
19+
)
720
```
821

922
# Status
@@ -27,6 +40,9 @@ from neptune_api_v2.types import (
2740
AssetClassification,
2841
AssetInfo,
2942
AssetMetadata,
43+
AssetPrice,
44+
AssetPriceHistory,
45+
AssetRateHistory,
3046
AssetSpec,
3147
AssetListResponse,
3248
AssetGetPriceHistoryResponse,
@@ -46,8 +62,8 @@ Types:
4662

4763
```python
4864
from neptune_api_v2.types import (
49-
AssetRateHistory,
5065
GlobalMarketConfig,
66+
MarketRate,
5167
MergedMarket,
5268
MarketGetMergedResponse,
5369
MarketGetMergedByAssetResponse,
@@ -70,8 +86,8 @@ Types:
7086
```python
7187
from neptune_api_v2.types.markets import (
7288
LendMarket,
89+
LendMarketData,
7390
LendMarketState,
74-
MarketRate,
7591
LendListResponse,
7692
LendGetByAssetResponse,
7793
LendGetRateHistoryResponse,
@@ -109,6 +125,7 @@ Types:
109125
from neptune_api_v2.types.markets.borrow import (
110126
BorrowCollateralConfig,
111127
BorrowCollateralMarket,
128+
BorrowCollateralMarketData,
112129
BorrowCollateralState,
113130
CollateralListResponse,
114131
CollateralGetByAssetResponse,
@@ -128,6 +145,7 @@ Types:
128145
from neptune_api_v2.types.markets.borrow import (
129146
BorrowDebtConfig,
130147
BorrowDebtMarket,
148+
BorrowDebtMarketData,
131149
BorrowDebtState,
132150
DebtListResponse,
133151
DebtGetByAssetResponse,
@@ -145,6 +163,9 @@ Types:
145163

146164
```python
147165
from neptune_api_v2.types import (
166+
NeptParams,
167+
NeptState,
168+
NeptUnlockDistributionGroup,
148169
StakingPoolFull,
149170
StakingPoolParams,
150171
StakingPoolState,
@@ -165,7 +186,13 @@ Methods:
165186
Types:
166187

167188
```python
168-
from neptune_api_v2.types import EventAction, UserGetTxHistoryResponse, UserGetUserResponse
189+
from neptune_api_v2.types import (
190+
EventAction,
191+
User,
192+
UserTx,
193+
UserGetTxHistoryResponse,
194+
UserGetUserResponse,
195+
)
169196
```
170197

171198
Methods:
@@ -199,7 +226,7 @@ Types:
199226

200227
```python
201228
from neptune_api_v2.types.user.market import (
202-
UserDebtAssetPool,
229+
UserLendMarket,
203230
LendListResponse,
204231
LendGetByAssetResponse,
205232
)
@@ -217,6 +244,7 @@ Types:
217244
```python
218245
from neptune_api_v2.types.user.market import (
219246
UserBorrowMarket,
247+
UserBorrowMarketPools,
220248
BorrowGetCollateralAccountsByAssetResponse,
221249
BorrowGetCollateralTotalsResponse,
222250
BorrowGetDebtAccountsByAssetResponse,
@@ -241,7 +269,10 @@ Types:
241269
from neptune_api_v2.types.user.market.borrow import (
242270
UserAccountHealth,
243271
UserBorrowMarketAccount,
272+
UserCollateralAccountPool,
244273
UserCollateralAssetPool,
274+
UserDebtAccountPool,
275+
UserDebtAssetPool,
245276
SubaccountGetSubaccountResponse,
246277
SubaccountGetSubaccountCollateralsResponse,
247278
SubaccountGetSubaccountDebtsResponse,
@@ -262,8 +293,11 @@ Types:
262293

263294
```python
264295
from neptune_api_v2.types.user import (
265-
UserNeptUnlockAmounts,
266-
UserNeptUnlockOverview,
296+
UserUnlockAmounts,
297+
UserUnlockOverview,
298+
UserUnlockSchedule,
299+
UserUnlockScheduleLinear,
300+
UserUnlockScheduleLumpSum,
267301
NeptGetUnlocksResponse,
268302
)
269303
```
@@ -279,7 +313,9 @@ Types:
279313
```python
280314
from neptune_api_v2.types.user.nept import (
281315
UserStake,
316+
UserStakeBondingEntry,
282317
UserStakePool,
318+
UserStakeUnbonding,
283319
UserStakeUnbondingEntry,
284320
StakingGetOverviewResponse,
285321
StakingGetStakingPoolResponse,
@@ -302,7 +338,9 @@ Types:
302338
```python
303339
from neptune_api_v2.types.user import (
304340
UserWalletPortfolio,
341+
WalletAsset,
305342
WalletAssetKnown,
343+
WalletAssetUnknown,
306344
WalletBalance,
307345
WalletGetBalanceByAssetResponse,
308346
WalletGetBalancesResponse,

src/neptune_api_v2/types/__init__.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,17 @@
22

33
from __future__ import annotations
44

5+
from .user import User as User
6+
from .user_tx import UserTx as UserTx
57
from .interval import Interval as Interval
68
from .asset_info import AssetInfo as AssetInfo
79
from .asset_spec import AssetSpec as AssetSpec
10+
from .error_kind import ErrorKind as ErrorKind
11+
from .nept_state import NeptState as NeptState
12+
from .asset_price import AssetPrice as AssetPrice
13+
from .error_scope import ErrorScope as ErrorScope
14+
from .market_rate import MarketRate as MarketRate
15+
from .nept_params import NeptParams as NeptParams
816
from .event_action import EventAction as EventAction
917
from .interval_unit import IntervalUnit as IntervalUnit
1018
from .merged_market import MergedMarket as MergedMarket
@@ -13,6 +21,7 @@
1321
from .asset_rate_history import AssetRateHistory as AssetRateHistory
1422
from .staking_pool_state import StakingPoolState as StakingPoolState
1523
from .asset_list_response import AssetListResponse as AssetListResponse
24+
from .asset_price_history import AssetPriceHistory as AssetPriceHistory
1625
from .staking_pool_params import StakingPoolParams as StakingPoolParams
1726
from .asset_classification import AssetClassification as AssetClassification
1827
from .global_market_config import GlobalMarketConfig as GlobalMarketConfig
@@ -21,6 +30,7 @@
2130
from .nept_get_params_params import NeptGetParamsParams as NeptGetParamsParams
2231
from .user_get_user_response import UserGetUserResponse as UserGetUserResponse
2332
from .nept_get_state_response import NeptGetStateResponse as NeptGetStateResponse
33+
from .validation_field_source import ValidationFieldSource as ValidationFieldSource
2434
from .asset_list_prices_params import AssetListPricesParams as AssetListPricesParams
2535
from .market_get_merged_params import MarketGetMergedParams as MarketGetMergedParams
2636
from .market_get_params_params import MarketGetParamsParams as MarketGetParamsParams
@@ -34,6 +44,7 @@
3444
from .status_check_health_response import StatusCheckHealthResponse as StatusCheckHealthResponse
3545
from .user_get_tx_history_response import UserGetTxHistoryResponse as UserGetTxHistoryResponse
3646
from .asset_get_price_history_params import AssetGetPriceHistoryParams as AssetGetPriceHistoryParams
47+
from .nept_unlock_distribution_group import NeptUnlockDistributionGroup as NeptUnlockDistributionGroup
3748
from .asset_get_price_history_response import AssetGetPriceHistoryResponse as AssetGetPriceHistoryResponse
3849
from .nept_get_staking_overview_params import NeptGetStakingOverviewParams as NeptGetStakingOverviewParams
3950
from .market_get_merged_by_asset_params import MarketGetMergedByAssetParams as MarketGetMergedByAssetParams

src/neptune_api_v2/types/analytics/market/history_get_loans_originated_by_asset_response.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class DataSeries(BaseModel):
6565

6666

6767
class Data(BaseModel):
68-
"""Primary response content (object)"""
68+
"""Historical cumulative lend value for assets"""
6969

7070
pagination: DataPagination
7171
"""Values used for paginating the time series data"""
@@ -84,7 +84,7 @@ class HistoryGetLoansOriginatedByAssetResponse(BaseModel):
8484
"""Object data success response"""
8585

8686
data: Data
87-
"""Primary response content (object)"""
87+
"""Historical cumulative lend value for assets"""
8888

8989
error: None = None
9090
"""Error data. Guaranteed `null` for successful response."""

src/neptune_api_v2/types/analytics/market/history_get_loans_originated_response.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class DataRange(BaseModel):
4545

4646

4747
class Data(BaseModel):
48-
"""Primary response content (object)"""
48+
"""Historical cumulative lend value for assets"""
4949

5050
pagination: DataPagination
5151
"""Pagination parameters for the interval response"""
@@ -60,7 +60,7 @@ class HistoryGetLoansOriginatedResponse(BaseModel):
6060
"""Object data success response"""
6161

6262
data: Data
63-
"""Primary response content (object)"""
63+
"""Historical cumulative lend value for assets"""
6464

6565
error: None = None
6666
"""Error data. Guaranteed `null` for successful response."""

src/neptune_api_v2/types/analytics/market_get_current_state_response.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@ class DataLoansOriginated(BaseModel):
4242

4343

4444
class Data(BaseModel):
45-
"""Primary response content (object)"""
46-
4745
assets: List[DataAsset]
4846

4947
borrower_account_active: int
@@ -62,7 +60,6 @@ class MarketGetCurrentStateResponse(BaseModel):
6260
"""Object data success response"""
6361

6462
data: Data
65-
"""Primary response content (object)"""
6663

6764
error: None = None
6865
"""Error data. Guaranteed `null` for successful response."""

0 commit comments

Comments
 (0)