pluggy-sdk 1.0.0.post37__py3-none-any.whl → 1.0.0.post38__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.
pluggy_sdk/__init__.py CHANGED
@@ -15,7 +15,7 @@
15
15
  """ # noqa: E501
16
16
 
17
17
 
18
- __version__ = "1.0.0.post37"
18
+ __version__ = "1.0.0.post38"
19
19
 
20
20
  # import apis into sdk package
21
21
  from pluggy_sdk.api.account_api import AccountApi
@@ -90,6 +90,7 @@ from pluggy_sdk.models.create_boleto import CreateBoleto
90
90
  from pluggy_sdk.models.create_boleto_boleto import CreateBoletoBoleto
91
91
  from pluggy_sdk.models.create_boleto_boleto_payer import CreateBoletoBoletoPayer
92
92
  from pluggy_sdk.models.create_boleto_connection import CreateBoletoConnection
93
+ from pluggy_sdk.models.create_boleto_connection_from_item import CreateBoletoConnectionFromItem
93
94
  from pluggy_sdk.models.create_boleto_payment_request import CreateBoletoPaymentRequest
94
95
  from pluggy_sdk.models.create_bulk_payment import CreateBulkPayment
95
96
  from pluggy_sdk.models.create_client_category_rule import CreateClientCategoryRule
@@ -22,6 +22,7 @@ from typing_extensions import Annotated
22
22
  from pluggy_sdk.models.boleto_connection import BoletoConnection
23
23
  from pluggy_sdk.models.create_boleto import CreateBoleto
24
24
  from pluggy_sdk.models.create_boleto_connection import CreateBoletoConnection
25
+ from pluggy_sdk.models.create_boleto_connection_from_item import CreateBoletoConnectionFromItem
25
26
  from pluggy_sdk.models.issued_boleto import IssuedBoleto
26
27
 
27
28
  from pluggy_sdk.api_client import ApiClient, RequestSerialized
@@ -574,6 +575,277 @@ class BoletoManagementApi:
574
575
 
575
576
 
576
577
 
578
+ @validate_call
579
+ def boleto_connection_create_from_item(
580
+ self,
581
+ create_boleto_connection_from_item: CreateBoletoConnectionFromItem,
582
+ _request_timeout: Union[
583
+ None,
584
+ Annotated[StrictFloat, Field(gt=0)],
585
+ Tuple[
586
+ Annotated[StrictFloat, Field(gt=0)],
587
+ Annotated[StrictFloat, Field(gt=0)]
588
+ ]
589
+ ] = None,
590
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
591
+ _content_type: Optional[StrictStr] = None,
592
+ _headers: Optional[Dict[StrictStr, Any]] = None,
593
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
594
+ ) -> BoletoConnection:
595
+ """Create boleto connection from Item
596
+
597
+
598
+ :param create_boleto_connection_from_item: (required)
599
+ :type create_boleto_connection_from_item: CreateBoletoConnectionFromItem
600
+ :param _request_timeout: timeout setting for this request. If one
601
+ number provided, it will be total request
602
+ timeout. It can also be a pair (tuple) of
603
+ (connection, read) timeouts.
604
+ :type _request_timeout: int, tuple(int, int), optional
605
+ :param _request_auth: set to override the auth_settings for an a single
606
+ request; this effectively ignores the
607
+ authentication in the spec for a single request.
608
+ :type _request_auth: dict, optional
609
+ :param _content_type: force content-type for the request.
610
+ :type _content_type: str, Optional
611
+ :param _headers: set to override the headers for a single
612
+ request; this effectively ignores the headers
613
+ in the spec for a single request.
614
+ :type _headers: dict, optional
615
+ :param _host_index: set to override the host_index for a single
616
+ request; this effectively ignores the host_index
617
+ in the spec for a single request.
618
+ :type _host_index: int, optional
619
+ :return: Returns the result object.
620
+ """ # noqa: E501
621
+
622
+ _param = self._boleto_connection_create_from_item_serialize(
623
+ create_boleto_connection_from_item=create_boleto_connection_from_item,
624
+ _request_auth=_request_auth,
625
+ _content_type=_content_type,
626
+ _headers=_headers,
627
+ _host_index=_host_index
628
+ )
629
+
630
+ _response_types_map: Dict[str, Optional[str]] = {
631
+ '200': "BoletoConnection",
632
+ }
633
+ response_data = self.api_client.call_api(
634
+ *_param,
635
+ _request_timeout=_request_timeout
636
+ )
637
+ response_data.read()
638
+ return self.api_client.response_deserialize(
639
+ response_data=response_data,
640
+ response_types_map=_response_types_map,
641
+ ).data
642
+
643
+
644
+ @validate_call
645
+ def boleto_connection_create_from_item_with_http_info(
646
+ self,
647
+ create_boleto_connection_from_item: CreateBoletoConnectionFromItem,
648
+ _request_timeout: Union[
649
+ None,
650
+ Annotated[StrictFloat, Field(gt=0)],
651
+ Tuple[
652
+ Annotated[StrictFloat, Field(gt=0)],
653
+ Annotated[StrictFloat, Field(gt=0)]
654
+ ]
655
+ ] = None,
656
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
657
+ _content_type: Optional[StrictStr] = None,
658
+ _headers: Optional[Dict[StrictStr, Any]] = None,
659
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
660
+ ) -> ApiResponse[BoletoConnection]:
661
+ """Create boleto connection from Item
662
+
663
+
664
+ :param create_boleto_connection_from_item: (required)
665
+ :type create_boleto_connection_from_item: CreateBoletoConnectionFromItem
666
+ :param _request_timeout: timeout setting for this request. If one
667
+ number provided, it will be total request
668
+ timeout. It can also be a pair (tuple) of
669
+ (connection, read) timeouts.
670
+ :type _request_timeout: int, tuple(int, int), optional
671
+ :param _request_auth: set to override the auth_settings for an a single
672
+ request; this effectively ignores the
673
+ authentication in the spec for a single request.
674
+ :type _request_auth: dict, optional
675
+ :param _content_type: force content-type for the request.
676
+ :type _content_type: str, Optional
677
+ :param _headers: set to override the headers for a single
678
+ request; this effectively ignores the headers
679
+ in the spec for a single request.
680
+ :type _headers: dict, optional
681
+ :param _host_index: set to override the host_index for a single
682
+ request; this effectively ignores the host_index
683
+ in the spec for a single request.
684
+ :type _host_index: int, optional
685
+ :return: Returns the result object.
686
+ """ # noqa: E501
687
+
688
+ _param = self._boleto_connection_create_from_item_serialize(
689
+ create_boleto_connection_from_item=create_boleto_connection_from_item,
690
+ _request_auth=_request_auth,
691
+ _content_type=_content_type,
692
+ _headers=_headers,
693
+ _host_index=_host_index
694
+ )
695
+
696
+ _response_types_map: Dict[str, Optional[str]] = {
697
+ '200': "BoletoConnection",
698
+ }
699
+ response_data = self.api_client.call_api(
700
+ *_param,
701
+ _request_timeout=_request_timeout
702
+ )
703
+ response_data.read()
704
+ return self.api_client.response_deserialize(
705
+ response_data=response_data,
706
+ response_types_map=_response_types_map,
707
+ )
708
+
709
+
710
+ @validate_call
711
+ def boleto_connection_create_from_item_without_preload_content(
712
+ self,
713
+ create_boleto_connection_from_item: CreateBoletoConnectionFromItem,
714
+ _request_timeout: Union[
715
+ None,
716
+ Annotated[StrictFloat, Field(gt=0)],
717
+ Tuple[
718
+ Annotated[StrictFloat, Field(gt=0)],
719
+ Annotated[StrictFloat, Field(gt=0)]
720
+ ]
721
+ ] = None,
722
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
723
+ _content_type: Optional[StrictStr] = None,
724
+ _headers: Optional[Dict[StrictStr, Any]] = None,
725
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
726
+ ) -> RESTResponseType:
727
+ """Create boleto connection from Item
728
+
729
+
730
+ :param create_boleto_connection_from_item: (required)
731
+ :type create_boleto_connection_from_item: CreateBoletoConnectionFromItem
732
+ :param _request_timeout: timeout setting for this request. If one
733
+ number provided, it will be total request
734
+ timeout. It can also be a pair (tuple) of
735
+ (connection, read) timeouts.
736
+ :type _request_timeout: int, tuple(int, int), optional
737
+ :param _request_auth: set to override the auth_settings for an a single
738
+ request; this effectively ignores the
739
+ authentication in the spec for a single request.
740
+ :type _request_auth: dict, optional
741
+ :param _content_type: force content-type for the request.
742
+ :type _content_type: str, Optional
743
+ :param _headers: set to override the headers for a single
744
+ request; this effectively ignores the headers
745
+ in the spec for a single request.
746
+ :type _headers: dict, optional
747
+ :param _host_index: set to override the host_index for a single
748
+ request; this effectively ignores the host_index
749
+ in the spec for a single request.
750
+ :type _host_index: int, optional
751
+ :return: Returns the result object.
752
+ """ # noqa: E501
753
+
754
+ _param = self._boleto_connection_create_from_item_serialize(
755
+ create_boleto_connection_from_item=create_boleto_connection_from_item,
756
+ _request_auth=_request_auth,
757
+ _content_type=_content_type,
758
+ _headers=_headers,
759
+ _host_index=_host_index
760
+ )
761
+
762
+ _response_types_map: Dict[str, Optional[str]] = {
763
+ '200': "BoletoConnection",
764
+ }
765
+ response_data = self.api_client.call_api(
766
+ *_param,
767
+ _request_timeout=_request_timeout
768
+ )
769
+ return response_data.response
770
+
771
+
772
+ def _boleto_connection_create_from_item_serialize(
773
+ self,
774
+ create_boleto_connection_from_item,
775
+ _request_auth,
776
+ _content_type,
777
+ _headers,
778
+ _host_index,
779
+ ) -> RequestSerialized:
780
+
781
+ _host = None
782
+
783
+ _collection_formats: Dict[str, str] = {
784
+ }
785
+
786
+ _path_params: Dict[str, str] = {}
787
+ _query_params: List[Tuple[str, str]] = []
788
+ _header_params: Dict[str, Optional[str]] = _headers or {}
789
+ _form_params: List[Tuple[str, str]] = []
790
+ _files: Dict[
791
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
792
+ ] = {}
793
+ _body_params: Optional[bytes] = None
794
+
795
+ # process the path parameters
796
+ # process the query parameters
797
+ # process the header parameters
798
+ # process the form parameters
799
+ # process the body parameter
800
+ if create_boleto_connection_from_item is not None:
801
+ _body_params = create_boleto_connection_from_item
802
+
803
+
804
+ # set the HTTP header `Accept`
805
+ if 'Accept' not in _header_params:
806
+ _header_params['Accept'] = self.api_client.select_header_accept(
807
+ [
808
+ 'application/json'
809
+ ]
810
+ )
811
+
812
+ # set the HTTP header `Content-Type`
813
+ if _content_type:
814
+ _header_params['Content-Type'] = _content_type
815
+ else:
816
+ _default_content_type = (
817
+ self.api_client.select_header_content_type(
818
+ [
819
+ 'application/json'
820
+ ]
821
+ )
822
+ )
823
+ if _default_content_type is not None:
824
+ _header_params['Content-Type'] = _default_content_type
825
+
826
+ # authentication setting
827
+ _auth_settings: List[str] = [
828
+ 'default'
829
+ ]
830
+
831
+ return self.api_client.param_serialize(
832
+ method='POST',
833
+ resource_path='/boleto-connections/from-item',
834
+ path_params=_path_params,
835
+ query_params=_query_params,
836
+ header_params=_header_params,
837
+ body=_body_params,
838
+ post_params=_form_params,
839
+ files=_files,
840
+ auth_settings=_auth_settings,
841
+ collection_formats=_collection_formats,
842
+ _host=_host,
843
+ _request_auth=_request_auth
844
+ )
845
+
846
+
847
+
848
+
577
849
  @validate_call
578
850
  def boleto_create(
579
851
  self,
@@ -843,3 +1115,261 @@ class BoletoManagementApi:
843
1115
  )
844
1116
 
845
1117
 
1118
+
1119
+
1120
+ @validate_call
1121
+ def boleto_get(
1122
+ self,
1123
+ id: Annotated[StrictStr, Field(description="Boleto primary identifier")],
1124
+ _request_timeout: Union[
1125
+ None,
1126
+ Annotated[StrictFloat, Field(gt=0)],
1127
+ Tuple[
1128
+ Annotated[StrictFloat, Field(gt=0)],
1129
+ Annotated[StrictFloat, Field(gt=0)]
1130
+ ]
1131
+ ] = None,
1132
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1133
+ _content_type: Optional[StrictStr] = None,
1134
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1135
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1136
+ ) -> IssuedBoleto:
1137
+ """Get Boleto
1138
+
1139
+
1140
+ :param id: Boleto primary identifier (required)
1141
+ :type id: str
1142
+ :param _request_timeout: timeout setting for this request. If one
1143
+ number provided, it will be total request
1144
+ timeout. It can also be a pair (tuple) of
1145
+ (connection, read) timeouts.
1146
+ :type _request_timeout: int, tuple(int, int), optional
1147
+ :param _request_auth: set to override the auth_settings for an a single
1148
+ request; this effectively ignores the
1149
+ authentication in the spec for a single request.
1150
+ :type _request_auth: dict, optional
1151
+ :param _content_type: force content-type for the request.
1152
+ :type _content_type: str, Optional
1153
+ :param _headers: set to override the headers for a single
1154
+ request; this effectively ignores the headers
1155
+ in the spec for a single request.
1156
+ :type _headers: dict, optional
1157
+ :param _host_index: set to override the host_index for a single
1158
+ request; this effectively ignores the host_index
1159
+ in the spec for a single request.
1160
+ :type _host_index: int, optional
1161
+ :return: Returns the result object.
1162
+ """ # noqa: E501
1163
+
1164
+ _param = self._boleto_get_serialize(
1165
+ id=id,
1166
+ _request_auth=_request_auth,
1167
+ _content_type=_content_type,
1168
+ _headers=_headers,
1169
+ _host_index=_host_index
1170
+ )
1171
+
1172
+ _response_types_map: Dict[str, Optional[str]] = {
1173
+ '200': "IssuedBoleto",
1174
+ }
1175
+ response_data = self.api_client.call_api(
1176
+ *_param,
1177
+ _request_timeout=_request_timeout
1178
+ )
1179
+ response_data.read()
1180
+ return self.api_client.response_deserialize(
1181
+ response_data=response_data,
1182
+ response_types_map=_response_types_map,
1183
+ ).data
1184
+
1185
+
1186
+ @validate_call
1187
+ def boleto_get_with_http_info(
1188
+ self,
1189
+ id: Annotated[StrictStr, Field(description="Boleto primary identifier")],
1190
+ _request_timeout: Union[
1191
+ None,
1192
+ Annotated[StrictFloat, Field(gt=0)],
1193
+ Tuple[
1194
+ Annotated[StrictFloat, Field(gt=0)],
1195
+ Annotated[StrictFloat, Field(gt=0)]
1196
+ ]
1197
+ ] = None,
1198
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1199
+ _content_type: Optional[StrictStr] = None,
1200
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1201
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1202
+ ) -> ApiResponse[IssuedBoleto]:
1203
+ """Get Boleto
1204
+
1205
+
1206
+ :param id: Boleto primary identifier (required)
1207
+ :type id: str
1208
+ :param _request_timeout: timeout setting for this request. If one
1209
+ number provided, it will be total request
1210
+ timeout. It can also be a pair (tuple) of
1211
+ (connection, read) timeouts.
1212
+ :type _request_timeout: int, tuple(int, int), optional
1213
+ :param _request_auth: set to override the auth_settings for an a single
1214
+ request; this effectively ignores the
1215
+ authentication in the spec for a single request.
1216
+ :type _request_auth: dict, optional
1217
+ :param _content_type: force content-type for the request.
1218
+ :type _content_type: str, Optional
1219
+ :param _headers: set to override the headers for a single
1220
+ request; this effectively ignores the headers
1221
+ in the spec for a single request.
1222
+ :type _headers: dict, optional
1223
+ :param _host_index: set to override the host_index for a single
1224
+ request; this effectively ignores the host_index
1225
+ in the spec for a single request.
1226
+ :type _host_index: int, optional
1227
+ :return: Returns the result object.
1228
+ """ # noqa: E501
1229
+
1230
+ _param = self._boleto_get_serialize(
1231
+ id=id,
1232
+ _request_auth=_request_auth,
1233
+ _content_type=_content_type,
1234
+ _headers=_headers,
1235
+ _host_index=_host_index
1236
+ )
1237
+
1238
+ _response_types_map: Dict[str, Optional[str]] = {
1239
+ '200': "IssuedBoleto",
1240
+ }
1241
+ response_data = self.api_client.call_api(
1242
+ *_param,
1243
+ _request_timeout=_request_timeout
1244
+ )
1245
+ response_data.read()
1246
+ return self.api_client.response_deserialize(
1247
+ response_data=response_data,
1248
+ response_types_map=_response_types_map,
1249
+ )
1250
+
1251
+
1252
+ @validate_call
1253
+ def boleto_get_without_preload_content(
1254
+ self,
1255
+ id: Annotated[StrictStr, Field(description="Boleto primary identifier")],
1256
+ _request_timeout: Union[
1257
+ None,
1258
+ Annotated[StrictFloat, Field(gt=0)],
1259
+ Tuple[
1260
+ Annotated[StrictFloat, Field(gt=0)],
1261
+ Annotated[StrictFloat, Field(gt=0)]
1262
+ ]
1263
+ ] = None,
1264
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1265
+ _content_type: Optional[StrictStr] = None,
1266
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1267
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1268
+ ) -> RESTResponseType:
1269
+ """Get Boleto
1270
+
1271
+
1272
+ :param id: Boleto primary identifier (required)
1273
+ :type id: str
1274
+ :param _request_timeout: timeout setting for this request. If one
1275
+ number provided, it will be total request
1276
+ timeout. It can also be a pair (tuple) of
1277
+ (connection, read) timeouts.
1278
+ :type _request_timeout: int, tuple(int, int), optional
1279
+ :param _request_auth: set to override the auth_settings for an a single
1280
+ request; this effectively ignores the
1281
+ authentication in the spec for a single request.
1282
+ :type _request_auth: dict, optional
1283
+ :param _content_type: force content-type for the request.
1284
+ :type _content_type: str, Optional
1285
+ :param _headers: set to override the headers for a single
1286
+ request; this effectively ignores the headers
1287
+ in the spec for a single request.
1288
+ :type _headers: dict, optional
1289
+ :param _host_index: set to override the host_index for a single
1290
+ request; this effectively ignores the host_index
1291
+ in the spec for a single request.
1292
+ :type _host_index: int, optional
1293
+ :return: Returns the result object.
1294
+ """ # noqa: E501
1295
+
1296
+ _param = self._boleto_get_serialize(
1297
+ id=id,
1298
+ _request_auth=_request_auth,
1299
+ _content_type=_content_type,
1300
+ _headers=_headers,
1301
+ _host_index=_host_index
1302
+ )
1303
+
1304
+ _response_types_map: Dict[str, Optional[str]] = {
1305
+ '200': "IssuedBoleto",
1306
+ }
1307
+ response_data = self.api_client.call_api(
1308
+ *_param,
1309
+ _request_timeout=_request_timeout
1310
+ )
1311
+ return response_data.response
1312
+
1313
+
1314
+ def _boleto_get_serialize(
1315
+ self,
1316
+ id,
1317
+ _request_auth,
1318
+ _content_type,
1319
+ _headers,
1320
+ _host_index,
1321
+ ) -> RequestSerialized:
1322
+
1323
+ _host = None
1324
+
1325
+ _collection_formats: Dict[str, str] = {
1326
+ }
1327
+
1328
+ _path_params: Dict[str, str] = {}
1329
+ _query_params: List[Tuple[str, str]] = []
1330
+ _header_params: Dict[str, Optional[str]] = _headers or {}
1331
+ _form_params: List[Tuple[str, str]] = []
1332
+ _files: Dict[
1333
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1334
+ ] = {}
1335
+ _body_params: Optional[bytes] = None
1336
+
1337
+ # process the path parameters
1338
+ if id is not None:
1339
+ _path_params['id'] = id
1340
+ # process the query parameters
1341
+ # process the header parameters
1342
+ # process the form parameters
1343
+ # process the body parameter
1344
+
1345
+
1346
+ # set the HTTP header `Accept`
1347
+ if 'Accept' not in _header_params:
1348
+ _header_params['Accept'] = self.api_client.select_header_accept(
1349
+ [
1350
+ 'application/json'
1351
+ ]
1352
+ )
1353
+
1354
+
1355
+ # authentication setting
1356
+ _auth_settings: List[str] = [
1357
+ 'default'
1358
+ ]
1359
+
1360
+ return self.api_client.param_serialize(
1361
+ method='GET',
1362
+ resource_path='/boletos/{id}',
1363
+ path_params=_path_params,
1364
+ query_params=_query_params,
1365
+ header_params=_header_params,
1366
+ body=_body_params,
1367
+ post_params=_form_params,
1368
+ files=_files,
1369
+ auth_settings=_auth_settings,
1370
+ collection_formats=_collection_formats,
1371
+ _host=_host,
1372
+ _request_auth=_request_auth
1373
+ )
1374
+
1375
+
@@ -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, StrictBool, StrictFloat, StrictInt, StrictStr
20
+ from pydantic import Field, 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
@@ -1703,7 +1703,6 @@ class PaymentRecipientApi:
1703
1703
  @validate_call
1704
1704
  def payment_recipients_list(
1705
1705
  self,
1706
- is_default: Annotated[Optional[StrictBool], Field(description="Filter recipients only if its default or not")] = None,
1707
1706
  page_size: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="Page size for the paging request, default: 20")] = None,
1708
1707
  page: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="Page number for the paging request, default: 1")] = None,
1709
1708
  _request_timeout: Union[
@@ -1723,8 +1722,6 @@ class PaymentRecipientApi:
1723
1722
 
1724
1723
  Recovers all created payment recipients
1725
1724
 
1726
- :param is_default: Filter recipients only if its default or not
1727
- :type is_default: bool
1728
1725
  :param page_size: Page size for the paging request, default: 20
1729
1726
  :type page_size: float
1730
1727
  :param page: Page number for the paging request, default: 1
@@ -1752,7 +1749,6 @@ class PaymentRecipientApi:
1752
1749
  """ # noqa: E501
