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
@@ -1139,6 +1139,10 @@ class PaymentCustomerApi:
1139
1139
  self,
1140
1140
  page_size: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="Page size for the paging request, default: 20")] = None,
1141
1141
  page: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="Page number for the paging request, default: 1")] = None,
1142
+ name: Annotated[Optional[StrictStr], Field(description="Filter payment customers by name")] = None,
1143
+ email: Annotated[Optional[StrictStr], Field(description="Filter payment customers by email")] = None,
1144
+ cpf: Annotated[Optional[StrictStr], Field(description="Filter payment customers by CPF")] = None,
1145
+ cnpj: Annotated[Optional[StrictStr], Field(description="Filter payment customers by CNPJ")] = None,
1142
1146
  _request_timeout: Union[
1143
1147
  None,
1144
1148
  Annotated[StrictFloat, Field(gt=0)],
@@ -1160,6 +1164,14 @@ class PaymentCustomerApi:
1160
1164
  :type page_size: float
1161
1165
  :param page: Page number for the paging request, default: 1
1162
1166
  :type page: float
1167
+ :param name: Filter payment customers by name
1168
+ :type name: str
1169
+ :param email: Filter payment customers by email
1170
+ :type email: str
1171
+ :param cpf: Filter payment customers by CPF
1172
+ :type cpf: str
1173
+ :param cnpj: Filter payment customers by CNPJ
1174
+ :type cnpj: str
1163
1175
  :param _request_timeout: timeout setting for this request. If one
1164
1176
  number provided, it will be total request
1165
1177
  timeout. It can also be a pair (tuple) of
@@ -1185,6 +1197,10 @@ class PaymentCustomerApi:
1185
1197
  _param = self._payment_customers_list_serialize(
1186
1198
  page_size=page_size,
1187
1199
  page=page,
1200
+ name=name,
1201
+ email=email,
1202
+ cpf=cpf,
1203
+ cnpj=cnpj,
1188
1204
  _request_auth=_request_auth,
1189
1205
  _content_type=_content_type,
1190
1206
  _headers=_headers,
@@ -1210,6 +1226,10 @@ class PaymentCustomerApi:
1210
1226
  self,
1211
1227
  page_size: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="Page size for the paging request, default: 20")] = None,
1212
1228
  page: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="Page number for the paging request, default: 1")] = None,
1229
+ name: Annotated[Optional[StrictStr], Field(description="Filter payment customers by name")] = None,
1230
+ email: Annotated[Optional[StrictStr], Field(description="Filter payment customers by email")] = None,
1231
+ cpf: Annotated[Optional[StrictStr], Field(description="Filter payment customers by CPF")] = None,
1232
+ cnpj: Annotated[Optional[StrictStr], Field(description="Filter payment customers by CNPJ")] = None,
1213
1233
  _request_timeout: Union[
1214
1234
  None,
1215
1235
  Annotated[StrictFloat, Field(gt=0)],
@@ -1231,6 +1251,14 @@ class PaymentCustomerApi:
1231
1251
  :type page_size: float
1232
1252
  :param page: Page number for the paging request, default: 1
1233
1253
  :type page: float
1254
+ :param name: Filter payment customers by name
1255
+ :type name: str
1256
+ :param email: Filter payment customers by email
1257
+ :type email: str
1258
+ :param cpf: Filter payment customers by CPF
1259
+ :type cpf: str
1260
+ :param cnpj: Filter payment customers by CNPJ
1261
+ :type cnpj: str
1234
1262
  :param _request_timeout: timeout setting for this request. If one
1235
1263
  number provided, it will be total request
1236
1264
  timeout. It can also be a pair (tuple) of
@@ -1256,6 +1284,10 @@ class PaymentCustomerApi:
1256
1284
  _param = self._payment_customers_list_serialize(
1257
1285
  page_size=page_size,
1258
1286
  page=page,
1287
+ name=name,
1288
+ email=email,
1289
+ cpf=cpf,
1290
+ cnpj=cnpj,
1259
1291
  _request_auth=_request_auth,
1260
1292
  _content_type=_content_type,
1261
1293
  _headers=_headers,
@@ -1281,6 +1313,10 @@ class PaymentCustomerApi:
1281
1313
  self,
1282
1314
  page_size: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="Page size for the paging request, default: 20")] = None,
1283
1315
  page: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="Page number for the paging request, default: 1")] = None,
