mollie-api-py 1.0.5__py3-none-any.whl → 1.1.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
mollie/_version.py CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  import importlib.metadata
4
4
 
5
- __title__: str = "mollie"
6
- __version__: str = "1.0.5"
5
+ __title__: str = "mollie-api-py"
6
+ __version__: str = "1.1.1"
7
7
  __openapi_doc_version__: str = "1.0.0"
8
8
  __gen_version__: str = "2.730.5"
9
- __user_agent__: str = "speakeasy-sdk/python 1.0.5 2.730.5 1.0.0 mollie"
9
+ __user_agent__: str = "speakeasy-sdk/python 1.1.1 2.730.5 1.0.0 mollie-api-py"
10
10
 
11
11
  try:
12
12
  if __package__ is not None:
@@ -7,6 +7,7 @@ from mollie.utils import validate_open_enum
7
7
  import pydantic
8
8
  from pydantic import model_serializer
9
9
  from pydantic.functional_validators import PlainValidator
10
+ from typing import Optional
10
11
  from typing_extensions import Annotated, NotRequired, TypedDict
11
12
 
12
13
 
@@ -155,6 +156,16 @@ class ClientLinkRequestTypedDict(TypedDict):
155
156
  r"""The VAT number of the organization, if based in the European Union. VAT numbers are verified against the
156
157
  international registry *VIES*.
157
158
  """
159
+ legal_entity: NotRequired[str]
160
+ r"""The legal entity type of the organization, based on its country of origin. Please refer to the
161
+ [legal entity list](common-data-types#legal-entity) for all possible options.
162
+ """
163
+ registration_office: NotRequired[str]
164
+ r"""The registration office that the organization was registered at. Please refer to the
165
+ [registration office list](common-data-types#registration-office) for all possible options.
166
+ """
167
+ incorporation_date: NotRequired[Nullable[str]]
168
+ r"""The incorporation date of the organization (format `YYYY-MM-DD`)"""
158
169
 
159
170
 
160
171
  class ClientLinkRequest(BaseModel):
@@ -179,10 +190,33 @@ class ClientLinkRequest(BaseModel):
179
190
  international registry *VIES*.
