pluggy-sdk 1.0.0.post43__py3-none-any.whl → 1.0.0.post48__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.
Files changed (30) hide show
  1. pluggy_sdk/__init__.py +190 -172
  2. pluggy_sdk/api/__init__.py +1 -0
  3. pluggy_sdk/api/automatic_pix_api.py +1965 -0
  4. pluggy_sdk/api/payment_customer_api.py +68 -0
  5. pluggy_sdk/api/payment_recipient_api.py +52 -1
  6. pluggy_sdk/api/payment_request_api.py +123 -276
  7. pluggy_sdk/api/payment_schedule_api.py +3 -3
  8. pluggy_sdk/api_client.py +5 -1
  9. pluggy_sdk/configuration.py +1 -1
  10. pluggy_sdk/models/__init__.py +9 -1
  11. pluggy_sdk/models/additional_card.py +88 -0
  12. pluggy_sdk/models/automatic_pix_first_payment.py +93 -0
  13. pluggy_sdk/models/automatic_pix_payment.py +112 -0
  14. pluggy_sdk/models/create_automatic_pix_payment_request.py +128 -0
  15. pluggy_sdk/models/create_payment_recipient.py +4 -4
  16. pluggy_sdk/models/credit_data.py +22 -2
  17. pluggy_sdk/models/disaggregated_credit_limit.py +110 -0
  18. pluggy_sdk/models/payment_intent.py +2 -2
  19. pluggy_sdk/models/payment_intent_automatic_pix.py +114 -0
  20. pluggy_sdk/models/payment_intent_parameter.py +4 -2
  21. pluggy_sdk/models/payment_request.py +10 -4
  22. pluggy_sdk/models/payment_request_get_automatic_pix_schedules200_response.py +102 -0
  23. pluggy_sdk/models/retry_automatic_pix_payment_request.py +89 -0
  24. pluggy_sdk/models/schedule_automatic_pix_payment_request.py +93 -0
  25. pluggy_sdk/models/schedule_payment.py +3 -1
  26. pluggy_sdk/models/update_payment_recipient.py +4 -4
  27. {pluggy_sdk-1.0.0.post43.dist-info → pluggy_sdk-1.0.0.post48.dist-info}/METADATA +25 -16
  28. {pluggy_sdk-1.0.0.post43.dist-info → pluggy_sdk-1.0.0.post48.dist-info}/RECORD +30 -20
  29. {pluggy_sdk-1.0.0.post43.dist-info → pluggy_sdk-1.0.0.post48.dist-info}/WHEEL +1 -1
  30. {pluggy_sdk-1.0.0.post43.dist-info → pluggy_sdk-1.0.0.post48.dist-info}/top_level.txt +0 -0
@@ -17,9 +17,10 @@ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
17
17
  from typing import Any, Dict, List, Optional, Tuple, Union
18
18
  from typing_extensions import Annotated
19
19
 
20
- from pydantic import Field, StrictStr
20
+ from datetime import date
21
+ from pydantic import Field, StrictFloat, StrictInt, StrictStr
22
+ from typing import Optional, Union
21
23
  from typing_extensions import Annotated
22
- from pluggy_sdk.models.create_boleto_payment_request import CreateBoletoPaymentRequest
23
24
  from pluggy_sdk.models.create_payment_request import CreatePaymentRequest
24
25
  from pluggy_sdk.models.create_pix_qr_payment_request import CreatePixQrPaymentRequest
25
26
  from pluggy_sdk.models.payment_request import PaymentRequest
@@ -318,280 +319,6 @@ class PaymentRequestApi:
318
319
 
319
320
 
320
321
 
