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
52 changes: 29 additions & 23 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
lockVersion: 2.0.0
id: 833c6a67-4a4a-4ef1-ba24-165a29264e4a
management:
docChecksum: 8fed3b2dec7a56a0c3407f5fd141d75b
docChecksum: a45933674c087ff96b76b13817909fc5
docVersion: 1.0.0
speakeasyVersion: 1.791.0
generationVersion: 2.924.0
releaseVersion: 2.3.1
configChecksum: fad565b6b8cdbfcf2275763f53deeeb6
speakeasyVersion: 1.791.1
generationVersion: 2.926.2
releaseVersion: 2.3.2
configChecksum: 03775d66e484d56f94dacef07c5474bd
repoURL: https://github.com/gr4vy/gr4vy-python.git
installationURL: https://github.com/gr4vy/gr4vy-python.git
published: true
persistentEdits:
generation_id: 97bfbe39-64b8-40aa-ae96-3af225d219a7
pristine_commit_hash: 8c1a6f49efec5ec264bc5670d33b0755d3910af3
pristine_tree_hash: 32c7856fcaf9f4e7e0ef093a4c2edce1431f14f0
generation_id: 90c09972-aeb2-47a3-bd8d-1a5dac9c08ad
pristine_commit_hash: a382403199bfbf93582fdf917162b3d0eae1e680
pristine_tree_hash: 145cfef9df41e2b9ab14fd3f20e7f90700451a2d
features:
python:
additionalDependencies: 1.1.0
constsAndDefaults: 1.0.7
core: 6.0.34
core: 6.0.35
defaultEnabledRetries: 0.2.0
deprecations: 3.0.2
enumUnions: 0.1.1
Expand All @@ -41,7 +41,7 @@ features:
retries: 3.0.7
sdkHooks: 1.3.0
serverIDs: 3.0.0
unions: 3.1.7
unions: 3.1.8
trackedFiles:
.gitattributes:
id: 24139dae6567
Expand Down Expand Up @@ -815,6 +815,10 @@ trackedFiles:
id: e4504eeac3fc
last_write_checksum: sha1:99861d44cee67041c741529990a7c920eba04981
pristine_git_object: 5d5177b9260e83bc9e999bd2c89c541efd25da47
docs/models/dlocalcardoptions.md:
id: 8a48aff06d36
last_write_checksum: sha1:5761c9ded89ec0592401acadd3f4e96af423ecdd
pristine_git_object: b8ce6c767dd199c739f394cbb0e81f21afa86876
docs/models/dlocaloptions.md:
id: cf957a390cd7
last_write_checksum: sha1:450510bcadf361be2a0584b59443b49d332076ef
Expand Down Expand Up @@ -2401,8 +2405,8 @@ trackedFiles:
pristine_git_object: c35af2652b92d599b87fcc6b22df4384ee2afb2e
docs/models/transactionconnectionoptions.md:
id: 4c92c21f3107
last_write_checksum: sha1:ef61bcc459b359588373e3e2f1b64a7588c2701a
pristine_git_object: b11fad6cee3d0f18cab7de56c41bc9ef2ffd1b4d
last_write_checksum: sha1:c7a2413a560836ed000ca5abf414b252c8047f5b
pristine_git_object: 3813f77b1a7b8f13104d4bea0fadb9340e42b920
docs/models/transactioncreate.md:
id: 2eccca1e0d3d
last_write_checksum: sha1:87142af67fe9cada8f5e863eb2c91d306c740ecb
Expand Down Expand Up @@ -2833,8 +2837,8 @@ trackedFiles:
pristine_git_object: cb9c15d314c1930557401074329ed7a737147919
pyproject.toml:
id: 5d07e7d72637
last_write_checksum: sha1:45ab6e45c8f6914693558518b012fbcb62fabc1c
pristine_git_object: bddf4b75aee9640a308d045df20f469093535dc9
last_write_checksum: sha1:962ed9c8ecb9bd5b7c35134989f0694bc6db15d6
pristine_git_object: 34385efa1cd6de2fccb759d2fd79a359186f5e22
scripts/prepare_readme.py:
id: e0c5957a6035
last_write_checksum: sha1:63a92abbd1de3323613f0d4c1ae4412076577710
Expand All @@ -2861,8 +2865,8 @@ trackedFiles:
pristine_git_object: f8ef109bb6a9dbe37d0a7092606176a0738986fd
src/gr4vy/_version.py:
id: 1b5ad1da47aa
last_write_checksum: sha1:0e42435b91be1c3e61059395ab270af9f782b673
pristine_git_object: 1d5f6f0ecc187e7bebb6731299152bb234917ed1
last_write_checksum: sha1:3cd112618e66b662b5badbfd5332141fdd59c4af
pristine_git_object: ccbdc08d0a393f81375546320fead06721668de4
src/gr4vy/account_updater.py:
id: 6dc8f39e2fb9
last_write_checksum: sha1:fabc79a59dd06fb927ce2d834fbafbcad5836a4b
Expand Down Expand Up @@ -3029,8 +3033,8 @@ trackedFiles:
pristine_git_object: becb7dcefb2ea12bf3e199ed39ece68944623c13
src/gr4vy/models/__init__.py:
id: 427cc7fddfe2
last_write_checksum: sha1:3c7256e6dc19ae66eb2411d96c6e4f7f17ee6ebe
pristine_git_object: 5d1a2d08789caac837141be1efcf1669d889799b
last_write_checksum: sha1:124bfd1947f3f22e1f36cc6c373d0dc1a3ec6e61
pristine_git_object: 1de27c8c6ee7de8ac6ab9c4fd5f85ec6b7722833
src/gr4vy/models/accountsreceivablesreportspec.py:
id: cc6a9368f988
last_write_checksum: sha1:1ce9432ce7ae682a7fff1e0fe1ddc7f82dc937e7
Expand Down Expand Up @@ -3559,6 +3563,10 @@ trackedFiles:
id: a9dcd742b817
last_write_checksum: sha1:b35b1c3870ae52ab07a5f8675769741d1ca65734
pristine_git_object: 93a7a4a8a824a26b5ce65a34c05c16804769de78
src/gr4vy/models/dlocalcardoptions.py:
id: 420e0dba82b8
last_write_checksum: sha1:fe0978300de37a72fc0238c48208c3a358b3acd9
pristine_git_object: 2352593dc2256c40f0a52c23781398665c728d2d
src/gr4vy/models/dlocaloptions.py:
id: 2c8a82e27697
last_write_checksum: sha1:bf2a0b218a64308a9183937c7db84adbee2e129a
Expand Down Expand Up @@ -4705,8 +4713,8 @@ trackedFiles:
pristine_git_object: 97b9b6f20d8d5c632881d646bfdd158533a741b3
src/gr4vy/models/transactionconnectionoptions.py:
id: e12dfa576d74
last_write_checksum: sha1:32ee00f8b84d2e858dd50cbaf2d87d9e24d1412a
pristine_git_object: 95a9e5ed3cebb74185d548cd348419237f252413
last_write_checksum: sha1:23245f4bd1180b22f25b21c68d180cc5f3cbb17b
pristine_git_object: 90516ff7d908b467730ee3d800e86c147323100f
src/gr4vy/models/transactioncreate.py:
id: 640e0433670e
last_write_checksum: sha1:70b6ee166a42fe9fa6f281a126234c5cb4a7a26f
Expand Down Expand Up @@ -9310,9 +9318,7 @@ 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:
* `gr4vy.gift_cards.activations.create()`: `request` **Changed**
releaseNotes: "## Python SDK Changes:\n* `gr4vy.transactions.create()`: \n * `request.connection_options.dlocal_card` **Added**\n* `gr4vy.transactions.update()`: \n * `request.connection_options.dlocal_card` **Added**\n* `gr4vy.payment_links.create()`: \n * `request.connection_options.dlocal_card` **Added**\n"
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.3.1
version: 2.3.2
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
@@ -1,20 +1,20 @@
speakeasyVersion: 1.791.0
speakeasyVersion: 1.791.1
sources:
openapi:
sourceNamespace: openapi
sourceRevisionDigest: sha256:05728dd960b133751746d5d220b89ee6f92410c17ffbc586ab927bafffd906d2
sourceBlobDigest: sha256:7dd40ce4f675dd30b627a81e9987e1d44611fa70ce575a629a4ecb7e356a597f
sourceRevisionDigest: sha256:5c256f9d5b9ebc3dddb392e181076a1c346b06ab801aedc9dbe885cf548cffec
sourceBlobDigest: sha256:0a461261e6f47ac194319637e62da1970c01554380c859044ec97e16f05d46a5
tags:
- latest
- 1.0.0
targets:
python:
source: openapi
sourceNamespace: openapi
sourceRevisionDigest: sha256:05728dd960b133751746d5d220b89ee6f92410c17ffbc586ab927bafffd906d2
sourceBlobDigest: sha256:7dd40ce4f675dd30b627a81e9987e1d44611fa70ce575a629a4ecb7e356a597f
sourceRevisionDigest: sha256:5c256f9d5b9ebc3dddb392e181076a1c346b06ab801aedc9dbe885cf548cffec
sourceBlobDigest: sha256:0a461261e6f47ac194319637e62da1970c01554380c859044ec97e16f05d46a5
codeSamplesNamespace: openapi-python-code-samples
codeSamplesRevisionDigest: sha256:129b7b64859692276fcbb037676c70cc226a1ca6bcc661a8f72c75176669a722
codeSamplesRevisionDigest: sha256:0e7be0a10a75199a1c69f3b8cc5c7b445ccdaa67a05a2c19d3cc387b5570673f
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 @@ -2348,4 +2348,14 @@ Based on:
### Generated
- [python v2.3.1] .
### Releases
- [PyPI v2.3.1] https://pypi.org/project/gr4vy/2.3.1 - .
- [PyPI v2.3.1] https://pypi.org/project/gr4vy/2.3.1 - .