1316
+ name: Annotated[Optional[StrictStr], Field(description="Filter payment customers by name")] = None,
1317
+ email: Annotated[Optional[StrictStr], Field(description="Filter payment customers by email")] = None,
1318
+ cpf: Annotated[Optional[StrictStr], Field(description="Filter payment customers by CPF")] = None,
1319
+ cnpj: Annotated[Optional[StrictStr], Field(description="Filter payment customers by CNPJ")] = None,
1284
1320
  _request_timeout: Union[
1285
1321
  None,
1286
1322
  Annotated[StrictFloat, Field(gt=0)],
@@ -1302,6 +1338,14 @@ class PaymentCustomerApi:
1302
1338
  :type page_size: float
1303
1339
  :param page: Page number for the paging request, default: 1
1304
1340
  :type page: float
1341
+ :param name: Filter payment customers by name
1342
+ :type name: str
1343
+ :param email: Filter payment customers by email
1344
+ :type email: str
1345
+ :param cpf: Filter payment customers by CPF
1346
+ :type cpf: str
1347
+ :param cnpj: Filter payment customers by CNPJ
1348
+ :type cnpj: str
1305
1349
  :param _request_timeout: timeout setting for this request. If one
1306
1350
  number provided, it will be total request
1307
1351
  timeout. It can also be a pair (tuple) of
@@ -1327,6 +1371,10 @@ class PaymentCustomerApi:
1327
1371
  _param = self._payment_customers_list_serialize(
1328
1372
  page_size=page_size,
1329
1373
  page=page,
1374
+ name=name,
1375
+ email=email,
1376
+ cpf=cpf,
1377
+ cnpj=cnpj,
1330
1378
  _request_auth=_request_auth,
1331
1379
  _content_type=_content_type,
1332
1380
  _headers=_headers,
@@ -1347,6 +1395,10 @@ class PaymentCustomerApi:
1347
1395
  self,
1348
1396
  page_size,
1349
1397
  page,
1398
+ name,
1399
+ email,
1400
+ cpf,
1401
+ cnpj,
1350
1402
  _request_auth,
1351
1403
  _content_type,
1352
1404
  _headers,
@@ -1377,6 +1429,22 @@ class PaymentCustomerApi:
1377
1429
 
1378
1430
  _query_params.append(('page', page))
1379
1431
 
1432
+ if name is not None:
1433
+
1434
+ _query_params.append(('name', name))
1435
+
1436
+ if email is not None:
1437
+
1438
+ _query_params.append(('email', email))
1439
+
1440
+ if cpf is not None:
1441
+
1442
+ _query_params.append(('cpf', cpf))
1443
+
1444
+ if cnpj is not None:
1445
+
1446
+ _query_params.append(('cnpj', cnpj))
1447
+
1380
1448
  # process the header parameters
1381
1449
  # process the form parameters
1382
1450
  # process the body parameter
@@ -17,7 +17,7 @@ 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, StrictFloat, StrictInt, StrictStr
20
+ from pydantic import Field, StrictBool, StrictFloat, StrictInt, StrictStr
21
21
  from typing import Optional, Union
22
22
  from typing_extensions import Annotated
23
23
  from pluggy_sdk.models.create_payment_recipient import CreatePaymentRecipient
@@ -1705,6 +1705,9 @@ class PaymentRecipientApi:
1705
1705
  self,
1706
1706
  page_size: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="Page size for the paging request, default: 20")] = None,
1707
1707
  page: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="Page number for the paging request, default: 1")] = None,
1708
+ is_default: Annotated[Optional[StrictBool], Field(description="Filter connectors by the `isDefault` attribute. If not sent, it won't filter.")] = None,
1709
+ pix_key: Annotated[Optional[StrictStr], Field(description="Filter payment recipient by Pix key")] = None,
1710
+ name: Annotated[Optional[StrictStr], Field(description="Filter payment recipient by name")] = None,
1708
1711
  _request_timeout: Union[
1709
1712
  None,
1710
1713
  Annotated[StrictFloat, Field(gt=0)],
@@ -1726,6 +1729,12 @@ class PaymentRecipientApi:
1726
1729
  :type page_size: float
1727
1730
  :param page: Page number for the paging request, default: 1
1728
1731
  :type page: float
1732
+ :param is_default: Filter connectors by the `isDefault` attribute. If not sent, it won't filter.
1733
+ :type is_default: bool
1734
+ :param pix_key: Filter payment recipient by Pix key
1735
+ :type pix_key: str
1736
+ :param name: Filter payment recipient by name
1737
+ :type name: str
1729
1738
  :param _request_timeout: timeout setting for this request. If one
1730
1739
  number provided, it will be total request
1731
1740
  timeout. It can also be a pair (tuple) of
@@ -1751,6 +1760,9 @@ class PaymentRecipientApi:
1751
1760
  _param = self._payment_recipients_list_serialize(
1752
1761
  page_size=page_size,
1753
1762
  page=page,
1763
+ is_default=is_default,
1764
+ pix_key=pix_key,
1765
+ name=name,
1754
1766
  _request_auth=_request_auth,
1755
1767
  _content_type=_content_type,
1756
1768
  _headers=_headers,
@@ -1776,6 +1788,9 @@ class PaymentRecipientApi:
1776
1788
  self,
1777
1789
  page_size: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="Page size for the paging request, default: 20")] = None,
