Skip to content

Commit f2b4113

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.541.2
1 parent bf086ba commit f2b4113

File tree

8 files changed

+52
-20
lines changed

8 files changed

+52
-20
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
**/.speakeasy/temp/
2+
**/.speakeasy/logs/
13
README-PYPI.md
24
.speakeasy/temp/
35
.venv/

.speakeasy/gen.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: d059afa4-1f18-44f7-bd12-4e2a2a82c9fb
33
management:
4-
docChecksum: 78c10d358888202b7e267d0a8d8f9fc7
4+
docChecksum: fb4d14060428a3071041bd3e6b477e96
55
docVersion: latest
6-
speakeasyVersion: 1.540.1
7-
generationVersion: 2.593.4
8-
releaseVersion: 0.7.0
9-
configChecksum: 802a839b209b13f0e28374ea29777dcc
6+
speakeasyVersion: 1.541.2
7+
generationVersion: 2.595.4
8+
releaseVersion: 0.7.1
9+
configChecksum: 436da1fa968d50999842df2e77a47202
1010
repoURL: https://github.com/moovfinancial/moov-python.git
1111
installationURL: https://github.com/moovfinancial/moov-python.git
1212
published: true

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ generation:
1616
oAuth2ClientCredentialsEnabled: true
1717
oAuth2PasswordEnabled: true
1818
python:
19-
version: 0.7.0
19+
version: 0.7.1
2020
additionalDependencies:
2121
dev: {}
2222
main: {}

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
speakeasyVersion: 1.540.1
1+
speakeasyVersion: 1.541.2
22
sources:
33
latest:
44
sourceNamespace: api-latest
5-
sourceRevisionDigest: sha256:87dff9a575a7616019237f31e50868326f806a52b5c900ac018676bdef3d7350
6-
sourceBlobDigest: sha256:5db98477810ac6e86d84ce77a0e40aab2d670b542e88281fd39e7dec4c13605f
5+
sourceRevisionDigest: sha256:0f06c532f44cbf2a1e3b36e7d59607fc7a93216cfa3b70baa4544360f7357575
6+
sourceBlobDigest: sha256:d6d92f14aad1b1d49ef258cf79334ddf2832d7ad921c44885f9d5815a11fcbad
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1745971928
9+
- speakeasy-sdk-regen-1746058411
1010
targets:
1111
latest:
1212
source: latest
1313
sourceNamespace: api-latest
14-
sourceRevisionDigest: sha256:87dff9a575a7616019237f31e50868326f806a52b5c900ac018676bdef3d7350
15-
sourceBlobDigest: sha256:5db98477810ac6e86d84ce77a0e40aab2d670b542e88281fd39e7dec4c13605f
14+
sourceRevisionDigest: sha256:0f06c532f44cbf2a1e3b36e7d59607fc7a93216cfa3b70baa4544360f7357575
15+
sourceBlobDigest: sha256:d6d92f14aad1b1d49ef258cf79334ddf2832d7ad921c44885f9d5815a11fcbad
1616
codeSamplesNamespace: latest-python-code-samples
17-
codeSamplesRevisionDigest: sha256:8d002e8c49258b940f193e17a5866af84f83882557e7756da18c944d1f0ba867
17+
codeSamplesRevisionDigest: sha256:1fa4be4e2e2ca5a944791b9e8254e5a14cdb85467e56f6e49691d7231de5a4aa
1818
workflow:
1919
workflowVersion: 1.0.0
2020
speakeasyVersion: latest

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,4 +326,14 @@ Based on:
326326
### Generated
327327
- [python v0.7.0] .
328328
### Releases
329-
- [PyPI v0.7.0] https://pypi.org/project/moovio_sdk/0.7.0 - .
329+
- [PyPI v0.7.0] https://pypi.org/project/moovio_sdk/0.7.0 - .
330+
331+
## 2025-05-01 00:13:15
332+
### Changes
333+
Based on:
334+
- OpenAPI Doc
335+
- Speakeasy CLI 1.541.2 (2.595.4) https://github.com/speakeasy-api/speakeasy
336+
### Generated
337+
- [python v0.7.1] .
338+
### Releases
339+
- [PyPI v0.7.1] https://pypi.org/project/moovio_sdk/0.7.1 - .

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "moovio_sdk"
3-
version = "0.7.0"
3+
version = "0.7.1"
44
description = "Python Client SDK Generated by Speakeasy."
55
authors = [{ name = "Speakeasy" },{ name = "Moov" },]
66
readme = "README-PYPI.md"

src/moovio_sdk/_version.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
import importlib.metadata
44

55
__title__: str = "moovio_sdk"
6-
__version__: str = "0.7.0"
6+
__version__: str = "0.7.1"
77
__openapi_doc_version__: str = "latest"
8-
__gen_version__: str = "2.593.4"
9-
__user_agent__: str = "speakeasy-sdk/python 0.7.0 2.593.4 latest moovio_sdk"
8+
__gen_version__: str = "2.595.4"
9+
__user_agent__: str = "speakeasy-sdk/python 0.7.1 2.595.4 latest moovio_sdk"
1010

1111
try:
1212
if __package__ is not None:

src/moovio_sdk/payment_links.py

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1313,14 +1313,24 @@ def disable(
13131313
),
13141314
),
13151315
request=req,
1316-
error_status_codes=["4XX", "5XX"],
1316+
error_status_codes=["401", "403", "404", "429", "4XX", "500", "504", "5XX"],
13171317
retry_config=retry_config,
13181318
)
13191319

13201320
if utils.match_response(http_res, "204", "*"):
13211321
return operations.DisablePaymentLinkResponse(
13221322
headers=utils.get_response_headers(http_res.headers)
13231323
)
1324+
if utils.match_response(http_res, ["401", "403", "404", "429"], "*"):
1325+
http_res_text = utils.stream_to_text(http_res)
1326+
raise errors.APIError(
1327+
"API error occurred", http_res.status_code, http_res_text, http_res
1328+
)
1329+
if utils.match_response(http_res, ["500", "504"], "*"):
1330+
http_res_text = utils.stream_to_text(http_res)
1331+
raise errors.APIError(
1332+
"API error occurred", http_res.status_code, http_res_text, http_res
1333+
)
13241334
if utils.match_response(http_res, "4XX", "*"):
13251335
http_res_text = utils.stream_to_text(http_res)
13261336
raise errors.APIError(
@@ -1415,14 +1425,24 @@ async def disable_async(
14151425
),
14161426
),
14171427
request=req,
1418-
error_status_codes=["4XX", "5XX"],
1428+
error_status_codes=["401", "403", "404", "429", "4XX", "500", "504", "5XX"],
14191429
retry_config=retry_config,
14201430
)
14211431

14221432
if utils.match_response(http_res, "204", "*"):
14231433
return operations.DisablePaymentLinkResponse(
14241434
headers=utils.get_response_headers(http_res.headers)
14251435
)
1436+
if utils.match_response(http_res, ["401", "403", "404", "429"], "*"):
1437+
http_res_text = await utils.stream_to_text_async(http_res)
1438+
raise errors.APIError(
1439+
"API error occurred", http_res.status_code, http_res_text, http_res
1440+
)
1441+
if utils.match_response(http_res, ["500", "504"], "*"):
1442+
http_res_text = await utils.stream_to_text_async(http_res)
1443+
raise errors.APIError(
1444+
"API error occurred", http_res.status_code, http_res_text, http_res
1445+
)
14261446
if utils.match_response(http_res, "4XX", "*"):
14271447
http_res_text = await utils.stream_to_text_async(http_res)
14281448
raise errors.APIError(

0 commit comments

Comments
 (0)