## 2026-08-03 14:13:16
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.791.1 (2.926.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v2.3.2] .
### Releases
- [PyPI v2.3.2] https://pypi.org/project/gr4vy/2.3.2 - .
8 changes: 8 additions & 0 deletions docs/models/dlocalcardoptions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# DlocalCardOptions


## Fields

| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- |
| `three_dsecure_force` | *OptionalNullable[bool]* | :heavy_minus_sign: | Indicates whether to force dlocal hosted 3D Secure authentication for the card transaction. | true |
1 change: 1 addition & 0 deletions docs/models/transactionconnectionoptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
| `cybersource_card` | [OptionalNullable[models.CybersourceOptions]](../models/cybersourceoptions.md) | :heavy_minus_sign: | Custom options to be passed to the `cybersource-card` connector. |
| `cybersource_ideal` | [OptionalNullable[models.CybersourceOptions]](../models/cybersourceoptions.md) | :heavy_minus_sign: | Custom options to be passed to the `cybersource-ideal` connector. |
| `cybersource_kcp` | [OptionalNullable[models.CybersourceOptions]](../models/cybersourceoptions.md) | :heavy_minus_sign: | Custom options to be passed to the `cybersource-kcp` connector. |
| `dlocal_card` | [OptionalNullable[models.DlocalCardOptions]](../models/dlocalcardoptions.md) | :heavy_minus_sign: | Custom options to be passed to the `dlocal-card` connector. |
| `dlocal_nequi` | [OptionalNullable[models.DlocalOptions]](../models/dlocaloptions.md) | :heavy_minus_sign: | Custom options to be passed to the `dlocal-nequi` connector. |
| `dlocal_upi` | [OptionalNullable[models.DlocalUPIOptions]](../models/dlocalupioptions.md) | :heavy_minus_sign: | Custom options to be passed to the `dlocal-upi` connector. |
| `dlocal_pix` | [OptionalNullable[models.DlocalPIXOptions]](../models/dlocalpixoptions.md) | :heavy_minus_sign: | Custom options to be passed to the `dlocal-pix` connector. |
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