1778
1790
  page: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="Page number for the paging request, default: 1")] = None,
1791
+ is_default: Annotated[Optional[StrictBool], Field(description="Filter connectors by the `isDefault` attribute. If not sent, it won't filter.")] = None,
1792
+ pix_key: Annotated[Optional[StrictStr], Field(description="Filter payment recipient by Pix key")] = None,
1793
+ name: Annotated[Optional[StrictStr], Field(description="Filter payment recipient by name")] = None,
1779
1794
  _request_timeout: Union[
1780
1795
  None,
1781
1796
  Annotated[StrictFloat, Field(gt=0)],
@@ -1797,6 +1812,12 @@ class PaymentRecipientApi:
1797
1812
  :type page_size: float
1798
1813
  :param page: Page number for the paging request, default: 1
1799
1814
  :type page: float
1815
+ :param is_default: Filter connectors by the `isDefault` attribute. If not sent, it won't filter.
1816
+ :type is_default: bool
1817
+ :param pix_key: Filter payment recipient by Pix key
1818
+ :type pix_key: str
1819
+ :param name: Filter payment recipient by name
1820
+ :type name: str
1800
1821
  :param _request_timeout: timeout setting for this request. If one
1801
1822
  number provided, it will be total request
1802
1823
  timeout. It can also be a pair (tuple) of
@@ -1822,6 +1843,9 @@ class PaymentRecipientApi:
1822
1843
  _param = self._payment_recipients_list_serialize(
1823
1844
  page_size=page_size,
1824
1845
  page=page,
1846
+ is_default=is_default,
1847
+ pix_key=pix_key,
1848
+ name=name,
1825
1849
  _request_auth=_request_auth,
1826
1850
  _content_type=_content_type,
1827
1851
  _headers=_headers,
@@ -1847,6 +1871,9 @@ class PaymentRecipientApi:
1847
1871
  self,
1848
1872
  page_size: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="Page size for the paging request, default: 20")] = None,
1849
1873
  page: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="Page number for the paging request, default: 1")] = None,
1874
+ is_default: Annotated[Optional[StrictBool], Field(description="Filter connectors by the `isDefault` attribute. If not sent, it won't filter.")] = None,
1875
+ pix_key: Annotated[Optional[StrictStr], Field(description="Filter payment recipient by Pix key")] = None,
1876
+ name: Annotated[Optional[StrictStr], Field(description="Filter payment recipient by name")] = None,
1850
1877
  _request_timeout: Union[
1851
1878
  None,
1852
1879
  Annotated[StrictFloat, Field(gt=0)],
@@ -1868,6 +1895,12 @@ class PaymentRecipientApi:
1868
1895
  :type page_size: float
1869
1896
  :param page: Page number for the paging request, default: 1
1870
1897
  :type page: float
1898
+ :param is_default: Filter connectors by the `isDefault` attribute. If not sent, it won't filter.
1899
+ :type is_default: bool
1900
+ :param pix_key: Filter payment recipient by Pix key
1901
+ :type pix_key: str
1902
+ :param name: Filter payment recipient by name
1903
+ :type name: str
1871
1904
  :param _request_timeout: timeout setting for this request. If one
1872
1905
  number provided, it will be total request
1873
1906
  timeout. It can also be a pair (tuple) of
@@ -1893,6 +1926,9 @@ class PaymentRecipientApi:
1893
1926
  _param = self._payment_recipients_list_serialize(
1894
1927
  page_size=page_size,
1895
1928
  page=page,
1929
+ is_default=is_default,
1930
+ pix_key=pix_key,
1931
+ name=name,
1896
1932
  _request_auth=_request_auth,
1897
1933
  _content_type=_content_type,
1898
1934
  _headers=_headers,
@@ -1913,6 +1949,9 @@ class PaymentRecipientApi:
1913
1949
  self,
1914
1950
  page_size,
1915
1951
  page,
1952
+ is_default,
1953
+ pix_key,
1954
+ name,
1916
1955
  _request_auth,
1917
1956
  _content_type,
1918
1957
  _headers,
@@ -1943,6 +1982,18 @@ class PaymentRecipientApi:
1943
1982
 
1944
1983
  _query_params.append(('page', page))
1945
1984
 
1985
+ if is_default is not None:
1986
+
1987
+ _query_params.append(('isDefault', is_default))
1988
+
1989
+ if pix_key is not None:
1990
+
1991
+ _query_params.append(('pixKey', pix_key))
1992
+
1993
+ if name is not None:
1994
+
1995
+ _query_params.append(('name', name))
1996
+
1946
1997
  # process the header parameters
1947
1998
  # process the form parameters
1948
1999
  # process the body parameter