pluggy-sdk 1.0.0.post9__py3-none-any.whl → 1.0.0.post11__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.post9"
18
+ __version__ = "1.0.0.post11"
19
19
 
20
20
  # import apis into sdk package
21
21
  from pluggy_sdk.api.account_api import AccountApi
@@ -105,6 +105,7 @@ from pluggy_sdk.models.create_payment_recipient import CreatePaymentRecipient
105
105
  from pluggy_sdk.models.create_payment_request import CreatePaymentRequest
106
106
  from pluggy_sdk.models.create_pix_qr_payment_request import CreatePixQrPaymentRequest
107
107
  from pluggy_sdk.models.create_smart_account_request import CreateSmartAccountRequest
108
+ from pluggy_sdk.models.create_smart_account_transfer_request import CreateSmartAccountTransferRequest
108
109
  from pluggy_sdk.models.create_webhook import CreateWebhook
109
110
  from pluggy_sdk.models.credential_select_option import CredentialSelectOption
110
111
  from pluggy_sdk.models.credit_card_metadata import CreditCardMetadata
@@ -177,6 +178,7 @@ from pluggy_sdk.models.pix_data import PixData
177
178
  from pluggy_sdk.models.smart_account import SmartAccount
178
179
  from pluggy_sdk.models.smart_account_address import SmartAccountAddress
179
180
  from pluggy_sdk.models.smart_account_balance import SmartAccountBalance
181
+ from pluggy_sdk.models.smart_account_transfer import SmartAccountTransfer
180
182
  from pluggy_sdk.models.smart_accounts_list200_response import SmartAccountsList200Response
181
183
  from pluggy_sdk.models.status_detail import StatusDetail
182
184
  from pluggy_sdk.models.status_detail_product import StatusDetailProduct
@@ -21,8 +21,10 @@ 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_smart_account_request import CreateSmartAccountRequest
24
+ from pluggy_sdk.models.create_smart_account_transfer_request import CreateSmartAccountTransferRequest
24
25
  from pluggy_sdk.models.smart_account import SmartAccount
25
26
  from pluggy_sdk.models.smart_account_balance import SmartAccountBalance
27
+ from pluggy_sdk.models.smart_account_transfer import SmartAccountTransfer
26
28
  from pluggy_sdk.models.smart_accounts_list200_response import SmartAccountsList200Response
27
29
 
28
30
  from pluggy_sdk.api_client import ApiClient, RequestSerialized
@@ -839,6 +841,574 @@ class SmartAccountApi:
839
841
 
840
842
 
841
843
 