180
191
  """
181
192
 
193
+ legal_entity: Annotated[Optional[str], pydantic.Field(alias="legalEntity")] = None
194
+ r"""The legal entity type of the organization, based on its country of origin. Please refer to the
195
+ [legal entity list](common-data-types#legal-entity) for all possible options.
196
+ """
197
+
198
+ registration_office: Annotated[
199
+ Optional[str], pydantic.Field(alias="registrationOffice")
200
+ ] = None
201
+ r"""The registration office that the organization was registered at. Please refer to the
202
+ [registration office list](common-data-types#registration-office) for all possible options.
203
+ """
204
+
205
+ incorporation_date: Annotated[
206
+ OptionalNullable[str], pydantic.Field(alias="incorporationDate")
207
+ ] = UNSET
208
+ r"""The incorporation date of the organization (format `YYYY-MM-DD`)"""
209
+
182
210
  @model_serializer(mode="wrap")
183
211
  def serialize_model(self, handler):
184
- optional_fields = ["registrationNumber", "vatNumber"]
185
- nullable_fields = ["registrationNumber", "vatNumber"]
212
+ optional_fields = [
213
+ "registrationNumber",
214
+ "vatNumber",
215
+ "legalEntity",
216
+ "registrationOffice",
217
+ "incorporationDate",
218
+ ]
219
+ nullable_fields = ["registrationNumber", "vatNumber", "incorporationDate"]
186
220
  null_default_fields = []
187
221
 
188
222
  serialized = handler(self)
@@ -452,7 +452,7 @@ class ListPaymentResponseApplicationFee(BaseModel):
452
452
 
453
453
 
454
454
  class ListPaymentResponseStatus(str, Enum, metaclass=utils.OpenEnumMeta):
455
- r"""The payment's status. Refer to the [documentation regarding statuses](https://docs.mollie.com/docs/status-change#/) for more info about which
455
+ r"""The payment's status. Refer to the [documentation regarding statuses](https://docs.mollie.com/docs/handling-payment-status) for more info about which
456
456
  statuses occur at what point.
457
457
  """
458
458
 
@@ -452,7 +452,7 @@ class PaymentResponseApplicationFee(BaseModel):
452
452
 
453
453
 
454
454
  class PaymentResponseStatus(str, Enum, metaclass=utils.OpenEnumMeta):
455
- r"""The payment's status. Refer to the [documentation regarding statuses](https://docs.mollie.com/docs/status-change#/) for more info about which
455
+ r"""The payment's status. Refer to the [documentation regarding statuses](https://docs.mollie.com/docs/handling-payment-status) for more info about which
456
456
  statuses occur at what point.
457
457
  """
458
458
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mollie-api-py
3
- Version: 1.0.5
3
+ Version: 1.1.1
4
4
  Summary: Python Client SDK Generated by Speakeasy.
5
5
  License-File: LICENSE.md
6
6
  Author: Speakeasy
@@ -79,7 +79,7 @@ The SDK can be installed with *uv*, *pip*, or *poetry* package managers.
79
79
  *uv* is a fast Python package installer and resolver, designed as a drop-in replacement for pip and pip-tools. It's recommended for its speed and modern Python tooling capabilities.
80
80
 
81
81
  ```bash
82
- uv add mollie
82
+ uv add mollie-api-py
83
83
  ```
84
84
 
85
85
  ### PIP
@@ -87,7 +87,7 @@ uv add mollie
87
87
  *PIP* is the default package installer for Python, enabling easy installation and management of packages from PyPI via the command line.
88
88
 
89
89
  ```bash
90
- pip install mollie
90
+ pip install mollie-api-py
91
91
  ```
92
92
 
93
93
  ### Poetry
@@ -95,7 +95,7 @@ pip install mollie
95
95
  *Poetry* is a modern tool that simplifies dependency management and package publishing by using a single `pyproject.toml` file to handle project metadata and dependencies.
96
96
 
97
97
  ```bash
98
- poetry add mollie
98
+ poetry add mollie-api-py
99
99
  ```
100
100
 
101
101
  ### Shell and script usage with `uv`
@@ -103,7 +103,7 @@ poetry add mollie
103
103
  You can use this SDK in a Python shell with [uv](https://docs.astral.sh/uv/) and the `uvx` command that comes with it like so:
104
104
 
105
105
  ```shell
106
- uvx --from mollie python
106
+ uvx --from mollie-api-py python
107
107
  ```
108
108
 
109
109
  It's also possible to write a standalone Python script without needing to set up a whole project like so:
@@ -113,7 +113,7 @@ It's also possible to write a standalone Python script without needing to set up
113
113
  # /// script
114
114
  # requires-python = ">=3.9"
115
115
  # dependencies = [
116
- # "mollie",
116
+ # "mollie-api-py",
117
117
  # ]
118
118
  # ///
119
119
 
@@ -4,7 +4,7 @@ mollie/_hooks/mollie_hooks.py,sha256=c9l0SCJmT_o6mXzl4WRK8fIOaTox2nrPhuGpN4aso2E
4
4
  mollie/_hooks/registration.py,sha256=J8foUfPGbkJa3va864Q7iXYYK4CpxSaix6nAxw0w7-Y,748
5
5
  mollie/_hooks/sdkhooks.py,sha256=XSStdz5qEmh-Mwt53kk1_nVrtAz1_EZVbHymUEOTdDE,2556
6
6
  mollie/_hooks/types.py,sha256=JKrqkXMXwcNaCf2_hu0yX8Bi7GsHbVBrQDnfRTSws7w,3041
7
- mollie/_version.py,sha256=V2c7psCUt0k8tm69MmeFPYTi2sapSQVK6sufv7fNtM0,454
7
+ mollie/_version.py,sha256=JHpe8PAjqWxSveD4PsIf45Qi8zvlstN5rV88WPeB9-w,468
8
8
  mollie/balance_transfers.py,sha256=vDy2v7ezxTv0Atpuv0M9lGXyvQM6KPu_rd2D02CIKIk,29291
9
9
  mollie/balances.py,sha256=ngc5ky8TWB-K2lVFuzZQCwcNdWH6m-KPIznW4qIE1qo,49314
10
10
  mollie/basesdk.py,sha256=q24JMCy4yFLPP2cLt_-S8_4CTd8-h20OLctAVMIBi0w,12168
@@ -48,7 +48,7 @@ mollie/models/capability_status_reason.py,sha256=tUBSgi6V8IJyI8RYMe1fNmrx16wg59E
48
48
  mollie/models/capture_mode.py,sha256=i1b0qd5Al1FS5vm4jSbb4OEcbBP3WZTuptRqEEHa7ts,473
49
49
  mollie/models/capture_mode_response.py,sha256=J54CNpvOX10o7IXBoros09_yS85HNL4M3-t-B5QDLuw,536
50
50
  mollie/models/capture_response.py,sha256=ZGOEnJrSzUp-Wp_nD9XnXuPW0s4lw-PXk29ksSNN8Rg,11266
51
- mollie/models/client_link_request.py,sha256=QX5bXUwKuWGqBtj3MHp5fdWipIDtcLvU_k43OhSXeB4,7016
51
+ mollie/models/client_link_request.py,sha256=09lB2B4rG2g5QsHt3mtpeJ1M3q5cUnzpQLT-vAijglY,8581
52
52
  mollie/models/client_link_response.py,sha256=fCjukuLg3SIlcPARu0SWt9P8nHdZiT9bGnIlj-XDkGM,2511
53
53
  mollie/models/clienterror.py,sha256=03IpOKiBD-nTXvjXpz67CaJJbRIb38_3APa34-C9Taw,955
54
54
  mollie/models/components_sub_totals.py,sha256=QavYiRRpizDbgTBhlcqbgQ2YNLNeOU0vXTciA-KaVco,4257
@@ -166,7 +166,7 @@ mollie/models/list_mandate_response.py,sha256=Yfd7gRMinXaqPZMgxG0jQlbT1r2P_f9QUt
166
166
  mollie/models/list_mandatesop.py,sha256=1ntExLhI16gOZMOvltpUymwfh5YPxw62Y4c0w4tNtxw,7239
167
167
  mollie/models/list_methodsop.py,sha256=_8c83-b2DDrz0H3HVXAs-v8cN-X5PfnkpTSi8n8tw7o,13759
168
168
  mollie/models/list_payment_linksop.py,sha256=Gxj6rDvci_6p7Mj6PtJleA6yJguAhmPZGMOHnmN9wBc,6489
169
- mollie/models/list_payment_response.py,sha256=f2meKWuQdtpVY6MlE65BiIIs7NoDjujQv5ANWDxjWEM,86697
169
+ mollie/models/list_payment_response.py,sha256=QcidMVh8BRSxdnA_pqbbFdigVJYdUm9xgp6PYOPwx6s,86705
170
170
  mollie/models/list_paymentsop.py,sha256=PSi_aw4oRKXH9vWFpeq8eOsLFY0NEnHGYMpGTSTzSiQ,8806
171
171
  mollie/models/list_permissionsop.py,sha256=dpcrFHX58LxZ4Ao-T3Ac8_zdbgxsJKsENTHFveCPNEg,3407
172
172
  mollie/models/list_profile_response.py,sha256=aSRH3hp6N7hTZCHBX6rh46B4RPA08-KkdtsYWMSIRTo,8962
@@ -227,7 +227,7 @@ mollie/models/payment_link_sequence_type_response.py,sha256=eJflnQQEyan8XF50GmOS
227
227
  mollie/models/payment_list_routesop.py,sha256=DcxZ34Zd_WjM50UpEAZQOr7jq_cVTRg6MDyJ24rR650,5856
228
228
  mollie/models/payment_method.py,sha256=qNAJhRTpfCU3i3blGfNAaJ76pZhOkjX8R8wRp4JboHw,1367
229
229
  mollie/models/payment_request.py,sha256=eVU3nOHz1IQhCS9Z-YC2cVdvQ-t1blUmtytFfCc4AEA,42167
230
- mollie/models/payment_response.py,sha256=oYs9PCYdZPZdfSSiRMFT2C-Jm7CgkShy1KhqukCt8RQ,86734
230
+ mollie/models/payment_response.py,sha256=w8sRFh_CR-YVvHSTAZsAyQbiC02dpC5kjsC5UOWA7F0,86742
231
231
  mollie/models/profile_request.py,sha256=Umllo_8zGRdcdP6wJ4arjA9cqNsPfX4XbVvT6S5n6ng,2661
232
232
  mollie/models/profile_response.py,sha256=fo76HP527MZMCB-092Wshqbn948fqa_r9GgmW9Hv8dI,9186
233
233
  mollie/models/profile_review_status_response.py,sha256=S8znTD7m1JD9cArk6m_V3SJLKrKB9w6wbx85QI-EzjM,332
@@ -332,7 +332,7 @@ mollie/utils/values.py,sha256=CcaCXEa3xHhkUDROyXZocN8f0bdITftv9Y0P9lTf0YM,3517
332
332
  mollie/wallets.py,sha256=Sz8KRUq8TwWxSyYktdeaIGQCAwqBz8Vhnv0GWDfBTRs,12240
333
333
  mollie/webhook_events.py,sha256=Hgo-KY0TzRlu8jFAoYCpCpAzWcmSYURRQfmsxgiM8ac,9001
334
334
  mollie/webhooks.py,sha256=r2jKIBeUofuVHGTEvaOaLYLZC6kzsQRdNBPdXAPFSbU,54185
335
- mollie_api_py-1.0.5.dist-info/METADATA,sha256=29UfO-t5bID8qYfxhzJyUTSghKkss-HITuqLjxzPefY,40242
336
- mollie_api_py-1.0.5.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
337
- mollie_api_py-1.0.5.dist-info/licenses/LICENSE.md,sha256=SGg2WzlJYIta4I_BlrvHizir1Lq0UNCqIJGj-MQPZ1s,1295
338
- mollie_api_py-1.0.5.dist-info/RECORD,,
335
+ mollie_api_py-1.1.1.dist-info/METADATA,sha256=_pJ331Orhmm-cmU-sEkZ85Bs5rPiD_dOjTkVZQxeZCo,40277
336
+ mollie_api_py-1.1.1.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
337
+ mollie_api_py-1.1.1.dist-info/licenses/LICENSE.md,sha256=SGg2WzlJYIta4I_BlrvHizir1Lq0UNCqIJGj-MQPZ1s,1295
338
+ mollie_api_py-1.1.1.dist-info/RECORD,,