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
33 changes: 18 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: 1d0fb5b6bab280a5eac1a2c04e304d0b
docChecksum: fddff82daac3120e83150f6c5d93f241
docVersion: 1.0.0
speakeasyVersion: 1.797.0
generationVersion: 2.937.18
releaseVersion: 2.4.14
configChecksum: 02ddf58791f91eec2902165ea4d204a2
releaseVersion: 2.4.15
configChecksum: 8c6844025105f3a08fc0101307c30cc9
repoURL: https://github.com/gr4vy/gr4vy-python.git
installationURL: https://github.com/gr4vy/gr4vy-python.git
published: true
persistentEdits:
generation_id: 572bf9ba-afa5-4936-a3cb-e7a82442e107
pristine_commit_hash: 8e7797823617e3b536b5668a613ca88ff6d5b124
pristine_tree_hash: cd1b161b517b122f0975b664c470f57978bf79cf
generation_id: 6e9050e9-a712-46e3-9a45-53fe5188cced
pristine_commit_hash: 17f40b1dc84d25e20a4023c89c34ca3e058b55bc
pristine_tree_hash: 852c23baa1b8b54407f6cc6b9bd21558bbe544f4
features:
python:
additionalDependencies: 1.1.0
Expand Down Expand Up @@ -369,8 +369,8 @@ trackedFiles:
pristine_git_object: 96d68ad7351ecc8574234588ced040650e9482c0
docs/models/capture.md:
id: 4b03c62f1b7a
last_write_checksum: sha1:0ea0d5071bb3843c27e4f924896b57210346f618
pristine_git_object: 99318c633c283549381ac6cde3c7ad1012cf865a
last_write_checksum: sha1:54ff978fd76c7efa1ca1cbd49bb8fb68bbcf002b
pristine_git_object: 82513a9d2f226d8ce93bbd737d77b8847607944e
docs/models/capturecollection.md:
id: dd4e1a13ef2a
last_write_checksum: sha1:475d9030da6c5fe9cc5bb34e7341b110bdc93573
Expand Down Expand Up @@ -2897,8 +2897,8 @@ trackedFiles:
pristine_git_object: cb9c15d314c1930557401074329ed7a737147919
pyproject.toml:
id: 5d07e7d72637
last_write_checksum: sha1:af076fb130c22bfc7fb32304669b1e126fb17942
pristine_git_object: f75d66cbb17ecb7bf6c4631efa347fff9a08ddc9
last_write_checksum: sha1:d64ff2267d1df89e36468127b37cd94612a73610
pristine_git_object: 30c96dda673c180ffaf4fe1b6d76b8c029bd5757
scripts/prepare_readme.py:
id: e0c5957a6035
last_write_checksum: sha1:63a92abbd1de3323613f0d4c1ae4412076577710
Expand All @@ -2925,8 +2925,8 @@ trackedFiles:
pristine_git_object: f8ef109bb6a9dbe37d0a7092606176a0738986fd
src/gr4vy/_version.py:
id: 1b5ad1da47aa
last_write_checksum: sha1:3b536b7854e11bdaff71c021bc8396c55c0dff4b
pristine_git_object: 540f9243a5e39db8c48df318f2fcbad1b3df2118
last_write_checksum: sha1:d959e0bfef16fc6e100905644ed96736debcd2d0
pristine_git_object: 7cde11f54f9a7b6c6cb723ff381fd2470e52f4bd
src/gr4vy/account_updater.py:
id: 6dc8f39e2fb9
last_write_checksum: sha1:fabc79a59dd06fb927ce2d834fbafbcad5836a4b
Expand Down Expand Up @@ -3317,8 +3317,8 @@ trackedFiles:
pristine_git_object: 9c07ce68fa1a96fad83539592f950f68dfb19c5e
src/gr4vy/models/capture.py:
id: 18d9319b9cb6
last_write_checksum: sha1:7d06e2529e3667708fa97ff288c8f888a9fe2edf
pristine_git_object: 1a4e772bbd78207bdd177938dde327f22e48ebcf
last_write_checksum: sha1:354ee6744343dffc638d638304a7dbbb72746183
pristine_git_object: 07831b98de43f53409ed3c55469f90e1b543815f
src/gr4vy/models/capture_transactionop.py:
id: 2b1662028651
last_write_checksum: sha1:8802c591bf1905ac0891c80cbe60ca61f489e462
Expand Down Expand Up @@ -9493,7 +9493,10 @@ 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.connection_options.repay_bank` **Added**\n* `gr4vy.transactions.update()`: \n * `request.connection_options.repay_bank` **Added**\n* `gr4vy.payment_links.create()`: \n * `request.connection_options.repay_bank` **Added**\n"
releaseNotes: |
## Python SDK Changes:
* `gr4vy.transactions.captures.list()`: `response.items[].tracking` **Added**
* `gr4vy.transactions.captures.get()`: `response.tracking` **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 @@ -29,7 +29,7 @@ generation:
generateNewTests: false
skipResponseBodyAssertions: false
python:
version: 2.4.14
version: 2.4.15
additionalDependencies:
dev:
freezegun: ^1.5.1
Expand Down
10 changes: 5 additions & 5 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@ speakeasyVersion: 1.797.0
sources:
openapi:
sourceNamespace: openapi
sourceRevisionDigest: sha256:f22f5965f8c19b287df7b5811d77ce80c5b43d93c5cfdd27092d1eef3c15d438
sourceBlobDigest: sha256:1a6d2a906c3e78d51cb89bc442e800370e00baa7d49ff1070881c302890293c0
sourceRevisionDigest: sha256:229ba05f0d735120c32f4766a15a596d372bb51f96350934b19695747df7c922
sourceBlobDigest: sha256:993e1c89f311b0460e4918dc774aef76e7260d66a53a3717c9e3ee8b7e0938a7
tags:
- latest
- 1.0.0
targets:
python:
source: openapi
sourceNamespace: openapi
sourceRevisionDigest: sha256:f22f5965f8c19b287df7b5811d77ce80c5b43d93c5cfdd27092d1eef3c15d438
sourceBlobDigest: sha256:1a6d2a906c3e78d51cb89bc442e800370e00baa7d49ff1070881c302890293c0
sourceRevisionDigest: sha256:229ba05f0d735120c32f4766a15a596d372bb51f96350934b19695747df7c922
sourceBlobDigest: sha256:993e1c89f311b0460e4918dc774aef76e7260d66a53a3717c9e3ee8b7e0938a7
codeSamplesNamespace: openapi-python-code-samples
codeSamplesRevisionDigest: sha256:09b6991a9a5e2387cb0b88cdf53787ff37efebcaa8e8366733150a471e35a71b
codeSamplesRevisionDigest: sha256:ad3d427abdd44b21518deaa42850afbc88ba507c39670aec10a3d232f2c5530a
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 @@ -2608,4 +2608,14 @@ Based on:
### Generated
- [python v2.4.14] .
### Releases
- [PyPI v2.4.14] https://pypi.org/project/gr4vy/2.4.14 - .
- [PyPI v2.4.14] https://pypi.org/project/gr4vy/2.4.14 - .

## 2026-09-18 00:43:05
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.797.0 (2.937.18) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v2.4.15] .
### Releases
- [PyPI v2.4.15] https://pypi.org/project/gr4vy/2.4.15 - .
3 changes: 2 additions & 1 deletion docs/models/capture.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@
| `raw_response_code` | *OptionalNullable[str]* | :heavy_minus_sign: | This is the response code received from the payment service. This can be set to any value and is not standardized across different payment services. | E104 |
| `raw_response_description` | *OptionalNullable[str]* | :heavy_minus_sign: | This is the response description received from the payment service. This can be set to any value and is not standardized across different payment services. | Internal error |
| `transaction_external_identifier` | *OptionalNullable[str]* | :heavy_minus_sign: | The external identifier of the associated transaction. | transaction-12345 |
| `cart_items` | List[[models.CartItem](../models/cartitem.md)] | :heavy_minus_sign: | An array of cart items that represents the line items of this capture. | |
| `cart_items` | List[[models.CartItem](../models/cartitem.md)] | :heavy_minus_sign: | An array of cart items that represents the line items of this capture. | |
| `tracking` | List[[models.Tracking](../models/tracking.md)] | :heavy_minus_sign: | The shipment tracking details associated with the capture. | |
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 = "2.4.14"
version = "2.4.15"
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 = "2.4.14"
__version__: str = "2.4.15"
__openapi_doc_version__: str = "1.0.0"
__gen_version__: str = "2.937.18"
__user_agent__: str = "speakeasy-sdk/python 2.4.14 2.937.18 1.0.0 gr4vy"
__user_agent__: str = "speakeasy-sdk/python 2.4.15 2.937.18 1.0.0 gr4vy"

try:
if __package__ is not None:
Expand Down
8 changes: 8 additions & 0 deletions src/gr4vy/models/capture.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from __future__ import annotations
from .capturestatus import CaptureStatus
from .cartitem import CartItem, CartItemTypedDict
from .tracking import Tracking, TrackingTypedDict
from datetime import datetime
from gr4vy.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL
from gr4vy.utils import validate_const
Expand Down Expand Up @@ -51,6 +52,8 @@ class CaptureTypedDict(TypedDict):
r"""The external identifier of the associated transaction."""
cart_items: NotRequired[Nullable[List[CartItemTypedDict]]]
r"""An array of cart items that represents the line items of this capture."""
tracking: NotRequired[Nullable[List[TrackingTypedDict]]]
r"""The shipment tracking details associated with the capture."""


class Capture(BaseModel):
Expand Down Expand Up @@ -115,6 +118,9 @@ class Capture(BaseModel):
cart_items: OptionalNullable[List[CartItem]] = UNSET
r"""An array of cart items that represents the line items of this capture."""

tracking: OptionalNullable[List[Tracking]] = UNSET
r"""The shipment tracking details associated with the capture."""

@model_serializer(mode="wrap")
def serialize_model(self, handler):
optional_fields = set(
Expand All @@ -129,6 +135,7 @@ def serialize_model(self, handler):
"raw_response_description",
"transaction_external_identifier",
"cart_items",
"tracking",
]
)
nullable_fields = set(
Expand All @@ -142,6 +149,7 @@ def serialize_model(self, handler):
"raw_response_description",
"transaction_external_identifier",
"cart_items",
"tracking",
]
)
serialized = handler(self)
Expand Down
Loading