321
- @validate_call
322
- def payment_request_create_boleto(
323
- self,
324
- create_boleto_payment_request: CreateBoletoPaymentRequest,
325
- _request_timeout: Union[
326
- None,
327
- Annotated[StrictFloat, Field(gt=0)],
328
- Tuple[
329
- Annotated[StrictFloat, Field(gt=0)],
330
- Annotated[StrictFloat, Field(gt=0)]
331
- ]
332
- ] = None,
333
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
334
- _content_type: Optional[StrictStr] = None,
335
- _headers: Optional[Dict[StrictStr, Any]] = None,
336
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
337
- ) -> PaymentRequest:
338
- """Create boleto payment request
339
-
340
- Creates the boleto payment request resource
341
-
342
- :param create_boleto_payment_request: (required)
343
- :type create_boleto_payment_request: CreateBoletoPaymentRequest
344
- :param _request_timeout: timeout setting for this request. If one
345
- number provided, it will be total request
346
- timeout. It can also be a pair (tuple) of
347
- (connection, read) timeouts.
348
- :type _request_timeout: int, tuple(int, int), optional
349
- :param _request_auth: set to override the auth_settings for an a single
350
- request; this effectively ignores the
351
- authentication in the spec for a single request.
352
- :type _request_auth: dict, optional
353
- :param _content_type: force content-type for the request.
354
- :type _content_type: str, Optional
355
- :param _headers: set to override the headers for a single
356
- request; this effectively ignores the headers
357
- in the spec for a single request.
358
- :type _headers: dict, optional
359
- :param _host_index: set to override the host_index for a single
360
- request; this effectively ignores the host_index
361
- in the spec for a single request.
362
- :type _host_index: int, optional
363
- :return: Returns the result object.
364
- """ # noqa: E501
365
-
366
- _param = self._payment_request_create_boleto_serialize(
367
- create_boleto_payment_request=create_boleto_payment_request,
368
- _request_auth=_request_auth,
369
- _content_type=_content_type,
370
- _headers=_headers,
371
- _host_index=_host_index
372
- )
373
-
374
- _response_types_map: Dict[str, Optional[str]] = {
375
- '200': "PaymentRequest",
376
- }
377
- response_data = self.api_client.call_api(
378
- *_param,
379
- _request_timeout=_request_timeout
380
- )
381
- response_data.read()
382
- return self.api_client.response_deserialize(
383
- response_data=response_data,
384
- response_types_map=_response_types_map,
385
- ).data
386
-
387
-
388
- @validate_call
389
- def payment_request_create_boleto_with_http_info(
390
- self,
391
- create_boleto_payment_request: CreateBoletoPaymentRequest,
392
- _request_timeout: Union[
393
- None,
394
- Annotated[StrictFloat, Field(gt=0)],
395
- Tuple[
396
- Annotated[StrictFloat, Field(gt=0)],
397
- Annotated[StrictFloat, Field(gt=0)]
398
- ]
399
- ] = None,
400
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
401
- _content_type: Optional[StrictStr] = None,
402
- _headers: Optional[Dict[StrictStr, Any]] = None,
403
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
404
- ) -> ApiResponse[PaymentRequest]:
405
- """Create boleto payment request
406
-
407
- Creates the boleto payment request resource
408
-
409
- :param create_boleto_payment_request: (required)
410
- :type create_boleto_payment_request: CreateBoletoPaymentRequest
411
- :param _request_timeout: timeout setting for this request. If one
412
- number provided, it will be total request
413
- timeout. It can also be a pair (tuple) of
414
- (connection, read) timeouts.
415
- :type _request_timeout: int, tuple(int, int), optional
416
- :param _request_auth: set to override the auth_settings for an a single
417
- request; this effectively ignores the
418
- authentication in the spec for a single request.
419
- :type _request_auth: dict, optional
420
- :param _content_type: force content-type for the request.
421
- :type _content_type: str, Optional
422
- :param _headers: set to override the headers for a single
423
- request; this effectively ignores the headers
424
- in the spec for a single request.
425
- :type _headers: dict, optional
426
- :param _host_index: set to override the host_index for a single
427
- request; this effectively ignores the host_index
428
- in the spec for a single request.
429
- :type _host_index: int, optional
430
- :return: Returns the result object.
431
- """ # noqa: E501
432
-
433
- _param = self._payment_request_create_boleto_serialize(
434
- create_boleto_payment_request=create_boleto_payment_request,
435
- _request_auth=_request_auth,
436
- _content_type=_content_type,
437
- _headers=_headers,
438
- _host_index=_host_index
439
- )
440
-
441
- _response_types_map: Dict[str, Optional[str]] = {
442
- '200': "PaymentRequest",
443
- }
444
- response_data = self.api_client.call_api(
445
- *_param,
446
- _request_timeout=_request_timeout
447
- )
448
- response_data.read()
449
- return self.api_client.response_deserialize(
450
- response_data=response_data,
451
- response_types_map=_response_types_map,
452
- )
453
-
454
-
455
- @validate_call
456
- def payment_request_create_boleto_without_preload_content(
457
- self,
458
- create_boleto_payment_request: CreateBoletoPaymentRequest,
459
- _request_timeout: Union[
460
- None,
461
- Annotated[StrictFloat, Field(gt=0)],
462
- Tuple[
463
- Annotated[StrictFloat, Field(gt=0)],
464
- Annotated[StrictFloat, Field(gt=0)]
465
- ]
466
- ] = None,
467
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
468
- _content_type: Optional[StrictStr] = None,
469
- _headers: Optional[Dict[StrictStr, Any]] = None,
470
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
471
- ) -> RESTResponseType:
472
- """Create boleto payment request
473
-
474
- Creates the boleto payment request resource
475
-
476
- :param create_boleto_payment_request: (required)
477
- :type create_boleto_payment_request: CreateBoletoPaymentRequest
478
- :param _request_timeout: timeout setting for this request. If one
479
- number provided, it will be total request
480
- timeout. It can also be a pair (tuple) of
481
- (connection, read) timeouts.
482
- :type _request_timeout: int, tuple(int, int), optional
483
- :param _request_auth: set to override the auth_settings for an a single
484
- request; this effectively ignores the
485
- authentication in the spec for a single request.
486
- :type _request_auth: dict, optional
487
- :param _content_type: force content-type for the request.
488
- :type _content_type: str, Optional
489
- :param _headers: set to override the headers for a single
490
- request; this effectively ignores the headers
491
- in the spec for a single request.
492
- :type _headers: dict, optional
493
- :param _host_index: set to override the host_index for a single
494
- request; this effectively ignores the host_index
495
- in the spec for a single request.
496
- :type _host_index: int, optional
497
- :return: Returns the result object.
498
- """ # noqa: E501
499
-
500
- _param = self._payment_request_create_boleto_serialize(
501
- create_boleto_payment_request=create_boleto_payment_request,
502
- _request_auth=_request_auth,
503
- _content_type=_content_type,
504
- _headers=_headers,
505
- _host_index=_host_index
506
- )
507
-
508
- _response_types_map: Dict[str, Optional[str]] = {
509
- '200': "PaymentRequest",
510
- }
511
- response_data = self.api_client.call_api(
512
- *_param,
513
- _request_timeout=_request_timeout
514
- )
515
- return response_data.response
516
-
517
-
518
- def _payment_request_create_boleto_serialize(
519
- self,
520
- create_boleto_payment_request,
521
- _request_auth,
522
- _content_type,
523
- _headers,
524
- _host_index,
525
- ) -> RequestSerialized:
526
-
527
- _host = None
528
-
529
- _collection_formats: Dict[str, str] = {
530
- }
531
-
532
- _path_params: Dict[str, str] = {}
533
- _query_params: List[Tuple[str, str]] = []
534
- _header_params: Dict[str, Optional[str]] = _headers or {}
535
- _form_params: List[Tuple[str, str]] = []
536
- _files: Dict[
537
- str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
538
- ] = {}
539
- _body_params: Optional[bytes] = None
540
-
541
- # process the path parameters
542
- # process the query parameters
543
- # process the header parameters
544
- # process the form parameters
545
- # process the body parameter
546
- if create_boleto_payment_request is not None:
547
- _body_params = create_boleto_payment_request
548
-
549
-
550
- # set the HTTP header `Accept`
551
- if 'Accept' not in _header_params:
552
- _header_params['Accept'] = self.api_client.select_header_accept(
553
- [
554
- 'application/json'
555
- ]
556
- )
557
-
558
- # set the HTTP header `Content-Type`
559
- if _content_type:
560
- _header_params['Content-Type'] = _content_type
561
- else:
562
- _default_content_type = (
563
- self.api_client.select_header_content_type(
564
- [
565
- 'application/json'
566
- ]
567
- )
568
- )
569
- if _default_content_type is not None:
570
- _header_params['Content-Type'] = _default_content_type
571
-
572
- # authentication setting
573
- _auth_settings: List[str] = [
574
- 'default'
575
- ]
576
-
577
- return self.api_client.param_serialize(
578
- method='POST',
579
- resource_path='/payments/requests/boleto',
580
- path_params=_path_params,
581
- query_params=_query_params,
582
- header_params=_header_params,
583
- body=_body_params,
584
- post_params=_form_params,
585
- files=_files,
586
- auth_settings=_auth_settings,
587
- collection_formats=_collection_formats,
588
- _host=_host,
589
- _request_auth=_request_auth
590
- )
591
-
592
-
593
-
594
-
595
322
  @validate_call
