mollie-api-py 1.1.0__py3-none-any.whl → 1.1.2__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 +2 -2
- mollie/customers.py +20 -14
- mollie/models/__init__.py +16 -63
- mollie/models/client_link_request.py +35 -564
- mollie/models/list_payment_response.py +1 -1
- mollie/models/payment_response.py +1 -1
- mollie/models/update_customerop.py +85 -5
- mollie/models/update_payment_linkop.py +11 -9
- mollie/models/update_paymentop.py +4 -5
- mollie/models/update_sales_invoiceop.py +174 -8
- mollie/models/update_subscriptionop.py +11 -9
- mollie/models/update_webhookop.py +8 -4
- mollie/sales_invoices.py +16 -16
- {mollie_api_py-1.1.0.dist-info → mollie_api_py-1.1.2.dist-info}/METADATA +1 -1
- {mollie_api_py-1.1.0.dist-info → mollie_api_py-1.1.2.dist-info}/RECORD +17 -18
- mollie/models/update_values_sales_invoice.py +0 -176
- {mollie_api_py-1.1.0.dist-info → mollie_api_py-1.1.2.dist-info}/WHEEL +0 -0
- {mollie_api_py-1.1.0.dist-info → mollie_api_py-1.1.2.dist-info}/licenses/LICENSE.md +0 -0
|
@@ -2,14 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
from .locale_response import LocaleResponse
|
|
5
|
-
from enum import Enum
|
|
6
5
|
from mollie.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL
|
|
7
6
|
from mollie.utils import validate_open_enum
|
|
8
7
|
import pydantic
|
|
9
8
|
from pydantic import model_serializer
|
|
10
9
|
from pydantic.functional_validators import PlainValidator
|
|
11
|
-
from typing import Optional
|
|
12
|
-
from typing_extensions import Annotated, NotRequired,
|
|
10
|
+
from typing import Optional
|
|
11
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
13
12
|
|
|
14
13
|
|
|
15
14
|
class OwnerTypedDict(TypedDict):
|
|
@@ -144,560 +143,6 @@ class ClientLinkRequestAddress(BaseModel):
|
|
|
144
143
|
return m
|
|
145
144
|
|
|
146
145
|
|
|
147
|
-
class Other(str, Enum):
|
|
148
|
-
r"""Other business entity."""
|
|
149
|
-
|
|
150
|
-
OTHER = "other"
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
class Gb(str, Enum):
|
|
154
|
-
r"""**Great Britain legal entities types.**
|
|
155
|
-
|
|
156
|
-
* `gb-llp` - Limited Liability Partnership (LLP)
|
|
157
|
-
* `gb-lp` - Limited Partnership (LP)
|
|
158
|
-
* `gb-ltd` - Private Limited Company (Ltd.)
|
|
159
|
-
* `gb-plc` - Public Limited Company (PLC)
|
|
160
|
-
* `gb-charitable-company` - Charitable Company
|
|
161
|
-
* `gb-general-partnership` - General Partnership (GP)
|
|
162
|
-
* `gb-sole-trader` - Sole trader
|
|
163
|
-
* `gb-trust` - Trust
|
|
164
|
-
|
|
165
|
-
"""
|
|
166
|
-
|
|
167
|
-
GB_LLP = "gb-llp"
|
|
168
|
-
GB_LP = "gb-lp"
|
|
169
|
-
GB_LTD = "gb-ltd"
|
|
170
|
-
GB_PLC = "gb-plc"
|
|
171
|
-
GB_CHARITABLE_COMPANY = "gb-charitable-company"
|
|
172
|
-
GB_GENERAL_PARTNERSHIP = "gb-general-partnership"
|
|
173
|
-
GB_SOLE_TRADER = "gb-sole-trader"
|
|
174
|
-
GB_TRUST = "gb-trust"
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
class It(str, Enum):
|
|
178
|
-
r"""**Italy legal entities types.**
|
|
179
|
-
|
|
180
|
-
* `it-associazione-non-riconosciuta` - Associazione non riconosciuta
|
|
181
|
-
* `it-associazione-riconosciuta` - Associazione riconosciuta
|
|
182
|
-
* `it-ditta-individuale` - Ditta Individuale
|
|
183
|
-
* `it-fondazione` - Fondazione
|
|
184
|
-
* `it-fondo-fiduciario` - Fondo Fiduciario
|
|
185
|
-
* `it-sapa` - Società in accomandita per azioni (S.a.p.a.)
|
|
186
|
-
* `it-sas` - Società in accomandita semplice (S.a.s.)
|
|
187
|
-
* `it-snc` - Società in nome collettivo (S.n.c)
|
|
188
|
-
* `it-societa-cooperativa` - Società cooperativa
|
|
189
|
-
* `it-spa` - Società per azioni (S.p.A.)
|
|
190
|
-
* `it-srl` - Società a responsabilità limitata (S.r.l.)
|
|
191
|
-
* `it-ss` - Società semplice (S.s.)
|
|
192
|
-
|
|
193
|
-
"""
|
|
194
|
-
|
|
195
|
-
IT_ASSOCIAZIONE_NON_RICONOSCIUTA = "it-associazione-non-riconosciuta"
|
|
196
|
-
IT_ASSOCIAZIONE_RICONOSCIUTA = "it-associazione-riconosciuta"
|
|
197
|
-
IT_DITTA_INDIVIDUALE = "it-ditta-individuale"
|
|
198
|
-
IT_FONDAZIONE = "it-fondazione"
|
|
199
|
-
IT_FONDO_FIDUCIARIO = "it-fondo-fiduciario"
|
|
200
|
-
IT_SAPA = "it-sapa"
|
|
201
|
-
IT_SAS = "it-sas"
|
|
202
|
-
IT_SNC = "it-snc"
|
|
203
|
-
IT_SOCIETA_COOPERATIVA = "it-societa-cooperativa"
|
|
204
|
-
IT_SPA = "it-spa"
|
|
205
|
-
IT_SRL = "it-srl"
|
|
206
|
-
IT_SS = "it-ss"
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
class No(str, Enum):
|
|
210
|
-
r"""**Norway legal entities types.**
|
|
211
|
-
|
|
212
|
-
* `no-ans-da` - Ansvarlig selskap (ANS/DA)
|
|
213
|
-
* `no-as` - Aksjeselskap (AS)
|
|
214
|
-
* `no-asa` - Allmennaksjeselskap (ASA)
|
|
215
|
-
* `no-da` - Selskap med delt ansvar (DA)
|
|
216
|
-
* `no-enk` - Enkeltpersonsforetak (ENK)
|
|
217
|
-
* `no-ks` - Kommandittselskap (KS)
|
|
218
|
-
* `no-nuf` - Norskregistrert utenlandsk foretak (NUF)
|
|
219
|
-
* `no-samvirkeforetak` - Samvirkeforetak
|
|
220
|
-
* `no-statesforetak` - Statesforetak
|
|
221
|
-
* `no-stiftelse` - Stiftelse
|
|
222
|
-
|
|
223
|
-
"""
|
|
224
|
-
|
|
225
|
-
NO_ANS_DA = "no-ans-da"
|
|
226
|
-
NO_AS = "no-as"
|
|
227
|
-
NO_ASA = "no-asa"
|
|
228
|
-
NO_DA = "no-da"
|
|
229
|
-
NO_ENK = "no-enk"
|
|
230
|
-
NO_KS = "no-ks"
|
|
231
|
-
NO_NUF = "no-nuf"
|
|
232
|
-
NO_SAMVIRKEFORETAK = "no-samvirkeforetak"
|
|
233
|
-
NO_STATESFORETAK = "no-statesforetak"
|
|
234
|
-
NO_STIFTELSE = "no-stiftelse"
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
class Se(str, Enum):
|
|
238
|
-
r"""**Sweden legal entities types.**
|
|
239
|
-
|
|
240
|
-
* `se-ab` - Aktiebolag (AB)
|
|
241
|
-
* `se-ab-publ` - AB (publ)
|
|
242
|
-
* `se-ekonomisk-forening` - Ekonomisk förening
|
|
243
|
-
* `se-enkla-bolag` - Enkla bolag
|
|
244
|
-
* `se-enskild-firma` - Enskild firma
|
|
245
|
-
* `se-fillial-utlandskt-bolag` - Fillial till utländskt bolag
|
|
246
|
-
* `se-hb` - Handelsbolag (HB)
|
|
247
|
-
* `se-ideel-forening` - Ideel förening
|
|
248
|
-
* `se-kb` - Kommanditbolag (KB)
|
|
249
|
-
* `se-samriskforetag` - Samriskföretag
|
|
250
|
-
* `se-stiftelse` - Stiftelse
|
|
251
|
-
* `se-trust` - Trust
|
|
252
|
-
|
|
253
|
-
"""
|
|
254
|
-
|
|
255
|
-
SE_AB = "se-ab"
|
|
256
|
-
SE_AB_PUBL = "se-ab-publ"
|
|
257
|
-
SE_EKONOMISK_FORENING = "se-ekonomisk-forening"
|
|
258
|
-
SE_ENKLA_BOLAG = "se-enkla-bolag"
|
|
259
|
-
SE_ENSKILD_FIRMA = "se-enskild-firma"
|
|
260
|
-
SE_FILLIAL_UTLANDSKT_BOLAG = "se-fillial-utlandskt-bolag"
|
|
261
|
-
SE_HB = "se-hb"
|
|
262
|
-
SE_IDEEL_FORENING = "se-ideel-forening"
|
|
263
|
-
SE_KB = "se-kb"
|
|
264
|
-
SE_SAMRISKFORETAG = "se-samriskforetag"
|
|
265
|
-
SE_STIFTELSE = "se-stiftelse"
|
|
266
|
-
SE_TRUST = "se-trust"
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
class Dk(str, Enum):
|
|
270
|
-
r"""**Denmark legal entities types.**
|
|
271
|
-
|
|
272
|
-
* `dk-aktieselskab` - Aktieselskab
|
|
273
|
-
* `dk-anpartsselskab` - Anpartsselskab
|
|
274
|
-
* `dk-enkeltmandsvirksomhed` - Enkeltmandsvirksomhed
|
|
275
|
-
* `dk-interessentskab` - Interessentskab
|
|
276
|
-
* `dk-ivaerksaetterselskab` - Iværksætterselskab
|
|
277
|
-
* `dk-kommanditselskab` - Kommanditselskab
|
|
278
|
-
* `dk-stiftelse` - Stiftelse
|
|
279
|
-
* `dk-trust` - Trust
|
|
280
|
-
|
|
281
|
-
"""
|
|
282
|
-
|
|
283
|
-
DK_AKTIESELSKAB = "dk-aktieselskab"
|
|
284
|
-
DK_ANPARTSSELSKAB = "dk-anpartsselskab"
|
|
285
|
-
DK_ENKELTMANDSVIRKSOMHED = "dk-enkeltmandsvirksomhed"
|
|
286
|
-
DK_INTERESSENTSKAB = "dk-interessentskab"
|
|
287
|
-
DK_IVAERKSAETTERSELSKAB = "dk-ivaerksaetterselskab"
|
|
288
|
-
DK_KOMMANDITSELSKAB = "dk-kommanditselskab"
|
|
289
|
-
DK_STIFTELSE = "dk-stiftelse"
|
|
290
|
-
DK_TRUST = "dk-trust"
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
class Fi(str, Enum):
|
|
294
|
-
r"""**Finland legal entities types.**
|
|
295
|
-
|
|
296
|
-
* `fi-avoin-yhtio` - Avoin yhtiö
|
|
297
|
-
* `fi-julkinen-osakeyhtio` - Julkinen Osakeyhtiö
|
|
298
|
-
* `fi-kommandiittiyhtio` - Kommandiittiyhtiö
|
|
299
|
-
* `fi-osakeythio` - Osakeythiö
|
|
300
|
-
* `fi-osuuskunta` - Osuuskunta
|
|
301
|
-
* `fi-rekisteroity-yhdistys` - Rekisteroity Yhdistys
|
|
302
|
-
* `fi-saatio` - Säätiö
|
|
303
|
-
* `fi-toiminimi` - Toiminimi
|
|
304
|
-
|
|
305
|
-
"""
|
|
306
|
-
|
|
307
|
-
FI_AVOIN_YHTIO = "fi-avoin-yhtio"
|
|
308
|
-
FI_JULKINEN_OSAKEYHTIO = "fi-julkinen-osakeyhtio"
|
|
309
|
-
FI_KOMMANDIITTIYHTIO = "fi-kommandiittiyhtio"
|
|
310
|
-
FI_OSAKEYTHIO = "fi-osakeythio"
|
|
311
|
-
FI_OSUUSKUNTA = "fi-osuuskunta"
|
|
312
|
-
FI_REKISTEROITY_YHDISTYS = "fi-rekisteroity-yhdistys"
|
|
313
|
-
FI_SAATIO = "fi-saatio"
|
|
314
|
-
FI_TOIMINIMI = "fi-toiminimi"
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
class Ch(str, Enum):
|
|
318
|
-
r"""**Switzerland legal entities types.**
|
|
319
|
-
|
|
320
|
-
* `ch-ag` - Aktiengesellschaft (AG)
|
|
321
|
-
* `ch-eg` - Einfache Gesellschaft (eG)
|
|
322
|
-
* `ch-einzelunternehmen` - Einzelunternehmen
|
|
323
|
-
* `ch-genossenschaft` - Genossenschaft
|
|
324
|
-
* `ch-gmbh` - Gesellschaft mit beschränkter Haftung (GmbH)
|
|
325
|
-
* `ch-kg` - Kommanditgesellschaft (KG)
|
|
326
|
-
* `ch-kig` - Kollektivgesellschaft (KIG)
|
|
327
|
-
* `ch-kmag` - Kommanditaktiengesellschaft (KmAG)
|
|
328
|
-
* `ch-stiftung` - Stiftung
|
|
329
|
-
* `ch-trust` - Trust
|
|
330
|
-
* `ch-verein` - Verein
|
|
331
|
-
|
|
332
|
-
"""
|
|
333
|
-
|
|
334
|
-
CH_AG = "ch-ag"
|
|
335
|
-
CH_EG = "ch-eg"
|
|
336
|
-
CH_EINZELUNTERNEHMEN = "ch-einzelunternehmen"
|
|
337
|
-
CH_GENOSSENSCHAFT = "ch-genossenschaft"
|
|
338
|
-
CH_GMBH = "ch-gmbh"
|
|
339
|
-
CH_KG = "ch-kg"
|
|
340
|
-
CH_KIG = "ch-kig"
|
|
341
|
-
CH_KMAG = "ch-kmag"
|
|
342
|
-
CH_STIFTUNG = "ch-stiftung"
|
|
343
|
-
CH_TRUST = "ch-trust"
|
|
344
|
-
CH_VEREIN = "ch-verein"
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
class Pt(str, Enum):
|
|
348
|
-
r"""**Portugal legal entities types.**
|
|
349
|
-
|
|
350
|
-
* `pt-cooperativa` - Cooperativa
|
|
351
|
-
* `pt-eirl` - Estabelecimento Individual de Responsabilidade Limitada (EIRL)
|
|
352
|
-
* `pt-empresario-nome-individual` - Empresário em Nome individual
|
|
353
|
-
* `pt-fondo-fiduciario` - Fondo Fiduciario
|
|
354
|
-
* `pt-fundacao` - Fundação
|
|
355
|
-
* `pt-sociedade-anonima` - Sociedade Anónima
|
|
356
|
-
* `pt-sociedade-comandita` - Sociedade em Comandita
|
|
357
|
-
* `pt-sociedade-nome-colectivo` - Sociedade em Nome Colectivo
|
|
358
|
-
* `pt-sociedade-quotas` - Sociedade por Quotas
|
|
359
|
-
* `pt-sociedade-unipessoal-quotas` - Sociedade Unipessoal por Quotas
|
|
360
|
-
|
|
361
|
-
"""
|
|
362
|
-
|
|
363
|
-
PT_COOPERATIVA = "pt-cooperativa"
|
|
364
|
-
PT_EIRL = "pt-eirl"
|
|
365
|
-
PT_EMPRESARIO_NOME_INDIVIDUAL = "pt-empresario-nome-individual"
|
|
366
|
-
PT_FONDO_FIDUCIARIO = "pt-fondo-fiduciario"
|
|
367
|
-
PT_FUNDACAO = "pt-fundacao"
|
|
368
|
-
PT_SOCIEDADE_ANONIMA = "pt-sociedade-anonima"
|
|
369
|
-
PT_SOCIEDADE_COMANDITA = "pt-sociedade-comandita"
|
|
370
|
-
PT_SOCIEDADE_NOME_COLECTIVO = "pt-sociedade-nome-colectivo"
|
|
371
|
-
PT_SOCIEDADE_QUOTAS = "pt-sociedade-quotas"
|
|
372
|
-
PT_SOCIEDADE_UNIPESSOAL_QUOTAS = "pt-sociedade-unipessoal-quotas"
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
class Es(str, Enum):
|
|
376
|
-
r"""**Spain legal entities types.**
|
|
377
|
-
|
|
378
|
-
* `es-autonomo` - Autonomo
|
|
379
|
-
* `es-asociacion` - Asociación
|
|
380
|
-
* `es-cb` - Comunidad de Bienes (C.B.)
|
|
381
|
-
* `es-comerciante-individual` - Comerciante individual
|
|
382
|
-
* `es-fiducia` - Fiducia
|
|
383
|
-
* `es-fundacion` - Fundacion
|
|
384
|
-
* `es-sa` - Sociedad Anónima (S.A.)
|
|
385
|
-
* `es-sr-src` - Sociedad Regular Colectiva (S.R/S.R.C)
|
|
386
|
-
* `es-se` - Sociedad Anónima Europea (SE)
|
|
387
|
-
* `es-sociedad-civil` - Sociedad Civil
|
|
388
|
-
* `es-sociedad-cooperativa` - Sociedad Cooperativa
|
|
389
|
-
* `es-sociedad-comanditaria` - Sociedad en Comanditaria
|
|
390
|
-
* `es-srl-sl` - Sociedad de Responsabilidad Limitada (SRL/SL)
|
|
391
|
-
* `es-srlu` - Sociedad de Responsabilidad Limitada Unipersonal (SRLU)
|
|
392
|
-
|
|
393
|
-
"""
|
|
394
|
-
|
|
395
|
-
ES_AUTONOMO = "es-autonomo"
|
|
396
|
-
ES_ASOCIACION = "es-asociacion"
|
|
397
|
-
ES_CB = "es-cb"
|
|
398
|
-
ES_COMERCIANTE_INDIVIDUAL = "es-comerciante-individual"
|
|
399
|
-
ES_FIDUCIA = "es-fiducia"
|
|
400
|
-
ES_FUNDACION = "es-fundacion"
|
|
401
|
-
ES_SA = "es-sa"
|
|
402
|
-
ES_SR_SRC = "es-sr-src"
|
|
403
|
-
ES_SE = "es-se"
|
|
404
|
-
ES_SOCIEDAD_CIVIL = "es-sociedad-civil"
|
|
405
|
-
ES_SOCIEDAD_COOPERATIVA = "es-sociedad-cooperativa"
|
|
406
|
-
ES_SOCIEDAD_COMANDITARIA = "es-sociedad-comanditaria"
|
|
407
|
-
ES_SRL_SL = "es-srl-sl"
|
|
408
|
-
ES_SRLU = "es-srlu"
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
class Lu(str, Enum):
|
|
412
|
-
r"""**Luxembourg legal entities types.**
|
|
413
|
-
|
|
414
|
-
* `lu-ei` - Entreprise individuelle (EI)
|
|
415
|
-
* `lu-lpf` - Luxembourg Private Foundation (LPF)
|
|
416
|
-
* `lu-sa` - Société anonyme (S.A.)
|
|
417
|
-
* `lu-sarl` - Société à responsabilité limitée (SARL)
|
|
418
|
-
* `lu-sarl-s` - Société à responsabilité limitée simplifée (SARL-S)
|
|
419
|
-
* `lu-sas` - Société par actions simplifiée (SAS)
|
|
420
|
-
* `lu-sc` - Société civile (SC)
|
|
421
|
-
* `lu-sca` - Société en commandite par actions (SCA)
|
|
422
|
-
* `lu-sci` - Société civile immobilières (SCI)
|
|
423
|
-
* `lu-scsp` - Société en commandite special (SCSp)
|
|
424
|
-
* `lu-secs` - Société en commandite simple (SECS)
|
|
425
|
-
* `lu-senc` - Société en nom collectif (SENC)
|
|
426
|
-
* `lu-trust` - Trust
|
|
427
|
-
|
|
428
|
-
"""
|
|
429
|
-
|
|
430
|
-
LU_EI = "lu-ei"
|
|
431
|
-
LU_LPF = "lu-lpf"
|
|
432
|
-
LU_SA = "lu-sa"
|
|
433
|
-
LU_SARL = "lu-sarl"
|
|
434
|
-
LU_SARL_S = "lu-sarl-s"
|
|
435
|
-
LU_SAS = "lu-sas"
|
|
436
|
-
LU_SC = "lu-sc"
|
|
437
|
-
LU_SCA = "lu-sca"
|
|
438
|
-
LU_SCI = "lu-sci"
|
|
439
|
-
LU_SCSP = "lu-scsp"
|
|
440
|
-
LU_SECS = "lu-secs"
|
|
441
|
-
LU_SENC = "lu-senc"
|
|
442
|
-
LU_TRUST = "lu-trust"
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
class Fr(str, Enum):
|
|
446
|
-
r"""**France legal entities types.**
|
|
447
|
-
|
|
448
|
-
* `fr-adl` - Administration de l'état
|
|
449
|
-
* `fr-association` - Association
|
|
450
|
-
* `fr-ct` - Collectivité territoriale
|
|
451
|
-
* `fr-entreprise-individuelle` - Entreprise individuelle
|
|
452
|
-
* `fr-auto-entrepreneur` - Auto-entrepreneur
|
|
453
|
-
* `fr-epa` - Etablissement public administratif
|
|
454
|
-
* `fr-fiducie` - Fiducie
|
|
455
|
-
* `fr-fondation` - Fondation
|
|
456
|
-
* `fr-gie` - Groupement d'intérêt économique (GIE)
|
|
457
|
-
* `fr-eurl` - SARL unipersonnelle (ou EURL)
|
|
458
|
-
* `fr-sarl` - Société à responsabilité limitée (SARL)
|
|
459
|
-
* `fr-sa` - Société anonyme (SA)
|
|
460
|
-
* `fr-sc` - Société en commandite
|
|
461
|
-
* `fr-sca` - Société coopérative agricole (SCA)
|
|
462
|
-
* `fr-sccp` - Société coopérative commerciale particulière
|
|
463
|
-
* `fr-sdm` - Société d'assurance mutuelle
|
|
464
|
-
* `fr-civile` - Société civile
|
|
465
|
-
* `fr-snc` - Société en nom collectif (SNC)
|
|
466
|
-
* `fr-se` - Société européenne
|
|
467
|
-
* `fr-sas` - Société par actions simplifiée (SAS)
|
|
468
|
-
* `fr-sasu` - Société par actions simplifiée unipersonnelle (SASU)
|
|
469
|
-
|
|
470
|
-
"""
|
|
471
|
-
|
|
472
|
-
FR_ADL = "fr-adl"
|
|
473
|
-
FR_ASSOCIATION = "fr-association"
|
|
474
|
-
FR_CT = "fr-ct"
|
|
475
|
-
FR_ENTREPRISE_INDIVIDUELLE = "fr-entreprise-individuelle"
|
|
476
|
-
FR_AUTO_ENTREPRENEUR = "fr-auto-entrepreneur"
|
|
477
|
-
FR_EPA = "fr-epa"
|
|
478
|
-
FR_FIDUCIE = "fr-fiducie"
|
|
479
|
-
FR_FONDATION = "fr-fondation"
|
|
480
|
-
FR_GIE = "fr-gie"
|
|
481
|
-
FR_EURL = "fr-eurl"
|
|
482
|
-
FR_SARL = "fr-sarl"
|
|
483
|
-
FR_SA = "fr-sa"
|
|
484
|
-
FR_SC = "fr-sc"
|
|
485
|
-
FR_SCA = "fr-sca"
|
|
486
|
-
FR_SCCP = "fr-sccp"
|
|
487
|
-
FR_SDM = "fr-sdm"
|
|
488
|
-
FR_CIVILE = "fr-civile"
|
|
489
|
-
FR_SNC = "fr-snc"
|
|
490
|
-
FR_SE = "fr-se"
|
|
491
|
-
FR_SAS = "fr-sas"
|
|
492
|
-
FR_SASU = "fr-sasu"
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
class At(str, Enum):
|
|
496
|
-
r"""**Austria legal entities types.**
|
|
497
|
-
|
|
498
|
-
* `at-aktiengesellschaft` - Aktiengesellschaft (AG)
|
|
499
|
-
* `at-einzelunternehmen` - Einzelunternehmen
|
|
500
|
-
* `at-freie-berufe` - Freie Berufe
|
|
501
|
-
* `at-gesbr` - Gesellschaft bürgerlichen Rechts (GesbR)
|
|
502
|
-
* `at-gmbh` - Gesellschaft mit beschränkter Haftung (GmbH)
|
|
503
|
-
* `at-interessen-verienigung` - Europäische Wirtschaftliche Interessenvereinigung
|
|
504
|
-
* `at-keg` - Kommandit - Erwerbsgesellschaft (KEG)
|
|
505
|
-
* `at-kommanditgesellschaft` - Kommanditgesellschaft (KG)
|
|
506
|
-
* `at-korperschaft-offentlichen-rechts` - Körperschaft öffentlichen Rechts
|
|
507
|
-
* `at-oeg` - Offene Erwerbsgesellschaft (OEG)
|
|
508
|
-
* `at-offene-gesellschaft` - Offene Gesellschaft (OG)
|
|
509
|
-
* `at-offentliches-unternehmen` - Öffentliches Unternehmen
|
|
510
|
-
* `at-se` - Europäische Gesellschaft (SE)
|
|
511
|
-
* `at-stiftung` - Stiftung
|
|
512
|
-
* `at-trust` - Trust
|
|
513
|
-
* `at-verein` - Verein
|
|
514
|
-
|
|
515
|
-
"""
|
|
516
|
-
|
|
517
|
-
AT_AKTIENGESELLSCHAFT = "at-aktiengesellschaft"
|
|
518
|
-
AT_EINZELUNTERNEHMEN = "at-einzelunternehmen"
|
|
519
|
-
AT_FREIE_BERUFE = "at-freie-berufe"
|
|
520
|
-
AT_GESBR = "at-gesbr"
|
|
521
|
-
AT_GMBH = "at-gmbh"
|
|
522
|
-
AT_INTERESSEN_VERIENIGUNG = "at-interessen-verienigung"
|
|
523
|
-
AT_KEG = "at-keg"
|
|
524
|
-
AT_KOMMANDITGESELLSCHAFT = "at-kommanditgesellschaft"
|
|
525
|
-
AT_KORPERSCHAFT_OFFENTLICHEN_RECHTS = "at-korperschaft-offentlichen-rechts"
|
|
526
|
-
AT_OEG = "at-oeg"
|
|
527
|
-
AT_OFFENE_GESELLSCHAFT = "at-offene-gesellschaft"
|
|
528
|
-
AT_OFFENTLICHES_UNTERNEHMEN = "at-offentliches-unternehmen"
|
|
529
|
-
AT_SE = "at-se"
|
|
530
|
-
AT_STIFTUNG = "at-stiftung"
|
|
531
|
-
AT_TRUST = "at-trust"
|
|
532
|
-
AT_VEREIN = "at-verein"
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
class De(str, Enum):
|
|
536
|
-
r"""**Germany legal entities types.**
|
|
537
|
-
|
|
538
|
-
* `de-aktiengesellschaft` - Aktiengesellschaft (AG)
|
|
539
|
-
* `de-eingetragene-genossenschaft` - Eingetragene Genossenschaft (e.G.)
|
|
540
|
-
* `de-einzelunternehmen` - Einzelunternehmen
|
|
541
|
-
* `de-freiberufler` - Freiberufler
|
|
542
|
-
* `de-gesellschaft-burgerlichen-rechts` - Gesellschaft bürgerlichen Rechts (GbR)
|
|
543
|
-
* `de-gmbh` - Gesellschaft mit beschränkter Haftung (GmbH)
|
|
544
|
-
* `de-interessen-verienigung` - Europäische Wirtschaftliche Interessenvereinigung
|
|
545
|
-
* `de-kg` - Kommanditgesellschaft (KG)
|
|
546
|
-
* `de-kirchliche-stiftung` - Kirchliche Stiftung
|
|
547
|
-
* `de-korperschaft-offentlichen-rechts` - Körperschaft öffentlichen Rechts
|
|
548
|
-
* `de-nev` - Nicht eingetragener Verein (n.e.V.)
|
|
549
|
-
* `de-offentliches-unternehmen` - Öffentliches Unternehmen
|
|
550
|
-
* `de-ohg` - Offene Handelsgesellschaft (OHG)
|
|
551
|
-
* `de-partnergesellschaft` - Partnergesellschaft
|
|
552
|
-
* `de-se` - Europäische Gesellschaft (SE)
|
|
553
|
-
* `de-stiftung-des-privaten-rechts` - Stiftung des privaten Rechts
|
|
554
|
-
* `de-treuhandstiftung` - Treuhandstiftung
|
|
555
|
-
* `de-unternehmergesellschaft` - Unternehmergesellschaft (UG)
|
|
556
|
-
* `de-verein` - Verein (e.V.)
|
|
557
|
-
|
|
558
|
-
"""
|
|
559
|
-
|
|
560
|
-
DE_AKTIENGESELLSCHAFT = "de-aktiengesellschaft"
|
|
561
|
-
DE_EINGETRAGENE_GENOSSENSCHAFT = "de-eingetragene-genossenschaft"
|
|
562
|
-
DE_EINZELUNTERNEHMEN = "de-einzelunternehmen"
|
|
563
|
-
DE_FREIBERUFLER = "de-freiberufler"
|
|
564
|
-
DE_GESELLSCHAFT_BURGERLICHEN_RECHTS = "de-gesellschaft-burgerlichen-rechts"
|
|
565
|
-
DE_GMBH = "de-gmbh"
|
|
566
|
-
DE_INTERESSEN_VERIENIGUNG = "de-interessen-verienigung"
|
|
567
|
-
DE_KG = "de-kg"
|
|
568
|
-
DE_KIRCHLICHE_STIFTUNG = "de-kirchliche-stiftung"
|
|
569
|
-
DE_KORPERSCHAFT_OFFENTLICHEN_RECHTS = "de-korperschaft-offentlichen-rechts"
|
|
570
|
-
DE_NEV = "de-nev"
|
|
571
|
-
DE_OFFENTLICHES_UNTERNEHMEN = "de-offentliches-unternehmen"
|
|
572
|
-
DE_OHG = "de-ohg"
|
|
573
|
-
DE_PARTNERGESELLSCHAFT = "de-partnergesellschaft"
|
|
574
|
-
DE_SE = "de-se"
|
|
575
|
-
DE_STIFTUNG_DES_PRIVATEN_RECHTS = "de-stiftung-des-privaten-rechts"
|
|
576
|
-
DE_TREUHANDSTIFTUNG = "de-treuhandstiftung"
|
|
577
|
-
DE_UNTERNEHMERGESELLSCHAFT = "de-unternehmergesellschaft"
|
|
578
|
-
DE_VEREIN = "de-verein"
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
class Be(str, Enum):
|
|
582
|
-
r"""**Belgium legal entities types.**
|
|
583
|
-
|
|
584
|
-
* `be-autonoom-gemeentebedrijf` - Autonoom gemeentebedrijf
|
|
585
|
-
* `be-belgische-staat` - Belgische Staat
|
|
586
|
-
* `be-bv` - Besloten Vennootschap
|
|
587
|
-
* `be-bvba` - Besloten Vennootschap met Beperkte Aansprakelijkheid (BVBA)
|
|
588
|
-
* `be-comm-v` - Gewone Commanditaire Vennootschap (GCV / Comm. V)
|
|
589
|
-
* `be-comm-va` - Commanditaire Vennootschap op Aandelen (CVA / Comm. VA)
|
|
590
|
-
* `be-cv` - Coöperatieve Vennootschap
|
|
591
|
-
* `be-cvoa` - Coöperatieve Vennootschap met Onbeperkte Aansprakelijkheid (CVOA)
|
|
592
|
-
* `be-cvoha` - Coöperatieve Vennootschap met Onbeperkte en Hoofdelijke Aansprakelijkheid (CVOHA)
|
|
593
|
-
* `be-cvba` - Coöperatieve Vennootschap met Beperkte Aansprakelijkheid (CVBA)
|
|
594
|
-
* `be-economisch-samenwerkingsverband` - Europees Economisch Samenwerkingsverband (EESV)
|
|
595
|
-
* `be-eenmanszaak` - Eenmanszaak
|
|
596
|
-
* `be-eenmans-bvba` - Eénpersoons-BVBA (EBVBA)
|
|
597
|
-
* `be-europese-cooperatieve-vennootschap` - Europese Coöperatieve Vennootschap (SCE)
|
|
598
|
-
* `be-europese-vennootschap` - Europese Naamloze Vennootschap (SE)
|
|
599
|
-
* `be-ivzw` - Internationale Vereniging Zonder Winstoogmerk (IVZW)
|
|
600
|
-
* `be-kerkgenootschap` - Kerkgenootschap
|
|
601
|
-
* `be-landbouwvennootschap` - Landbouwvennootschap (LV)
|
|
602
|
-
* `be-maatschap` - Maatschap
|
|
603
|
-
* `be-nv` - Naamloze Vennootschap (NV)
|
|
604
|
-
* `be-politiek-publiek-rechtspersoon` - Politieke Publiekrechtelijke Rechtspersonen
|
|
605
|
-
* `be-s-bvba` - Starters-BVBA (S-BVBA)
|
|
606
|
-
* `be-stichting` - Stichting
|
|
607
|
-
* `be-stille-handelsvennootschap` - Stille Handelsvennootschap
|
|
608
|
-
* `be-tijdelijke-handelsvennootschap` - Tijdelijke Handelsvennootschap
|
|
609
|
-
* `be-trust` - Trust
|
|
610
|
-
* `be-vereniging-zonder-winstoogmerk` - Vereniging Zonder Winstoogmerk (VZW)
|
|
611
|
-
* `be-vof` - Vennootschap Onder Firma (VOF)
|
|
612
|
-
|
|
613
|
-
"""
|
|
614
|
-
|
|
615
|
-
BE_AUTONOOM_GEMEENTEBEDRIJF = "be-autonoom-gemeentebedrijf"
|
|
616
|
-
BE_BELGISCHE_STAAT = "be-belgische-staat"
|
|
617
|
-
BE_BV = "be-bv"
|
|
618
|
-
BE_BVBA = "be-bvba"
|
|
619
|
-
BE_COMM_V = "be-comm-v"
|
|
620
|
-
BE_COMM_VA = "be-comm-va"
|
|
621
|
-
BE_CV = "be-cv"
|
|
622
|
-
BE_CVOA = "be-cvoa"
|
|
623
|
-
BE_CVOHA = "be-cvoha"
|
|
624
|
-
BE_CVBA = "be-cvba"
|
|
625
|
-
BE_ECONOMISCH_SAMENWERKINGSVERBAND = "be-economisch-samenwerkingsverband"
|
|
626
|
-
BE_EENMANSZAAK = "be-eenmanszaak"
|
|
627
|
-
BE_EENMANS_BVBA = "be-eenmans-bvba"
|
|
628
|
-
BE_EUROPESE_COOPERATIEVE_VENNOOTSCHAP = "be-europese-cooperatieve-vennootschap"
|
|
629
|
-
BE_EUROPESE_VENNOOTSCHAP = "be-europese-vennootschap"
|
|
630
|
-
BE_IVZW = "be-ivzw"
|
|
631
|
-
BE_KERKGENOOTSCHAP = "be-kerkgenootschap"
|
|
632
|
-
BE_LANDBOUWVENNOOTSCHAP = "be-landbouwvennootschap"
|
|
633
|
-
BE_MAATSCHAP = "be-maatschap"
|
|
634
|
-
BE_NV = "be-nv"
|
|
635
|
-
BE_POLITIEK_PUBLIEK_RECHTSPERSOON = "be-politiek-publiek-rechtspersoon"
|
|
636
|
-
BE_S_BVBA = "be-s-bvba"
|
|
637
|
-
BE_STICHTING = "be-stichting"
|
|
638
|
-
BE_STILLE_HANDELSVENNOOTSCHAP = "be-stille-handelsvennootschap"
|
|
639
|
-
BE_TIJDELIJKE_HANDELSVENNOOTSCHAP = "be-tijdelijke-handelsvennootschap"
|
|
640
|
-
BE_TRUST = "be-trust"
|
|
641
|
-
BE_VERENIGING_ZONDER_WINSTOOGMERK = "be-vereniging-zonder-winstoogmerk"
|
|
642
|
-
BE_VOF = "be-vof"
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
class Nl(str, Enum):
|
|
646
|
-
r"""**Netherlands legal entities types.**
|
|
647
|
-
|
|
648
|
-
* `nl-bv` - Besloten Vennootschap (BV)
|
|
649
|
-
* `nl-cooperatie` - Coöperatie
|
|
650
|
-
* `nl-cv` - Commanditaire Vennootschap (CV)
|
|
651
|
-
* `nl-eenmanszaak` - Eenmanszaak
|
|
652
|
-
* `nl-eesv` - Europees Economisch Samenwerkingsverband (EESV)
|
|
653
|
-
* `nl-kerkgenootschap` - Kerkgenootschap
|
|
654
|
-
* `nl-kroondomein` - Kroondomein
|
|
655
|
-
* `nl-maatschap` - Maatschap
|
|
656
|
-
* `nl-nv` - Naamloze Vennootschap (NV)
|
|
657
|
-
* `nl-overheid` - Overheidsinstantie
|
|
658
|
-
* `nl-sce` - Europese Coöperatieve Vennootschap (SCE)
|
|
659
|
-
* `nl-se` - Europese Naamloze Vennootschap (SE)
|
|
660
|
-
* `nl-stichting` - Stichting
|
|
661
|
-
* `nl-trust` - Trust
|
|
662
|
-
* `nl-vereniging` - Vereniging
|
|
663
|
-
* `nl-vof` - Vennootschap Onder Firma (VOF)
|
|
664
|
-
* `nl-waarborgmaatschappij` - Onderlinge Waarborgmaatschappij
|
|
665
|
-
|
|
666
|
-
"""
|
|
667
|
-
|
|
668
|
-
NL_BV = "nl-bv"
|
|
669
|
-
NL_COOPERATIE = "nl-cooperatie"
|
|
670
|
-
NL_CV = "nl-cv"
|
|
671
|
-
NL_EENMANSZAAK = "nl-eenmanszaak"
|
|
672
|
-
NL_EESV = "nl-eesv"
|
|
673
|
-
NL_KERKGENOOTSCHAP = "nl-kerkgenootschap"
|
|
674
|
-
NL_KROONDOMEIN = "nl-kroondomein"
|
|
675
|
-
NL_MAATSCHAP = "nl-maatschap"
|
|
676
|
-
NL_NV = "nl-nv"
|
|
677
|
-
NL_OVERHEID = "nl-overheid"
|
|
678
|
-
NL_SCE = "nl-sce"
|
|
679
|
-
NL_SE = "nl-se"
|
|
680
|
-
NL_STICHTING = "nl-stichting"
|
|
681
|
-
NL_TRUST = "nl-trust"
|
|
682
|
-
NL_VERENIGING = "nl-vereniging"
|
|
683
|
-
NL_VOF = "nl-vof"
|
|
684
|
-
NL_WAARBORGMAATSCHAPPIJ = "nl-waarborgmaatschappij"
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
LegalEntityTypedDict = TypeAliasType(
|
|
688
|
-
"LegalEntityTypedDict",
|
|
689
|
-
Union[Nl, Be, De, At, Fr, Lu, Es, Pt, Ch, Fi, Dk, Se, No, It, Gb, Other],
|
|
690
|
-
)
|
|
691
|
-
r"""The legal entity type of the organization, based on its country of origin."""
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
LegalEntity = TypeAliasType(
|
|
695
|
-
"LegalEntity",
|
|
696
|
-
Union[Nl, Be, De, At, Fr, Lu, Es, Pt, Ch, Fi, Dk, Se, No, It, Gb, Other],
|
|
697
|
-
)
|
|
698
|
-
r"""The legal entity type of the organization, based on its country of origin."""
|
|
699
|
-
|
|
700
|
-
|
|
701
146
|
class ClientLinkRequestTypedDict(TypedDict):
|
|
702
147
|
owner: OwnerTypedDict
|
|
703
148
|
r"""Personal data of your customer."""
|
|
@@ -711,8 +156,16 @@ class ClientLinkRequestTypedDict(TypedDict):
|
|
|
711
156
|
r"""The VAT number of the organization, if based in the European Union. VAT numbers are verified against the
|
|
712
157
|
international registry *VIES*.
|
|
713
158
|
"""
|
|
714
|
-
legal_entity: NotRequired[
|
|
715
|
-
r"""The legal entity type of the organization, based on its country of origin.
|
|
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`)"""
|
|
716
169
|
|
|
717
170
|
|
|
718
171
|
class ClientLinkRequest(BaseModel):
|
|
@@ -737,15 +190,33 @@ class ClientLinkRequest(BaseModel):
|
|
|
737
190
|
international registry *VIES*.
|
|
738
191
|
"""
|
|
739
192
|
|
|
740
|
-
legal_entity: Annotated[
|
|
741
|
-
|
|
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")
|
|
742
200
|
] = None
|
|
743
|
-
r"""The
|
|
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`)"""
|
|
744
209
|
|
|
745
210
|
@model_serializer(mode="wrap")
|
|
746
211
|
def serialize_model(self, handler):
|
|
747
|
-
optional_fields = [
|
|
748
|
-
|
|
212
|
+
optional_fields = [
|
|
213
|
+
"registrationNumber",
|
|
214
|
+
"vatNumber",
|
|
215
|
+
"legalEntity",
|
|
216
|
+
"registrationOffice",
|
|
217
|
+
"incorporationDate",
|
|
218
|
+
]
|
|
219
|
+
nullable_fields = ["registrationNumber", "vatNumber", "incorporationDate"]
|
|
749
220
|
null_default_fields = []
|
|
750
221
|
|
|
751
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
|
|
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
|
|
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
|
|