ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.484.1

This commit is contained in:
speakeasybot
2025-02-06 00:02:38 +00:00
parent 816a882f01
commit 8eb9395ec4
59 changed files with 2516 additions and 1132 deletions

View File

@@ -81,7 +81,7 @@ class Watchlist(BaseSDK):
retry_config=retry_config,
)
data: Any = None
response_data: Any = None
if utils.match_response(http_res, "200", "application/json"):
return operations.GetWatchListResponse(
object=utils.unmarshal_json(
@@ -92,17 +92,17 @@ class Watchlist(BaseSDK):
raw_response=http_res,
)
if utils.match_response(http_res, "400", "application/json"):
data = utils.unmarshal_json(
response_data = utils.unmarshal_json(
http_res.text, errors.GetWatchListBadRequestData
)
data.raw_response = http_res
raise errors.GetWatchListBadRequest(data=data)
response_data.raw_response = http_res
raise errors.GetWatchListBadRequest(data=response_data)
if utils.match_response(http_res, "401", "application/json"):
data = utils.unmarshal_json(
response_data = utils.unmarshal_json(
http_res.text, errors.GetWatchListUnauthorizedData
)
data.raw_response = http_res
raise errors.GetWatchListUnauthorized(data=data)
response_data.raw_response = http_res
raise errors.GetWatchListUnauthorized(data=response_data)
if utils.match_response(http_res, "4XX", "*"):
http_res_text = utils.stream_to_text(http_res)
raise errors.SDKError(
@@ -193,7 +193,7 @@ class Watchlist(BaseSDK):
retry_config=retry_config,
)
data: Any = None
response_data: Any = None
if utils.match_response(http_res, "200", "application/json"):
return operations.GetWatchListResponse(
object=utils.unmarshal_json(
@@ -204,17 +204,17 @@ class Watchlist(BaseSDK):
raw_response=http_res,
)
if utils.match_response(http_res, "400", "application/json"):
data = utils.unmarshal_json(
response_data = utils.unmarshal_json(
http_res.text, errors.GetWatchListBadRequestData
)
data.raw_response = http_res
raise errors.GetWatchListBadRequest(data=data)
response_data.raw_response = http_res
raise errors.GetWatchListBadRequest(data=response_data)
if utils.match_response(http_res, "401", "application/json"):
data = utils.unmarshal_json(
response_data = utils.unmarshal_json(
http_res.text, errors.GetWatchListUnauthorizedData
)
data.raw_response = http_res
raise errors.GetWatchListUnauthorized(data=data)
response_data.raw_response = http_res
raise errors.GetWatchListUnauthorized(data=response_data)
if utils.match_response(http_res, "4XX", "*"):
http_res_text = await utils.stream_to_text_async(http_res)
raise errors.SDKError(