596
323
  def payment_request_create_pix_qr(
597
324
  self,
@@ -1686,6 +1413,12 @@ class PaymentRequestApi:
1686
1413
  @validate_call
1687
1414
  def payment_requests_list(
1688
1415
  self,
1416
+ page_size: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="Page size for the paging request, default: 20")] = None,
1417
+ page: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="Page number for the paging request, default: 1")] = None,
1418
+ var_from: Annotated[Optional[date], Field(description="Filter payment requests by start date. Returns only requests created **on or after** this date.")] = None,
1419
+ to: Annotated[Optional[date], Field(description="Filter payment requests by end date. Returns only requests created **on or before** this date.")] = None,
1420
+ customer: Annotated[Optional[StrictStr], Field(description="Filter payment requests with one customer attribute (name, email, CPF or CNPJ)")] = None,
1421
+ pix_key: Annotated[Optional[StrictStr], Field(description="Filter payment requests by Pix Key")] = None,
1689
1422
  _request_timeout: Union[
1690
1423
  None,
1691
1424
  Annotated[StrictFloat, Field(gt=0)],
@@ -1703,6 +1436,18 @@ class PaymentRequestApi:
1703
1436
 
1704
1437
  Recovers all created payment requests
1705
1438
 
1439
+ :param page_size: Page size for the paging request, default: 20
1440
+ :type page_size: float
1441
+ :param page: Page number for the paging request, default: 1
1442
+ :type page: float
1443
+ :param var_from: Filter payment requests by start date. Returns only requests created **on or after** this date.
1444
+ :type var_from: date
1445
+ :param to: Filter payment requests by end date. Returns only requests created **on or before** this date.
1446
+ :type to: date
1447
+ :param customer: Filter payment requests with one customer attribute (name, email, CPF or CNPJ)
1448
+ :type customer: str
1449
+ :param pix_key: Filter payment requests by Pix Key
1450
+ :type pix_key: str
1706
1451
  :param _request_timeout: timeout setting for this request. If one
1707
1452
  number provided, it will be total request
1708
1453
  timeout. It can also be a pair (tuple) of
@@ -1726,6 +1471,12 @@ class PaymentRequestApi:
1726
1471
  """ # noqa: E501
1727
1472
 
1728
1473
  _param = self._payment_requests_list_serialize(
1474
+ page_size=page_size,
1475
+ page=page,
1476
+ var_from=var_from,
1477
+ to=to,
1478
+ customer=customer,
1479
+ pix_key=pix_key,
1729
1480
  _request_auth=_request_auth,
1730
1481
  _content_type=_content_type,
1731
1482
  _headers=_headers,
@@ -1749,6 +1500,12 @@ class PaymentRequestApi:
1749
1500
  @validate_call
1750
1501
  def payment_requests_list_with_http_info(
1751
1502
  self,
1503
+ page_size: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="Page size for the paging request, default: 20")] = None,
1504
+ page: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="Page number for the paging request, default: 1")] = None,
1505
+ var_from: Annotated[Optional[date], Field(description="Filter payment requests by start date. Returns only requests created **on or after** this date.")] = None,
1506
+ to: Annotated[Optional[date], Field(description="Filter payment requests by end date. Returns only requests created **on or before** this date.")] = None,
1507
+ customer: Annotated[Optional[StrictStr], Field(description="Filter payment requests with one customer attribute (name, email, CPF or CNPJ)")] = None,
1508
+ pix_key: Annotated[Optional[StrictStr], Field(description="Filter payment requests by Pix Key")] = None,
1752
1509
  _request_timeout: Union[
1753
1510
  None,
1754
1511
  Annotated[StrictFloat, Field(gt=0)],
@@ -1766,6 +1523,18 @@ class PaymentRequestApi:
1766
1523
 
1767
1524
  Recovers all created payment requests
1768
1525
 
1526
+ :param page_size: Page size for the paging request, default: 20
1527
+ :type page_size: float
1528
+ :param page: Page number for the paging request, default: 1
1529
+ :type page: float
1530
+ :param var_from: Filter payment requests by start date. Returns only requests created **on or after** this date.
1531
+ :type var_from: date
1532
+ :param to: Filter payment requests by end date. Returns only requests created **on or before** this date.
1533
+ :type to: date
1534
+ :param customer: Filter payment requests with one customer attribute (name, email, CPF or CNPJ)
1535
+ :type customer: str
1536
+ :param pix_key: Filter payment requests by Pix Key
1537
+ :type pix_key: str
1769
1538
  :param _request_timeout: timeout setting for this request. If one
1770
1539
  number provided, it will be total request
1771
1540
  timeout. It can also be a pair (tuple) of
@@ -1789,6 +1558,12 @@ class PaymentRequestApi:
1789
1558
  """ # noqa: E501
1790
1559
 
1791
1560
  _param = self._payment_requests_list_serialize(
1561
+ page_size=page_size,
1562
+ page=page,
1563
+ var_from=var_from,
1564
+ to=to,
1565
+ customer=customer,
1566
+ pix_key=pix_key,
1792
1567
  _request_auth=_request_auth,
1793
1568
  _content_type=_content_type,
1794
1569
  _headers=_headers,
@@ -1812,6 +1587,12 @@ class PaymentRequestApi:
1812
1587
  @validate_call
1813
1588
  def payment_requests_list_without_preload_content(
1814
1589
  self,
1590
+ page_size: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="Page size for the paging request, default: 20")] = None,
1591
+ page: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="Page number for the paging request, default: 1")] = None,
1592
+ var_from: Annotated[Optional[date], Field(description="Filter payment requests by start date. Returns only requests created **on or after** this date.")] = None,
1593
+ to: Annotated[Optional[date], Field(description="Filter payment requests by end date. Returns only requests created **on or before** this date.")] = None,
1594
+ customer: Annotated[Optional[StrictStr], Field(description="Filter payment requests with one customer attribute (name, email, CPF or CNPJ)")] = None,
1595
+ pix_key: Annotated[Optional[StrictStr], Field(description="Filter payment requests by Pix Key")] = None,
1815
1596
  _request_timeout: Union[
1816
1597
  None,
1817
1598
  Annotated[StrictFloat, Field(gt=0)],
@@ -1829,6 +1610,18 @@ class PaymentRequestApi:
1829
1610
 
1830
1611
  Recovers all created payment requests
1831
1612
 
1613
+ :param page_size: Page size for the paging request, default: 20
1614
+ :type page_size: float
1615
+ :param page: Page number for the paging request, default: 1
1616
+ :type page: float
1617
+ :param var_from: Filter payment requests by start date. Returns only requests created **on or after** this date.
1618
+ :type var_from: date
1619
+ :param to: Filter payment requests by end date. Returns only requests created **on or before** this date.
1620
+ :type to: date
1621
+ :param customer: Filter payment requests with one customer attribute (name, email, CPF or CNPJ)
1622
+ :type customer: str
1623
+ :param pix_key: Filter payment requests by Pix Key
1624
+ :type pix_key: str
1832
1625
  :param _request_timeout: timeout setting for this request. If one
1833
1626
  number provided, it will be total request
1834
1627
  timeout. It can also be a pair (tuple) of
@@ -1852,6 +1645,12 @@ class PaymentRequestApi:
1852
1645
  """ # noqa: E501
1853
1646
 
1854
1647
  _param = self._payment_requests_list_serialize(
1648
+ page_size=page_size,
1649
+ page=page,
1650
+ var_from=var_from,
1651
+ to=to,
1652
+ customer=customer,
1653
+ pix_key=pix_key,
1855
1654
  _request_auth=_request_auth,
1856
1655
  _content_type=_content_type,
1857
1656
  _headers=_headers,
@@ -1870,6 +1669,12 @@ class PaymentRequestApi:
1870
1669
 
1871
1670
  def _payment_requests_list_serialize(
1872
1671
  self,
1672
+ page_size,
1673
+ page,
1674
+ var_from,
1675
+ to,
1676
+ customer,
1677
+ pix_key,
1873
1678
  _request_auth,
1874
1679
  _content_type,
1875
1680
  _headers,
@@ -1892,6 +1697,48 @@ class PaymentRequestApi:
1892
1697
 
1893
1698
  # process the path parameters
1894
1699
  # process the query parameters
1700
+ if page_size is not None:
1701
+
1702
+ _query_params.append(('pageSize', page_size))
1703
+
1704
+ if page is not None:
1705
+
1706
+ _query_params.append(('page', page))
1707
+
1708
+ if var_from is not None:
1709
+ if isinstance(var_from, date):
1710
+ _query_params.append(
1711
+ (
1712
+ 'from',
1713
+ var_from.strftime(
1714
+ self.api_client.configuration.date_format
1715
+ )
1716
+ )
1717
+ )
1718
+ else:
1719
+ _query_params.append(('from', var_from))
1720
+
1721
+ if to is not None:
1722
+ if isinstance(to, date):
1723
+ _query_params.append(
1724
+ (
1725
+ 'to',
1726
+ to.strftime(
1727
+ self.api_client.configuration.date_format
1728
+ )
1729
+ )
1730
+ )
1731
+ else:
1732
+ _query_params.append(('to', to))
1733
+
1734
+ if customer is not None:
1735
+
1736
+ _query_params.append(('customer', customer))
1737
+
1738
+ if pix_key is not None:
1739
+
1740
+ _query_params.append(('pixKey', pix_key))
1741
+
1895
1742
  # process the header parameters
1896
1743
  # process the form parameters
1897
1744
  # process the body parameter
@@ -311,7 +311,7 @@ class PaymentScheduleApi:
311
311
  _headers: Optional[Dict[StrictStr, Any]] = None,
312
312
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
313
313
  ) -> None:
314
- """Cancel Payment Schedule Authorization
314
+ """Cancel Payment Schedule
315
315
 
316
316
 
317
317
 
@@ -382,7 +382,7 @@ class PaymentScheduleApi:
382
382
  _headers: Optional[Dict[StrictStr, Any]] = None,
383
383
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
384
384
  ) -> ApiResponse[None]:
385
- """Cancel Payment Schedule Authorization
385
+ """Cancel Payment Schedule
386
386
 
387
387
 
388
388
 
@@ -453,7 +453,7 @@ class PaymentScheduleApi:
453
453
  _headers: Optional[Dict[StrictStr, Any]] = None,
454
454
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
455
455
  ) -> RESTResponseType:
456
- """Cancel Payment Schedule Authorization
456
+ """Cancel Payment Schedule
457
457
 
458
458
 
459
459
 
pluggy_sdk/api_client.py CHANGED
@@ -91,7 +91,7 @@ class ApiClient:
91
91
  self.default_headers[header_name] = header_value
92
92
  self.cookie = cookie
93
93
  # Set default User-Agent.
94
- self.user_agent = 'OpenAPI-Generator/1.0.0.post43/python'
94
+ self.user_agent = 'OpenAPI-Generator/1.0.0.post48/python'
95
95
  self.client_side_validation = configuration.client_side_validation
96
96
 
97
97
  def __enter__(self):
@@ -383,6 +383,10 @@ class ApiClient:
383
383
  else:
384
384
  obj_dict = obj.__dict__
385
385
 
386
+ if isinstance(obj_dict, list):
387
+ # here we handle instances that can either be a list or something else, and only became a real list by calling to_dict()
388
+ return self.sanitize_for_serialization(obj_dict)
389
+
386
390
  return {
387
391
  key: self.sanitize_for_serialization(val)
388
392
  for key, val in obj_dict.items()
@@ -532,7 +532,7 @@ conf = pluggy_sdk.Configuration(
532
532
  "OS: {env}\n"\
533
533
  "Python Version: {pyversion}\n"\
534
534
  "Version of the API: 1.0.0\n"\
535
- "SDK Package Version: 1.0.0.post43".\
535
+ "SDK Package Version: 1.0.0.post48".\
536
536
  format(env=sys.platform, pyversion=sys.version)
537
537
 
538
538
  def get_host_settings(self) -> List[HostSetting]:
@@ -17,9 +17,12 @@
17
17
  # import models into model package
18
18
  from pluggy_sdk.models.account import Account
19
19
  from pluggy_sdk.models.accounts_list200_response import AccountsList200Response
20
+ from pluggy_sdk.models.additional_card import AdditionalCard
20
21
  from pluggy_sdk.models.address import Address
21
22
  from pluggy_sdk.models.auth_request import AuthRequest
22
23
  from pluggy_sdk.models.auth_response import AuthResponse
24
+ from pluggy_sdk.models.automatic_pix_first_payment import AutomaticPixFirstPayment
25
+ from pluggy_sdk.models.automatic_pix_payment import AutomaticPixPayment
23
26
  from pluggy_sdk.models.bank_data import BankData
24
27
  from pluggy_sdk.models.bill import Bill
25
28
  from pluggy_sdk.models.bill_finance_charge import BillFinanceCharge
@@ -41,6 +44,7 @@ from pluggy_sdk.models.connector_health_details import ConnectorHealthDetails
41
44
  from pluggy_sdk.models.connector_list_response import ConnectorListResponse
42
45
  from pluggy_sdk.models.connector_user_action import ConnectorUserAction
43
46
  from pluggy_sdk.models.consent import Consent
47
+ from pluggy_sdk.models.create_automatic_pix_payment_request import CreateAutomaticPixPaymentRequest
44
48
  from pluggy_sdk.models.create_boleto import CreateBoleto
45
49
  from pluggy_sdk.models.create_boleto_boleto import CreateBoletoBoleto
46
50
  from pluggy_sdk.models.create_boleto_boleto_fine import CreateBoletoBoletoFine
@@ -48,7 +52,6 @@ from pluggy_sdk.models.create_boleto_boleto_interest import CreateBoletoBoletoIn
48
52
  from pluggy_sdk.models.create_boleto_boleto_payer import CreateBoletoBoletoPayer
49
53
  from pluggy_sdk.models.create_boleto_connection import CreateBoletoConnection
50
54
  from pluggy_sdk.models.create_boleto_connection_from_item import CreateBoletoConnectionFromItem
51
- from pluggy_sdk.models.create_boleto_payment_request import CreateBoletoPaymentRequest
52
55
  from pluggy_sdk.models.create_client_category_rule import CreateClientCategoryRule
53
56
  from pluggy_sdk.models.create_item import CreateItem
54
57
  from pluggy_sdk.models.create_item_parameters import CreateItemParameters
@@ -66,6 +69,7 @@ from pluggy_sdk.models.credential_select_option import CredentialSelectOption
66
69
  from pluggy_sdk.models.credit_card_metadata import CreditCardMetadata
67
70
  from pluggy_sdk.models.credit_data import CreditData
68
71
  from pluggy_sdk.models.daily import DAILY
72
+ from pluggy_sdk.models.disaggregated_credit_limit import DisaggregatedCreditLimit
69
73
  from pluggy_sdk.models.document import Document
70
74
  from pluggy_sdk.models.email import Email
71
75
  from pluggy_sdk.models.global_error_response import GlobalErrorResponse
@@ -121,6 +125,7 @@ from pluggy_sdk.models.payment_data_boleto_metadata import PaymentDataBoletoMeta
121
125
  from pluggy_sdk.models.payment_data_participant import PaymentDataParticipant
122
126
  from pluggy_sdk.models.payment_institution import PaymentInstitution
123
127
  from pluggy_sdk.models.payment_intent import PaymentIntent
128
+ from pluggy_sdk.models.payment_intent_automatic_pix import PaymentIntentAutomaticPix
124
129
  from pluggy_sdk.models.payment_intent_error_detail import PaymentIntentErrorDetail
125
130
  from pluggy_sdk.models.payment_intent_parameter import PaymentIntentParameter
126
131
  from pluggy_sdk.models.payment_intents_list200_response import PaymentIntentsList200Response
@@ -131,12 +136,15 @@ from pluggy_sdk.models.payment_recipients_list200_response import PaymentRecipie
131
136
  from pluggy_sdk.models.payment_request import PaymentRequest
132
137
  from pluggy_sdk.models.payment_request_callback_urls import PaymentRequestCallbackUrls
133
138
  from pluggy_sdk.models.payment_request_error_detail import PaymentRequestErrorDetail
139
+ from pluggy_sdk.models.payment_request_get_automatic_pix_schedules200_response import PaymentRequestGetAutomaticPixSchedules200Response
134
140
  from pluggy_sdk.models.payment_request_schedule import PaymentRequestSchedule
135
141
  from pluggy_sdk.models.payment_requests_list200_response import PaymentRequestsList200Response
136
142
  from pluggy_sdk.models.payment_schedules_list200_response import PaymentSchedulesList200Response
137
143
  from pluggy_sdk.models.phone_number import PhoneNumber
138
144
  from pluggy_sdk.models.pix_data import PixData
145
+ from pluggy_sdk.models.retry_automatic_pix_payment_request import RetryAutomaticPixPaymentRequest
139
146
  from pluggy_sdk.models.single import SINGLE
147
+ from pluggy_sdk.models.schedule_automatic_pix_payment_request import ScheduleAutomaticPixPaymentRequest
140
148
  from pluggy_sdk.models.schedule_payment import SchedulePayment
141
149
  from pluggy_sdk.models.schedule_payment_error_detail import SchedulePaymentErrorDetail
142
150
  from pluggy_sdk.models.smart_tranfers_preauthorizations_list200_response import SmartTranfersPreauthorizationsList200Response