From c62c66f0d3d8a5414b1c3aa37ad9dc02b01730a7 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 23 Jun 2026 15:02:24 +0000 Subject: [PATCH 1/2] ## Python SDK Changes: * `gr4vy.transactions.create()`: * `request.connection_options.stripe_card.customer_id` **Added** * `gr4vy.transactions.update()`: * `request.connection_options.stripe_card.customer_id` **Added** * `gr4vy.payment_links.create()`: * `request.connection_options.stripe_card.customer_id` **Added** --- .speakeasy/gen.lock | 30 +++++++++++++-------------- .speakeasy/gen.yaml | 2 +- .speakeasy/workflow.lock | 10 ++++----- RELEASES.md | 12 ++++++++++- docs/models/stripecardoptions.md | 1 + pyproject.toml | 2 +- src/gr4vy/_version.py | 4 ++-- src/gr4vy/models/stripecardoptions.py | 13 ++++++++++-- 8 files changed, 47 insertions(+), 27 deletions(-) diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 1b268e86..5bd79630 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: ab02394776f986472ccee3f9cc4da8da + docChecksum: 4e4ae55f72acb18eb914e185bea9aa9c docVersion: 1.0.0 speakeasyVersion: 1.784.1 generationVersion: 2.911.3 - releaseVersion: 2.1.18 - configChecksum: b76e0e4d26dbbc13569ba3bff7267ab9 + releaseVersion: 2.1.19 + configChecksum: a0d96263436008fcf3b8601a527f1bc4 repoURL: https://github.com/gr4vy/gr4vy-python.git installationURL: https://github.com/gr4vy/gr4vy-python.git published: true persistentEdits: - generation_id: 33b8dbd7-f648-4803-b983-af0bdac5b90d - pristine_commit_hash: be1318b79c21e3e25b28712c49576ed934e4c1fe - pristine_tree_hash: 2b13f698bb408a90994341e9e8bb19ab66aa34be + generation_id: 2675c78e-a293-448d-a8c5-126ee9bfb381 + pristine_commit_hash: 064e1dcc2086261ff17761594f3d7233e87cbf70 + pristine_tree_hash: 0c3fa405d2e9e521e3642f1c92b99c920f0130b5 features: python: additionalDependencies: 1.1.0 @@ -2132,8 +2132,8 @@ trackedFiles: pristine_git_object: 525f3a9a9e0b7f3f8c6c2cd9b38e33196f3813a2 docs/models/stripecardoptions.md: id: 471f144b14bf - last_write_checksum: sha1:c5efb73a0e52b98bfef2999e3dd77c0023ad9d5c - pristine_git_object: eb50729fb03cec0ac763871b70b5c5b7a5f6e31f + last_write_checksum: sha1:6270a6a688e83524001a7fecc66827f42f2f2645 + pristine_git_object: 38fdf5cb69d7158507ab7c9c4e62b456f5c07387 docs/models/stripeconnectoptions.md: id: fd1c5f15c11a last_write_checksum: sha1:6bc0cc64e6d0d188e2e3628efd67e7afa221846d @@ -2688,8 +2688,8 @@ trackedFiles: pristine_git_object: cb9c15d314c1930557401074329ed7a737147919 pyproject.toml: id: 5d07e7d72637 - last_write_checksum: sha1:754e1adfc7fd2b3a3bf9e481474abc5ed7e9eb31 - pristine_git_object: 3b167f74f57426e9d3b6351d249053b2e6b81cc1 + last_write_checksum: sha1:62e35dc68d039b8bf6fba9b9c77608c7495be91c + pristine_git_object: 1f312007a19a795bf941044180f122fb69c69e89 scripts/prepare_readme.py: id: e0c5957a6035 last_write_checksum: sha1:63a92abbd1de3323613f0d4c1ae4412076577710 @@ -2716,8 +2716,8 @@ trackedFiles: pristine_git_object: 83a0d00f9b5b1a6d837643a32bfd0f82cd4f98ce src/gr4vy/_version.py: id: 1b5ad1da47aa - last_write_checksum: sha1:acd803ccd96b7c97807a73e9a99e7a2c97c67bc4 - pristine_git_object: e80bbfed6e41845db48609b515bce081920759d1 + last_write_checksum: sha1:b3a25807a8a651649b42db1c9a1fa9473e34958c + pristine_git_object: 417a8a3c13ac6c030a6e20e0a009b275cb9fdea2 src/gr4vy/account_updater.py: id: 6dc8f39e2fb9 last_write_checksum: sha1:fabc79a59dd06fb927ce2d834fbafbcad5836a4b @@ -4336,8 +4336,8 @@ trackedFiles: pristine_git_object: 711211396fbc02dfadd5fbe9faad32755aa49fe6 src/gr4vy/models/stripecardoptions.py: id: bad68f8319e9 - last_write_checksum: sha1:e21ee5dcd2b073b8c388b309346133eff17377da - pristine_git_object: 51e62b1f014cc7edde7012fe6b297720ff94a526 + last_write_checksum: sha1:892600d7a5b565822956ba5a131f8bc7ee5306aa + pristine_git_object: d1170c90da86959842df58ac96fa41adcb1cd09b src/gr4vy/models/stripeconnectoptions.py: id: f89055383e42 last_write_checksum: sha1:a170aa8d66cd514ea9219b1d0751aff54aa878ef @@ -8763,7 +8763,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:\n* `gr4vy.merchant_accounts.list()`: `response.items[]` **Changed**\n* `gr4vy.merchant_accounts.create()`: \n * `request` **Changed**\n * `response` **Changed**\n* `gr4vy.merchant_accounts.get()`: `response` **Changed**\n* `gr4vy.merchant_accounts.update()`: \n * `request` **Changed**\n * `response` **Changed**\n" +releaseNotes: "## Python SDK Changes:\n* `gr4vy.transactions.create()`: \n * `request.connection_options.stripe_card.customer_id` **Added**\n* `gr4vy.transactions.update()`: \n * `request.connection_options.stripe_card.customer_id` **Added**\n* `gr4vy.payment_links.create()`: \n * `request.connection_options.stripe_card.customer_id` **Added**\n" generatedFiles: - .gitattributes - .vscode/settings.json diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 84cd4a6d..58df0bb6 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -29,7 +29,7 @@ generation: generateNewTests: false skipResponseBodyAssertions: false python: - version: 2.1.18 + version: 2.1.19 additionalDependencies: dev: freezegun: ^1.5.1 diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index f7f7deb7..6ab57a37 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -2,8 +2,8 @@ speakeasyVersion: 1.784.1 sources: openapi: sourceNamespace: openapi - sourceRevisionDigest: sha256:78426f18017552c096beff8a570f0d7ad7d6993e5714d9e7a7692e77908b1ca7 - sourceBlobDigest: sha256:162ed3c3c04fb2c77720285f9de458b8d11097265f2715b78f131c421cea2c9e + sourceRevisionDigest: sha256:38291540f1cbce2d4de529c2e010b5b36adf9ea66031bb70ef3916c54a947bda + sourceBlobDigest: sha256:774942f4e06f416e6fefa3766514217ed401fbe0265175e00a49d7b277723c61 tags: - latest - 1.0.0 @@ -11,10 +11,10 @@ targets: python: source: openapi sourceNamespace: openapi - sourceRevisionDigest: sha256:78426f18017552c096beff8a570f0d7ad7d6993e5714d9e7a7692e77908b1ca7 - sourceBlobDigest: sha256:162ed3c3c04fb2c77720285f9de458b8d11097265f2715b78f131c421cea2c9e + sourceRevisionDigest: sha256:38291540f1cbce2d4de529c2e010b5b36adf9ea66031bb70ef3916c54a947bda + sourceBlobDigest: sha256:774942f4e06f416e6fefa3766514217ed401fbe0265175e00a49d7b277723c61 codeSamplesNamespace: openapi-python-code-samples - codeSamplesRevisionDigest: sha256:f84120e22dabf5dcbdc6cd2a9b7add946fd7b2476f244a4795743053df5cd5dd + codeSamplesRevisionDigest: sha256:a1b61be2d6c706e8c54e680ec25ec7b7541b2ff3be579b9f5f5d346dfb5bd3b1 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/RELEASES.md b/RELEASES.md index f8dc7aa7..bbeba8fa 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -2098,4 +2098,14 @@ Based on: ### Generated - [python v2.1.18] . ### Releases -- [PyPI v2.1.18] https://pypi.org/project/gr4vy/2.1.18 - . \ No newline at end of file +- [PyPI v2.1.18] https://pypi.org/project/gr4vy/2.1.18 - . + +## 2026-06-23 15:00:24 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.784.1 (2.911.3) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v2.1.19] . +### Releases +- [PyPI v2.1.19] https://pypi.org/project/gr4vy/2.1.19 - . \ No newline at end of file diff --git a/docs/models/stripecardoptions.md b/docs/models/stripecardoptions.md index eb50729f..38fdf5cb 100644 --- a/docs/models/stripecardoptions.md +++ b/docs/models/stripecardoptions.md @@ -6,4 +6,5 @@ | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `stripe_connect` | [OptionalNullable[models.StripeConnectOptions]](../models/stripeconnectoptions.md) | :heavy_minus_sign: | Stripe options to support Stripe Connect | | +| `customer_id` | *OptionalNullable[str]* | :heavy_minus_sign: | A Stripe customer ID (`cus_xxx`) to associate with the PaymentIntent for network token transactions. When provided, Stripe Radar can access the customer's payment history, dispute rate, and account age to improve risk scoring for returning customers. | cus_UgwySgjyKWrN5o | | `error_on_requires_action` | *OptionalNullable[bool]* | :heavy_minus_sign: | Passes the `error_on_requires_action` option to the Stripe API. Set to true to fail the payment attempt if it transitions into requires_action. Use this parameter for simpler integrations that don't handle customer actions, such as saving cards without authentication. | true | \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 3b167f74..1f312007 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "gr4vy" -version = "2.1.18" +version = "2.1.19" 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 e80bbfed..417a8a3c 100644 --- a/src/gr4vy/_version.py +++ b/src/gr4vy/_version.py @@ -3,10 +3,10 @@ import importlib.metadata __title__: str = "gr4vy" -__version__: str = "2.1.18" +__version__: str = "2.1.19" __openapi_doc_version__: str = "1.0.0" __gen_version__: str = "2.911.3" -__user_agent__: str = "speakeasy-sdk/python 2.1.18 2.911.3 1.0.0 gr4vy" +__user_agent__: str = "speakeasy-sdk/python 2.1.19 2.911.3 1.0.0 gr4vy" try: if __package__ is not None: diff --git a/src/gr4vy/models/stripecardoptions.py b/src/gr4vy/models/stripecardoptions.py index 51e62b1f..d1170c90 100644 --- a/src/gr4vy/models/stripecardoptions.py +++ b/src/gr4vy/models/stripecardoptions.py @@ -10,6 +10,8 @@ class StripeCardOptionsTypedDict(TypedDict): stripe_connect: NotRequired[Nullable[StripeConnectOptionsTypedDict]] r"""Stripe options to support Stripe Connect""" + customer_id: NotRequired[Nullable[str]] + r"""A Stripe customer ID (`cus_xxx`) to associate with the PaymentIntent for network token transactions. When provided, Stripe Radar can access the customer's payment history, dispute rate, and account age to improve risk scoring for returning customers.""" error_on_requires_action: NotRequired[Nullable[bool]] r"""Passes the `error_on_requires_action` option to the Stripe API. Set to true to fail the payment attempt if it transitions into requires_action. Use this parameter for simpler integrations that don't handle customer actions, such as saving cards without authentication.""" @@ -18,13 +20,20 @@ class StripeCardOptions(BaseModel): stripe_connect: OptionalNullable[StripeConnectOptions] = UNSET r"""Stripe options to support Stripe Connect""" + customer_id: OptionalNullable[str] = UNSET + r"""A Stripe customer ID (`cus_xxx`) to associate with the PaymentIntent for network token transactions. When provided, Stripe Radar can access the customer's payment history, dispute rate, and account age to improve risk scoring for returning customers.""" + error_on_requires_action: OptionalNullable[bool] = UNSET r"""Passes the `error_on_requires_action` option to the Stripe API. Set to true to fail the payment attempt if it transitions into requires_action. Use this parameter for simpler integrations that don't handle customer actions, such as saving cards without authentication.""" @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set(["stripe_connect", "error_on_requires_action"]) - nullable_fields = set(["stripe_connect", "error_on_requires_action"]) + optional_fields = set( + ["stripe_connect", "customer_id", "error_on_requires_action"] + ) + nullable_fields = set( + ["stripe_connect", "customer_id", "error_on_requires_action"] + ) serialized = handler(self) m = {} From 4bf12c2d234d38c072f069961c5c30cba7a41c83 Mon Sep 17 00:00:00 2001 From: "speakeasy-github[bot]" <128539517+speakeasy-github[bot]@users.noreply.github.com> Date: Tue, 23 Jun 2026 15:02:36 +0000 Subject: [PATCH 2/2] empty commit to trigger [run-tests] workflow