pluggy-sdk 1.0.0.post9__py3-none-any.whl → 1.0.0.post10__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 +1 -1
- pluggy_sdk/api_client.py +1 -1
- pluggy_sdk/configuration.py +1 -1
- pluggy_sdk/models/create_payment_recipient.py +4 -2
- pluggy_sdk/models/payment_receipt.py +8 -2
- pluggy_sdk/models/payment_recipient.py +4 -2
- {pluggy_sdk-1.0.0.post9.dist-info → pluggy_sdk-1.0.0.post10.dist-info}/METADATA +3 -3
- {pluggy_sdk-1.0.0.post9.dist-info → pluggy_sdk-1.0.0.post10.dist-info}/RECORD +10 -10
- {pluggy_sdk-1.0.0.post9.dist-info → pluggy_sdk-1.0.0.post10.dist-info}/WHEEL +0 -0
- {pluggy_sdk-1.0.0.post9.dist-info → pluggy_sdk-1.0.0.post10.dist-info}/top_level.txt +0 -0
pluggy_sdk/__init__.py
CHANGED
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.
|
92
|
+
self.user_agent = 'OpenAPI-Generator/1.0.0.post10/python'
|
93
93
|
self.client_side_validation = configuration.client_side_validation
|
94
94
|
|
95
95
|
def __enter__(self):
|
pluggy_sdk/configuration.py
CHANGED
@@ -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.
|
403
|
+
"SDK Package Version: 1.0.0.post10".\
|
404
404
|
format(env=sys.platform, pyversion=sys.version)
|
405
405
|
|
406
406
|
def get_host_settings(self):
|
@@ -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
|
-
|
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
|
|
@@ -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
|
-
|
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
|
-
|
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
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: pluggy-sdk
|
3
|
-
Version: 1.0.0.
|
3
|
+
Version: 1.0.0.post10
|
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.
|
23
|
-
- Generator version: 7.
|
22
|
+
- Package version: 1.0.0.post10
|
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
|
|
@@ -1,7 +1,7 @@
|
|
1
|
-
pluggy_sdk/__init__.py,sha256=
|
2
|
-
pluggy_sdk/api_client.py,sha256=
|
1
|
+
pluggy_sdk/__init__.py,sha256=aAPSY1NBk7nQ2-EpSvljEgUfuT84Kfr0hjNyPxhHOK4,12050
|
2
|
+
pluggy_sdk/api_client.py,sha256=K8DiHRHKTub3hVx7mXeyLUUPtSj_fNaM9HIY18_3x14,26306
|
3
3
|
pluggy_sdk/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
4
|
-
pluggy_sdk/configuration.py,sha256=
|
4
|
+
pluggy_sdk/configuration.py,sha256=Q0_vfWF5O0PqvjW1vyQlZRvU2ESxEvWxghnuaBc0eys,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
|
@@ -77,7 +77,7 @@ 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=
|
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
|
@@ -136,10 +136,10 @@ pluggy_sdk/models/payment_institution.py,sha256=hpnfHLCvdsiwxznKYOtig1sfjYjnb6r0
|
|
136
136
|
pluggy_sdk/models/payment_intent.py,sha256=wSEOFlU1bvqe-g4ir7XsRBfgjksbqIxWAS54vCgI2VM,6981
|
137
137
|
pluggy_sdk/models/payment_intent_parameter.py,sha256=WNkeR3mCL9oLeriu5wopL5DAhcsnUsMb_EV8ZZJaXDA,2694
|
138
138
|
pluggy_sdk/models/payment_intents_list200_response.py,sha256=jcMQcYmIdwGLhct3dkgvwbhqhb9-5Fe9dsnIZpPGM3c,3463
|
139
|
-
pluggy_sdk/models/payment_receipt.py,sha256=
|
139
|
+
pluggy_sdk/models/payment_receipt.py,sha256=sVfVy75EBqzbrTzc2wFTStUIjIvDf8NbTHEOLfUNzRI,4933
|
140
140
|
pluggy_sdk/models/payment_receipt_bank_account.py,sha256=eCDX7EPFmNErKl8x8LAZSGnlT8Ii7kHL4th6pVaU_9E,2881
|
141
141
|
pluggy_sdk/models/payment_receipt_person.py,sha256=9eHiWC33eisDSZJgHW6ho_xD2ekaMuzq8AdvVEt5dUE,3246
|
142
|
-
pluggy_sdk/models/payment_recipient.py,sha256=
|
142
|
+
pluggy_sdk/models/payment_recipient.py,sha256=XGpf7503LIg9YADhESE-VGjaFSVWVq0_Dlgb6MUoeDw,4534
|
143
143
|
pluggy_sdk/models/payment_recipient_account.py,sha256=eSnsoBv382LhyjMu172GXsZsBb1M1Ig0iim1dmAPCX0,3177
|
144
144
|
pluggy_sdk/models/payment_recipients_institution_list200_response.py,sha256=a-gty_usP5fMRajNCL7zIPBO1WqWa1zwIhJgCDXMTF0,3544
|
145
145
|
pluggy_sdk/models/payment_recipients_list200_response.py,sha256=9r8qMLzGDumoGG0HWfmQbhNC4kGjzBLZPz_6-YNzb08,3490
|
@@ -166,7 +166,7 @@ pluggy_sdk/models/update_transaction.py,sha256=979zai0z2scYygWA7STBzZBjnWg6zoQFj
|
|
166
166
|
pluggy_sdk/models/webhook.py,sha256=2KV31zqFfHMzYzdrfVW7Sam6BsKigdQnPOKjsRiFYqI,3827
|
167
167
|
pluggy_sdk/models/webhook_creation_error_response.py,sha256=SMvNMvJANk1NTn9BEugfwRtnEsJuoMsFo8tVvci3ayw,2681
|
168
168
|
pluggy_sdk/models/webhooks_list200_response.py,sha256=DITv0Fg0S1Jl8k9sSdKKwhWmzp0TmMmrJjQqgo36yL0,3360
|
169
|
-
pluggy_sdk-1.0.0.
|
170
|
-
pluggy_sdk-1.0.0.
|
171
|
-
pluggy_sdk-1.0.0.
|
172
|
-
pluggy_sdk-1.0.0.
|
169
|
+
pluggy_sdk-1.0.0.post10.dist-info/METADATA,sha256=9Q8H-08uhqHOX-af7p2GFEYvQivKy9aoXhOQFm-NM5Y,21251
|
170
|
+
pluggy_sdk-1.0.0.post10.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
171
|
+
pluggy_sdk-1.0.0.post10.dist-info/top_level.txt,sha256=4RLkSSAcNiYLnk0_CN2vRQoezuSTIa7VPuNnaVutZP0,11
|
172
|
+
pluggy_sdk-1.0.0.post10.dist-info/RECORD,,
|
File without changes
|
File without changes
|