Skip to content

Commit 64bfdf0

Browse files
feat(api): api update
1 parent d81def3 commit 64bfdf0

64 files changed

Lines changed: 504 additions & 151 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: 2 additions & 2 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-5768d4f43166406f5b74235f2dd9e91082bd67a7b182ca05d5df55604ebedd7e.yml
3-
openapi_spec_hash: 2c5da98fd945fbfc68611634b7aa7042
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cryptech%2Fneptune-api-v2-09b5978b7e7d59cea96f054720bdf341353c0678caacf5ba5a1667027805e60d.yml
3+
openapi_spec_hash: 67359dbd4d14a0f1a5c11e25084c33f0
44
config_hash: fa0efc29593602eac57523d55bc83fa6

api.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,10 @@ from neptune_api_v2.types import (
77
ErrorData,
88
ErrorDataVariants,
99
ErrorKind,
10-
ErrorResponseVariants,
1110
ErrorScope,
1211
FieldValidationError,
1312
Interval,
1413
IntervalUnit,
15-
ListErrorResponse,
16-
ObjErrorResponse,
1714
ValidationErrorData,
1815
ValidationFieldSource,
1916
)

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ class DataSeriesPoint(BaseModel):
5555

5656

5757
class DataSeries(BaseModel):
58+
"""Item and associated points"""
59+
5860
asset: AssetSpec
5961
"""Provides a unique identifier for an asset for use throughout the Neptune API.
6062
@@ -77,12 +79,9 @@ class Data(BaseModel):
7779
"""
7880

7981
series: List[DataSeries]
80-
"""Pairs of items and their associated points"""
8182

8283

8384
class HistoryGetLoansOriginatedByAssetResponse(BaseModel):
84-
"""Object data success response"""
85-
8685
data: Data
8786
"""Historical cumulative lend value for assets"""
8887

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,6 @@ class Data(BaseModel):
5757

5858

5959
class HistoryGetLoansOriginatedResponse(BaseModel):
60-
"""Object data success response"""
61-
6260
data: Data
6361
"""Historical cumulative lend value for assets"""
6462

src/neptune_api_v2/types/analytics/market_get_current_state_response.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,6 @@ class Data(BaseModel):
5757

5858

5959
class MarketGetCurrentStateResponse(BaseModel):
60-
"""Object data success response"""
61-
6260
data: Data
6361

6462
error: None = None

src/neptune_api_v2/types/analytics/nept_unlocks_distribution_response.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ class Data(BaseModel):
1313

1414

1515
class NeptUnlocksDistributionResponse(BaseModel):
16-
"""Object data success response"""
17-
1816
data: Data
1917

2018
error: None = None

src/neptune_api_v2/types/asset_get_price_history_response.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77

88

99
class AssetGetPriceHistoryResponse(BaseModel):
10-
"""Object data success response"""
11-
1210
data: AssetPriceHistory
1311
"""Historical prices for assets"""
1412

src/neptune_api_v2/types/asset_list_prices_response.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ class Data(BaseModel):
4141

4242

4343
class AssetListPricesResponse(BaseModel):
44-
"""List data success response"""
45-
4644
count: int
4745
"""Total number of objects irrespective of any pagination parameters."""
4846

src/neptune_api_v2/types/asset_list_response.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99

1010

1111
class AssetListResponse(BaseModel):
12-
"""List data success response"""
13-
1412
count: int
1513
"""Total number of objects irrespective of any pagination parameters."""
1614

src/neptune_api_v2/types/asset_price_history.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ class SeriesPoint(BaseModel):
4848

4949

5050
class Series(BaseModel):
51+
"""Item and associated points"""
52+
5153
asset: AssetSpec
5254
"""Provides a unique identifier for an asset for use throughout the Neptune API.
5355
@@ -70,4 +72,3 @@ class AssetPriceHistory(BaseModel):
7072
"""
7173

7274
series: List[Series]
73-
"""Pairs of items and their associated points"""

0 commit comments

Comments
 (0)