pluggy-sdk 1.0.0.post4__py3-none-any.whl → 1.0.0.post5__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 +5 -1
- pluggy_sdk/api/payment_request_api.py +801 -0
- pluggy_sdk/api_client.py +3 -1
- pluggy_sdk/configuration.py +1 -1
- pluggy_sdk/models/__init__.py +4 -0
- pluggy_sdk/models/payment_receipt.py +114 -0
- pluggy_sdk/models/payment_receipt_bank_account.py +92 -0
- pluggy_sdk/models/payment_receipt_person.py +96 -0
- pluggy_sdk/models/payment_request_receipt_list200_response.py +102 -0
- {pluggy_sdk-1.0.0.post4.dist-info → pluggy_sdk-1.0.0.post5.dist-info}/METADATA +9 -2
- {pluggy_sdk-1.0.0.post4.dist-info → pluggy_sdk-1.0.0.post5.dist-info}/RECORD +13 -9
- {pluggy_sdk-1.0.0.post4.dist-info → pluggy_sdk-1.0.0.post5.dist-info}/WHEEL +0 -0
- {pluggy_sdk-1.0.0.post4.dist-info → pluggy_sdk-1.0.0.post5.dist-info}/top_level.txt +0 -0
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.post5/python'
|
93
93
|
self.client_side_validation = configuration.client_side_validation
|
94
94
|
|
95
95
|
def __enter__(self):
|
@@ -351,6 +351,8 @@ class ApiClient:
|
|
351
351
|
"""
|
352
352
|
if obj is None:
|
353
353
|
return None
|
354
|
+
elif isinstance(obj, Enum):
|
355
|
+
return obj.value
|
354
356
|
elif isinstance(obj, SecretStr):
|
355
357
|
return obj.get_secret_value()
|
356
358
|
elif isinstance(obj, self.PRIMITIVE_TYPES):
|
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.post5".\
|
404
404
|
format(env=sys.platform, pyversion=sys.version)
|
405
405
|
|
406
406
|
def get_host_settings(self):
|
pluggy_sdk/models/__init__.py
CHANGED
@@ -117,12 +117,16 @@ from pluggy_sdk.models.payment_data_participant import PaymentDataParticipant
|
|
117
117
|
from pluggy_sdk.models.payment_institution import PaymentInstitution
|
118
118
|
from pluggy_sdk.models.payment_intent import PaymentIntent
|
119
119
|
from pluggy_sdk.models.payment_intents_list200_response import PaymentIntentsList200Response
|
120
|
+
from pluggy_sdk.models.payment_receipt import PaymentReceipt
|
121
|
+
from pluggy_sdk.models.payment_receipt_bank_account import PaymentReceiptBankAccount
|
122
|
+
from pluggy_sdk.models.payment_receipt_person import PaymentReceiptPerson
|
120
123
|
from pluggy_sdk.models.payment_recipient import PaymentRecipient
|
121
124
|
from pluggy_sdk.models.payment_recipient_account import PaymentRecipientAccount
|
122
125
|
from pluggy_sdk.models.payment_recipients_institution_list200_response import PaymentRecipientsInstitutionList200Response
|
123
126
|
from pluggy_sdk.models.payment_recipients_list200_response import PaymentRecipientsList200Response
|
124
127
|
from pluggy_sdk.models.payment_request import PaymentRequest
|
125
128
|
from pluggy_sdk.models.payment_request_callback_urls import PaymentRequestCallbackUrls
|
129
|
+
from pluggy_sdk.models.payment_request_receipt_list200_response import PaymentRequestReceiptList200Response
|
126
130
|
from pluggy_sdk.models.payment_requests_list200_response import PaymentRequestsList200Response
|
127
131
|
from pluggy_sdk.models.percentage_over_index import PercentageOverIndex
|
128
132
|
from pluggy_sdk.models.phone_number import PhoneNumber
|
@@ -0,0 +1,114 @@
|
|
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
|
23
|
+
from typing import Any, ClassVar, Dict, List, Optional, Union
|
24
|
+
from pluggy_sdk.models.payment_receipt_person import PaymentReceiptPerson
|
25
|
+
from typing import Optional, Set
|
26
|
+
from typing_extensions import Self
|
27
|
+
|
28
|
+
class PaymentReceipt(BaseModel):
|
29
|
+
"""
|
30
|
+
Response with information related to a payment receipt
|
31
|
+
""" # noqa: E501
|
32
|
+
id: StrictStr = Field(description="Primary identifier")
|
33
|
+
payment_request_id: StrictStr = Field(description="Payment request identifier", alias="paymentRequestId")
|
34
|
+
expires_at: datetime = Field(description="Date when the payment receipt expires", alias="expiresAt")
|
35
|
+
receipt_url: StrictStr = Field(description="URL to download the payment receipt", alias="receiptUrl")
|
36
|
+
creditor: PaymentReceiptPerson
|
37
|
+
debtor: PaymentReceiptPerson
|
38
|
+
amount: Union[StrictFloat, StrictInt] = Field(description="Payment amount")
|
39
|
+
description: Optional[StrictStr] = Field(default=None, description="Payment description")
|
40
|
+
reference_id: StrictStr = Field(description="Payment reference identifier", alias="referenceId")
|
41
|
+
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
|
+
|
44
|
+
model_config = ConfigDict(
|
45
|
+
populate_by_name=True,
|
46
|
+
validate_assignment=True,
|
47
|
+
protected_namespaces=(),
|
48
|
+
)
|
49
|
+
|
50
|
+
|
51
|
+
def to_str(self) -> str:
|
52
|
+
"""Returns the string representation of the model using alias"""
|
53
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
54
|
+
|
55
|
+
def to_json(self) -> str:
|
56
|
+
"""Returns the JSON representation of the model using alias"""
|
57
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
58
|
+
return json.dumps(self.to_dict())
|
59
|
+
|
60
|
+
@classmethod
|
61
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
62
|
+
"""Create an instance of PaymentReceipt from a JSON string"""
|
63
|
+
return cls.from_dict(json.loads(json_str))
|
64
|
+
|
65
|
+
def to_dict(self) -> Dict[str, Any]:
|
66
|
+
"""Return the dictionary representation of the model using alias.
|
67
|
+
|
68
|
+
This has the following differences from calling pydantic's
|
69
|
+
`self.model_dump(by_alias=True)`:
|
70
|
+
|
71
|
+
* `None` is only added to the output dict for nullable fields that
|
72
|
+
were set at model initialization. Other fields with value `None`
|
73
|
+
are ignored.
|
74
|
+
"""
|
75
|
+
excluded_fields: Set[str] = set([
|
76
|
+
])
|
77
|
+
|
78
|
+
_dict = self.model_dump(
|
79
|
+
by_alias=True,
|
80
|
+
exclude=excluded_fields,
|
81
|
+
exclude_none=True,
|
82
|
+
)
|
83
|
+
# override the default output from pydantic by calling `to_dict()` of creditor
|
84
|
+
if self.creditor:
|
85
|
+
_dict['creditor'] = self.creditor.to_dict()
|
86
|
+
# override the default output from pydantic by calling `to_dict()` of debtor
|
87
|
+
if self.debtor:
|
88
|
+
_dict['debtor'] = self.debtor.to_dict()
|
89
|
+
return _dict
|
90
|
+
|
91
|
+
@classmethod
|
92
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
93
|
+
"""Create an instance of PaymentReceipt from a dict"""
|
94
|
+
if obj is None:
|
95
|
+
return None
|
96
|
+
|
97
|
+
if not isinstance(obj, dict):
|
98
|
+
return cls.model_validate(obj)
|
99
|
+
|
100
|
+
_obj = cls.model_validate({
|
101
|
+
"id": obj.get("id"),
|
102
|
+
"paymentRequestId": obj.get("paymentRequestId"),
|
103
|
+
"expiresAt": obj.get("expiresAt"),
|
104
|
+
"receiptUrl": obj.get("receiptUrl"),
|
105
|
+
"creditor": PaymentReceiptPerson.from_dict(obj["creditor"]) if obj.get("creditor") is not None else None,
|
106
|
+
"debtor": PaymentReceiptPerson.from_dict(obj["debtor"]) if obj.get("debtor") is not None else None,
|
107
|
+
"amount": obj.get("amount"),
|
108
|
+
"description": obj.get("description"),
|
109
|
+
"referenceId": obj.get("referenceId"),
|
110
|
+
"date": obj.get("date")
|
111
|
+
})
|
112
|
+
return _obj
|
113
|
+
|
114
|
+
|
@@ -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, StrictStr
|
22
|
+
from typing import Any, ClassVar, Dict, List, Optional
|
23
|
+
from typing import Optional, Set
|
24
|
+
from typing_extensions import Self
|
25
|
+
|
26
|
+
class PaymentReceiptBankAccount(BaseModel):
|
27
|
+
"""
|
28
|
+
Payment bank account information
|
29
|
+
""" # noqa: E501
|
30
|
+
agency: Optional[StrictStr] = Field(default=None, description="Bank account branch (agency)")
|
31
|
+
name: Optional[StrictStr] = Field(default=None, description="Bank account number")
|
32
|
+
account: Optional[StrictStr] = Field(default=None, description="Bank account number")
|
33
|
+
__properties: ClassVar[List[str]] = ["agency", "name", "account"]
|
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 PaymentReceiptBankAccount 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 PaymentReceiptBankAccount 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
|
+
"agency": obj.get("agency"),
|
87
|
+
"name": obj.get("name"),
|
88
|
+
"account": obj.get("account")
|
89
|
+
})
|
90
|
+
return _obj
|
91
|
+
|
92
|
+
|
@@ -0,0 +1,96 @@
|
|
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, Optional
|
23
|
+
from pluggy_sdk.models.payment_receipt_bank_account import PaymentReceiptBankAccount
|
24
|
+
from typing import Optional, Set
|
25
|
+
from typing_extensions import Self
|
26
|
+
|
27
|
+
class PaymentReceiptPerson(BaseModel):
|
28
|
+
"""
|
29
|
+
Debtor or creditor information
|
30
|
+
""" # noqa: E501
|
31
|
+
name: Optional[StrictStr] = Field(default=None, description="Person name")
|
32
|
+
tax_number: Optional[StrictStr] = Field(default=None, description="Person tax number", alias="taxNumber")
|
33
|
+
bank_account: Optional[PaymentReceiptBankAccount] = Field(default=None, alias="bankAccount")
|
34
|
+
__properties: ClassVar[List[str]] = ["name", "taxNumber", "bankAccount"]
|
35
|
+
|
36
|
+
model_config = ConfigDict(
|
37
|
+
populate_by_name=True,
|
38
|
+
validate_assignment=True,
|
39
|
+
protected_namespaces=(),
|
40
|
+
)
|
41
|
+
|
42
|
+
|
43
|
+
def to_str(self) -> str:
|
44
|
+
"""Returns the string representation of the model using alias"""
|
45
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
46
|
+
|
47
|
+
def to_json(self) -> str:
|
48
|
+
"""Returns the JSON representation of the model using alias"""
|
49
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
50
|
+
return json.dumps(self.to_dict())
|
51
|
+
|
52
|
+
@classmethod
|
53
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
54
|
+
"""Create an instance of PaymentReceiptPerson from a JSON string"""
|
55
|
+
return cls.from_dict(json.loads(json_str))
|
56
|
+
|
57
|
+
def to_dict(self) -> Dict[str, Any]:
|
58
|
+
"""Return the dictionary representation of the model using alias.
|
59
|
+
|
60
|
+
This has the following differences from calling pydantic's
|
61
|
+
`self.model_dump(by_alias=True)`:
|
62
|
+
|
63
|
+
* `None` is only added to the output dict for nullable fields that
|
64
|
+
were set at model initialization. Other fields with value `None`
|
65
|
+
are ignored.
|
66
|
+
"""
|
67
|
+
excluded_fields: Set[str] = set([
|
68
|
+
])
|
69
|
+
|
70
|
+
_dict = self.model_dump(
|
71
|
+
by_alias=True,
|
72
|
+
exclude=excluded_fields,
|
73
|
+
exclude_none=True,
|
74
|
+
)
|
75
|
+
# override the default output from pydantic by calling `to_dict()` of bank_account
|
76
|
+
if self.bank_account:
|
77
|
+
_dict['bankAccount'] = self.bank_account.to_dict()
|
78
|
+
return _dict
|
79
|
+
|
80
|
+
@classmethod
|
81
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
82
|
+
"""Create an instance of PaymentReceiptPerson from a dict"""
|
83
|
+
if obj is None:
|
84
|
+
return None
|
85
|
+
|
86
|
+
if not isinstance(obj, dict):
|
87
|
+
return cls.model_validate(obj)
|
88
|
+
|
89
|
+
_obj = cls.model_validate({
|
90
|
+
"name": obj.get("name"),
|
91
|
+
"taxNumber": obj.get("taxNumber"),
|
92
|
+
"bankAccount": PaymentReceiptBankAccount.from_dict(obj["bankAccount"]) if obj.get("bankAccount") is not None else None
|
93
|
+
})
|
94
|
+
return _obj
|
95
|
+
|
96
|
+
|
@@ -0,0 +1,102 @@
|
|
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
|
22
|
+
from typing import Any, ClassVar, Dict, List, Optional, Union
|
23
|
+
from pluggy_sdk.models.payment_receipt import PaymentReceipt
|
24
|
+
from typing import Optional, Set
|
25
|
+
from typing_extensions import Self
|
26
|
+
|
27
|
+
class PaymentRequestReceiptList200Response(BaseModel):
|
28
|
+
"""
|
29
|
+
PaymentRequestReceiptList200Response
|
30
|
+
""" # noqa: E501
|
31
|
+
page: Optional[Union[StrictFloat, StrictInt]] = None
|
32
|
+
total: Optional[Union[StrictFloat, StrictInt]] = None
|
33
|
+
total_pages: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, alias="totalPages")
|
34
|
+
results: Optional[List[PaymentReceipt]] = Field(default=None, description="List of payment receipts")
|
35
|
+
__properties: ClassVar[List[str]] = ["page", "total", "totalPages", "results"]
|
36
|
+
|
37
|
+
model_config = ConfigDict(
|
38
|
+
populate_by_name=True,
|
39
|
+
validate_assignment=True,
|
40
|
+
protected_namespaces=(),
|
41
|
+
)
|
42
|
+
|
43
|
+
|
44
|
+
def to_str(self) -> str:
|
45
|
+
"""Returns the string representation of the model using alias"""
|
46
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
47
|
+
|
48
|
+
def to_json(self) -> str:
|
49
|
+
"""Returns the JSON representation of the model using alias"""
|
50
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
51
|
+
return json.dumps(self.to_dict())
|
52
|
+
|
53
|
+
@classmethod
|
54
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
55
|
+
"""Create an instance of PaymentRequestReceiptList200Response from a JSON string"""
|
56
|
+
return cls.from_dict(json.loads(json_str))
|
57
|
+
|
58
|
+
def to_dict(self) -> Dict[str, Any]:
|
59
|
+
"""Return the dictionary representation of the model using alias.
|
60
|
+
|
61
|
+
This has the following differences from calling pydantic's
|
62
|
+
`self.model_dump(by_alias=True)`:
|
63
|
+
|
64
|
+
* `None` is only added to the output dict for nullable fields that
|
65
|
+
were set at model initialization. Other fields with value `None`
|
66
|
+
are ignored.
|
67
|
+
"""
|
68
|
+
excluded_fields: Set[str] = set([
|
69
|
+
])
|
70
|
+
|
71
|
+
_dict = self.model_dump(
|
72
|
+
by_alias=True,
|
73
|
+
exclude=excluded_fields,
|
74
|
+
exclude_none=True,
|
75
|
+
)
|
76
|
+
# override the default output from pydantic by calling `to_dict()` of each item in results (list)
|
77
|
+
_items = []
|
78
|
+
if self.results:
|
79
|
+
for _item in self.results:
|
80
|
+
if _item:
|
81
|
+
_items.append(_item.to_dict())
|
82
|
+
_dict['results'] = _items
|
83
|
+
return _dict
|
84
|
+
|
85
|
+
@classmethod
|
86
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
87
|
+
"""Create an instance of PaymentRequestReceiptList200Response from a dict"""
|
88
|
+
if obj is None:
|
89
|
+
return None
|
90
|
+
|
91
|
+
if not isinstance(obj, dict):
|
92
|
+
return cls.model_validate(obj)
|
93
|
+
|
94
|
+
_obj = cls.model_validate({
|
95
|
+
"page": obj.get("page"),
|
96
|
+
"total": obj.get("total"),
|
97
|
+
"totalPages": obj.get("totalPages"),
|
98
|
+
"results": [PaymentReceipt.from_dict(_item) for _item in obj["results"]] if obj.get("results") is not None else None
|
99
|
+
})
|
100
|
+
return _obj
|
101
|
+
|
102
|
+
|
@@ -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.post5
|
4
4
|
Summary: Pluggy API
|
5
5
|
Home-page: https://github.com/diraol/pluggy-python
|
6
6
|
Author: Pluggy
|
@@ -19,7 +19,7 @@ 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.
|
22
|
+
- Package version: 1.0.0.post5
|
23
23
|
- Generator version: 7.5.0-SNAPSHOT
|
24
24
|
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
25
25
|
For more information, please visit [https://pluggy.ai](https://pluggy.ai)
|
@@ -165,6 +165,9 @@ Class | Method | HTTP request | Description
|
|
165
165
|
*PaymentRequestApi* | [**payment_request_create**](docs/PaymentRequestApi.md#payment_request_create) | **POST** /payments/requests | Create
|
166
166
|
*PaymentRequestApi* | [**payment_request_create_pix_qr**](docs/PaymentRequestApi.md#payment_request_create_pix_qr) | **POST** /payments/requests/pix-qr | Create PIX QR payment request
|
167
167
|
*PaymentRequestApi* | [**payment_request_delete**](docs/PaymentRequestApi.md#payment_request_delete) | **DELETE** /payments/requests/{id} | Delete
|
168
|
+
*PaymentRequestApi* | [**payment_request_receipt_create**](docs/PaymentRequestApi.md#payment_request_receipt_create) | **POST** /payments/requests/{id}/receipts | Create
|
169
|
+
*PaymentRequestApi* | [**payment_request_receipt_list**](docs/PaymentRequestApi.md#payment_request_receipt_list) | **GET** /payments/requests/{id}/receipts | List
|
170
|
+
*PaymentRequestApi* | [**payment_request_receipt_retrieve**](docs/PaymentRequestApi.md#payment_request_receipt_retrieve) | **GET** /payments/requests/{payment-request-id}/receipts/{payment-receipt-id} | Retrieve
|
168
171
|
*PaymentRequestApi* | [**payment_request_retrieve**](docs/PaymentRequestApi.md#payment_request_retrieve) | **GET** /payments/requests/{id} | Retrieve
|
169
172
|
*PaymentRequestApi* | [**payment_request_update**](docs/PaymentRequestApi.md#payment_request_update) | **PATCH** /payments/requests/{id} | Update
|
170
173
|
*PaymentRequestApi* | [**payment_requests_list**](docs/PaymentRequestApi.md#payment_requests_list) | **GET** /payments/requests | List
|
@@ -288,12 +291,16 @@ Class | Method | HTTP request | Description
|
|
288
291
|
- [PaymentInstitution](docs/PaymentInstitution.md)
|
289
292
|
- [PaymentIntent](docs/PaymentIntent.md)
|
290
293
|
- [PaymentIntentsList200Response](docs/PaymentIntentsList200Response.md)
|
294
|
+
- [PaymentReceipt](docs/PaymentReceipt.md)
|
295
|
+
- [PaymentReceiptBankAccount](docs/PaymentReceiptBankAccount.md)
|
296
|
+
- [PaymentReceiptPerson](docs/PaymentReceiptPerson.md)
|
291
297
|
- [PaymentRecipient](docs/PaymentRecipient.md)
|
292
298
|
- [PaymentRecipientAccount](docs/PaymentRecipientAccount.md)
|
293
299
|
- [PaymentRecipientsInstitutionList200Response](docs/PaymentRecipientsInstitutionList200Response.md)
|
294
300
|
- [PaymentRecipientsList200Response](docs/PaymentRecipientsList200Response.md)
|
295
301
|
- [PaymentRequest](docs/PaymentRequest.md)
|
296
302
|
- [PaymentRequestCallbackUrls](docs/PaymentRequestCallbackUrls.md)
|
303
|
+
- [PaymentRequestReceiptList200Response](docs/PaymentRequestReceiptList200Response.md)
|
297
304
|
- [PaymentRequestsList200Response](docs/PaymentRequestsList200Response.md)
|
298
305
|
- [PercentageOverIndex](docs/PercentageOverIndex.md)
|
299
306
|
- [PhoneNumber](docs/PhoneNumber.md)
|
@@ -1,7 +1,7 @@
|
|
1
|
-
pluggy_sdk/__init__.py,sha256=
|
2
|
-
pluggy_sdk/api_client.py,sha256=
|
1
|
+
pluggy_sdk/__init__.py,sha256=El_n5JhhnXKyBcgRDJjwfgPx_VdXsJ46FLnf9jSeazo,11722
|
2
|
+
pluggy_sdk/api_client.py,sha256=MUKhZ2889Ccac4KvxG5Lx6tmROYXgdbxw2wpxKq9yTE,26305
|
3
3
|
pluggy_sdk/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
4
|
-
pluggy_sdk/configuration.py,sha256=
|
4
|
+
pluggy_sdk/configuration.py,sha256=J-nTvLfQGv6v5YIizqTHgHznLbKlu8kUHUjq3hz_NgM,15330
|
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
|
@@ -23,12 +23,12 @@ pluggy_sdk/api/loan_api.py,sha256=-SD37ZzfB9S2SaqyUl0Gg3Plko7olxmu04jcB2mA7Vg,20
|
|
23
23
|
pluggy_sdk/api/payment_customer_api.py,sha256=qUiuhizeTkXMuISJTiaAVaTMycn_d1zNvAmc0uv2Vew,54784
|
24
24
|
pluggy_sdk/api/payment_intent_api.py,sha256=jcf5dDrmMjSz90cQ9H-u1NaIHW0aATLs6nQyyRID1tc,32020
|
25
25
|
pluggy_sdk/api/payment_recipient_api.py,sha256=icivhir7nkhkcnR-LLKsuJJGRydeGSEiDSeP-eX8LnU,77933
|
26
|
-
pluggy_sdk/api/payment_request_api.py,sha256=
|
26
|
+
pluggy_sdk/api/payment_request_api.py,sha256=9YjZ8odozaRvVjYga_fz2MbMY16HmxuIUVQ0u5UoYYE,94243
|
27
27
|
pluggy_sdk/api/portfolio_yield_api.py,sha256=R_Cz-1G0s7qOUltG-VOXi8GSCNceM1j4lmu9V7zM0jM,22320
|
28
28
|
pluggy_sdk/api/smart_account_api.py,sha256=CNu4T-0xcPwMckHzrFgYLVqWU9kFMB7FnJpDah4ryZk,43323
|
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=
|
31
|
+
pluggy_sdk/models/__init__.py,sha256=bAf02Dh6CU59SST8sEJ1BvolvwZu0AnQ8gztq9iqO7A,9937
|
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
|
@@ -131,12 +131,16 @@ pluggy_sdk/models/payment_data_participant.py,sha256=uJjbYf8efeEvRp0QOIiQp7QQrYK
|
|
131
131
|
pluggy_sdk/models/payment_institution.py,sha256=hpnfHLCvdsiwxznKYOtig1sfjYjnb6r0wuoZV0j424Q,3463
|
132
132
|
pluggy_sdk/models/payment_intent.py,sha256=lETC3q4RuPG1Zj1y5go1gJPH-t10nW232Rl_UNR4UCs,6691
|
133
133
|
pluggy_sdk/models/payment_intents_list200_response.py,sha256=jcMQcYmIdwGLhct3dkgvwbhqhb9-5Fe9dsnIZpPGM3c,3463
|
134
|
+
pluggy_sdk/models/payment_receipt.py,sha256=NAVIj2yvh30JDOml9i7_qNiRPXd-9SVrG69vho_Jujs,4472
|
135
|
+
pluggy_sdk/models/payment_receipt_bank_account.py,sha256=eCDX7EPFmNErKl8x8LAZSGnlT8Ii7kHL4th6pVaU_9E,2881
|
136
|
+
pluggy_sdk/models/payment_receipt_person.py,sha256=9eHiWC33eisDSZJgHW6ho_xD2ekaMuzq8AdvVEt5dUE,3246
|
134
137
|
pluggy_sdk/models/payment_recipient.py,sha256=wR92hiJGd6fJvhjKfOhQT5sj_i_lGJs45gWUgbxoWJA,4022
|
135
138
|
pluggy_sdk/models/payment_recipient_account.py,sha256=eSnsoBv382LhyjMu172GXsZsBb1M1Ig0iim1dmAPCX0,3177
|
136
139
|
pluggy_sdk/models/payment_recipients_institution_list200_response.py,sha256=a-gty_usP5fMRajNCL7zIPBO1WqWa1zwIhJgCDXMTF0,3544
|
137
140
|
pluggy_sdk/models/payment_recipients_list200_response.py,sha256=9r8qMLzGDumoGG0HWfmQbhNC4kGjzBLZPz_6-YNzb08,3490
|
138
141
|
pluggy_sdk/models/payment_request.py,sha256=G47p5apa0yRDJaSm6hLUFjJDJ7IBTGGK61Gng3_0Rl0,4817
|
139
142
|
pluggy_sdk/models/payment_request_callback_urls.py,sha256=EneGXM6_0zH4TehYNf9-OsmbEEMwsh8RLvGKEqjCvJE,3085
|
143
|
+
pluggy_sdk/models/payment_request_receipt_list200_response.py,sha256=SCi20HZ0moUygGcGOHomevunrWJfQb3D6wTg_YjB6pI,3496
|
140
144
|
pluggy_sdk/models/payment_requests_list200_response.py,sha256=0lAdZH19ZAeWYPdsQ-E0bREOZ0iDon7h96kI8xUTmYc,3472
|
141
145
|
pluggy_sdk/models/percentage_over_index.py,sha256=UMM-sXy36J5X_kfVCCy3glXjEGUXJzZxKQM0Ipt05uE,2861
|
142
146
|
pluggy_sdk/models/phone_number.py,sha256=KtNMYqBE9K7Of-gVId3wV9gN9vf1XGbDnv3R_s-QGco,3087
|
@@ -157,7 +161,7 @@ pluggy_sdk/models/update_transaction.py,sha256=979zai0z2scYygWA7STBzZBjnWg6zoQFj
|
|
157
161
|
pluggy_sdk/models/webhook.py,sha256=2KV31zqFfHMzYzdrfVW7Sam6BsKigdQnPOKjsRiFYqI,3827
|
158
162
|
pluggy_sdk/models/webhook_creation_error_response.py,sha256=SMvNMvJANk1NTn9BEugfwRtnEsJuoMsFo8tVvci3ayw,2681
|
159
163
|
pluggy_sdk/models/webhooks_list200_response.py,sha256=DITv0Fg0S1Jl8k9sSdKKwhWmzp0TmMmrJjQqgo36yL0,3360
|
160
|
-
pluggy_sdk-1.0.0.
|
161
|
-
pluggy_sdk-1.0.0.
|
162
|
-
pluggy_sdk-1.0.0.
|
163
|
-
pluggy_sdk-1.0.0.
|
164
|
+
pluggy_sdk-1.0.0.post5.dist-info/METADATA,sha256=sAbDFtudT_urXeOYSYGj78SNr_tqePlHfDw9P_e2-DU,20825
|
165
|
+
pluggy_sdk-1.0.0.post5.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
166
|
+
pluggy_sdk-1.0.0.post5.dist-info/top_level.txt,sha256=4RLkSSAcNiYLnk0_CN2vRQoezuSTIa7VPuNnaVutZP0,11
|
167
|
+
pluggy_sdk-1.0.0.post5.dist-info/RECORD,,
|
File without changes
|
File without changes
|