844
+ @validate_call
845
+ def smart_account_transfer(
846
+ self,
847
+ id: Annotated[StrictStr, Field(description="Smart account primary identifier")],
848
+ transfer_id: Annotated[StrictStr, Field(description="Transfer primary identifier")],
849
+ _request_timeout: Union[
850
+ None,
851
+ Annotated[StrictFloat, Field(gt=0)],
852
+ Tuple[
853
+ Annotated[StrictFloat, Field(gt=0)],
854
+ Annotated[StrictFloat, Field(gt=0)]
855
+ ]
856
+ ] = None,
857
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
858
+ _content_type: Optional[StrictStr] = None,
859
+ _headers: Optional[Dict[StrictStr, Any]] = None,
860
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
861
+ ) -> SmartAccountTransfer:
862
+ """Retrieve Transfer
863
+
864
+ Get a transfer from the smart account
865
+
866
+ :param id: Smart account primary identifier (required)
867
+ :type id: str
868
+ :param transfer_id: Transfer primary identifier (required)
869
+ :type transfer_id: str
870
+ :param _request_timeout: timeout setting for this request. If one
871
+ number provided, it will be total request
872
+ timeout. It can also be a pair (tuple) of
873
+ (connection, read) timeouts.
874
+ :type _request_timeout: int, tuple(int, int), optional
875
+ :param _request_auth: set to override the auth_settings for an a single
876
+ request; this effectively ignores the
877
+ authentication in the spec for a single request.
878
+ :type _request_auth: dict, optional
879
+ :param _content_type: force content-type for the request.
880
+ :type _content_type: str, Optional
881
+ :param _headers: set to override the headers for a single
882
+ request; this effectively ignores the headers
883
+ in the spec for a single request.
884
+ :type _headers: dict, optional
885
+ :param _host_index: set to override the host_index for a single
886
+ request; this effectively ignores the host_index
887
+ in the spec for a single request.
888
+ :type _host_index: int, optional
889
+ :return: Returns the result object.
890
+ """ # noqa: E501
891
+
892
+ _param = self._smart_account_transfer_serialize(
893
+ id=id,
894
+ transfer_id=transfer_id,
895
+ _request_auth=_request_auth,
896
+ _content_type=_content_type,
897
+ _headers=_headers,
898
+ _host_index=_host_index
899
+ )
900
+
901
+ _response_types_map: Dict[str, Optional[str]] = {
902
+ '200': "SmartAccountTransfer",
903
+ '404': "GlobalErrorResponse",
904
+ '400': "GlobalErrorResponse",
905
+ }
906
+ response_data = self.api_client.call_api(
907
+ *_param,
908
+ _request_timeout=_request_timeout
909
+ )
910
+ response_data.read()
911
+ return self.api_client.response_deserialize(
912
+ response_data=response_data,
913
+ response_types_map=_response_types_map,
914
+ ).data
915
+
916
+
917
+ @validate_call
918
+ def smart_account_transfer_with_http_info(
919
+ self,
920
+ id: Annotated[StrictStr, Field(description="Smart account primary identifier")],
921
+ transfer_id: Annotated[StrictStr, Field(description="Transfer primary identifier")],
922
+ _request_timeout: Union[
923
+ None,
924
+ Annotated[StrictFloat, Field(gt=0)],
925
+ Tuple[
926
+ Annotated[StrictFloat, Field(gt=0)],
927
+ Annotated[StrictFloat, Field(gt=0)]
928
+ ]
929
+ ] = None,
930
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
931
+ _content_type: Optional[StrictStr] = None,
932
+ _headers: Optional[Dict[StrictStr, Any]] = None,
933
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
934
+ ) -> ApiResponse[SmartAccountTransfer]:
935
+ """Retrieve Transfer
936
+
937
+ Get a transfer from the smart account
938
+
939
+ :param id: Smart account primary identifier (required)
940
+ :type id: str
941
+ :param transfer_id: Transfer primary identifier (required)
942
+ :type transfer_id: str
943
+ :param _request_timeout: timeout setting for this request. If one
944
+ number provided, it will be total request
945
+ timeout. It can also be a pair (tuple) of
946
+ (connection, read) timeouts.
947
+ :type _request_timeout: int, tuple(int, int), optional
948
+ :param _request_auth: set to override the auth_settings for an a single
949
+ request; this effectively ignores the
950
+ authentication in the spec for a single request.
951
+ :type _request_auth: dict, optional
952
+ :param _content_type: force content-type for the request.
953
+ :type _content_type: str, Optional
954
+ :param _headers: set to override the headers for a single
955
+ request; this effectively ignores the headers
956
+ in the spec for a single request.
957
+ :type _headers: dict, optional
958
+ :param _host_index: set to override the host_index for a single
959
+ request; this effectively ignores the host_index
960
+ in the spec for a single request.
961
+ :type _host_index: int, optional
962
+ :return: Returns the result object.
963
+ """ # noqa: E501
964
+
965
+ _param = self._smart_account_transfer_serialize(
966
+ id=id,
967
+ transfer_id=transfer_id,
968
+ _request_auth=_request_auth,
969
+ _content_type=_content_type,
970
+ _headers=_headers,
971
+ _host_index=_host_index
972
+ )
973
+
974
+ _response_types_map: Dict[str, Optional[str]] = {
975
+ '200': "SmartAccountTransfer",
976
+ '404': "GlobalErrorResponse",
977
+ '400': "GlobalErrorResponse",
978
+ }
979
+ response_data = self.api_client.call_api(
980
+ *_param,
981
+ _request_timeout=_request_timeout
982
+ )
983
+ response_data.read()
984
+ return self.api_client.response_deserialize(
985
+ response_data=response_data,
986
+ response_types_map=_response_types_map,
987
+ )
988
+
989
+
990
+ @validate_call
991
+ def smart_account_transfer_without_preload_content(
992
+ self,
993
+ id: Annotated[StrictStr, Field(description="Smart account primary identifier")],
994
+ transfer_id: Annotated[StrictStr, Field(description="Transfer primary identifier")],
995
+ _request_timeout: Union[
996
+ None,
997
+ Annotated[StrictFloat, Field(gt=0)],
998
+ Tuple[
999
+ Annotated[StrictFloat, Field(gt=0)],
1000
+ Annotated[StrictFloat, Field(gt=0)]
1001
+ ]
1002
+ ] = None,
1003
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1004
+ _content_type: Optional[StrictStr] = None,
1005
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1006
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1007
+ ) -> RESTResponseType:
1008
+ """Retrieve Transfer
1009
+
1010
+ Get a transfer from the smart account
1011
+
1012
+ :param id: Smart account primary identifier (required)
1013
+ :type id: str
1014
+ :param transfer_id: Transfer primary identifier (required)
1015
+ :type transfer_id: str
1016
+ :param _request_timeout: timeout setting for this request. If one
1017
+ number provided, it will be total request
1018
+ timeout. It can also be a pair (tuple) of
1019
+ (connection, read) timeouts.
1020
+ :type _request_timeout: int, tuple(int, int), optional
1021
+ :param _request_auth: set to override the auth_settings for an a single
1022
+ request; this effectively ignores the
1023
+ authentication in the spec for a single request.
1024
+ :type _request_auth: dict, optional
1025
+ :param _content_type: force content-type for the request.
1026
+ :type _content_type: str, Optional
1027
+ :param _headers: set to override the headers for a single
1028
+ request; this effectively ignores the headers
1029
+ in the spec for a single request.
1030
+ :type _headers: dict, optional
1031
+ :param _host_index: set to override the host_index for a single
1032
+ request; this effectively ignores the host_index
1033
+ in the spec for a single request.
1034
+ :type _host_index: int, optional
1035
+ :return: Returns the result object.
1036
+ """ # noqa: E501
1037
+
1038
+ _param = self._smart_account_transfer_serialize(
1039
+ id=id,
1040
+ transfer_id=transfer_id,
1041
+ _request_auth=_request_auth,
1042
+ _content_type=_content_type,
1043
+ _headers=_headers,
1044
+ _host_index=_host_index
1045
+ )
1046
+
1047
+ _response_types_map: Dict[str, Optional[str]] = {
1048
+ '200': "SmartAccountTransfer",
1049
+ '404': "GlobalErrorResponse",
1050
+ '400': "GlobalErrorResponse",
1051
+ }
1052
+ response_data = self.api_client.call_api(
1053
+ *_param,
1054
+ _request_timeout=_request_timeout
1055
+ )
1056
+ return response_data.response
1057
+
1058
+
1059
+ def _smart_account_transfer_serialize(
1060
+ self,
1061
+ id,
1062
+ transfer_id,
1063
+ _request_auth,
1064
+ _content_type,
1065
+ _headers,
1066
+ _host_index,
1067
+ ) -> RequestSerialized:
1068
+
1069
+ _host = None
1070
+
1071
+ _collection_formats: Dict[str, str] = {
1072
+ }
1073
+
1074
+ _path_params: Dict[str, str] = {}
1075
+ _query_params: List[Tuple[str, str]] = []
1076
+ _header_params: Dict[str, Optional[str]] = _headers or {}
1077
+ _form_params: List[Tuple[str, str]] = []
1078
+ _files: Dict[str, Union[str, bytes]] = {}
1079
+ _body_params: Optional[bytes] = None
1080
+
1081
+ # process the path parameters
1082
+ if id is not None:
1083
+ _path_params['id'] = id
1084
+ if transfer_id is not None:
1085
+ _path_params['transfer_id'] = transfer_id
1086
+ # process the query parameters
1087
+ # process the header parameters
1088
+ # process the form parameters
1089
+ # process the body parameter
1090
+
1091
+
1092
+ # set the HTTP header `Accept`
1093
+ _header_params['Accept'] = self.api_client.select_header_accept(
1094
+ [
1095
+ 'application/json'
1096
+ ]
1097
+ )
1098
+
1099
+
1100
+ # authentication setting
1101
+ _auth_settings: List[str] = [
1102
+ 'default'
1103
+ ]
1104
+
1105
+ return self.api_client.param_serialize(
1106
+ method='GET',
1107
+ resource_path='/payments/smart-accounts/{id}/transfers/{transfer_id}',
1108
+ path_params=_path_params,
1109
+ query_params=_query_params,
1110
+ header_params=_header_params,
1111
+ body=_body_params,
1112
+ post_params=_form_params,
1113
+ files=_files,
1114
+ auth_settings=_auth_settings,
1115
+ collection_formats=_collection_formats,
1116
+ _host=_host,
1117
+ _request_auth=_request_auth
1118
+ )
1119
+
1120
+
1121
+
1122
+
1123
+ @validate_call
1124
+ def smart_account_transfer_create(
1125
+ self,
1126
+ id: Annotated[StrictStr, Field(description="Smart account primary identifier")],
1127
+ create_smart_account_transfer_request: CreateSmartAccountTransferRequest,
1128
+ _request_timeout: Union[
1129
+ None,
1130
+ Annotated[StrictFloat, Field(gt=0)],
1131
+ Tuple[
1132
+ Annotated[StrictFloat, Field(gt=0)],
1133
+ Annotated[StrictFloat, Field(gt=0)]
1134
+ ]
1135
+ ] = None,
1136
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1137
+ _content_type: Optional[StrictStr] = None,
1138
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1139
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1140
+ ) -> SmartAccountTransfer:
1141
+ """Create Transfer
1142
+
1143
+ Creates the smart account transfer resource
1144
+
1145
+ :param id: Smart account primary identifier (required)
1146
+ :type id: str
1147
+ :param create_smart_account_transfer_request: (required)
1148
+ :type create_smart_account_transfer_request: CreateSmartAccountTransferRequest
1149
+ :param _request_timeout: timeout setting for this request. If one
1150
+ number provided, it will be total request
1151
+ timeout. It can also be a pair (tuple) of
1152
+ (connection, read) timeouts.
1153
+ :type _request_timeout: int, tuple(int, int), optional
1154
+ :param _request_auth: set to override the auth_settings for an a single
1155
+ request; this effectively ignores the
1156
+ authentication in the spec for a single request.
1157
+ :type _request_auth: dict, optional
1158
+ :param _content_type: force content-type for the request.
1159
+ :type _content_type: str, Optional
1160
+ :param _headers: set to override the headers for a single
1161
+ request; this effectively ignores the headers
1162
+ in the spec for a single request.
1163
+ :type _headers: dict, optional
1164
+ :param _host_index: set to override the host_index for a single
1165
+ request; this effectively ignores the host_index
1166
+ in the spec for a single request.
1167
+ :type _host_index: int, optional
1168
+ :return: Returns the result object.
1169
+ """ # noqa: E501
1170
+
1171
+ _param = self._smart_account_transfer_create_serialize(
1172
+ id=id,
1173
+ create_smart_account_transfer_request=create_smart_account_transfer_request,
1174
+ _request_auth=_request_auth,
1175
+ _content_type=_content_type,
1176
+ _headers=_headers,
1177
+ _host_index=_host_index
1178
+ )
1179
+
1180
+ _response_types_map: Dict[str, Optional[str]] = {
1181
+ '200': "SmartAccountTransfer",
1182
+ '400': "GlobalErrorResponse",
1183
+ }
1184
+ response_data = self.api_client.call_api(
1185
+ *_param,
1186
+ _request_timeout=_request_timeout
1187
+ )
1188
+ response_data.read()
1189
+ return self.api_client.response_deserialize(
1190
+ response_data=response_data,
1191
+ response_types_map=_response_types_map,
1192
+ ).data
1193
+
1194
+
1195
+ @validate_call
1196
+ def smart_account_transfer_create_with_http_info(
1197
+ self,
1198
+ id: Annotated[StrictStr, Field(description="Smart account primary identifier")],
1199
+ create_smart_account_transfer_request: CreateSmartAccountTransferRequest,
1200
+ _request_timeout: Union[
1201
+ None,
1202
+ Annotated[StrictFloat, Field(gt=0)],
1203
+ Tuple[
1204
+ Annotated[StrictFloat, Field(gt=0)],
1205
+ Annotated[StrictFloat, Field(gt=0)]
1206
+ ]
1207
+ ] = None,
1208
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1209
+ _content_type: Optional[StrictStr] = None,
1210
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1211
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1212
+ ) -> ApiResponse[SmartAccountTransfer]:
1213
+ """Create Transfer
1214
+
1215
+ Creates the smart account transfer resource
1216
+
1217
+ :param id: Smart account primary identifier (required)
1218
+ :type id: str
1219
+ :param create_smart_account_transfer_request: (required)
1220
+ :type create_smart_account_transfer_request: CreateSmartAccountTransferRequest
1221
+ :param _request_timeout: timeout setting for this request. If one
1222
+ number provided, it will be total request
1223
+ timeout. It can also be a pair (tuple) of
1224
+ (connection, read) timeouts.
1225
+ :type _request_timeout: int, tuple(int, int), optional
1226
+ :param _request_auth: set to override the auth_settings for an a single
1227
+ request; this effectively ignores the
1228
+ authentication in the spec for a single request.
1229
+ :type _request_auth: dict, optional
1230
+ :param _content_type: force content-type for the request.
1231
+ :type _content_type: str, Optional
1232
+ :param _headers: set to override the headers for a single
1233
+ request; this effectively ignores the headers
1234
+ in the spec for a single request.
1235
+ :type _headers: dict, optional
1236
+ :param _host_index: set to override the host_index for a single
1237
+ request; this effectively ignores the host_index
1238
+ in the spec for a single request.
1239
+ :type _host_index: int, optional
1240
+ :return: Returns the result object.
1241
+ """ # noqa: E501
1242
+
1243
+ _param = self._smart_account_transfer_create_serialize(
1244
+ id=id,
1245
+ create_smart_account_transfer_request=create_smart_account_transfer_request,
1246
+ _request_auth=_request_auth,
1247
+ _content_type=_content_type,
1248
+ _headers=_headers,
1249
+ _host_index=_host_index
1250
+ )
1251
+
1252
+ _response_types_map: Dict[str, Optional[str]] = {
1253
+ '200': "SmartAccountTransfer",
1254
+ '400': "GlobalErrorResponse",
1255
+ }
1256
+ response_data = self.api_client.call_api(
1257
+ *_param,
1258
+ _request_timeout=_request_timeout
1259
+ )
1260
+ response_data.read()
1261
+ return self.api_client.response_deserialize(
1262
+ response_data=response_data,
1263
+ response_types_map=_response_types_map,
1264
+ )
1265
+
1266
+
1267
+ @validate_call
1268
+ def smart_account_transfer_create_without_preload_content(
1269
+ self,
1270
+ id: Annotated[StrictStr, Field(description="Smart account primary identifier")],
1271
+ create_smart_account_transfer_request: CreateSmartAccountTransferRequest,
1272
+ _request_timeout: Union[
1273
+ None,
1274
+ Annotated[StrictFloat, Field(gt=0)],
1275
+ Tuple[
1276
+ Annotated[StrictFloat, Field(gt=0)],
1277
+ Annotated[StrictFloat, Field(gt=0)]
1278
+ ]
1279
+ ] = None,
1280
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1281
+ _content_type: Optional[StrictStr] = None,
1282
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1283
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1284
+ ) -> RESTResponseType:
1285
+ """Create Transfer
1286
+
1287
+ Creates the smart account transfer resource
1288
+
1289
+ :param id: Smart account primary identifier (required)
1290
+ :type id: str
1291
+ :param create_smart_account_transfer_request: (required)
1292
+ :type create_smart_account_transfer_request: CreateSmartAccountTransferRequest
1293
+ :param _request_timeout: timeout setting for this request. If one
1294
+ number provided, it will be total request
1295
+ timeout. It can also be a pair (tuple) of
1296
+ (connection, read) timeouts.
1297
+ :type _request_timeout: int, tuple(int, int), optional
1298
+ :param _request_auth: set to override the auth_settings for an a single
1299
+ request; this effectively ignores the
1300
+ authentication in the spec for a single request.
1301
+ :type _request_auth: dict, optional
1302
+ :param _content_type: force content-type for the request.
1303
+ :type _content_type: str, Optional
1304
+ :param _headers: set to override the headers for a single
1305
+ request; this effectively ignores the headers
1306
+ in the spec for a single request.
1307
+ :type _headers: dict, optional
1308
+ :param _host_index: set to override the host_index for a single
1309
+ request; this effectively ignores the host_index
1310
+ in the spec for a single request.
1311
+ :type _host_index: int, optional
1312
+ :return: Returns the result object.
1313
+ """ # noqa: E501
1314
+
1315
+ _param = self._smart_account_transfer_create_serialize(
1316
+ id=id,
1317
+ create_smart_account_transfer_request=create_smart_account_transfer_request,
1318
+ _request_auth=_request_auth,
1319
+ _content_type=_content_type,
1320
+ _headers=_headers,
1321
+ _host_index=_host_index
1322
+ )
1323
+
1324
+ _response_types_map: Dict[str, Optional[str]] = {
1325
+ '200': "SmartAccountTransfer",
1326
+ '400': "GlobalErrorResponse",
1327
+ }
1328
+ response_data = self.api_client.call_api(
1329
+ *_param,
1330
+ _request_timeout=_request_timeout
1331
+ )
1332
+ return response_data.response
1333
+
1334
+
1335
+ def _smart_account_transfer_create_serialize(
1336
+ self,
1337
+ id,
1338
+ create_smart_account_transfer_request,
1339
+ _request_auth,
1340
+ _content_type,
1341
+ _headers,
1342
+ _host_index,
1343
+ ) -> RequestSerialized:
1344
+
1345
+ _host = None
1346
+
1347
+ _collection_formats: Dict[str, str] = {
1348
+ }
1349
+
1350
+ _path_params: Dict[str, str] = {}
1351
+ _query_params: List[Tuple[str, str]] = []
1352
+ _header_params: Dict[str, Optional[str]] = _headers or {}
1353
+ _form_params: List[Tuple[str, str]] = []
1354
+ _files: Dict[str, Union[str, bytes]] = {}
1355
+ _body_params: Optional[bytes] = None
1356
+
1357
+ # process the path parameters
1358
+ if id is not None:
1359
+ _path_params['id'] = id
1360
+ # process the query parameters
1361
+ # process the header parameters
1362
+ # process the form parameters
1363
+ # process the body parameter
1364
+ if create_smart_account_transfer_request is not None:
1365
+ _body_params = create_smart_account_transfer_request
1366
+
1367
+
1368
+ # set the HTTP header `Accept`
1369
+ _header_params['Accept'] = self.api_client.select_header_accept(
1370
+ [
1371
+ 'application/json'
1372
+ ]
1373
+ )
1374
+
1375
+ # set the HTTP header `Content-Type`
1376
+ if _content_type:
1377
+ _header_params['Content-Type'] = _content_type
1378
+ else:
1379
+ _default_content_type = (
1380
+ self.api_client.select_header_content_type(
1381
+ [
1382
+ 'application/json'
1383
+ ]
1384
+ )
1385
+ )
1386
+ if _default_content_type is not None:
1387
+ _header_params['Content-Type'] = _default_content_type
1388
+
1389
+ # authentication setting
1390
+ _auth_settings: List[str] = [
1391
+ 'default'
1392
+ ]
1393
+
1394
+ return self.api_client.param_serialize(
1395
+ method='POST',
1396
+ resource_path='/payments/smart-accounts/{id}/transfers',
1397
+ path_params=_path_params,
1398
+ query_params=_query_params,
1399
+ header_params=_header_params,
1400
+ body=_body_params,
1401
+ post_params=_form_params,
1402
+ files=_files,
1403
+ auth_settings=_auth_settings,
1404
+ collection_formats=_collection_formats,
1405
+ _host=_host,
1406
+ _request_auth=_request_auth
1407
+ )
1408
+
1409
+
1410
+
1411
+
842
1412
  @validate_call
