Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 23 additions & 15 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ generation:
generateNewTests: false
skipResponseBodyAssertions: false
python:
version: 1.10.11
version: 1.10.12
additionalDependencies:
dev:
freezegun: ^1.5.1
Expand Down
12 changes: 6 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -1328,4 +1328,14 @@ Based on:
### Generated
- [python v1.10.11] .
### Releases
- [PyPI v1.10.11] https://pypi.org/project/gr4vy/1.10.11 - .
- [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 - .
3 changes: 2 additions & 1 deletion docs/models/transaction.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
| `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 |
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
4 changes: 2 additions & 2 deletions src/gr4vy/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
7 changes: 7 additions & 0 deletions src/gr4vy/models/transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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 = [
Expand Down Expand Up @@ -437,6 +442,7 @@ def serialize_model(self, handler):
"supplier_order_number",
"duty_amount",
"shipping_amount",
"iso_response_code",
]
nullable_fields = [
"settled_currency",
Expand Down Expand Up @@ -482,6 +488,7 @@ def serialize_model(self, handler):
"supplier_order_number",
"duty_amount",
"shipping_amount",
"iso_response_code",
]
null_default_fields = []

Expand Down