From 6c2b810a518737c6d2311ac8da3653c7d2a57bf3 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 20 May 2026 09:52:03 +0000 Subject: [PATCH 1/2] ## Python SDK Changes: * `gr4vy.payment_methods.update()`: `request.transaction_link_id` **Added** --- .speakeasy/gen.lock | 38 ++++++++++++------------- .speakeasy/gen.yaml | 2 +- .speakeasy/workflow.lock | 10 +++---- RELEASES.md | 12 +++++++- docs/models/paymentmethodupdate.md | 3 +- docs/sdks/paymentmethodssdk/README.md | 1 + pyproject.toml | 2 +- src/gr4vy/_version.py | 4 +-- src/gr4vy/models/paymentmethodupdate.py | 19 +++++++++++-- src/gr4vy/payment_methods_sdk.py | 6 ++++ 10 files changed, 65 insertions(+), 32 deletions(-) diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index ed9356a9..d5af10d8 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: 039cfb310a039830be11b07cc4c391f0 + docChecksum: 18968bbb9d81173a464380ecdc9697c7 docVersion: 1.0.0 speakeasyVersion: 1.763.3 generationVersion: 2.884.7 - releaseVersion: 2.0.37 - configChecksum: 59f179a5a339bbb01251f71e36e061eb + releaseVersion: 2.0.38 + configChecksum: f846872bdeec744ba5ac9944506bd575 repoURL: https://github.com/gr4vy/gr4vy-python.git installationURL: https://github.com/gr4vy/gr4vy-python.git published: true persistentEdits: - generation_id: 4deb8318-549c-4f14-935d-790ff4301676 - pristine_commit_hash: 6e9d0119deea8596d5b46047ed568a94caaf5ced - pristine_tree_hash: ecd04fe068425d2936f15e1fa16910da571ed211 + generation_id: cbd63968-5702-4f44-8526-274f1f360674 + pristine_commit_hash: 920a49f4aabf0101b447a877a126f63fc570d1f0 + pristine_tree_hash: 260e2d823c449b81aaae25f5a6f6db7ceab6937e features: python: additionalDependencies: 1.0.0 @@ -1588,8 +1588,8 @@ trackedFiles: pristine_git_object: 819839f66e88f520d55baf3ebc2263119300eff8 docs/models/paymentmethodupdate.md: id: 20beae8c39fa - last_write_checksum: sha1:66b39faa4208ef783f13ac6ab9506e5258c07174 - pristine_git_object: 6db9b6b0d54eeece7ed43833d8ecd500ec381842 + last_write_checksum: sha1:cca799d11dc671c1fa772802f146b24771ed1ab6 + pristine_git_object: 8f26e51d5a8ed0017fde7e5d0bbf0c9ea7a5b904 docs/models/paymentoption.md: id: 19cfeb30fff6 last_write_checksum: sha1:b7c0c1aa367b298e6db6e4d19fe510b71b585407 @@ -2424,8 +2424,8 @@ trackedFiles: pristine_git_object: 3f31ac3227f211e4f1b87af489c1f31c653842e2 docs/sdks/paymentmethodssdk/README.md: id: d1b6df07187c - last_write_checksum: sha1:d2872ded495dc1c906e9e3d9eec1cb1b06961e7e - pristine_git_object: bd6527ee06926756b2b46ecd5a731b35c87b591f + last_write_checksum: sha1:876be54f8339662086f5500b0193a1687a1f43f5 + pristine_git_object: 273048637848fe213e8021472815a2af3719f118 docs/sdks/paymentoptionssdk/README.md: id: 11172237c4a0 last_write_checksum: sha1:1f2822d28e1e6645851e35925515b659f69236e9 @@ -2492,8 +2492,8 @@ trackedFiles: pristine_git_object: cb9c15d314c1930557401074329ed7a737147919 pyproject.toml: id: 5d07e7d72637 - last_write_checksum: sha1:3f0ba7c4d8072bd2e6002825ae1338c517e7dfd6 - pristine_git_object: 29867e88a10ba76c380d135a8be3275be081bb19 + last_write_checksum: sha1:4493801fcec3c496b4b9561fe4f1246c2263e739 + pristine_git_object: 8bf918bf9e6b73146d62237dab11976c06577442 scripts/prepare_readme.py: id: e0c5957a6035 last_write_checksum: sha1:63a92abbd1de3323613f0d4c1ae4412076577710 @@ -2520,8 +2520,8 @@ trackedFiles: pristine_git_object: 83a0d00f9b5b1a6d837643a32bfd0f82cd4f98ce src/gr4vy/_version.py: id: 1b5ad1da47aa - last_write_checksum: sha1:f6a8430acbf94ea4f89836113115280f3063918b - pristine_git_object: 99a1942a279584244a4ba527589b0f6741e050bd + last_write_checksum: sha1:3c90fc8a737838907f744f8aee882515cc258975 + pristine_git_object: 68ecac8e38390130909263dc6683f206a8d3d3ba src/gr4vy/account_updater.py: id: 6dc8f39e2fb9 last_write_checksum: sha1:fabc79a59dd06fb927ce2d834fbafbcad5836a4b @@ -3724,8 +3724,8 @@ trackedFiles: pristine_git_object: 3e2c8679ed499179317df3cd204811684f1c1861 src/gr4vy/models/paymentmethodupdate.py: id: 2dcfe8684915 - last_write_checksum: sha1:b3c82dbe42344c05394702e7291fbc5f84f92b3e - pristine_git_object: 744a7bf7a77298433736da2d9fbd777afe8d5f79 + last_write_checksum: sha1:38f77cda04eb00f21ce5c8b6472a35744da66d41 + pristine_git_object: 5dfa2cdac820d3f07c8d0abdcc3551af9edb1c3f src/gr4vy/models/paymentoption.py: id: 14989a8d7e20 last_write_checksum: sha1:c521405713023205bc36268bff262aea64df3b9a @@ -4336,8 +4336,8 @@ trackedFiles: pristine_git_object: b258ef192fd4d2cbfaf57b1f8e01bd5cf8bc05bd src/gr4vy/payment_methods_sdk.py: id: 9174bd428377 - last_write_checksum: sha1:b8c1e4ee63e095af5c4e6d3301b18f0dbb282010 - pristine_git_object: 41cde46adc5dbf8222512a25ce791f3b671a23df + last_write_checksum: sha1:95df67f628161d3d3fc4317edc5f250ee6fc3bda + pristine_git_object: b1e39cf474e9b1e0be74f211e4f02d9452095c3b src/gr4vy/payment_options_sdk.py: id: a90f4cf4c6cf last_write_checksum: sha1:995ee10665b6ff752c092ec669fcb53e83c44dda @@ -8283,7 +8283,7 @@ examplesVersion: 1.0.2 generatedTests: {} releaseNotes: | ## Python SDK Changes: - * `gr4vy.digital_wallets.sessions.paze()`: **Added** + * `gr4vy.payment_methods.update()`: `request.transaction_link_id` **Added** generatedFiles: - .gitattributes - .vscode/settings.json diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 14719f36..67458085 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -29,7 +29,7 @@ generation: generateNewTests: false skipResponseBodyAssertions: false python: - version: 2.0.37 + version: 2.0.38 additionalDependencies: dev: freezegun: ^1.5.1 diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 66d42bbe..c386ad00 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -2,8 +2,8 @@ speakeasyVersion: 1.763.3 sources: openapi: sourceNamespace: openapi - sourceRevisionDigest: sha256:72f48b293f1b52a932f49d3a422c1ddc32e9a9c342c6a2a968e3b95470a0792a - sourceBlobDigest: sha256:bb16ee19260ab0846639cedeccdefa83350bba54b4a32d012445679d3e246599 + sourceRevisionDigest: sha256:dbc13602bef8772bf4a1921db8201e3370980ac2756fbb69b69380a4bfb4e752 + sourceBlobDigest: sha256:b57e5d51348c9aaa9ddab85b176d8c0f7dd397a4ec950e09c19d784bc88c6275 tags: - latest - 1.0.0 @@ -11,10 +11,10 @@ targets: python: source: openapi sourceNamespace: openapi - sourceRevisionDigest: sha256:72f48b293f1b52a932f49d3a422c1ddc32e9a9c342c6a2a968e3b95470a0792a - sourceBlobDigest: sha256:bb16ee19260ab0846639cedeccdefa83350bba54b4a32d012445679d3e246599 + sourceRevisionDigest: sha256:dbc13602bef8772bf4a1921db8201e3370980ac2756fbb69b69380a4bfb4e752 + sourceBlobDigest: sha256:b57e5d51348c9aaa9ddab85b176d8c0f7dd397a4ec950e09c19d784bc88c6275 codeSamplesNamespace: openapi-python-code-samples - codeSamplesRevisionDigest: sha256:c63659d4432405ddfb2683d3a126b05df66e28f24c12cc83c4cbdebac07c554a + codeSamplesRevisionDigest: sha256:b9bbe0713a7ac5029315c436078a0b0debe474bf9825cfa39c19d86c0a950130 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/RELEASES.md b/RELEASES.md index 7858bf92..339d4b39 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1808,4 +1808,14 @@ Based on: ### Generated - [python v2.0.37] . ### Releases -- [PyPI v2.0.37] https://pypi.org/project/gr4vy/2.0.37 - . \ No newline at end of file +- [PyPI v2.0.37] https://pypi.org/project/gr4vy/2.0.37 - . + +## 2026-05-20 09:50:02 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.763.3 (2.884.7) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v2.0.38] . +### Releases +- [PyPI v2.0.38] https://pypi.org/project/gr4vy/2.0.38 - . \ No newline at end of file diff --git a/docs/models/paymentmethodupdate.md b/docs/models/paymentmethodupdate.md index 6db9b6b0..8f26e51d 100644 --- a/docs/models/paymentmethodupdate.md +++ b/docs/models/paymentmethodupdate.md @@ -9,4 +9,5 @@ Request body for updating a stored payment method. | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `expiration_date` | *OptionalNullable[str]* | :heavy_minus_sign: | The new expiration date for the payment method. | 12/30 | | `scheme_transaction_id` | *OptionalNullable[str]* | :heavy_minus_sign: | A scheme transaction identifier to associate with this payment method. Explicitly setting this field to `null` will also clear `scheme_transaction_id_scheme` as a side-effect. When setting a new value and `scheme_transaction_id_scheme` is both omitted from the payload and previously unset,`scheme_transaction_id_scheme` will be populated from the payment method's existing `scheme`. | 123456789012345 | -| `scheme_transaction_id_scheme` | [OptionalNullable[models.CardScheme]](../models/cardscheme.md) | :heavy_minus_sign: | The scheme associated with `scheme_transaction_id`. Only applies to card payments. When setting a new value for `scheme_transaction_id`, if `scheme_transaction_id_scheme`is both omitted from the payload and previously unset, `scheme_transaction_id_scheme` will be populated from the payment method's existing `scheme`. | visa | \ No newline at end of file +| `scheme_transaction_id_scheme` | [OptionalNullable[models.CardScheme]](../models/cardscheme.md) | :heavy_minus_sign: | The scheme associated with `scheme_transaction_id`. Only applies to card payments. When setting a new value for `scheme_transaction_id`, if `scheme_transaction_id_scheme`is both omitted from the payload and previously unset, `scheme_transaction_id_scheme` will be populated from the payment method's existing `scheme`. | visa | +| `transaction_link_id` | *OptionalNullable[str]* | :heavy_minus_sign: | A transaction link identifier to associate with this payment method. | 123456789012345 | \ No newline at end of file diff --git a/docs/sdks/paymentmethodssdk/README.md b/docs/sdks/paymentmethodssdk/README.md index bd6527ee..27304863 100644 --- a/docs/sdks/paymentmethodssdk/README.md +++ b/docs/sdks/paymentmethodssdk/README.md @@ -215,6 +215,7 @@ with Gr4vy( | `expiration_date` | *OptionalNullable[str]* | :heavy_minus_sign: | The new expiration date for the payment method. | 12/30 | | `scheme_transaction_id` | *OptionalNullable[str]* | :heavy_minus_sign: | A scheme transaction identifier to associate with this payment method. Explicitly setting this field to `null` will also clear `scheme_transaction_id_scheme` as a side-effect. When setting a new value and `scheme_transaction_id_scheme` is both omitted from the payload and previously unset,`scheme_transaction_id_scheme` will be populated from the payment method's existing `scheme`. | 123456789012345 | | `scheme_transaction_id_scheme` | [OptionalNullable[models.CardScheme]](../../models/cardscheme.md) | :heavy_minus_sign: | The scheme associated with `scheme_transaction_id`. Only applies to card payments. When setting a new value for `scheme_transaction_id`, if `scheme_transaction_id_scheme`is both omitted from the payload and previously unset, `scheme_transaction_id_scheme` will be populated from the payment method's existing `scheme`. | visa | +| `transaction_link_id` | *OptionalNullable[str]* | :heavy_minus_sign: | A transaction link identifier to associate with this payment method. | 123456789012345 | | `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | | ### Response diff --git a/pyproject.toml b/pyproject.toml index 29867e88..8bf918bf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "gr4vy" -version = "2.0.37" +version = "2.0.38" 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 99a1942a..68ecac8e 100644 --- a/src/gr4vy/_version.py +++ b/src/gr4vy/_version.py @@ -3,10 +3,10 @@ import importlib.metadata __title__: str = "gr4vy" -__version__: str = "2.0.37" +__version__: str = "2.0.38" __openapi_doc_version__: str = "1.0.0" __gen_version__: str = "2.884.7" -__user_agent__: str = "speakeasy-sdk/python 2.0.37 2.884.7 1.0.0 gr4vy" +__user_agent__: str = "speakeasy-sdk/python 2.0.38 2.884.7 1.0.0 gr4vy" try: if __package__ is not None: diff --git a/src/gr4vy/models/paymentmethodupdate.py b/src/gr4vy/models/paymentmethodupdate.py index 744a7bf7..5dfa2cda 100644 --- a/src/gr4vy/models/paymentmethodupdate.py +++ b/src/gr4vy/models/paymentmethodupdate.py @@ -16,6 +16,8 @@ class PaymentMethodUpdateTypedDict(TypedDict): r"""A scheme transaction identifier to associate with this payment method. Explicitly setting this field to `null` will also clear `scheme_transaction_id_scheme` as a side-effect. When setting a new value and `scheme_transaction_id_scheme` is both omitted from the payload and previously unset,`scheme_transaction_id_scheme` will be populated from the payment method's existing `scheme`.""" scheme_transaction_id_scheme: NotRequired[Nullable[CardScheme]] r"""The scheme associated with `scheme_transaction_id`. Only applies to card payments. When setting a new value for `scheme_transaction_id`, if `scheme_transaction_id_scheme`is both omitted from the payload and previously unset, `scheme_transaction_id_scheme` will be populated from the payment method's existing `scheme`.""" + transaction_link_id: NotRequired[Nullable[str]] + r"""A transaction link identifier to associate with this payment method.""" class PaymentMethodUpdate(BaseModel): @@ -30,13 +32,26 @@ class PaymentMethodUpdate(BaseModel): scheme_transaction_id_scheme: OptionalNullable[CardScheme] = UNSET r"""The scheme associated with `scheme_transaction_id`. Only applies to card payments. When setting a new value for `scheme_transaction_id`, if `scheme_transaction_id_scheme`is both omitted from the payload and previously unset, `scheme_transaction_id_scheme` will be populated from the payment method's existing `scheme`.""" + transaction_link_id: OptionalNullable[str] = UNSET + r"""A transaction link identifier to associate with this payment method.""" + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = set( - ["expiration_date", "scheme_transaction_id", "scheme_transaction_id_scheme"] + [ + "expiration_date", + "scheme_transaction_id", + "scheme_transaction_id_scheme", + "transaction_link_id", + ] ) nullable_fields = set( - ["expiration_date", "scheme_transaction_id", "scheme_transaction_id_scheme"] + [ + "expiration_date", + "scheme_transaction_id", + "scheme_transaction_id_scheme", + "transaction_link_id", + ] ) serialized = handler(self) m = {} diff --git a/src/gr4vy/payment_methods_sdk.py b/src/gr4vy/payment_methods_sdk.py index 41cde46a..b1e39cf4 100644 --- a/src/gr4vy/payment_methods_sdk.py +++ b/src/gr4vy/payment_methods_sdk.py @@ -924,6 +924,7 @@ def update( expiration_date: OptionalNullable[str] = UNSET, scheme_transaction_id: OptionalNullable[str] = UNSET, scheme_transaction_id_scheme: OptionalNullable[models.CardScheme] = UNSET, + transaction_link_id: OptionalNullable[str] = UNSET, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -938,6 +939,7 @@ def update( :param expiration_date: The new expiration date for the payment method. :param scheme_transaction_id: A scheme transaction identifier to associate with this payment method. Explicitly setting this field to `null` will also clear `scheme_transaction_id_scheme` as a side-effect. When setting a new value and `scheme_transaction_id_scheme` is both omitted from the payload and previously unset,`scheme_transaction_id_scheme` will be populated from the payment method's existing `scheme`. :param scheme_transaction_id_scheme: The scheme associated with `scheme_transaction_id`. Only applies to card payments. When setting a new value for `scheme_transaction_id`, if `scheme_transaction_id_scheme`is both omitted from the payload and previously unset, `scheme_transaction_id_scheme` will be populated from the payment method's existing `scheme`. + :param transaction_link_id: A transaction link identifier to associate with this payment method. :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -960,6 +962,7 @@ def update( expiration_date=expiration_date, scheme_transaction_id=scheme_transaction_id, scheme_transaction_id_scheme=scheme_transaction_id_scheme, + transaction_link_id=transaction_link_id, ), ) @@ -1071,6 +1074,7 @@ async def update_async( expiration_date: OptionalNullable[str] = UNSET, scheme_transaction_id: OptionalNullable[str] = UNSET, scheme_transaction_id_scheme: OptionalNullable[models.CardScheme] = UNSET, + transaction_link_id: OptionalNullable[str] = UNSET, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -1085,6 +1089,7 @@ async def update_async( :param expiration_date: The new expiration date for the payment method. :param scheme_transaction_id: A scheme transaction identifier to associate with this payment method. Explicitly setting this field to `null` will also clear `scheme_transaction_id_scheme` as a side-effect. When setting a new value and `scheme_transaction_id_scheme` is both omitted from the payload and previously unset,`scheme_transaction_id_scheme` will be populated from the payment method's existing `scheme`. :param scheme_transaction_id_scheme: The scheme associated with `scheme_transaction_id`. Only applies to card payments. When setting a new value for `scheme_transaction_id`, if `scheme_transaction_id_scheme`is both omitted from the payload and previously unset, `scheme_transaction_id_scheme` will be populated from the payment method's existing `scheme`. + :param transaction_link_id: A transaction link identifier to associate with this payment method. :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -1107,6 +1112,7 @@ async def update_async( expiration_date=expiration_date, scheme_transaction_id=scheme_transaction_id, scheme_transaction_id_scheme=scheme_transaction_id_scheme, + transaction_link_id=transaction_link_id, ), ) From 79fad74a49776434b9eab8109c032eee7066e5c9 Mon Sep 17 00:00:00 2001 From: "speakeasy-github[bot]" <128539517+speakeasy-github[bot]@users.noreply.github.com> Date: Wed, 20 May 2026 09:52:17 +0000 Subject: [PATCH 2/2] empty commit to trigger [run-tests] workflow