[project]
name = "gr4vy"
version = "2.3.1"
version = "2.3.2"
description = "Python Client SDK Generated by Speakeasy."
authors = [{ name = "Gr4vy" },]
readme = "README-PYPI.md"
Expand All @@ -12,7 +12,7 @@ dependencies = [
"httpcore >=1.0.9",
"httpx >=0.28.1",
"jsonpath-python >=1.0.6",
"pydantic >=2.11.2,<2.13",
"pydantic >=2.11.2",
"python-jose (>=3.4.0,<4.0.0)",
]

Expand Down
6 changes: 3 additions & 3 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.3.1"
__version__: str = "2.3.2"
__openapi_doc_version__: str = "1.0.0"
__gen_version__: str = "2.924.0"
__user_agent__: str = "speakeasy-sdk/python 2.3.1 2.924.0 1.0.0 gr4vy"
__gen_version__: str = "2.926.2"
__user_agent__: str = "speakeasy-sdk/python 2.3.2 2.926.2 1.0.0 gr4vy"

try:
if __package__ is not None:
Expand Down
5 changes: 5 additions & 0 deletions src/gr4vy/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,7 @@
from .digitalwalletprovider import DigitalWalletProvider
from .digitalwallets import DigitalWallets, DigitalWalletsTypedDict
from .digitalwalletupdate import DigitalWalletUpdate, DigitalWalletUpdateTypedDict
from .dlocalcardoptions import DlocalCardOptions, DlocalCardOptionsTypedDict
from .dlocaloptions import DlocalOptions, DlocalOptionsTypedDict
from .dlocalpixoptions import DlocalPIXOptions, DlocalPIXOptionsTypedDict
from .dlocalpixsubscriptionamountoptions import (
Expand Down Expand Up @@ -1890,6 +1891,8 @@
"DigitalWalletUpdateTypedDict",
"DigitalWallets",
"DigitalWalletsTypedDict",
"DlocalCardOptions",
"DlocalCardOptionsTypedDict",
"DlocalOptions",
"DlocalOptionsTypedDict",
"DlocalPIXOptions",
Expand Down Expand Up @@ -3083,6 +3086,8 @@
"DigitalWalletsTypedDict": ".digitalwallets",
"DigitalWalletUpdate": ".digitalwalletupdate",
"DigitalWalletUpdateTypedDict": ".digitalwalletupdate",
"DlocalCardOptions": ".dlocalcardoptions",
"DlocalCardOptionsTypedDict": ".dlocalcardoptions",
"DlocalOptions": ".dlocaloptions",
"DlocalOptionsTypedDict": ".dlocaloptions",
"DlocalPIXOptions": ".dlocalpixoptions",
Expand Down
41 changes: 41 additions & 0 deletions src/gr4vy/models/dlocalcardoptions.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""

from __future__ import annotations
from gr4vy.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL
from pydantic import model_serializer
from typing_extensions import NotRequired, TypedDict


class DlocalCardOptionsTypedDict(TypedDict):
three_dsecure_force: NotRequired[Nullable[bool]]
r"""Indicates whether to force dlocal hosted 3D Secure authentication for the card transaction."""


class DlocalCardOptions(BaseModel):
three_dsecure_force: OptionalNullable[bool] = UNSET
r"""Indicates whether to force dlocal hosted 3D Secure authentication for the card transaction."""

@model_serializer(mode="wrap")
def serialize_model(self, handler):
optional_fields = set(["three_dsecure_force"])
nullable_fields = set(["three_dsecure_force"])
serialized = handler(self)
m = {}

for n, f in type(self).model_fields.items():
k = f.alias or n
val = serialized.get(k, serialized.get(n))
is_nullable_and_explicitly_set = (
k in nullable_fields
and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member
)

if val != UNSET_SENTINEL:
if (
val is not None
or k not in optional_fields
or is_nullable_and_explicitly_set
):
m[k] = val

return m
10 changes: 10 additions & 0 deletions src/gr4vy/models/transactionconnectionoptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
CybersourceAntiFraudOptionsTypedDict,
)
from .cybersourceoptions import CybersourceOptions, CybersourceOptionsTypedDict
from .dlocalcardoptions import DlocalCardOptions, DlocalCardOptionsTypedDict
from .dlocaloptions import DlocalOptions, DlocalOptionsTypedDict
from .dlocalpixoptions import DlocalPIXOptions, DlocalPIXOptionsTypedDict
from .dlocalupioptions import DlocalUPIOptions, DlocalUPIOptionsTypedDict
Expand Down Expand Up @@ -107,6 +108,8 @@ class TransactionConnectionOptionsTypedDict(TypedDict):
r"""Custom options to be passed to the `cybersource-ideal` connector."""
cybersource_kcp: NotRequired[Nullable[CybersourceOptionsTypedDict]]
r"""Custom options to be passed to the `cybersource-kcp` connector."""
dlocal_card: NotRequired[Nullable[DlocalCardOptionsTypedDict]]
r"""Custom options to be passed to the `dlocal-card` connector."""
dlocal_nequi: NotRequired[Nullable[DlocalOptionsTypedDict]]
r"""Custom options to be passed to the `dlocal-nequi` connector."""
dlocal_upi: NotRequired[Nullable[DlocalUPIOptionsTypedDict]]
Expand Down Expand Up @@ -317,6 +320,11 @@ class TransactionConnectionOptions(BaseModel):
] = UNSET
r"""Custom options to be passed to the `cybersource-kcp` connector."""

dlocal_card: Annotated[
OptionalNullable[DlocalCardOptions], pydantic.Field(alias="dlocal-card")
] = UNSET
r"""Custom options to be passed to the `dlocal-card` connector."""

dlocal_nequi: Annotated[
OptionalNullable[DlocalOptions], pydantic.Field(alias="dlocal-nequi")
] = UNSET
Expand Down Expand Up @@ -543,6 +551,7 @@ def serialize_model(self, handler):
"cybersource-card",
"cybersource-ideal",
"cybersource-kcp",
"dlocal-card",
"dlocal-nequi",
"dlocal-upi",
"dlocal-pix",
Expand Down Expand Up @@ -611,6 +620,7 @@ def serialize_model(self, handler):
"cybersource-card",
"cybersource-ideal",
"cybersource-kcp",
"dlocal-card",
"dlocal-nequi",
"dlocal-upi",
"dlocal-pix",
Expand Down
Loading