Skip to content

Commit b1a2d17

Browse files
committed
## Python SDK Changes Detected:
* `client.settlements.list()`: `response._embedded.settlements.[].periods.{}.{}.costs.[].amount_vat` **Changed** **Breaking** ⚠️ * `client.settlements.get()`: `response.periods.{}.{}.costs.[].amount_vat` **Changed** **Breaking** ⚠️ * `client.settlements.get-open()`: `response.periods.{}.{}.costs.[].amount_vat` **Changed** **Breaking** ⚠️ * `client.settlements.get-next()`: `response.periods.{}.{}.costs.[].amount_vat` **Changed** **Breaking** ⚠️
1 parent 6f187e7 commit b1a2d17

File tree

8 files changed

+32
-22
lines changed

8 files changed

+32
-22
lines changed

.speakeasy/gen.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 3f63a12a-c4cd-4e2e-98dc-9d5c6f5180ec
33
management:
4-
docChecksum: 5f770e879f4e0cd204315098145b861b
4+
docChecksum: 843a5fcda17e62c6c7e2027ada861883
55
docVersion: 1.0.0
66
speakeasyVersion: 1.622.1
77
generationVersion: 2.709.0
8-
releaseVersion: 0.12.6
9-
configChecksum: d1fc17058fd18a6f718408cbbf82c13e
8+
releaseVersion: 0.12.7
9+
configChecksum: 43d5488f75d0bf45a5bfa35cc1b305d3
1010
repoURL: https://github.com/mollie/mollie-api-python-beta.git
1111
installationURL: https://github.com/mollie/mollie-api-python-beta.git
1212
published: true
@@ -5247,7 +5247,7 @@ examplesVersion: 1.0.2
52475247
generatedTests: {}
52485248
releaseNotes: |
52495249
## Python SDK Changes Detected:
5250-
* `client.settlements.list()`: `response` **Changed** **Breaking** :warning:
5251-
* `client.settlements.get()`: `response` **Changed** **Breaking** :warning:
5252-
* `client.settlements.get-open()`: `response` **Changed** **Breaking** :warning:
5253-
* `client.settlements.get-next()`: `response` **Changed** **Breaking** :warning:
5250+
* `client.settlements.list()`: `response._embedded.settlements.[].periods.{}.{}.costs.[].amount_vat` **Changed** **Breaking** :warning:
5251+
* `client.settlements.get()`: `response.periods.{}.{}.costs.[].amount_vat` **Changed** **Breaking** :warning:
5252+
* `client.settlements.get-open()`: `response.periods.{}.{}.costs.[].amount_vat` **Changed** **Breaking** :warning:
5253+
* `client.settlements.get-next()`: `response.periods.{}.{}.costs.[].amount_vat` **Changed** **Breaking** :warning:

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ generation:
2525
generateNewTests: false
2626
skipResponseBodyAssertions: false
2727
python:
28-
version: 0.12.6
28+
version: 0.12.7
2929
additionalDependencies:
3030
dev: {}
3131
main: {}