843
1413
  def smart_accounts_list(
844
1414
  self,
pluggy_sdk/api_client.py CHANGED
@@ -89,7 +89,7 @@ class ApiClient:
89
89
  self.default_headers[header_name] = header_value
90
90
  self.cookie = cookie
91
91
  # Set default User-Agent.
92
- self.user_agent = 'OpenAPI-Generator/1.0.0.post9/python'
92
+ self.user_agent = 'OpenAPI-Generator/1.0.0.post11/python'
93
93
  self.client_side_validation = configuration.client_side_validation
94
94
 
95
95
  def __enter__(self):
@@ -315,10 +315,7 @@ class ApiClient:
315
315
  match = re.search(r"charset=([a-zA-Z\-\d]+)[\s;]?", content_type)
316
316
  encoding = match.group(1) if match else "utf-8"
317
317
  response_text = response_data.data.decode(encoding)
318
- if response_type in ["bytearray", "str"]:
319
- return_data = self.__deserialize_primitive(response_text, response_type)
320
- else:
321
- return_data = self.deserialize(response_text, response_type)
318
+ return_data = self.deserialize(response_text, response_type, content_type)
322
319
  finally:
323
320
  if not 200 <= response_data.status <= 299:
324
321
  raise ApiException.from_response(
@@ -386,21 +383,35 @@ class ApiClient:
386
383
  for key, val in obj_dict.items()
387
384
  }
388
385
 
389
- def deserialize(self, response_text, response_type):
386
+ def deserialize(self, response_text: str, response_type: str, content_type: Optional[str]):
390
387
  """Deserializes response into an object.
391
388
 
392
389
  :param response: RESTResponse object to be deserialized.
393
390
  :param response_type: class literal for
394
391
  deserialized object, or string of class name.
392
+ :param content_type: content type of response.
395
393
 
396
394
  :return: deserialized object.
397
395
  """
398
396
 
399
397
  # fetch data from response object
400
- try:
401
- data = json.loads(response_text)
402
- except ValueError:
398
+ if content_type is None:
399
+ try:
400
+ data = json.loads(response_text)
401
+ except ValueError:
402
+ data = response_text
403
+ elif content_type.startswith("application/json"):
404
+ if response_text == "":
405
+ data = ""
406
+ else:
407
+ data = json.loads(response_text)
408
+ elif content_type.startswith("text/plain"):
403
409
  data = response_text
410
+ else:
411
+ raise ApiException(
412
+ status=0,
413
+ reason="Unsupported content type: {0}".format(content_type)
414
+ )
404
415
 
405
416
  return self.__deserialize(data, response_type)
406
417
 
@@ -400,7 +400,7 @@ conf = pluggy_sdk.Configuration(
400
400
  "OS: {env}\n"\
401
401
  "Python Version: {pyversion}\n"\
402
402
  "Version of the API: 1.0.0\n"\
403
- "SDK Package Version: 1.0.0.post9".\
403
+ "SDK Package Version: 1.0.0.post11".\
404
404
  format(env=sys.platform, pyversion=sys.version)
405
405
 
406
406
  def get_host_settings(self):
@@ -67,6 +67,7 @@ from pluggy_sdk.models.create_payment_recipient import CreatePaymentRecipient
67
67
  from pluggy_sdk.models.create_payment_request import CreatePaymentRequest
68
68
  from pluggy_sdk.models.create_pix_qr_payment_request import CreatePixQrPaymentRequest
69
69
  from pluggy_sdk.models.create_smart_account_request import CreateSmartAccountRequest
70
+ from pluggy_sdk.models.create_smart_account_transfer_request import CreateSmartAccountTransferRequest
70
71
  from pluggy_sdk.models.create_webhook import CreateWebhook
71
72
  from pluggy_sdk.models.credential_select_option import CredentialSelectOption
72
73
  from pluggy_sdk.models.credit_card_metadata import CreditCardMetadata
@@ -139,6 +140,7 @@ from pluggy_sdk.models.pix_data import PixData
139
140
  from pluggy_sdk.models.smart_account import SmartAccount
140
141
  from pluggy_sdk.models.smart_account_address import SmartAccountAddress
141
142
  from pluggy_sdk.models.smart_account_balance import SmartAccountBalance
143
+ from pluggy_sdk.models.smart_account_transfer import SmartAccountTransfer
142
144
  from pluggy_sdk.models.smart_accounts_list200_response import SmartAccountsList200Response
143
145
  from pluggy_sdk.models.status_detail import StatusDetail
144
146
  from pluggy_sdk.models.status_detail_product import StatusDetailProduct
@@ -29,10 +29,10 @@ class CreateBoletoPaymentRequest(BaseModel):
29
29
  Request with information to create a boleto payment request
30
30
  """ # noqa: E501
31
31
  description: Optional[StrictStr] = Field(default=None, description="Payment description")
32
- digitable_line: StrictStr = Field(description="Boleto digitable line", alias="digitableLine")
32
+ boleto_digitable_line: StrictStr = Field(description="Boleto digitable line", alias="boletoDigitableLine")
33
33
  callback_urls: Optional[PaymentRequestCallbackUrls] = Field(default=None, alias="callbackUrls")
34
34
  customer_id: Optional[StrictStr] = Field(default=None, description="Customer identifier associated to the payment", alias="customerId")
35
- __properties: ClassVar[List[str]] = ["description", "digitableLine", "callbackUrls", "customerId"]
35
+ __properties: ClassVar[List[str]] = ["description", "boletoDigitableLine", "callbackUrls", "customerId"]
36
36
 
37
37
  model_config = ConfigDict(
38
38
  populate_by_name=True,
@@ -89,7 +89,7 @@ class CreateBoletoPaymentRequest(BaseModel):
89
89
 
90
90
  _obj = cls.model_validate({
91
91
  "description": obj.get("description"),
92
- "digitableLine": obj.get("digitableLine"),
92
+ "boletoDigitableLine": obj.get("boletoDigitableLine"),
93
93
  "callbackUrls": PaymentRequestCallbackUrls.from_dict(obj["callbackUrls"]) if obj.get("callbackUrls") is not None else None,
94
94
  "customerId": obj.get("customerId")
95
95
  })
@@ -34,7 +34,8 @@ class CreatePaymentRecipient(BaseModel):
34
34
  account: Optional[PaymentRecipientAccount] = Field(default=None, description="Recipient's bank account destination. Send only if the pixKey is not sent.")
35
35
  is_default: Optional[StrictBool] = Field(default=None, description="Indicates if the recipient is the default one", alias="isDefault")
36
36
  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"]
37
+ 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"]
38
39
 
39
40
  model_config = ConfigDict(
40
41
  populate_by_name=True,
@@ -95,7 +96,8 @@ class CreatePaymentRecipient(BaseModel):
95
96
  "paymentInstitutionId": obj.get("paymentInstitutionId"),
96
97
  "account": PaymentRecipientAccount.from_dict(obj["account"]) if obj.get("account") is not None else None,
97
98
  "isDefault": obj.get("isDefault"),
98
- "pixKey": obj.get("pixKey")
99
+ "pixKey": obj.get("pixKey"),
100
+ "smartAccountId": obj.get("smartAccountId")
99
101
  })
100
102
  return _obj
101
103
 
@@ -0,0 +1,92 @@
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, StrictFloat, StrictInt, StrictStr
22
+ from typing import Any, ClassVar, Dict, List, Optional, Union
23
+ from typing import Optional, Set
24
+ from typing_extensions import Self
25
+
26
+ class CreateSmartAccountTransferRequest(BaseModel):
27
+ """
28
+ Request with information to create a smart account transfer
29
+ """ # noqa: E501
30
+ amount: Union[StrictFloat, StrictInt] = Field(description="Transfer amount")
31
+ recipient_id: StrictStr = Field(description="Primary identifier of the recipient associated to the transfer", alias="recipientId")
32
+ client_payment_id: Optional[StrictStr] = Field(default=None, description="Primary identifier of the client payment associated to the transfer", alias="clientPaymentId")
33
+ __properties: ClassVar[List[str]] = ["amount", "recipientId", "clientPaymentId"]
34
+
35
+ model_config = ConfigDict(
36
+ populate_by_name=True,
37
+ validate_assignment=True,
38
+ protected_namespaces=(),
39
+ )
40
+
41
+
42
+ def to_str(self) -> str:
43
+ """Returns the string representation of the model using alias"""
44
+ return pprint.pformat(self.model_dump(by_alias=True))
45
+
46
+ def to_json(self) -> str:
47
+ """Returns the JSON representation of the model using alias"""
48
+ # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
49
+ return json.dumps(self.to_dict())
50
+
51
+ @classmethod
52
+ def from_json(cls, json_str: str) -> Optional[Self]:
53
+ """Create an instance of CreateSmartAccountTransferRequest from a JSON string"""
54
+ return cls.from_dict(json.loads(json_str))
55
+
56
+ def to_dict(self) -> Dict[str, Any]:
57
+ """Return the dictionary representation of the model using alias.
58
+
59
+ This has the following differences from calling pydantic's
60
+ `self.model_dump(by_alias=True)`:
61
+
62
+ * `None` is only added to the output dict for nullable fields that
63
+ were set at model initialization. Other fields with value `None`
64
+ are ignored.
65
+ """
66
+ excluded_fields: Set[str] = set([
67
+ ])
68
+
69
+ _dict = self.model_dump(
70
+ by_alias=True,
71
+ exclude=excluded_fields,
72
+ exclude_none=True,
73
+ )
74
+ return _dict
75
+
76
+ @classmethod
77
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
78
+ """Create an instance of CreateSmartAccountTransferRequest from a dict"""
79
+ if obj is None:
80
+ return None
81
+
82
+ if not isinstance(obj, dict):
83
+ return cls.model_validate(obj)
84
+
85
+ _obj = cls.model_validate({
86
+ "amount": obj.get("amount"),
87
+ "recipientId": obj.get("recipientId"),
88
+ "clientPaymentId": obj.get("clientPaymentId")
89
+ })
90
+ return _obj
91
+
92
+
@@ -21,6 +21,7 @@ import json
21
21
  from datetime import datetime
22
22
  from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr
23
23
  from typing import Any, ClassVar, Dict, List, Optional, Union
24
+ from pluggy_sdk.models.boleto import Boleto
24
25
  from pluggy_sdk.models.payment_receipt_person import PaymentReceiptPerson
25
26
  from typing import Optional, Set
26
27
  from typing_extensions import Self
@@ -39,7 +40,8 @@ class PaymentReceipt(BaseModel):
39
40
  description: Optional[StrictStr] = Field(default=None, description="Payment description")
40
41
  reference_id: StrictStr = Field(description="Payment reference identifier", alias="referenceId")
41
42
  var_date: Optional[datetime] = Field(default=None, description="Date when the payment was made", alias="date")
42
- __properties: ClassVar[List[str]] = ["id", "paymentRequestId", "expiresAt", "receiptUrl", "creditor", "debtor", "amount", "description", "referenceId", "date"]
43
+ boleto: Optional[Boleto] = None
44
+ __properties: ClassVar[List[str]] = ["id", "paymentRequestId", "expiresAt", "receiptUrl", "creditor", "debtor", "amount", "description", "referenceId", "date", "boleto"]
43
45
 
44
46
  model_config = ConfigDict(
45
47
  populate_by_name=True,
@@ -86,6 +88,9 @@ class PaymentReceipt(BaseModel):
86
88
  # override the default output from pydantic by calling `to_dict()` of debtor
87
89
  if self.debtor:
88
90
  _dict['debtor'] = self.debtor.to_dict()
91
+ # override the default output from pydantic by calling `to_dict()` of boleto
92
+ if self.boleto:
93
+ _dict['boleto'] = self.boleto.to_dict()
89
94
  return _dict
90
95
 
91
96
  @classmethod
@@ -107,7 +112,8 @@ class PaymentReceipt(BaseModel):
107
112
  "amount": obj.get("amount"),
108
113
  "description": obj.get("description"),
109
114
  "referenceId": obj.get("referenceId"),
110
- "date": obj.get("date")
115
+ "date": obj.get("date"),
116
+ "boleto": Boleto.from_dict(obj["boleto"]) if obj.get("boleto") is not None else None
111
117
  })
112
118
  return _obj
113
119
 
@@ -36,7 +36,8 @@ class PaymentRecipient(BaseModel):
36
36
  is_default: StrictBool = Field(description="Indicates if the recipient is the default one", alias="isDefault")
37
37
  account: PaymentRecipientAccount
38
38
  pix_key: Optional[StrictStr] = Field(default=None, description="Pix key associated with the payment recipient", alias="pixKey")
39
- __properties: ClassVar[List[str]] = ["id", "taxNumber", "name", "paymentInstitution", "isDefault", "account", "pixKey"]
39
+ smart_account_id: Optional[StrictStr] = Field(default=None, description="Smart account that will receive the money, if you are using a Smart Account to pay and it's the same one, the smart account will keep the money", alias="smartAccountId")
40
+ __properties: ClassVar[List[str]] = ["id", "taxNumber", "name", "paymentInstitution", "isDefault", "account", "pixKey", "smartAccountId"]
40
41
 
41
42
  model_config = ConfigDict(
42
43
  populate_by_name=True,
@@ -101,7 +102,8 @@ class PaymentRecipient(BaseModel):
101
102
  "paymentInstitution": PaymentInstitution.from_dict(obj["paymentInstitution"]) if obj.get("paymentInstitution") is not None else None,
102
103
  "isDefault": obj.get("isDefault"),
103
104
  "account": PaymentRecipientAccount.from_dict(obj["account"]) if obj.get("account") is not None else None,
104
- "pixKey": obj.get("pixKey")
105
+ "pixKey": obj.get("pixKey"),
106
+ "smartAccountId": obj.get("smartAccountId")
105
107
  })
106
108
  return _obj
107
109
 
@@ -0,0 +1,123 @@
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 datetime import datetime
22
+ from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr, field_validator
23
+ from typing import Any, ClassVar, Dict, List, Optional, Union
24
+ from pluggy_sdk.models.payment_recipient import PaymentRecipient
25
+ from pluggy_sdk.models.smart_account import SmartAccount
26
+ from typing import Optional, Set
27
+ from typing_extensions import Self
28
+
29
+ class SmartAccountTransfer(BaseModel):
30
+ """
31
+ Transfer made with money from a smart account
32
+ """ # noqa: E501
33
+ id: Optional[StrictStr] = Field(default=None, description="Primary identifier of the transfer")
34
+ client_id: Optional[StrictStr] = Field(default=None, description="Primary identifier of the client associated to the transfer", alias="clientId")
35
+ client_payment_id: Optional[StrictStr] = Field(default=None, description="Primary identifier of the client payment associated to the transfer", alias="clientPaymentId")
36
+ amount: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Transfer amount")
37
+ status: Optional[StrictStr] = Field(default=None, description="Transfer status")
38
+ created_at: Optional[datetime] = Field(default=None, description="Transfer creation date", alias="createdAt")
39
+ updated_at: Optional[datetime] = Field(default=None, description="Transfer last update date", alias="updatedAt")
40
+ smart_account: Optional[SmartAccount] = Field(default=None, alias="smartAccount")
41
+ payment_recipient: Optional[PaymentRecipient] = Field(default=None, alias="paymentRecipient")
42
+ __properties: ClassVar[List[str]] = ["id", "clientId", "clientPaymentId", "amount", "status", "createdAt", "updatedAt", "smartAccount", "paymentRecipient"]
43
+
44
+ @field_validator('status')
45
+ def status_validate_enum(cls, value):
46
+ """Validates the enum"""
47
+ if value is None:
48
+ return value
49
+
50
+ if value not in set(['IN_PROGRESS', 'COMPLETED', 'ERROR']):
51
+ raise ValueError("must be one of enum values ('IN_PROGRESS', 'COMPLETED', 'ERROR')")
52
+ return value
53
+
54
+ model_config = ConfigDict(
55
+ populate_by_name=True,
56
+ validate_assignment=True,
57
+ protected_namespaces=(),
58
+ )
59
+
60
+
61
+ def to_str(self) -> str:
62
+ """Returns the string representation of the model using alias"""
63
+ return pprint.pformat(self.model_dump(by_alias=True))
64
+
65
+ def to_json(self) -> str:
66
+ """Returns the JSON representation of the model using alias"""
67
+ # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
68
+ return json.dumps(self.to_dict())
69
+
70
+ @classmethod
71
+ def from_json(cls, json_str: str) -> Optional[Self]:
72
+ """Create an instance of SmartAccountTransfer from a JSON string"""
73
+ return cls.from_dict(json.loads(json_str))
74
+
75
+ def to_dict(self) -> Dict[str, Any]:
76
+ """Return the dictionary representation of the model using alias.
77
+
78
+ This has the following differences from calling pydantic's
79
+ `self.model_dump(by_alias=True)`:
80
+
81
+ * `None` is only added to the output dict for nullable fields that
82
+ were set at model initialization. Other fields with value `None`
83
+ are ignored.
84
+ """
85
+ excluded_fields: Set[str] = set([
86
+ ])
87
+
88
+ _dict = self.model_dump(
89
+ by_alias=True,
90
+ exclude=excluded_fields,
91
+ exclude_none=True,
92
+ )
93
+ # override the default output from pydantic by calling `to_dict()` of smart_account
94
+ if self.smart_account:
95
+ _dict['smartAccount'] = self.smart_account.to_dict()
96
+ # override the default output from pydantic by calling `to_dict()` of payment_recipient
97
+ if self.payment_recipient:
98
+ _dict['paymentRecipient'] = self.payment_recipient.to_dict()
99
+ return _dict
100
+
101
+ @classmethod
102
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
103
+ """Create an instance of SmartAccountTransfer from a dict"""
104
+ if obj is None:
105
+ return None
106
+
107
+ if not isinstance(obj, dict):
108
+ return cls.model_validate(obj)
109
+
110
+ _obj = cls.model_validate({
111
+ "id": obj.get("id"),
112
+ "clientId": obj.get("clientId"),
113
+ "clientPaymentId": obj.get("clientPaymentId"),
114
+ "amount": obj.get("amount"),
115
+ "status": obj.get("status"),
116
+ "createdAt": obj.get("createdAt"),
117
+ "updatedAt": obj.get("updatedAt"),
118
+ "smartAccount": SmartAccount.from_dict(obj["smartAccount"]) if obj.get("smartAccount") is not None else None,
119
+ "paymentRecipient": PaymentRecipient.from_dict(obj["paymentRecipient"]) if obj.get("paymentRecipient") is not None else None
120
+ })
121
+ return _obj
122
+
123
+
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pluggy-sdk
3
- Version: 1.0.0.post9
3
+ Version: 1.0.0.post11
4
4
  Summary: Pluggy API
5
5
  Home-page: https://github.com/diraol/pluggy-python
6
6
  Author: Pluggy
@@ -19,8 +19,8 @@ Pluggy's main API to review data and execute connectors
19
19
  This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
20
20
 
21
21
  - API version: 1.0.0
22
- - Package version: 1.0.0.post9
23
- - Generator version: 7.6.0-SNAPSHOT
22
+ - Package version: 1.0.0.post11
23
+ - Generator version: 7.7.0-SNAPSHOT
24
24
  - Build package: org.openapitools.codegen.languages.PythonClientCodegen
25
25
  For more information, please visit [https://pluggy.ai](https://pluggy.ai)
26
26
 
@@ -177,6 +177,8 @@ Class | Method | HTTP request | Description
177
177
  *SmartAccountApi* | [**smart_account_balance_retrieve**](docs/SmartAccountApi.md#smart_account_balance_retrieve) | **GET** /payments/smart-accounts/{id}/balance | Retrieve Balance
178
178
  *SmartAccountApi* | [**smart_account_create**](docs/SmartAccountApi.md#smart_account_create) | **POST** /payments/smart-accounts | Create
179
179
  *SmartAccountApi* | [**smart_account_retrieve**](docs/SmartAccountApi.md#smart_account_retrieve) | **GET** /payments/smart-accounts/{id} | Retrieve
180
+ *SmartAccountApi* | [**smart_account_transfer**](docs/SmartAccountApi.md#smart_account_transfer) | **GET** /payments/smart-accounts/{id}/transfers/{transfer_id} | Retrieve Transfer
181
+ *SmartAccountApi* | [**smart_account_transfer_create**](docs/SmartAccountApi.md#smart_account_transfer_create) | **POST** /payments/smart-accounts/{id}/transfers | Create Transfer
180
182
  *SmartAccountApi* | [**smart_accounts_list**](docs/SmartAccountApi.md#smart_accounts_list) | **GET** /payments/smart-accounts | List
181
183
  *TransactionApi* | [**transactions_list**](docs/TransactionApi.md#transactions_list) | **GET** /transactions | List
182
184
  *TransactionApi* | [**transactions_retrieve**](docs/TransactionApi.md#transactions_retrieve) | **GET** /transactions/{id} | Retrieve
@@ -242,6 +244,7 @@ Class | Method | HTTP request | Description
242
244
  - [CreatePaymentRequest](docs/CreatePaymentRequest.md)
243
245
  - [CreatePixQrPaymentRequest](docs/CreatePixQrPaymentRequest.md)
244
246
  - [CreateSmartAccountRequest](docs/CreateSmartAccountRequest.md)
247
+ - [CreateSmartAccountTransferRequest](docs/CreateSmartAccountTransferRequest.md)
245
248
  - [CreateWebhook](docs/CreateWebhook.md)
246
249
  - [CredentialSelectOption](docs/CredentialSelectOption.md)
247
250
  - [CreditCardMetadata](docs/CreditCardMetadata.md)
@@ -314,6 +317,7 @@ Class | Method | HTTP request | Description
314
317
  - [SmartAccount](docs/SmartAccount.md)
315
318
  - [SmartAccountAddress](docs/SmartAccountAddress.md)
316
319
  - [SmartAccountBalance](docs/SmartAccountBalance.md)
320
+ - [SmartAccountTransfer](docs/SmartAccountTransfer.md)
317
321
  - [SmartAccountsList200Response](docs/SmartAccountsList200Response.md)
318
322
  - [StatusDetail](docs/StatusDetail.md)
319
323
  - [StatusDetailProduct](docs/StatusDetailProduct.md)
@@ -1,7 +1,7 @@
1
- pluggy_sdk/__init__.py,sha256=XYWoov00LASQE8ZM334cATO1wsjQZLM8XlYUiEkcpH0,12049
2
- pluggy_sdk/api_client.py,sha256=wO1loAwJoghqtfHoicz6Kag_bIbUguWNPpZ257K1dq8,26305
1
+ pluggy_sdk/__init__.py,sha256=XgZKUllxv6KJFVKrsQv9jxRQHfcgi88appu3kpH6P5Y,12226
2
+ pluggy_sdk/api_client.py,sha256=daVO2-oM0UN18sZYrfv3LL--4qjmuXs-feOOTBqly-0,26720
3
3
  pluggy_sdk/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
4
- pluggy_sdk/configuration.py,sha256=UzLjTe6lF17EptkhOvILueYrJcPBR9Bb1zOcTbeZ-kY,15330
4
+ pluggy_sdk/configuration.py,sha256=qkeos298CpHi6myEPMCIQQanQf9XruK0aFI--g0OcVg,15331
5
5
  pluggy_sdk/exceptions.py,sha256=nnh92yDlGdY1-zRsb0vQLebe4oyhrO63RXCYBhbrhoU,5953
6
6
  pluggy_sdk/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
7
  pluggy_sdk/rest.py,sha256=bul9ovAN4BXJwh9yRpC8xb9pZva6xIKmUD72sIQa2yM,9385
@@ -25,10 +25,10 @@ pluggy_sdk/api/payment_intent_api.py,sha256=jcf5dDrmMjSz90cQ9H-u1NaIHW0aATLs6nQy
25
25
  pluggy_sdk/api/payment_recipient_api.py,sha256=icivhir7nkhkcnR-LLKsuJJGRydeGSEiDSeP-eX8LnU,77933
26
26
  pluggy_sdk/api/payment_request_api.py,sha256=VtIZ15EcTHyAL4TbIq_CvIT_kHRe2WTEuwJnGHqXQpc,105085
27
27
  pluggy_sdk/api/portfolio_yield_api.py,sha256=R_Cz-1G0s7qOUltG-VOXi8GSCNceM1j4lmu9V7zM0jM,22320
28
- pluggy_sdk/api/smart_account_api.py,sha256=CNu4T-0xcPwMckHzrFgYLVqWU9kFMB7FnJpDah4ryZk,43323
28
+ pluggy_sdk/api/smart_account_api.py,sha256=yDx88F6Lep1iepL4pN9o305Ko9mUOB20a-U0Rkz282U,66193
29
29
  pluggy_sdk/api/transaction_api.py,sha256=EOqLMWbyLTz93FlzhvHF68DcJ4BAgJ6_81K1mmy4Qr0,37553
30
30
  pluggy_sdk/api/webhook_api.py,sha256=IRqHT_F6VVrMxE3JkXeXidNQnjORmC89xZLTzgpwZNQ,55525
31
- pluggy_sdk/models/__init__.py,sha256=GKC0Nhd22GP0fBmxfdC-I9K1T-rPfAg9f3zQqiCPv5c,10264
31
+ pluggy_sdk/models/__init__.py,sha256=EfOzvrA6xI_APdDwaHQei4Mz_8EmPTJPTS9o15QSus4,10440
32
32
  pluggy_sdk/models/account.py,sha256=olFI5wpLnLLE7OO22B4zlNzSAf5TP8kGPVmYar_VUdg,5536
33
33
  pluggy_sdk/models/accounts_list200_response.py,sha256=P-3r6PIEv0uV5gkeOVD5pcQOu2M-c2wi2zkMLN9hxdI,3417
34
34
  pluggy_sdk/models/acquirer_anticipation.py,sha256=_z-lkqKpAML1Tr60J8MoGnc3sN0AOXYPJaTk_DVmYNg,4617
@@ -69,7 +69,7 @@ pluggy_sdk/models/connector_health.py,sha256=ZiWpsIT9dufUUL2EW1mc7XgR8wXGXV76zgv
69
69
  pluggy_sdk/models/connector_health_details.py,sha256=PhFQAkfS-R95jkKqvAGy_PQJ3NqzPyKPQmYTi5R1Cxo,3578
70
70
  pluggy_sdk/models/connector_list_response.py,sha256=PZp1tbF4gBZpSKjs2Tfb7Cq3FlCqUIOqlrn88Y-Ne8M,3362
71
71
  pluggy_sdk/models/connector_user_action.py,sha256=k1Y8DHn5zEVFRmTEVL7Z8J8js3i7G-aRf1zoCF-Vftw,3065
72
- pluggy_sdk/models/create_boleto_payment_request.py,sha256=E2s1JErSVK9gUbf7e2F-4MgtHBIr2qS7ft3vg4YESLk,3546
72
+ pluggy_sdk/models/create_boleto_payment_request.py,sha256=j7aLjY1Pllj67K0BifGj43CZCBpIqfjI8xAPD1QoQgo,3577
73
73
  pluggy_sdk/models/create_bulk_payment.py,sha256=g5S2C_vtgvuTY9om2RvOZSebTXosp5WrzwdS4IbQMMs,3438
74
74
  pluggy_sdk/models/create_client_category_rule.py,sha256=w9dcSd3sLAAbCLoL-FUXHd_0hkclcfFD5fHwMpuITAY,2899
75
75
  pluggy_sdk/models/create_item.py,sha256=6CAefEt0OufD63Lz_I-rE8NKcTGwawkng-OU2Nc3EXA,4344
@@ -77,10 +77,11 @@ pluggy_sdk/models/create_item_parameters.py,sha256=ZAT3HYQRIJMCTO6XRJtBFWLix2LrK
77
77
  pluggy_sdk/models/create_or_update_payment_customer.py,sha256=ZvN-Pa9LGAR33L5G4XFSbIUPP3RaUsOeD45K5oOKZ-U,3455
78
78
  pluggy_sdk/models/create_payment_customer_request_body.py,sha256=YvSSzXEW2yI7M9alWr4fHbPRqNvV4sxTUVp3FkMQSyU,3365
79
79
  pluggy_sdk/models/create_payment_intent.py,sha256=MCBRy8n1xXnajR3Q4gksZ07Qk_VvtrCPaldTvkBEfUw,4371
80
- pluggy_sdk/models/create_payment_recipient.py,sha256=gqsRNyirAW8fXBIAn6RYo9oY5NTjLlL9M69hJhGgUHw,4277
80
+ pluggy_sdk/models/create_payment_recipient.py,sha256=B4vmHZB0uhOBPl9GPcvkno02fpIHIKFTM3EQvMoBoS8,4554
81
81
  pluggy_sdk/models/create_payment_request.py,sha256=06Z_wx2Lb4SjgdRuj5n51MJUMC8kc6EStmqr0RcsEDE,4179
82
82
  pluggy_sdk/models/create_pix_qr_payment_request.py,sha256=gyRV61yUjf_K4WeihOoBSQySS2NODl2sl4STITpMuIA,3354
83
83
  pluggy_sdk/models/create_smart_account_request.py,sha256=ZxfVt_baOOkWDaVB9ndDnmVMx3zwkVnbSRL9iCMfMSQ,3612
84
+ pluggy_sdk/models/create_smart_account_transfer_request.py,sha256=cqYBbTfssI6jbZ4bxulvBsofin6d3k0qYcamSSIqzVE,3122
84
85
  pluggy_sdk/models/create_webhook.py,sha256=WmTF6jyUKisYewt2smFPoN6Di4zR5iZNX1_sjO4Lbfs,3632
85
86
  pluggy_sdk/models/credential_select_option.py,sha256=aniQKmQU7mGKMqJj78dGmS_ZxTw19mIaB6HX3CdyxOI,2676
86
87
  pluggy_sdk/models/credit_card_metadata.py,sha256=EpVcejr4hL5oJpvvqLRFUNBv5kcAR36FkQKbrONJ3XU,4102
@@ -136,10 +137,10 @@ pluggy_sdk/models/payment_institution.py,sha256=hpnfHLCvdsiwxznKYOtig1sfjYjnb6r0
136
137
  pluggy_sdk/models/payment_intent.py,sha256=wSEOFlU1bvqe-g4ir7XsRBfgjksbqIxWAS54vCgI2VM,6981
137
138
  pluggy_sdk/models/payment_intent_parameter.py,sha256=WNkeR3mCL9oLeriu5wopL5DAhcsnUsMb_EV8ZZJaXDA,2694
138
139
  pluggy_sdk/models/payment_intents_list200_response.py,sha256=jcMQcYmIdwGLhct3dkgvwbhqhb9-5Fe9dsnIZpPGM3c,3463
139
- pluggy_sdk/models/payment_receipt.py,sha256=IcxlGTA8knKwJ95AKMjYLXo_7UrdXAuHGOiiGhU6waw,4584
140
+ pluggy_sdk/models/payment_receipt.py,sha256=sVfVy75EBqzbrTzc2wFTStUIjIvDf8NbTHEOLfUNzRI,4933
140
141
  pluggy_sdk/models/payment_receipt_bank_account.py,sha256=eCDX7EPFmNErKl8x8LAZSGnlT8Ii7kHL4th6pVaU_9E,2881
141
142
  pluggy_sdk/models/payment_receipt_person.py,sha256=9eHiWC33eisDSZJgHW6ho_xD2ekaMuzq8AdvVEt5dUE,3246
142
- pluggy_sdk/models/payment_recipient.py,sha256=PKpjebsFXZBMQphfF0bragOYzn4ym2V504BWMDhgeF8,4212
143
+ pluggy_sdk/models/payment_recipient.py,sha256=XGpf7503LIg9YADhESE-VGjaFSVWVq0_Dlgb6MUoeDw,4534
143
144
  pluggy_sdk/models/payment_recipient_account.py,sha256=eSnsoBv382LhyjMu172GXsZsBb1M1Ig0iim1dmAPCX0,3177
144
145
  pluggy_sdk/models/payment_recipients_institution_list200_response.py,sha256=a-gty_usP5fMRajNCL7zIPBO1WqWa1zwIhJgCDXMTF0,3544
145
146
  pluggy_sdk/models/payment_recipients_list200_response.py,sha256=9r8qMLzGDumoGG0HWfmQbhNC4kGjzBLZPz_6-YNzb08,3490
@@ -153,6 +154,7 @@ pluggy_sdk/models/pix_data.py,sha256=zygIaWicGwI93-q181yHzPVxKBZ7wpuhN70b_KvPm0c
153
154
  pluggy_sdk/models/smart_account.py,sha256=JU7cckNNPuBwkkIEcWTjf516pYcorqkTxTh71C35zfM,3633
154
155
  pluggy_sdk/models/smart_account_address.py,sha256=iSFjlo01nqtRtfsD24h0gABxmUamPfHcW3hzCiCCM5s,4266
155
156
  pluggy_sdk/models/smart_account_balance.py,sha256=FhPmk52iCQfrhTItJl6XQdV7fFIkxQed3H1vrp8o5o8,3217
157
+ pluggy_sdk/models/smart_account_transfer.py,sha256=UaOK1DFUJXotRZTpF3fhdEtIVrOXka0ItWp7NtWBsC4,5111
156
158
  pluggy_sdk/models/smart_accounts_list200_response.py,sha256=f61dZzGY4XpBec5G1Y1qXU_j5WRDByxYmCtBWdrS1_I,3454
157
159
  pluggy_sdk/models/status_detail.py,sha256=k8td6igNro4YcAtwz86ouk1QZnhQPXDsn0NC86kLI5Y,6906
158
160
  pluggy_sdk/models/status_detail_product.py,sha256=kCUJkx5IFhVGTk9OrbKcj4a6AsthUlTDFaibWFwT-o8,3624
@@ -166,7 +168,7 @@ pluggy_sdk/models/update_transaction.py,sha256=979zai0z2scYygWA7STBzZBjnWg6zoQFj
166
168
  pluggy_sdk/models/webhook.py,sha256=2KV31zqFfHMzYzdrfVW7Sam6BsKigdQnPOKjsRiFYqI,3827
167
169
  pluggy_sdk/models/webhook_creation_error_response.py,sha256=SMvNMvJANk1NTn9BEugfwRtnEsJuoMsFo8tVvci3ayw,2681
168
170
  pluggy_sdk/models/webhooks_list200_response.py,sha256=DITv0Fg0S1Jl8k9sSdKKwhWmzp0TmMmrJjQqgo36yL0,3360
169
- pluggy_sdk-1.0.0.post9.dist-info/METADATA,sha256=H3uQk8g504f6kh6YwkYwIzVoiCxoxjKgSdnuWPYLJZI,21249
170
- pluggy_sdk-1.0.0.post9.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
171
- pluggy_sdk-1.0.0.post9.dist-info/top_level.txt,sha256=4RLkSSAcNiYLnk0_CN2vRQoezuSTIa7VPuNnaVutZP0,11
172
- pluggy_sdk-1.0.0.post9.dist-info/RECORD,,
171
+ pluggy_sdk-1.0.0.post11.dist-info/METADATA,sha256=9DdwIMwMBCOEar0bGm32yKxtqI9-Sulsa95ENdTtaoU,21750
172
+ pluggy_sdk-1.0.0.post11.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
173
+ pluggy_sdk-1.0.0.post11.dist-info/top_level.txt,sha256=4RLkSSAcNiYLnk0_CN2vRQoezuSTIa7VPuNnaVutZP0,11
174
+ pluggy_sdk-1.0.0.post11.dist-info/RECORD,,