From 1c6d828a3f7f0e1e4efbf1ee42e1dbfa3eb1fa79 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 14 Jan 2026 14:28:52 +0000 Subject: [PATCH 1/2] ## Python SDK Changes: * `gr4vy.transactions.create()`: `response.iso_response_code` **Added** * `gr4vy.transactions.get()`: `response.iso_response_code` **Added** * `gr4vy.transactions.update()`: `response.iso_response_code` **Added** * `gr4vy.transactions.capture()`: `response.[transaction_capture].transaction.iso_response_code` **Added** * `gr4vy.transactions.void()`: `response.[transaction_void].transaction.iso_response_code` **Added** * `gr4vy.transactions.cancel()`: `response.transaction.iso_response_code` **Added** * `gr4vy.transactions.sync()`: `response.iso_response_code` **Added** --- .speakeasy/gen.lock | 38 ++++++++++++++++++++------------- .speakeasy/gen.yaml | 2 +- .speakeasy/workflow.lock | 12 +++++------ RELEASES.md | 12 ++++++++++- docs/models/transaction.md | 3 ++- pyproject.toml | 2 +- src/gr4vy/_version.py | 4 ++-- src/gr4vy/models/transaction.py | 7 ++++++ 8 files changed, 53 insertions(+), 27 deletions(-) diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 4cdf15b..3fcbdec 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,19 +1,19 @@ lockVersion: 2.0.0 id: 833c6a67-4a4a-4ef1-ba24-165a29264e4a management: - docChecksum: 382dc904c609b6b5f4d984d5c35b3f52 + docChecksum: c0c0c1b8bbe1e8acbad8d0990d56bf22 docVersion: 1.0.0 speakeasyVersion: 1.685.0 generationVersion: 2.794.1 - releaseVersion: 1.10.11 - configChecksum: 3f47855715dc6995bd71c3a8985f867e + releaseVersion: 1.10.12 + configChecksum: 6ee2d97c3cef078a022a8ad1da70e98e repoURL: https://github.com/gr4vy/gr4vy-python.git installationURL: https://github.com/gr4vy/gr4vy-python.git published: true persistentEdits: - generation_id: 58022ffb-3399-4795-8572-eb8c7b45cc65 - pristine_commit_hash: 3784a60447f1aefee8ef5faef56648792026e7c7 - pristine_tree_hash: c0955b2ee8a09dd212a5deae5032f8a64569b0de + generation_id: 1b199db8-88f0-4d43-98a3-9421ed9c9eee + pristine_commit_hash: 02e474bbbc9931d36cc43d1040d0c4094d22233f + pristine_tree_hash: fda76d750cb511891350ab78a0ba47ceda53b936 features: python: additionalDependencies: 1.0.0 @@ -1820,8 +1820,8 @@ trackedFiles: pristine_git_object: ef6746573af361b30cd0a9b986fd18c599b8641d docs/models/transaction.md: id: 24ab0958a449 - last_write_checksum: sha1:4a17a99cb3cda2f4125b1a517b4db21e915aefc2 - pristine_git_object: 122b0437bd1007a424440633733619790abb4139 + last_write_checksum: sha1:ec5b6fe771c52338c3bcf706986e61e45a448c8b + pristine_git_object: f79bd5298a3a45bb8c302be4f173b59a1080a31a docs/models/transactionaction.md: id: 5f03c1427673 last_write_checksum: sha1:5c7feaaf0b1cff6c198d59bdacd98037c2385390 @@ -2224,8 +2224,8 @@ trackedFiles: pristine_git_object: e8cd3e85682cd3d489cf3c5be75a0563d0c9f4bf pyproject.toml: id: 5d07e7d72637 - last_write_checksum: sha1:7f49c3afca67dd2332a8933a9aba5b95b4e0f2b8 - pristine_git_object: 97be065758b7dbd490b525bfe450a3f0472db904 + last_write_checksum: sha1:97f3b5569a6a45f2350db51d11064c4565f48342 + pristine_git_object: dd361d5c02c2a47d79d8ecd5f964f44dd1ffe74e scripts/prepare_readme.py: id: e0c5957a6035 last_write_checksum: sha1:63a92abbd1de3323613f0d4c1ae4412076577710 @@ -2252,8 +2252,8 @@ trackedFiles: pristine_git_object: 83a0d00f9b5b1a6d837643a32bfd0f82cd4f98ce src/gr4vy/_version.py: id: 1b5ad1da47aa - last_write_checksum: sha1:3c387029f7574a31069afdb1e1dd6240fc63e38b - pristine_git_object: 14e5ac085477e58dc6cce2a9ea45823e98add300 + last_write_checksum: sha1:604c6c229e36d81b353eb040fd98ba95c6160cb6 + pristine_git_object: e8a73eeb4344899add2e1e57574978103cf35068 src/gr4vy/account_updater.py: id: 6dc8f39e2fb9 last_write_checksum: sha1:fabc79a59dd06fb927ce2d834fbafbcad5836a4b @@ -3664,8 +3664,8 @@ trackedFiles: pristine_git_object: 618275d492ecdc5cd626427f7cb0f3879d5d6670 src/gr4vy/models/transaction.py: id: 7b4f25439f19 - last_write_checksum: sha1:77d447770555ae4e3281a0af722015c7e192c624 - pristine_git_object: f22b9317555276ff82ba39d8c2fadf4ce074e33f + last_write_checksum: sha1:aaa813b6a3da4687a1136926cac31aaee699780c + pristine_git_object: 6ac1db426de29c3d612a6c2ab331dbbb5754fb1a src/gr4vy/models/transactionaction.py: id: 37b8b7f1e4b4 last_write_checksum: sha1:18523046892f5fa1800811cf4e9cac4285d367d6 @@ -7486,7 +7486,15 @@ examples: application/json: {"type": "error", "code": "gateway_timeout", "status": 504, "message": "Request could not be processed"} examplesVersion: 1.0.2 generatedTests: {} -releaseNotes: "## Python SDK Changes:\n* `gr4vy.transactions.create()`: \n * `request.three_d_secure` **Added**\n * `response.three_d_secure.amount` **Added**\n* `gr4vy.transactions.get()`: `response.three_d_secure.amount` **Added**\n* `gr4vy.transactions.update()`: `response.three_d_secure.amount` **Added**\n* `gr4vy.transactions.capture()`: `response.[transaction].three_d_secure.amount` **Added**\n* `gr4vy.transactions.void()`: `response.[transaction].three_d_secure.amount` **Added**\n* `gr4vy.transactions.cancel()`: `response.transaction.three_d_secure.amount` **Added**\n* `gr4vy.transactions.sync()`: `response.three_d_secure.amount` **Added**\n" +releaseNotes: | + ## Python SDK Changes: + * `gr4vy.transactions.create()`: `response.iso_response_code` **Added** + * `gr4vy.transactions.get()`: `response.iso_response_code` **Added** + * `gr4vy.transactions.update()`: `response.iso_response_code` **Added** + * `gr4vy.transactions.capture()`: `response.[transaction_capture].transaction.iso_response_code` **Added** + * `gr4vy.transactions.void()`: `response.[transaction_void].transaction.iso_response_code` **Added** + * `gr4vy.transactions.cancel()`: `response.transaction.iso_response_code` **Added** + * `gr4vy.transactions.sync()`: `response.iso_response_code` **Added** generatedFiles: - .gitattributes - .vscode/settings.json diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 2c16fcf..74a03d6 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -26,7 +26,7 @@ generation: generateNewTests: false skipResponseBodyAssertions: false python: - version: 1.10.11 + version: 1.10.12 additionalDependencies: dev: freezegun: ^1.5.1 diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 043217c..912f3d4 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -2,20 +2,20 @@ speakeasyVersion: 1.685.0 sources: openapi: sourceNamespace: openapi - sourceRevisionDigest: sha256:a9e26f1a54cbb4570ac55a0e8407a23e4598624458a440f402fbe11c018cfb90 - sourceBlobDigest: sha256:8ea9c7bf89e5ba3ddef32e76e4860adf0b806c17b0167d3d252a2e2bab9bc52b + sourceRevisionDigest: sha256:ad0088a2330d839d970885a303182d8f28542ef1880997cba4e2d2b13226d3a1 + sourceBlobDigest: sha256:9ca5f418267b28baf1dc1cb570f15dad6cb1fd457ac5742c88d070a6575af72a tags: - latest - - speakeasy-sdk-regen-1768309132 + - speakeasy-sdk-regen-1768400828 - 1.0.0 targets: python: source: openapi sourceNamespace: openapi - sourceRevisionDigest: sha256:a9e26f1a54cbb4570ac55a0e8407a23e4598624458a440f402fbe11c018cfb90 - sourceBlobDigest: sha256:8ea9c7bf89e5ba3ddef32e76e4860adf0b806c17b0167d3d252a2e2bab9bc52b + sourceRevisionDigest: sha256:ad0088a2330d839d970885a303182d8f28542ef1880997cba4e2d2b13226d3a1 + sourceBlobDigest: sha256:9ca5f418267b28baf1dc1cb570f15dad6cb1fd457ac5742c88d070a6575af72a codeSamplesNamespace: openapi-python-code-samples - codeSamplesRevisionDigest: sha256:4078c097c287612fe2ecefc3d27e79954e05ecd6e7b0ea3e69f532eee1560eb7 + codeSamplesRevisionDigest: sha256:01ed97eb0e6a3b3fc345713b5947cf1850509523fa178938baec99f08df84400 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/RELEASES.md b/RELEASES.md index cbd4847..0859994 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1328,4 +1328,14 @@ Based on: ### Generated - [python v1.10.11] . ### Releases -- [PyPI v1.10.11] https://pypi.org/project/gr4vy/1.10.11 - . \ No newline at end of file +- [PyPI v1.10.11] https://pypi.org/project/gr4vy/1.10.11 - . + +## 2026-01-14 14:26:49 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.685.0 (2.794.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.10.12] . +### Releases +- [PyPI v1.10.12] https://pypi.org/project/gr4vy/1.10.12 - . \ No newline at end of file diff --git a/docs/models/transaction.md b/docs/models/transaction.md index 122b043..f79bd52 100644 --- a/docs/models/transaction.md +++ b/docs/models/transaction.md @@ -74,4 +74,5 @@ A full transaction resource. | `amount_includes_tax` | *OptionalNullable[bool]* | :heavy_minus_sign: | Whether the tax is included in the amount. | false | | `supplier_order_number` | *OptionalNullable[str]* | :heavy_minus_sign: | The merchant's unique identifier for the sales order or invoice. | | | `duty_amount` | *OptionalNullable[int]* | :heavy_minus_sign: | Total charges for import/export duties. | 1299 | -| `shipping_amount` | *OptionalNullable[int]* | :heavy_minus_sign: | Total shipping amount. | 1299 | \ No newline at end of file +| `shipping_amount` | *OptionalNullable[int]* | :heavy_minus_sign: | Total shipping amount. | 1299 | +| `iso_response_code` | *OptionalNullable[str]* | :heavy_minus_sign: | This is the ISO8583 response code code received from the payment service. | 0110 | \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 97be065..dd361d5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "gr4vy" -version = "1.10.11" +version = "1.10.12" description = "Python Client SDK Generated by Speakeasy." authors = [{ name = "Gr4vy" },] readme = "README-PYPI.md" diff --git a/src/gr4vy/_version.py b/src/gr4vy/_version.py index 14e5ac0..e8a73ee 100644 --- a/src/gr4vy/_version.py +++ b/src/gr4vy/_version.py @@ -3,10 +3,10 @@ import importlib.metadata __title__: str = "gr4vy" -__version__: str = "1.10.11" +__version__: str = "1.10.12" __openapi_doc_version__: str = "1.0.0" __gen_version__: str = "2.794.1" -__user_agent__: str = "speakeasy-sdk/python 1.10.11 2.794.1 1.0.0 gr4vy" +__user_agent__: str = "speakeasy-sdk/python 1.10.12 2.794.1 1.0.0 gr4vy" try: if __package__ is not None: diff --git a/src/gr4vy/models/transaction.py b/src/gr4vy/models/transaction.py index f22b931..6ac1db4 100644 --- a/src/gr4vy/models/transaction.py +++ b/src/gr4vy/models/transaction.py @@ -176,6 +176,8 @@ class TransactionTypedDict(TypedDict): r"""Total charges for import/export duties.""" shipping_amount: NotRequired[Nullable[int]] r"""Total shipping amount.""" + iso_response_code: NotRequired[Nullable[str]] + r"""This is the ISO8583 response code code received from the payment service.""" class Transaction(BaseModel): @@ -388,6 +390,9 @@ class Transaction(BaseModel): shipping_amount: OptionalNullable[int] = UNSET r"""Total shipping amount.""" + iso_response_code: OptionalNullable[str] = UNSET + r"""This is the ISO8583 response code code received from the payment service.""" + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = [ @@ -437,6 +442,7 @@ def serialize_model(self, handler): "supplier_order_number", "duty_amount", "shipping_amount", + "iso_response_code", ] nullable_fields = [ "settled_currency", @@ -482,6 +488,7 @@ def serialize_model(self, handler): "supplier_order_number", "duty_amount", "shipping_amount", + "iso_response_code", ] null_default_fields = [] From ef9f6dfb265e6d075958e5e2e59933cfd0aa76de Mon Sep 17 00:00:00 2001 From: "speakeasy-github[bot]" <128539517+speakeasy-github[bot]@users.noreply.github.com> Date: Wed, 14 Jan 2026 14:29:05 +0000 Subject: [PATCH 2/2] empty commit to trigger [run-tests] workflow