.speakeasy/workflow.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@ speakeasyVersion: 1.622.1
22
sources:
33
Mollie API:
44
sourceNamespace: mollie-api
5-
sourceRevisionDigest: sha256:8d00ec2976f1b58c027b7de788a7a8d0db347bab29905ef50c1b3c7962c9c90e
6-
sourceBlobDigest: sha256:417b622d5e91a80d8cf7e228f1715b3bd24f23bed8813ae08d44f8d5a91e524a
5+
sourceRevisionDigest: sha256:c0ca147df7c3765fc388eba5f756bedc71b4384d830c73e0cfb60b347eaf11fa
6+
sourceBlobDigest: sha256:cd8c72cc2197ddab0a6bd03d24e63057bb6f74ced03e33b62c4144bc59c3f0da
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1758531123
9+
- speakeasy-sdk-regen-1758532845
1010
- 1.0.0
1111
targets:
1212
client:
1313
source: Mollie API
1414
sourceNamespace: mollie-api
15-
sourceRevisionDigest: sha256:8d00ec2976f1b58c027b7de788a7a8d0db347bab29905ef50c1b3c7962c9c90e
16-
sourceBlobDigest: sha256:417b622d5e91a80d8cf7e228f1715b3bd24f23bed8813ae08d44f8d5a91e524a
15+
sourceRevisionDigest: sha256:c0ca147df7c3765fc388eba5f756bedc71b4384d830c73e0cfb60b347eaf11fa
16+
sourceBlobDigest: sha256:cd8c72cc2197ddab0a6bd03d24e63057bb6f74ced03e33b62c4144bc59c3f0da
1717
codeSamplesNamespace: mollie-api-python-code-samples
18-
codeSamplesRevisionDigest: sha256:038335140d8c4bfcd73a1efb3e77d40f5e4e02da0bca836c3f838ff83c5debfa
18+
codeSamplesRevisionDigest: sha256:e605510264690d1778b6bf82fc0715d185c7fe48fbfb78507011cf2fc7c06e98
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,4 +548,14 @@ Based on:
548548
### Generated
549549
- [python v0.12.6] .
550550
### Releases
551-
- [PyPI v0.12.6] https://pypi.org/project/mollie/0.12.6 - .
551+
- [PyPI v0.12.6] https://pypi.org/project/mollie/0.12.6 - .
552+
553+
## 2025-09-22 09:20:21
554+
### Changes
555+
Based on:
556+
- OpenAPI Doc
557+
- Speakeasy CLI 1.622.1 (2.709.0) https://github.com/speakeasy-api/speakeasy
558+
### Generated
559+
- [python v0.12.7] .
560+
### Releases
561+
- [PyPI v0.12.7] https://pypi.org/project/mollie/0.12.7 - .

docs/models/cost.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@
1010
| `count` | *int* | :heavy_check_mark: | The number of fees | 10 |
1111
| `rate` | [models.Rate](../models/rate.md) | :heavy_check_mark: | The service rates, further divided into `fixed` and `percentage` costs. | |
1212
| `amount_net` | [models.Amount](../models/amount.md) | :heavy_check_mark: | In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field. | |
13-
| `amount_vat` | [models.Amount](../models/amount.md) | :heavy_check_mark: | In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field. | |
13+
| `amount_vat` | [Nullable[models.AmountNullable]](../models/amountnullable.md) | :heavy_check_mark: | In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field. | |
1414
| `amount_gross` | [models.Amount](../models/amount.md) | :heavy_check_mark: | In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field. | |

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "mollie-api-python-beta"
3-
version = "0.12.6"
3+
version = "0.12.7"
44
description = "Python Client SDK Generated by Speakeasy."
55
authors = [{ name = "Speakeasy" },]
66
readme = "README-PYPI.md"

src/mollie/_version.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
import importlib.metadata
44

55
__title__: str = "mollie"
6-
__version__: str = "0.12.6"
6+
__version__: str = "0.12.7"
77
__openapi_doc_version__: str = "1.0.0"
88
__gen_version__: str = "2.709.0"
9-
__user_agent__: str = "speakeasy-sdk/python 0.12.6 2.709.0 1.0.0 mollie"
9+
__user_agent__: str = "speakeasy-sdk/python 0.12.7 2.709.0 1.0.0 mollie"
1010

1111
try:
1212
if __package__ is not None:

src/mollie/models/entity_settlement.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class CostTypedDict(TypedDict):
4444
r"""The service rates, further divided into `fixed` and `percentage` costs."""
4545
amount_net: AmountTypedDict
4646
r"""In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field."""
47-
amount_vat: AmountTypedDict
47+
amount_vat: Nullable[AmountNullableTypedDict]
4848
r"""In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field."""
4949
amount_gross: AmountTypedDict
5050
r"""In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field."""
@@ -68,7 +68,7 @@ class Cost(BaseModel):
6868
amount_net: Annotated[Amount, pydantic.Field(alias="amountNet")]
6969
r"""In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field."""
7070

71-
amount_vat: Annotated[Amount, pydantic.Field(alias="amountVat")]
71+
amount_vat: Annotated[Nullable[AmountNullable], pydantic.Field(alias="amountVat")]
7272
r"""In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field."""
7373

7474
amount_gross: Annotated[Amount, pydantic.Field(alias="amountGross")]
@@ -77,7 +77,7 @@ class Cost(BaseModel):
7777
@model_serializer(mode="wrap")
7878
def serialize_model(self, handler):
7979
optional_fields = []
80-
nullable_fields = ["method"]
80+
nullable_fields = ["method", "amountVat"]
8181
null_default_fields = []
8282

8383
serialized = handler(self)

0 commit comments

Comments
 (0)