1753
1750
 
1754
1751
  _param = self._payment_recipients_list_serialize(
1755
- is_default=is_default,
1756
1752
  page_size=page_size,
1757
1753
  page=page,
1758
1754
  _request_auth=_request_auth,
@@ -1778,7 +1774,6 @@ class PaymentRecipientApi:
1778
1774
  @validate_call
1779
1775
  def payment_recipients_list_with_http_info(
1780
1776
  self,
1781
- is_default: Annotated[Optional[StrictBool], Field(description="Filter recipients only if its default or not")] = None,
1782
1777
  page_size: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="Page size for the paging request, default: 20")] = None,
1783
1778
  page: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="Page number for the paging request, default: 1")] = None,
1784
1779
  _request_timeout: Union[
@@ -1798,8 +1793,6 @@ class PaymentRecipientApi:
1798
1793
 
1799
1794
  Recovers all created payment recipients
1800
1795
 
1801
- :param is_default: Filter recipients only if its default or not
1802
- :type is_default: bool
1803
1796
  :param page_size: Page size for the paging request, default: 20
1804
1797
  :type page_size: float
1805
1798
  :param page: Page number for the paging request, default: 1
@@ -1827,7 +1820,6 @@ class PaymentRecipientApi:
1827
1820
  """ # noqa: E501
1828
1821
 
1829
1822
  _param = self._payment_recipients_list_serialize(
1830
- is_default=is_default,
1831
1823
  page_size=page_size,
1832
1824
  page=page,
1833
1825
  _request_auth=_request_auth,
@@ -1853,7 +1845,6 @@ class PaymentRecipientApi:
1853
1845
  @validate_call
1854
1846
  def payment_recipients_list_without_preload_content(
1855
1847
  self,
1856
- is_default: Annotated[Optional[StrictBool], Field(description="Filter recipients only if its default or not")] = None,
1857
1848
  page_size: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="Page size for the paging request, default: 20")] = None,
1858
1849
  page: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="Page number for the paging request, default: 1")] = None,
1859
1850
  _request_timeout: Union[
@@ -1873,8 +1864,6 @@ class PaymentRecipientApi:
1873
1864
 
1874
1865
  Recovers all created payment recipients
1875
1866
 
1876
- :param is_default: Filter recipients only if its default or not
1877
- :type is_default: bool
1878
1867
  :param page_size: Page size for the paging request, default: 20
1879
1868
  :type page_size: float
1880
1869
  :param page: Page number for the paging request, default: 1
@@ -1902,7 +1891,6 @@ class PaymentRecipientApi:
1902
1891
  """ # noqa: E501
1903
1892
 
1904
1893
  _param = self._payment_recipients_list_serialize(
1905
- is_default=is_default,
1906
1894
  page_size=page_size,
1907
1895
  page=page,
1908
1896
  _request_auth=_request_auth,
@@ -1923,7 +1911,6 @@ class PaymentRecipientApi:
1923
1911
 
1924
1912
  def _payment_recipients_list_serialize(
1925
1913
  self,
1926
- is_default,
1927
1914
  page_size,
1928
1915
  page,
1929
1916
  _request_auth,
@@ -1948,10 +1935,6 @@ class PaymentRecipientApi:
1948
1935
 
1949
1936
  # process the path parameters
1950
1937
  # process the query parameters
1951
- if is_default is not None:
1952
-
1953
- _query_params.append(('isDefault', is_default))
1954
-
1955
1938
  if page_size is not None:
1956
1939
 
1957
1940
  _query_params.append(('pageSize', page_size))
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.post37/python'
94
+ self.user_agent = 'OpenAPI-Generator/1.0.0.post38/python'
95
95
  self.client_side_validation = configuration.client_side_validation
96
96
 
97
97
  def __enter__(self):
@@ -525,7 +525,7 @@ conf = pluggy_sdk.Configuration(
525
525
  "OS: {env}\n"\
526
526
  "Python Version: {pyversion}\n"\
527
527
  "Version of the API: 1.0.0\n"\
528
- "SDK Package Version: 1.0.0.post37".\
528
+ "SDK Package Version: 1.0.0.post38".\
529
529
  format(env=sys.platform, pyversion=sys.version)
530
530
 
531
531
  def get_host_settings(self) -> List[HostSetting]:
@@ -52,6 +52,7 @@ from pluggy_sdk.models.create_boleto import CreateBoleto
52
52
  from pluggy_sdk.models.create_boleto_boleto import CreateBoletoBoleto
53
53
  from pluggy_sdk.models.create_boleto_boleto_payer import CreateBoletoBoletoPayer
54
54
  from pluggy_sdk.models.create_boleto_connection import CreateBoletoConnection
55
+ from pluggy_sdk.models.create_boleto_connection_from_item import CreateBoletoConnectionFromItem
55
56
  from pluggy_sdk.models.create_boleto_payment_request import CreateBoletoPaymentRequest
56
57
  from pluggy_sdk.models.create_bulk_payment import CreateBulkPayment
57
58
  from pluggy_sdk.models.create_client_category_rule import CreateClientCategoryRule
@@ -0,0 +1,88 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Pluggy API
5
+
6
+ Pluggy's main API to review data and execute connectors
7
+
8
+ The version of the OpenAPI document: 1.0.0
9
+ Contact: hello@pluggy.ai
10
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
11
+
12
+ Do not edit the class manually.
13
+ """ # noqa: E501
14
+
15
+
16
+ from __future__ import annotations
17
+ import pprint
18
+ import re # noqa: F401
19
+ import json
20
+
21
+ from pydantic import BaseModel, ConfigDict, Field, StrictStr
22
+ from typing import Any, ClassVar, Dict, List
23
+ from typing import Optional, Set
24
+ from typing_extensions import Self
25
+
26
+ class CreateBoletoConnectionFromItem(BaseModel):
27
+ """
28
+ Request with information to create a boleto connection from an Item
29
+ """ # noqa: E501
30
+ item_id: StrictStr = Field(description="Item ID", alias="itemId")
31
+ __properties: ClassVar[List[str]] = ["itemId"]
32
+
33
+ model_config = ConfigDict(
34
+ populate_by_name=True,
35
+ validate_assignment=True,
36
+ protected_namespaces=(),
37
+ )
38
+
39
+
40
+ def to_str(self) -> str:
41
+ """Returns the string representation of the model using alias"""
42
+ return pprint.pformat(self.model_dump(by_alias=True))
43
+
44
+ def to_json(self) -> str:
45
+ """Returns the JSON representation of the model using alias"""
46
+ # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
47
+ return json.dumps(self.to_dict())
48
+
49
+ @classmethod
50
+ def from_json(cls, json_str: str) -> Optional[Self]:
51
+ """Create an instance of CreateBoletoConnectionFromItem from a JSON string"""
52
+ return cls.from_dict(json.loads(json_str))
53
+
54
+ def to_dict(self) -> Dict[str, Any]:
55
+ """Return the dictionary representation of the model using alias.
56
+
57
+ This has the following differences from calling pydantic's
58
+ `self.model_dump(by_alias=True)`:
59
+
60
+ * `None` is only added to the output dict for nullable fields that
61
+ were set at model initialization. Other fields with value `None`
62
+ are ignored.
63
+ """
64
+ excluded_fields: Set[str] = set([
65
+ ])
66
+
67
+ _dict = self.model_dump(
68
+ by_alias=True,
69
+ exclude=excluded_fields,
70
+ exclude_none=True,
71
+ )
72
+ return _dict
73
+
74
+ @classmethod
75
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
76
+ """Create an instance of CreateBoletoConnectionFromItem from a dict"""
77
+ if obj is None:
78
+ return None
79
+
80
+ if not isinstance(obj, dict):
81
+ return cls.model_validate(obj)
82
+
83
+ _obj = cls.model_validate({
84
+ "itemId": obj.get("itemId")
85
+ })
86
+ return _obj
87
+
88
+
@@ -30,7 +30,7 @@ class CreateOrUpdatePaymentCustomer(BaseModel):
30
30
  id: StrictStr = Field(description="Primary identifier")
31
31
  type: StrictStr = Field(description="Customer type")
32
32
  name: StrictStr = Field(description="Customer name")
33
- email: StrictStr = Field(description="Customer email")
33
+ email: Optional[StrictStr] = Field(default=None, description="Customer email")
34
34
  cpf: Optional[StrictStr] = Field(default=None, description="Customer CPF")
35
35
  cnpj: Optional[StrictStr] = Field(default=None, description="Customer CNPJ, if type is `BUSINESS`")
36
36
  __properties: ClassVar[List[str]] = ["id", "type", "name", "email", "cpf", "cnpj"]
@@ -29,7 +29,7 @@ class CreatePaymentCustomerRequestBody(BaseModel):
29
29
  """ # noqa: E501
30
30
  type: StrictStr = Field(description="Customer type")
31
31
  name: StrictStr = Field(description="Customer name")
32
- email: StrictStr = Field(description="Customer email")
32
+ email: Optional[StrictStr] = Field(default=None, description="Customer email")
33
33
  cpf: Optional[StrictStr] = Field(default=None, description="Customer CPF")
34
34
  cnpj: Optional[StrictStr] = Field(default=None, description="Customer CNPJ, if type is `BUSINESS`")
35
35
  __properties: ClassVar[List[str]] = ["type", "name", "email", "cpf", "cnpj"]
@@ -18,7 +18,7 @@ import pprint
18
18
  import re # noqa: F401
19
19
  import json
20
20
 
21
- from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr
21
+ from pydantic import BaseModel, ConfigDict, Field, StrictStr
22
22
  from typing import Any, ClassVar, Dict, List, Optional
23
23
  from pluggy_sdk.models.payment_recipient_account import PaymentRecipientAccount
24
24
  from typing import Optional, Set
@@ -32,10 +32,9 @@ class CreatePaymentRecipient(BaseModel):
32
32
  name: Optional[StrictStr] = Field(default=None, description="Account owner name. Send only this when the pixKey is not sent.")
33
33
  payment_institution_id: Optional[StrictStr] = Field(default=None, description="Primary identifier of the institution associated to the payment recipient. Send only when the pixKey is not sent.", alias="paymentInstitutionId")
34
34
  account: Optional[PaymentRecipientAccount] = Field(default=None, description="Recipient's bank account destination. Send only if the pixKey is not sent.")
35
- is_default: Optional[StrictBool] = Field(default=None, description="Indicates if the recipient is the default one", alias="isDefault")
36
35
  pix_key: Optional[StrictStr] = Field(default=None, description="Pix key associated with the payment recipient", alias="pixKey")
37
36
  smart_account_id: Optional[StrictStr] = Field(default=None, description="Smart account identifier associated to the payment recipient, used to be able to use PIX Qr method", alias="smartAccountId")
38
- __properties: ClassVar[List[str]] = ["taxNumber", "name", "paymentInstitutionId", "account", "isDefault", "pixKey", "smartAccountId"]
37
+ __properties: ClassVar[List[str]] = ["taxNumber", "name", "paymentInstitutionId", "account", "pixKey", "smartAccountId"]
39
38
 
40
39
  model_config = ConfigDict(
41
40
  populate_by_name=True,
@@ -95,7 +94,6 @@ class CreatePaymentRecipient(BaseModel):
95
94
  "name": obj.get("name"),
96
95
  "paymentInstitutionId": obj.get("paymentInstitutionId"),
97
96
  "account": PaymentRecipientAccount.from_dict(obj["account"]) if obj.get("account") is not None else None,
98
- "isDefault": obj.get("isDefault"),
99
97
  "pixKey": obj.get("pixKey"),
100
98
  "smartAccountId": obj.get("smartAccountId")
101
99
  })
@@ -35,8 +35,8 @@ class CreateWebhook(BaseModel):
35
35
  @field_validator('event')
36
36
  def event_validate_enum(cls, value):
37
37
  """Validates the enum"""
38
- if value not in set(['all', 'item/created', 'item/updated', 'item/error', 'item/deleted', 'item/waiting_user_input', 'item/waiting_user_action', 'item/login_succeeded', 'connector/status_updated', 'transactions/created', 'transactions/updated', 'transactions/deleted', 'payment_intent/created', 'payment_intent/completed', 'payment_intent/waiting_payer_authorization', 'payment_intent/error', 'scheduled_payment/created', 'scheduled_payment/completed', 'scheduled_payment/error', 'scheduled_payment/canceled', 'scheduled_payment/all_completed', 'payment_refund/completed', 'payment_refund/error']):
39
- raise ValueError("must be one of enum values ('all', 'item/created', 'item/updated', 'item/error', 'item/deleted', 'item/waiting_user_input', 'item/waiting_user_action', 'item/login_succeeded', 'connector/status_updated', 'transactions/created', 'transactions/updated', 'transactions/deleted', 'payment_intent/created', 'payment_intent/completed', 'payment_intent/waiting_payer_authorization', 'payment_intent/error', 'scheduled_payment/created', 'scheduled_payment/completed', 'scheduled_payment/error', 'scheduled_payment/canceled', 'scheduled_payment/all_completed', 'payment_refund/completed', 'payment_refund/error')")
38
+ if value not in set(['all', 'item/created', 'item/updated', 'item/error', 'item/deleted', 'item/waiting_user_input', 'item/waiting_user_action', 'item/login_succeeded', 'connector/status_updated', 'transactions/created', 'transactions/updated', 'transactions/deleted', 'payment_intent/created', 'payment_intent/completed', 'payment_intent/waiting_payer_authorization', 'payment_intent/error', 'scheduled_payment/created', 'scheduled_payment/completed', 'scheduled_payment/error', 'scheduled_payment/canceled', 'scheduled_payment/all_completed', 'payment_refund/completed', 'payment_refund/error', 'boleto/updated']):
39
+ raise ValueError("must be one of enum values ('all', 'item/created', 'item/updated', 'item/error', 'item/deleted', 'item/waiting_user_input', 'item/waiting_user_action', 'item/login_succeeded', 'connector/status_updated', 'transactions/created', 'transactions/updated', 'transactions/deleted', 'payment_intent/created', 'payment_intent/completed', 'payment_intent/waiting_payer_authorization', 'payment_intent/error', 'scheduled_payment/created', 'scheduled_payment/completed', 'scheduled_payment/error', 'scheduled_payment/canceled', 'scheduled_payment/all_completed', 'payment_refund/completed', 'payment_refund/error', 'boleto/updated')")
40
40
  return value
41
41
 
42
42
  model_config = ConfigDict(
@@ -22,7 +22,6 @@ from datetime import datetime
22
22
  from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr, field_validator
23
23
  from typing import Any, ClassVar, Dict, List, Optional, Union
24
24
  from pluggy_sdk.models.investment_metadata import InvestmentMetadata
25
- from pluggy_sdk.models.investment_transaction import InvestmentTransaction
26
25
  from typing import Optional, Set
27
26
  from typing_extensions import Self
28
27
 
@@ -54,7 +53,6 @@ class Investment(BaseModel):
54
53
  amount_withdrawal: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The amount available to withdraw", alias="amountWithdrawal")
55
54
  amount_original: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Amount originally invested", alias="amountOriginal")
56
55
  metadata: Optional[InvestmentMetadata] = Field(default=None, description="Security Portability details")
57
- transactions: Optional[List[InvestmentTransaction]] = Field(default=None, description="(DEPRECATED: this field will be removed for new applications created from 21st March 2023 onward. Use the paginated `GET /investment/{id}/transactions` endpoint instead.) Transactions made on the investment (Buy, Sell, Transfer, Tax)")
58
56
  due_date: Optional[datetime] = Field(default=None, description="Expiration Date", alias="dueDate")
59
57
  issuer: Optional[StrictStr] = Field(default=None, description="The entity that issued the investment")
60
58
  issuer_cnpj: Optional[StrictStr] = Field(default=None, description="The entity CNPJ that issued the investment", alias="issuerCNPJ")
@@ -63,7 +61,7 @@ class Investment(BaseModel):
63
61
  rate_type: Optional[StrictStr] = Field(default=None, description="Type of fixed-rate", alias="rateType")
64
62
  fixed_annual_rate: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Fixed income annual rate", alias="fixedAnnualRate")
65
63
  status: Optional[StrictStr] = Field(default=None, description="Current status of the investment enum value")
66
- __properties: ClassVar[List[str]] = ["id", "itemId", "type", "subtype", "number", "balance", "name", "lastMonthRate", "lastTwelveMonthsRate", "annualRate", "currencyCode", "code", "isin", "value", "quantity", "amount", "taxes", "taxes2", "date", "owner", "amountProfit", "amountWithdrawal", "amountOriginal", "metadata", "transactions", "dueDate", "issuer", "issuerCNPJ", "issueDate", "rate", "rateType", "fixedAnnualRate", "status"]
64
+ __properties: ClassVar[List[str]] = ["id", "itemId", "type", "subtype", "number", "balance", "name", "lastMonthRate", "lastTwelveMonthsRate", "annualRate", "currencyCode", "code", "isin", "value", "quantity", "amount", "taxes", "taxes2", "date", "owner", "amountProfit", "amountWithdrawal", "amountOriginal", "metadata", "dueDate", "issuer", "issuerCNPJ", "issueDate", "rate", "rateType", "fixedAnnualRate", "status"]
67
65
 
68
66
  @field_validator('type')
69
67
  def type_validate_enum(cls, value):
@@ -134,13 +132,6 @@ class Investment(BaseModel):
134
132
  # override the default output from pydantic by calling `to_dict()` of metadata
135
133
  if self.metadata:
136
134
  _dict['metadata'] = self.metadata.to_dict()
137
- # override the default output from pydantic by calling `to_dict()` of each item in transactions (list)
138
- _items = []
139
- if self.transactions:
140
- for _item_transactions in self.transactions:
141
- if _item_transactions:
142
- _items.append(_item_transactions.to_dict())
143
- _dict['transactions'] = _items
144
135
  return _dict
145
136
 
146
137
  @classmethod
@@ -177,7 +168,6 @@ class Investment(BaseModel):
177
168
  "amountWithdrawal": obj.get("amountWithdrawal"),
178
169
  "amountOriginal": obj.get("amountOriginal"),
179
170
  "metadata": InvestmentMetadata.from_dict(obj["metadata"]) if obj.get("metadata") is not None else None,
180
- "transactions": [InvestmentTransaction.from_dict(_item) for _item in obj["transactions"]] if obj.get("transactions") is not None else None,
181
171
  "dueDate": obj.get("dueDate"),
182
172
  "issuer": obj.get("issuer"),
183
173
  "issuerCNPJ": obj.get("issuerCNPJ"),
@@ -18,8 +18,8 @@ import pprint
18
18
  import re # noqa: F401
19
19
  import json
20
20
 
21
- from pydantic import BaseModel, ConfigDict, Field, StrictStr
22
- from typing import Any, ClassVar, Dict, List, Optional
21
+ from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr, field_validator
22
+ from typing import Any, ClassVar, Dict, List, Optional, Union
23
23
  from typing import Optional, Set
24
24
  from typing_extensions import Self
25
25
 
@@ -40,7 +40,19 @@ class IssuedBoletoPayer(BaseModel):
40
40
  email: Optional[StrictStr] = Field(default=None, description="Payer email")
41
41
  ddd: Optional[StrictStr] = Field(default=None, description="Payer area code")
42
42
  phone_number: Optional[StrictStr] = Field(default=None, description="Payer phone number", alias="phoneNumber")
43
- __properties: ClassVar[List[str]] = ["taxNumber", "personType", "name", "addressStreet", "addressNumber", "addressComplement", "addressNeighborhood", "addressCity", "addressState", "addressZipCode", "email", "ddd", "phoneNumber"]
43
+ amount_paid: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Amount paid or null if it hasn't been paid yet", alias="amountPaid")
44
+ payment_origin: Optional[StrictStr] = Field(default=None, description="Payment origin for the boleto", alias="paymentOrigin")
45
+ __properties: ClassVar[List[str]] = ["taxNumber", "personType", "name", "addressStreet", "addressNumber", "addressComplement", "addressNeighborhood", "addressCity", "addressState", "addressZipCode", "email", "ddd", "phoneNumber", "amountPaid", "paymentOrigin"]
46
+
47
+ @field_validator('payment_origin')
48
+ def payment_origin_validate_enum(cls, value):
49
+ """Validates the enum"""
50
+ if value is None:
51
+ return value
52
+
53
+ if value not in set(['PIX', 'BOLETO']):
54
+ raise ValueError("must be one of enum values ('PIX', 'BOLETO')")
55
+ return value
44
56
 
45
57
  model_config = ConfigDict(
46
58
  populate_by_name=True,
@@ -105,7 +117,9 @@ class IssuedBoletoPayer(BaseModel):
105
117
  "addressZipCode": obj.get("addressZipCode"),
106
118
  "email": obj.get("email"),
107
119
  "ddd": obj.get("ddd"),
108
- "phoneNumber": obj.get("phoneNumber")
120
+ "phoneNumber": obj.get("phoneNumber"),
121
+ "amountPaid": obj.get("amountPaid"),
122
+ "paymentOrigin": obj.get("paymentOrigin")
109
123
  })
110
124
  return _obj
111
125
 
@@ -18,7 +18,7 @@ import pprint
18
18
  import re # noqa: F401
19
19
  import json
20
20
 
21
- from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr
21
+ from pydantic import BaseModel, ConfigDict, Field, StrictStr
22
22
  from typing import Any, ClassVar, Dict, List, Optional
23
23
  from pluggy_sdk.models.payment_recipient_account import PaymentRecipientAccount
24
24
  from typing import Optional, Set
@@ -32,9 +32,8 @@ class UpdatePaymentRecipient(BaseModel):
32
32
  name: Optional[StrictStr] = Field(default=None, description="Account owner name. Send only if the recipient doesn't have a pixKey.")
33
33
  payment_institution_id: Optional[StrictStr] = Field(default=None, description="Primary identifier of the institution associated to the payment recipient. Send only if the recipient doesn't have a pixKey.", alias="paymentInstitutionId")
34
34
  account: Optional[PaymentRecipientAccount] = Field(default=None, description="Recipient's bank account destination. Send only if the recipient doesn't have a pixKey.")
35
- is_default: Optional[StrictBool] = Field(default=None, description="Indicates if the recipient is the default one", alias="isDefault")
36
35
  pix_key: Optional[StrictStr] = Field(default=None, description="Pix key associated with the payment recipient", alias="pixKey")
37
- __properties: ClassVar[List[str]] = ["taxNumber", "name", "paymentInstitutionId", "account", "isDefault", "pixKey"]
36
+ __properties: ClassVar[List[str]] = ["taxNumber", "name", "paymentInstitutionId", "account", "pixKey"]
38
37
 
39
38
  model_config = ConfigDict(
40
39
  populate_by_name=True,
@@ -94,7 +93,6 @@ class UpdatePaymentRecipient(BaseModel):
94
93
  "name": obj.get("name"),
95
94
  "paymentInstitutionId": obj.get("paymentInstitutionId"),
96
95
  "account": PaymentRecipientAccount.from_dict(obj["account"]) if obj.get("account") is not None else None,
97
- "isDefault": obj.get("isDefault"),
98
96
  "pixKey": obj.get("pixKey")
99
97
  })
100
98
  return _obj
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: pluggy-sdk
3
- Version: 1.0.0.post37
3
+ Version: 1.0.0.post38
4
4
  Summary: Pluggy API
5
5
  Home-page: https://github.com/diraol/pluggy-python
6
6
  Author: Pluggy
@@ -28,7 +28,7 @@ Pluggy's main API to review data and execute connectors
28
28
  This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
29
29
 
30
30
  - API version: 1.0.0
31
- - Package version: 1.0.0.post37
31
+ - Package version: 1.0.0.post38
32
32
  - Generator version: 7.12.0-SNAPSHOT
33
33
  - Build package: org.openapitools.codegen.languages.PythonClientCodegen
34
34
  For more information, please visit [https://pluggy.ai](https://pluggy.ai)
@@ -131,7 +131,9 @@ Class | Method | HTTP request | Description
131
131
  *BillApi* | [**bills_retrieve**](docs/BillApi.md#bills_retrieve) | **GET** /bills/{id} | Retrieve
132
132
  *BoletoManagementApi* | [**boleto_cancel**](docs/BoletoManagementApi.md#boleto_cancel) | **POST** /boletos/{id}/cancel | Cancel Boleto
133
133
  *BoletoManagementApi* | [**boleto_connection_create**](docs/BoletoManagementApi.md#boleto_connection_create) | **POST** /boleto-connections | Connect boleto credentials
134
+ *BoletoManagementApi* | [**boleto_connection_create_from_item**](docs/BoletoManagementApi.md#boleto_connection_create_from_item) | **POST** /boleto-connections/from-item | Create boleto connection from Item
134
135
  *BoletoManagementApi* | [**boleto_create**](docs/BoletoManagementApi.md#boleto_create) | **POST** /boletos | Issue Boleto
136
+ *BoletoManagementApi* | [**boleto_get**](docs/BoletoManagementApi.md#boleto_get) | **GET** /boletos/{id} | Get Boleto
135
137
  *BulkPaymentApi* | [**bulk_payment_create**](docs/BulkPaymentApi.md#bulk_payment_create) | **POST** /payments/bulk | Create
136
138
  *BulkPaymentApi* | [**bulk_payment_delete**](docs/BulkPaymentApi.md#bulk_payment_delete) | **DELETE** /payments/bulk/{id} | Delete
137
139
  *BulkPaymentApi* | [**bulk_payment_retrieve**](docs/BulkPaymentApi.md#bulk_payment_retrieve) | **GET** /payments/bulk/{id} | Retrieve
@@ -246,6 +248,7 @@ Class | Method | HTTP request | Description
246
248
  - [CreateBoletoBoleto](docs/CreateBoletoBoleto.md)
247
249
  - [CreateBoletoBoletoPayer](docs/CreateBoletoBoletoPayer.md)
248
250
  - [CreateBoletoConnection](docs/CreateBoletoConnection.md)
251
+ - [CreateBoletoConnectionFromItem](docs/CreateBoletoConnectionFromItem.md)
249
252
  - [CreateBoletoPaymentRequest](docs/CreateBoletoPaymentRequest.md)
250
253
  - [CreateBulkPayment](docs/CreateBulkPayment.md)
251
254
  - [CreateClientCategoryRule](docs/CreateClientCategoryRule.md)
@@ -1,7 +1,7 @@
1
- pluggy_sdk/__init__.py,sha256=_gqSb9r9oaG5KlX1_tGNMPwMGRBR6qWneKBU4cVg2cg,13557
2
- pluggy_sdk/api_client.py,sha256=4N6GnTCuXZvJJ81vYc15LQtmTLO-TnhZdxRWYa1OvIk,27438
1
+ pluggy_sdk/__init__.py,sha256=hIUm8x7Q-Elh9SOU51c6D7evQEKe2nlUyKrebT9u7oU,13653
2
+ pluggy_sdk/api_client.py,sha256=TC6xHnw21wHXDa51rFvtgQZRDAZx_gr_ijcYJOtLBSA,27438
3
3
  pluggy_sdk/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
4
- pluggy_sdk/configuration.py,sha256=fnCIH-MWbrOYKzo7zNABul6F5zi1tZwCdeGkp-mbj1o,18485
4
+ pluggy_sdk/configuration.py,sha256=aedbUYLrOUVupxyBvhwgydifmYK7zItEEofL4PzUH5o,18485
5
5
  pluggy_sdk/exceptions.py,sha256=i3cDTqzBiyuMq9VdCqE6CVVf09vq_TDYL9uOVvFoZis,6452
6
6
  pluggy_sdk/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
7
  pluggy_sdk/rest.py,sha256=vVdVX3R4AbYt0r6TChhsMVAnyL1nf0RA6eZYjkaaBzY,9389
@@ -13,7 +13,7 @@ pluggy_sdk/api/acquirer_sale_api.py,sha256=YZYt2Hy3vA-dIKFouejtQY8BTws3lNrY3NHdX
13
13
  pluggy_sdk/api/auth_api.py,sha256=TXqmhFum1h1bqt9BMANyvcwLLaS0M1Y0mIELutv9spo,23150
14
14
  pluggy_sdk/api/benefit_api.py,sha256=WSa3Hp-6Dc1fA0dHUnYP5gu-iXgDD-0NC5yuxBuIouo,21329
15
15
  pluggy_sdk/api/bill_api.py,sha256=_qkNNQIlImQEGpzHko9wxyIrGlNKfc7Aq1MOdGCy5Ac,21228
16
- pluggy_sdk/api/boleto_management_api.py,sha256=dMcmNdi-GO-By5kllAwkp80_JJV1cQ7YoZSHl_2apfo,31883
16
+ pluggy_sdk/api/boleto_management_api.py,sha256=MRgO-66KatFI8A7pTVVkAds8sDJqNowg2Tb5mLnS3sI,52583
17
17
  pluggy_sdk/api/bulk_payment_api.py,sha256=-Qac97nDXdqWUJlvNIONxJLrbKE7Wt1crK03_ARxbKY,43205
18
18
  pluggy_sdk/api/category_api.py,sha256=ATCtlmkDmbNqS2kJV6f6P3G0_rgwqEip-PgQ9iUm_Nc,42113
19
19
  pluggy_sdk/api/connector_api.py,sha256=Zmo8ZYrYaaa98eAF_DXGlnd7AFS7hK6SURAGhsL3NPM,41410
@@ -26,7 +26,7 @@ pluggy_sdk/api/loan_api.py,sha256=0F4282MRf2XZ6KkRq9zZ9Bjfp4_gr628_Zjc3vnCnNU,21
26
26
  pluggy_sdk/api/payment_customer_api.py,sha256=2oxLDZt8BvDhg1P942AQaQUNsGBgvFL9BpctRvDW1w8,55454
27
27
  pluggy_sdk/api/payment_intent_api.py,sha256=xb5TAryR7WH6uMFH8-M1jeQonnnYxJ1TPkw2lZ3P_E0,32422
28
28
  pluggy_sdk/api/payment_receipts_api.py,sha256=kIf-vRlUK9yr6Udt8Xfvv3_8kL9c1_w8J8fyrWt3ylU,32644
29
- pluggy_sdk/api/payment_recipient_api.py,sha256=nvV5zoyTMMr3geRBD0ztaSrBe9tkusS9rJSdvG-mq2g,78871
29
+ pluggy_sdk/api/payment_recipient_api.py,sha256=WbprFZ_w1CXt9QAJPGWlbpPm5zhqFpD88mD_B9QR3ug,77923
30
30
  pluggy_sdk/api/payment_request_api.py,sha256=Pg1Wv0Jz0-tNyxpd8-0NRbWXgMvu7tnnOgjgFlL2EhQ,116891
31
31
  pluggy_sdk/api/payment_schedule_api.py,sha256=YUmE5fJktDrFHHm-SPphqQJmW-2CaBOlfX7QqZdQCk4,31605
32
32
  pluggy_sdk/api/payroll_loan_api.py,sha256=UqHuWdWa6PYAFBLdeRQTw0tMhv-yuhdN8Jk1qd7h8SQ,21180
@@ -36,7 +36,7 @@ pluggy_sdk/api/smart_account_transfer_api.py,sha256=H-uScNzIIlUzymh8GHKLoypler5T
36
36
  pluggy_sdk/api/smart_transfer_api.py,sha256=txy3I7VsD8wlmzPAmKgva7szkTi_2ne3RDMo6zrcj-0,56198
37
37
  pluggy_sdk/api/transaction_api.py,sha256=hJdOkkOB0PEl1eSceLppyaX7Ot1SSSSz7CPWl4JbxRU,41854
38
38
  pluggy_sdk/api/webhook_api.py,sha256=PmwRiQPIvl5vdDqNFdVKJLdBMGMyoccEHYmrxf7A4G4,56195
39
- pluggy_sdk/models/__init__.py,sha256=nuszvXM_mxqSPu4M-XlRKXFBr-B8xw29qBpuKjjOoPM,11809
39
+ pluggy_sdk/models/__init__.py,sha256=l9z3gRtVDoWAEg4l1H4SC6M6KrtMaVD2JCZwMLQl1OQ,11905
40
40
  pluggy_sdk/models/account.py,sha256=olFI5wpLnLLE7OO22B4zlNzSAf5TP8kGPVmYar_VUdg,5536
41
41
  pluggy_sdk/models/accounts_list200_response.py,sha256=B4SakmOjxyOmTHYtTMmYKJo2nnKScnvqCN348JP98aE,3441
42
42
  pluggy_sdk/models/acquirer_anticipation.py,sha256=_z-lkqKpAML1Tr60J8MoGnc3sN0AOXYPJaTk_DVmYNg,4617
@@ -88,15 +88,16 @@ pluggy_sdk/models/create_boleto.py,sha256=RdxH90W5WtT4CNounAk7_A7Jpgi_a9u4WKmoHw
88
88
  pluggy_sdk/models/create_boleto_boleto.py,sha256=1lPWcLArLua3hN6z3WswJSZoPrUlyysQfdUeed9GLro,3439
89
89
  pluggy_sdk/models/create_boleto_boleto_payer.py,sha256=9EvWdoc_hDd2MlrqeRlKjj4rk2t8IcTOC__IWABxojA,3386
90
90
  pluggy_sdk/models/create_boleto_connection.py,sha256=ZQodldN2duex0o-SF_klZZyEtzDVGe-YODjWdQlcw0A,3149
91
+ pluggy_sdk/models/create_boleto_connection_from_item.py,sha256=d5Xq1K6m3uE1FNOZHjTZl_1vl7FPOUzDbEjpngNlh_g,2617
91
92
  pluggy_sdk/models/create_boleto_payment_request.py,sha256=j7aLjY1Pllj67K0BifGj43CZCBpIqfjI8xAPD1QoQgo,3577
92
93
  pluggy_sdk/models/create_bulk_payment.py,sha256=g5S2C_vtgvuTY9om2RvOZSebTXosp5WrzwdS4IbQMMs,3438
93
94
  pluggy_sdk/models/create_client_category_rule.py,sha256=CBmaEU87ba_EgxLIcFwb8YWe-FcMdKcaOiu9hGDoGFo,3448
94
95
  pluggy_sdk/models/create_item.py,sha256=iz0JMSwXcC2iemswn6Wq-2-SUG015vDMrQ01OWmVLBM,4843
95
96
  pluggy_sdk/models/create_item_parameters.py,sha256=ZAT3HYQRIJMCTO6XRJtBFWLix2LrKrZTWnLtuYMw11k,5380
96
- pluggy_sdk/models/create_or_update_payment_customer.py,sha256=ZvN-Pa9LGAR33L5G4XFSbIUPP3RaUsOeD45K5oOKZ-U,3455
97
- pluggy_sdk/models/create_payment_customer_request_body.py,sha256=YvSSzXEW2yI7M9alWr4fHbPRqNvV4sxTUVp3FkMQSyU,3365
97
+ pluggy_sdk/models/create_or_update_payment_customer.py,sha256=jM5YueP_je65I8koHuKY7c6ssz0KQgTaiRrS3XMDz7o,3479
98
+ pluggy_sdk/models/create_payment_customer_request_body.py,sha256=xwJ5ZA645R7Dm14BCpnLVxNH77pRGEOpKZ4pETlPFBg,3389
98
99
  pluggy_sdk/models/create_payment_intent.py,sha256=fa-y9mIq6ubcFtAJMTTSSpKmjUstF2mmO3GvdaMymW4,4719
99
- pluggy_sdk/models/create_payment_recipient.py,sha256=B4vmHZB0uhOBPl9GPcvkno02fpIHIKFTM3EQvMoBoS8,4554
100
+ pluggy_sdk/models/create_payment_recipient.py,sha256=HE23GlpKT0WlEKJ1btg98rBb7E-dx3WQuB38E8FmoIo,4343
100
101
  pluggy_sdk/models/create_payment_request.py,sha256=H2SU4y28MxacJLrypgknHzIpPTp5m6z9VJEBoGcsazU,4852
101
102
  pluggy_sdk/models/create_payment_request_schedule.py,sha256=Aj70mok-7IYtwhCRFg6_FeawrEiIl34mwcGb0yX6PcY,7159
102
103
  pluggy_sdk/models/create_pix_qr_payment_request.py,sha256=gyRV61yUjf_K4WeihOoBSQySS2NODl2sl4STITpMuIA,3354
@@ -104,7 +105,7 @@ pluggy_sdk/models/create_smart_account_request.py,sha256=Z0fL0SDXZHhP1zONXhHLxIQ
104
105
  pluggy_sdk/models/create_smart_account_transfer_request.py,sha256=cqYBbTfssI6jbZ4bxulvBsofin6d3k0qYcamSSIqzVE,3122
105
106
  pluggy_sdk/models/create_smart_transfer_payment.py,sha256=YqZQ7gg7oPFIlTwDCVH9wglNGETeOkxbiAeZT38e5nk,3397
106
107
  pluggy_sdk/models/create_smart_transfer_preauthorization.py,sha256=aSaFeY_pe-TX2kMyPA_sH89SshgqsJ7JJ4trwMP2zwQ,4149
107
- pluggy_sdk/models/create_webhook.py,sha256=Zi59xKJua3OBKdQNjZzJkZlK4gwoXtSDSolCF6kZeVw,4136
108
+ pluggy_sdk/models/create_webhook.py,sha256=9diD0I9ji_B6sYlEbTbFyYz_dYVJtkcpad9XGX9qctE,4172
108
109
  pluggy_sdk/models/credential_select_option.py,sha256=aniQKmQU7mGKMqJj78dGmS_ZxTw19mIaB6HX3CdyxOI,2676
109
110
  pluggy_sdk/models/credit_card_metadata.py,sha256=EpVcejr4hL5oJpvvqLRFUNBv5kcAR36FkQKbrONJ3XU,4102
110
111
  pluggy_sdk/models/credit_data.py,sha256=LcdJCDgQEmdm60NPzx-hcq_cRHYic8OCr_zVBVuNcpE,5142
@@ -124,13 +125,13 @@ pluggy_sdk/models/identity_response_qualifications_informed_income.py,sha256=L0Q
124
125
  pluggy_sdk/models/identity_response_qualifications_informed_patrimony.py,sha256=DxOFOA6Mw8fjoj8FXmXemFop_58-6rbAOxVjkcBvvtA,2797
125
126
  pluggy_sdk/models/income_report.py,sha256=MscdLVudpzaySJ__mKCBVD0vJcHoOKVIYyFJ6xaNS5U,2788
126
127
  pluggy_sdk/models/income_reports_response.py,sha256=cXTY6QSoXZ5gSzJD2rz992dQRHk01QImadetCVg_fy8,3538
127
- pluggy_sdk/models/investment.py,sha256=Wgrcn1BupoR-_2GRYHI5w_r7iuJJhQ-hNFPxaypXu7E,11148
128
+ pluggy_sdk/models/investment.py,sha256=6ZFQE3_JTw2b5hyKwqvNSuu_9j_dWpFM0UYgJ5WgQEA,10214
128
129
  pluggy_sdk/models/investment_expenses.py,sha256=Tggx0ZhQV-EF1amRK5Qc-qTGMjw1bUkM4bo3re18OCk,5224
129
130
  pluggy_sdk/models/investment_metadata.py,sha256=iPjyP8eP7IM6Yp2angdHGN9ZrRlbIa4m9eO8XDxYQU8,3696
130
131
  pluggy_sdk/models/investment_transaction.py,sha256=0NMEFh-yV0zTw1cstAz8x8kq8_oVLIPCh9kjXkxc1Ks,5004
131
132
  pluggy_sdk/models/investments_list200_response.py,sha256=JqUTarakPV6yzY162pLugeFudbwj6pHeCJYGdKVz8Js,3458
132
133
  pluggy_sdk/models/issued_boleto.py,sha256=sOZz3Te2NAyB_tt_VQpw8nq2ntLwH_9T6-3vB21booA,4832
133
- pluggy_sdk/models/issued_boleto_payer.py,sha256=WTNrW5i9YP-_NkiWwmIpK02CGClzv8GSaSb5Xt9iulI,4629
134
+ pluggy_sdk/models/issued_boleto_payer.py,sha256=rbeI6pMo1lHqsHr3DnTza0eJJYh2qdLa9Ki7J6lcJAk,5424
134
135
  pluggy_sdk/models/item.py,sha256=z__AH74riALcam8VE0U_GPCZPH7JrQydR1QeEHvlQRg,7295
135
136
  pluggy_sdk/models/item_creation_error_response.py,sha256=_zdN0Go6iU2deVKxRrexeYlDxWxYfWhjyrxisyQbjUI,3607
136
137
  pluggy_sdk/models/item_error.py,sha256=2wbKBj82sw3NPhNqxCCnw-c15-QuFhy5Ywe29h2HicQ,3155
@@ -218,14 +219,14 @@ pluggy_sdk/models/status_detail_product_warning.py,sha256=LFYFdkpQxvS5W2Kj3cxGGv
218
219
  pluggy_sdk/models/transaction.py,sha256=Aokv7FMDJ0ubyX51FKeTMzEVMbLS0MmgQkTfv6yGaPY,6671
219
220
  pluggy_sdk/models/update_item.py,sha256=3YeJaipa-omyCB3Ux0Mig5fnt_7UrXyiI6yrtZt6wCA,4134
220
221
  pluggy_sdk/models/update_item_parameters.py,sha256=yeIMinw_yVyCr9OxyZcxEe-17zCNNoKK8MkysO7yDcc,5324
221
- pluggy_sdk/models/update_payment_recipient.py,sha256=CvKd2orRdEYgroSy42bkzxqiJ_JjELQhnxwf7R7bx3Y,4187
222
+ pluggy_sdk/models/update_payment_recipient.py,sha256=eVnwQqnLsZVqx58FrWriIiVynNnLbHzwizdm2yLZbAE,3976
222
223
  pluggy_sdk/models/update_payment_request.py,sha256=T69l1LZAOn2Zbc7Vlaat5eiB-iuv2G_VMYuqOQBNR78,3936
223
224
  pluggy_sdk/models/update_transaction.py,sha256=979zai0z2scYygWA7STBzZBjnWg6zoQFjNpgso7fIqM,2590
224
225
  pluggy_sdk/models/webhook.py,sha256=2KV31zqFfHMzYzdrfVW7Sam6BsKigdQnPOKjsRiFYqI,3827
225
226
  pluggy_sdk/models/webhook_creation_error_response.py,sha256=SMvNMvJANk1NTn9BEugfwRtnEsJuoMsFo8tVvci3ayw,2681
226
227
  pluggy_sdk/models/webhooks_list200_response.py,sha256=_C8cwBIpZZrODNt-BS_pwAyBjZPxls6ffsy8vqYA6RU,3384
227
228
  pluggy_sdk/models/weekly.py,sha256=rEjJdwn52bBC5sNRUoWsMQ2uoaX7tDz68R5OOgBF1uw,4096
228
- pluggy_sdk-1.0.0.post37.dist-info/METADATA,sha256=7ArVqDIqL2ryp3pSHcyX_Vw50QdtHwMmD7iUv_hkHI4,24283
229
- pluggy_sdk-1.0.0.post37.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
230
- pluggy_sdk-1.0.0.post37.dist-info/top_level.txt,sha256=4RLkSSAcNiYLnk0_CN2vRQoezuSTIa7VPuNnaVutZP0,11
231
- pluggy_sdk-1.0.0.post37.dist-info/RECORD,,
229
+ pluggy_sdk-1.0.0.post38.dist-info/METADATA,sha256=B5NUMSRf9EnJiNLq8FadwYgedmMAHPIojSdasAH-isA,24684
230
+ pluggy_sdk-1.0.0.post38.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
231
+ pluggy_sdk-1.0.0.post38.dist-info/top_level.txt,sha256=4RLkSSAcNiYLnk0_CN2vRQoezuSTIa7VPuNnaVutZP0,11
232
+ pluggy_sdk-1.0.0.post38.dist-info/RECORD,,