pluggy-sdk 1.0.0.post34__py3-none-any.whl → 1.0.0.post35__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.post34"
18
+ __version__ = "1.0.0.post35"
19
19
 
20
20
  # import apis into sdk package
21
21
  from pluggy_sdk.api.account_api import AccountApi
@@ -19,7 +19,7 @@ from typing_extensions import Annotated
19
19
 
20
20
  from datetime import datetime
21
21
  from pydantic import Field, StrictFloat, StrictInt, StrictStr
22
- from typing import Optional, Union
22
+ from typing import List, Optional, Union
23
23
  from typing_extensions import Annotated
24
24
  from pluggy_sdk.models.page_response_transactions import PageResponseTransactions
25
25
  from pluggy_sdk.models.transaction import Transaction
@@ -47,6 +47,7 @@ class TransactionApi:
47
47
  def transactions_list(
48
48
  self,
49
49
  account_id: Annotated[StrictStr, Field(description="Account primary identifier")],
50
+ ids: Annotated[Optional[List[StrictStr]], Field(description="Array of transaction identifiers. If defined, 'from' and 'to' parameters will be discarded")] = None,
50
51
  var_from: Annotated[Optional[datetime], Field(description="Filter greater than date. Format (yyyy-mm-dd)")] = None,
51
52
  to: Annotated[Optional[datetime], Field(description="Filter lower than date. Format (yyyy-mm-dd)")] = None,
52
53
  page_size: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="Page size for the paging request, default: 20")] = None,
@@ -70,6 +71,8 @@ class TransactionApi:
70
71
 
71
72
  :param account_id: Account primary identifier (required)
72
73
  :type account_id: str
74
+ :param ids: Array of transaction identifiers. If defined, 'from' and 'to' parameters will be discarded
75
+ :type ids: List[str]
73
76
  :param var_from: Filter greater than date. Format (yyyy-mm-dd)
74
77
  :type var_from: datetime
75
78
  :param to: Filter lower than date. Format (yyyy-mm-dd)
@@ -102,6 +105,7 @@ class TransactionApi:
102
105
 
103
106
  _param = self._transactions_list_serialize(
104
107
  account_id=account_id,
108
+ ids=ids,
105
109
  var_from=var_from,
106
110
  to=to,
107
111
  page_size=page_size,
@@ -132,6 +136,7 @@ class TransactionApi:
132
136
  def transactions_list_with_http_info(
133
137
  self,
134
138
  account_id: Annotated[StrictStr, Field(description="Account primary identifier")],
139
+ ids: Annotated[Optional[List[StrictStr]], Field(description="Array of transaction identifiers. If defined, 'from' and 'to' parameters will be discarded")] = None,
135
140
  var_from: Annotated[Optional[datetime], Field(description="Filter greater than date. Format (yyyy-mm-dd)")] = None,
136
141
  to: Annotated[Optional[datetime], Field(description="Filter lower than date. Format (yyyy-mm-dd)")] = None,
137
142
  page_size: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="Page size for the paging request, default: 20")] = None,
@@ -155,6 +160,8 @@ class TransactionApi:
155
160
 
156
161
  :param account_id: Account primary identifier (required)
157
162
  :type account_id: str
163
+ :param ids: Array of transaction identifiers. If defined, 'from' and 'to' parameters will be discarded
164
+ :type ids: List[str]
158
165
  :param var_from: Filter greater than date. Format (yyyy-mm-dd)
159
166
  :type var_from: datetime
160
167
  :param to: Filter lower than date. Format (yyyy-mm-dd)
@@ -187,6 +194,7 @@ class TransactionApi:
187
194
 
188
195
  _param = self._transactions_list_serialize(
189
196
  account_id=account_id,
197
+ ids=ids,
190
198
  var_from=var_from,
191
199
  to=to,
192
200
  page_size=page_size,
@@ -217,6 +225,7 @@ class TransactionApi:
217
225
  def transactions_list_without_preload_content(
218
226
  self,
219
227
  account_id: Annotated[StrictStr, Field(description="Account primary identifier")],
228
+ ids: Annotated[Optional[List[StrictStr]], Field(description="Array of transaction identifiers. If defined, 'from' and 'to' parameters will be discarded")] = None,
220
229
  var_from: Annotated[Optional[datetime], Field(description="Filter greater than date. Format (yyyy-mm-dd)")] = None,
221
230
  to: Annotated[Optional[datetime], Field(description="Filter lower than date. Format (yyyy-mm-dd)")] = None,
222
231
  page_size: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="Page size for the paging request, default: 20")] = None,
@@ -240,6 +249,8 @@ class TransactionApi:
240
249
 
241
250
  :param account_id: Account primary identifier (required)
242
251
  :type account_id: str
252
+ :param ids: Array of transaction identifiers. If defined, 'from' and 'to' parameters will be discarded
253
+ :type ids: List[str]
243
254
  :param var_from: Filter greater than date. Format (yyyy-mm-dd)
244
255
  :type var_from: datetime
245
256
  :param to: Filter lower than date. Format (yyyy-mm-dd)
@@ -272,6 +283,7 @@ class TransactionApi:
272
283
 
273
284
  _param = self._transactions_list_serialize(
274
285
  account_id=account_id,
286
+ ids=ids,
275
287
  var_from=var_from,
276
288
  to=to,
277
289
  page_size=page_size,
@@ -297,6 +309,7 @@ class TransactionApi:
297
309
  def _transactions_list_serialize(
298
310
  self,
299
311
  account_id,
312
+ ids,
300
313
  var_from,
301
314
  to,
302
315
  page_size,
@@ -310,6 +323,7 @@ class TransactionApi:
310
323
  _host = None
311
324
 
312
325
  _collection_formats: Dict[str, str] = {
326
+ 'ids': 'multi',
313
327
  }
314
328
 
315
329
  _path_params: Dict[str, str] = {}
@@ -327,6 +341,10 @@ class TransactionApi:
327
341
 
328
342
  _query_params.append(('accountId', account_id))
329
343
 
344
+ if ids is not None:
345
+
346
+ _query_params.append(('ids', ids))
347
+
330
348
  if var_from is not None:
331
349
  if isinstance(var_from, datetime):
332
350
  _query_params.append(
pluggy_sdk/api_client.py CHANGED
@@ -91,7 +91,7 @@ class ApiClient:
91
91
  self.default_headers[header_name] = header_value
92
92
  self.cookie = cookie
93
93
  # Set default User-Agent.
94
- self.user_agent = 'OpenAPI-Generator/1.0.0.post34/python'
94
+ self.user_agent = 'OpenAPI-Generator/1.0.0.post35/python'
95
95
  self.client_side_validation = configuration.client_side_validation
96
96
 
97
97
  def __enter__(self):
@@ -525,7 +525,7 @@ conf = pluggy_sdk.Configuration(
525
525
  "OS: {env}\n"\
526
526
  "Python Version: {pyversion}\n"\
527
527
  "Version of the API: 1.0.0\n"\
528
- "SDK Package Version: 1.0.0.post34".\
528
+ "SDK Package Version: 1.0.0.post35".\
529
529
  format(env=sys.platform, pyversion=sys.version)
530
530
 
531
531
  def get_host_settings(self) -> List[HostSetting]:
@@ -34,9 +34,9 @@ class Boleto(BaseModel):
34
34
  barcode: StrictStr = Field(description="Boleto barcode")
35
35
  payer: BoletoPayer
36
36
  recipient: BoletoRecipient
37
- var_date: datetime = Field(description="Boleto issue date", alias="date")
38
- due_date: Optional[datetime] = Field(default=None, description="Boleto due date", alias="dueDate")
39
- expiration_date: datetime = Field(description="After this date, the boleto cannot be paid", alias="expirationDate")
37
+ var_date: Optional[datetime] = Field(default=None, description="Boleto issue date", alias="date")
38
+ due_date: datetime = Field(description="Boleto due date", alias="dueDate")
39
+ expiration_date: Optional[datetime] = Field(default=None, description="After this date, the boleto cannot be paid", alias="expirationDate")
40
40
  base_amount: Union[StrictFloat, StrictInt] = Field(description="Boleto original amount, without interests, penalties and discounts", alias="baseAmount")
41
41
  penalty_amount: Union[StrictFloat, StrictInt] = Field(description="Boleto penalty amount. If there is no penalty, it will be returned as zero", alias="penaltyAmount")
42
42
  interest_amount: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Boleto interest amount. If there is no interest, it will be returned as zero", alias="interestAmount")
@@ -34,10 +34,11 @@ class InvestmentTransaction(BaseModel):
34
34
  quantity: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Quantity of the transaction")
35
35
  value: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Value on the transaction's Date")
36
36
  amount: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Gross amount of the operation. May be null only if type is TRANSFER")
37
+ agreed_rate: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Agreed rate for treasury applications", alias="agreedRate")
37
38
  var_date: datetime = Field(description="Date when the transaction was made", alias="date")
38
39
  trade_date: Optional[datetime] = Field(default=None, description="Date when the transaction was confirmed", alias="tradeDate")
39
40
  expenses: Optional[InvestmentExpenses] = None
40
- __properties: ClassVar[List[str]] = ["type", "movementType", "quantity", "value", "amount", "date", "tradeDate", "expenses"]
41
+ __properties: ClassVar[List[str]] = ["type", "movementType", "quantity", "value", "amount", "agreedRate", "date", "tradeDate", "expenses"]
41
42
 
42
43
  @field_validator('type')
43
44
  def type_validate_enum(cls, value):
@@ -115,6 +116,7 @@ class InvestmentTransaction(BaseModel):
115
116
  "quantity": obj.get("quantity"),
116
117
  "value": obj.get("value"),
117
118
  "amount": obj.get("amount"),
119
+ "agreedRate": obj.get("agreedRate"),
118
120
  "date": obj.get("date"),
119
121
  "tradeDate": obj.get("tradeDate"),
120
122
  "expenses": InvestmentExpenses.from_dict(obj["expenses"]) if obj.get("expenses") is not None else None
@@ -30,7 +30,7 @@ class PaymentCustomer(BaseModel):
30
30
  id: StrictStr = Field(description="Primary identifier")
31
31
  type: StrictStr = Field(description="Customer type")
32
32
  name: StrictStr = Field(description="Customer name")
33
- email: StrictStr = Field(description="Customer email")
33
+ email: Optional[StrictStr] = Field(default=None, description="Customer email")
34
34
  cpf: Optional[StrictStr] = Field(default=None, description="Customer CPF")
35
35
  cnpj: Optional[StrictStr] = Field(default=None, description="Customer CNPJ, if type is `BUSINESS`")
36
36
  __properties: ClassVar[List[str]] = ["id", "type", "name", "email", "cpf", "cnpj"]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: pluggy-sdk
3
- Version: 1.0.0.post34
3
+ Version: 1.0.0.post35
4
4
  Summary: Pluggy API
5
5
  Home-page: https://github.com/diraol/pluggy-python
6
6
  Author: Pluggy
@@ -28,8 +28,8 @@ Pluggy's main API to review data and execute connectors
28
28
  This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
29
29
 
30
30
  - API version: 1.0.0
31
- - Package version: 1.0.0.post34
32
- - Generator version: 7.11.0-SNAPSHOT
31
+ - Package version: 1.0.0.post35
32
+ - Generator version: 7.12.0-SNAPSHOT
33
33
  - Build package: org.openapitools.codegen.languages.PythonClientCodegen
34
34
  For more information, please visit [https://pluggy.ai](https://pluggy.ai)
35
35
 
@@ -1,7 +1,7 @@
1
- pluggy_sdk/__init__.py,sha256=zwTWR3VRyOAWCoSy1tYsTgrdltk43cG0ja3zIM_bA-M,12844
2
- pluggy_sdk/api_client.py,sha256=pESvp1zgjRdH7IAjd3ScgTvXVNqgoH36hReVGCjK3rs,27438
1
+ pluggy_sdk/__init__.py,sha256=z6PxDVNL0uhmlunSUfQEqnZh8IsqbjEVOfrOWdzbmyY,12844
2
+ pluggy_sdk/api_client.py,sha256=O_7ktDhQq6ImUrzftJJWTZZoLG3JNJr-2i3Fqs4q2tg,27438
3
3
  pluggy_sdk/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
4
- pluggy_sdk/configuration.py,sha256=SOQyk3VEKMY4ASY8DW0EfEtYGucykH3aF2oLf5Kqoe0,18485
4
+ pluggy_sdk/configuration.py,sha256=jyG1eD8U0EgIQjszHU6Odr8wqX8OpH8f4bJizlrFyUA,18485
5
5
  pluggy_sdk/exceptions.py,sha256=i3cDTqzBiyuMq9VdCqE6CVVf09vq_TDYL9uOVvFoZis,6452
6
6
  pluggy_sdk/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
7
  pluggy_sdk/rest.py,sha256=vVdVX3R4AbYt0r6TChhsMVAnyL1nf0RA6eZYjkaaBzY,9389
@@ -33,7 +33,7 @@ pluggy_sdk/api/portfolio_yield_api.py,sha256=MuqWrp6say2ZrwnucEszvH0dvpYZeB_IJDo
33
33
  pluggy_sdk/api/smart_account_api.py,sha256=jH2o0d7KgTGGf0R-DsEYDlEjxqhpiN1g_LNumXvAIMk,66997
34
34
  pluggy_sdk/api/smart_account_transfer_api.py,sha256=H-uScNzIIlUzymh8GHKLoypler5ThLOuMezqLMksh1Y,24070
35
35
  pluggy_sdk/api/smart_transfer_api.py,sha256=txy3I7VsD8wlmzPAmKgva7szkTi_2ne3RDMo6zrcj-0,56198
36
- pluggy_sdk/api/transaction_api.py,sha256=P3uIVt77rC4f9ITPJjT9oi8-pFrM6RmpgXP55_unCME,37955
36
+ pluggy_sdk/api/transaction_api.py,sha256=sVpiNZJst5REdvRHv7wW4iwOkRM070gn1asN7kibrzI,39099
37
37
  pluggy_sdk/api/webhook_api.py,sha256=PmwRiQPIvl5vdDqNFdVKJLdBMGMyoccEHYmrxf7A4G4,56195
38
38
  pluggy_sdk/models/__init__.py,sha256=NnMQ8oqM--bIoFcZvafaNTFJpDNf99PNlZ0kha8LoEU,11165
39
39
  pluggy_sdk/models/account.py,sha256=olFI5wpLnLLE7OO22B4zlNzSAf5TP8kGPVmYar_VUdg,5536
@@ -65,7 +65,7 @@ pluggy_sdk/models/benefits_list200_response.py,sha256=2nvqxafhuuXbl2rq9lXOLcVtBY
65
65
  pluggy_sdk/models/bill.py,sha256=e2tOe1aFBZs9VJMxV9pwsT-d4I8A66M7USGP9mWijbI,4476
66
66
  pluggy_sdk/models/bill_finance_charge.py,sha256=HzAfznWSmKYuDWt7kHzTMlCXDN_kYZzD5uEMH2qRsUE,3776
67
67
  pluggy_sdk/models/bills_list200_response.py,sha256=iGWpb0feuyvZt_9OjJxsrO8bUycaq0n-guzr6yqMNlU,3416
68
- pluggy_sdk/models/boleto.py,sha256=AXgr-nAs1EBqPVVRfuXdTDDnBbj0sLhOII2JlumeNpE,5402
68
+ pluggy_sdk/models/boleto.py,sha256=yMgFfXUGIa22GJwkuVFozC9Vwl_YYhvJk1Wk_93goRM,5426
69
69
  pluggy_sdk/models/boleto_payer.py,sha256=0zVxArLdsn9lQ68WcabB0oT4tD1QzTyKblN8aZxbjpo,2641
70
70
  pluggy_sdk/models/boleto_recipient.py,sha256=O89GyVOLrJVrTg9_0CHZjmjdlp9blpsMl5QlioE-Z_U,2665
71
71
  pluggy_sdk/models/bulk_payment.py,sha256=_EiKF2iM38AktGvOHGey0FG9_usnL6YPUM7gtTWPeJg,5717
@@ -121,7 +121,7 @@ pluggy_sdk/models/income_reports_response.py,sha256=cXTY6QSoXZ5gSzJD2rz992dQRHk0
121
121
  pluggy_sdk/models/investment.py,sha256=Wgrcn1BupoR-_2GRYHI5w_r7iuJJhQ-hNFPxaypXu7E,11148
122
122
  pluggy_sdk/models/investment_expenses.py,sha256=Tggx0ZhQV-EF1amRK5Qc-qTGMjw1bUkM4bo3re18OCk,5224
123
123
  pluggy_sdk/models/investment_metadata.py,sha256=iPjyP8eP7IM6Yp2angdHGN9ZrRlbIa4m9eO8XDxYQU8,3696
124
- pluggy_sdk/models/investment_transaction.py,sha256=1A3Ak7W5jcXzZycd05eLDYHsAikgJQXe73cp_a11NeA,4789
124
+ pluggy_sdk/models/investment_transaction.py,sha256=0NMEFh-yV0zTw1cstAz8x8kq8_oVLIPCh9kjXkxc1Ks,5004
125
125
  pluggy_sdk/models/investments_list200_response.py,sha256=JqUTarakPV6yzY162pLugeFudbwj6pHeCJYGdKVz8Js,3458
126
126
  pluggy_sdk/models/item.py,sha256=z__AH74riALcam8VE0U_GPCZPH7JrQydR1QeEHvlQRg,7295
127
127
  pluggy_sdk/models/item_creation_error_response.py,sha256=_zdN0Go6iU2deVKxRrexeYlDxWxYfWhjyrxisyQbjUI,3607
@@ -155,7 +155,7 @@ pluggy_sdk/models/page_response_investment_transactions.py,sha256=1tmgkQZST-uBq4
155
155
  pluggy_sdk/models/page_response_transactions.py,sha256=uVDrbsOwMG0IhlyU9Ri4OS5kkiOL6jT02eGA9_rdOPc,3295
156
156
  pluggy_sdk/models/parameter_validation_error.py,sha256=LHjLtSC2E0jlaDeljJONx2ljhUFDk3-sUgrZ_sGCHDs,2631
157
157
  pluggy_sdk/models/parameter_validation_response.py,sha256=oy9I3j23NItavWkK1GxNJ8qu8snAeH0WygExjXQeLn4,3273
158
- pluggy_sdk/models/payment_customer.py,sha256=ex6-H5-hXd04Q39gJVPIYvnAVXp8bhQjg3-9fi2HBaY,3413
158
+ pluggy_sdk/models/payment_customer.py,sha256=Xd-d1R34-q7i2jxBAOgWY7byphNLx8chGtMfYW0-bSc,3437
159
159
  pluggy_sdk/models/payment_customers_list200_response.py,sha256=X4IXDtLhs4g-ts7unv4sX50wtECDa6YH0rFXsuyyf60,3505
160
160
  pluggy_sdk/models/payment_data.py,sha256=xT9rS82U9wioBqQ3xB-JReHETlXlH2S5iCrUrnYW2eE,4638
161
161
  pluggy_sdk/models/payment_data_boleto_metadata.py,sha256=sH38_U3Sz5--5nCekrRU-4lXWtLcQixJZ-TE64ntFMA,3752
@@ -215,7 +215,7 @@ pluggy_sdk/models/webhook.py,sha256=2KV31zqFfHMzYzdrfVW7Sam6BsKigdQnPOKjsRiFYqI,
215
215
  pluggy_sdk/models/webhook_creation_error_response.py,sha256=SMvNMvJANk1NTn9BEugfwRtnEsJuoMsFo8tVvci3ayw,2681
216
216
  pluggy_sdk/models/webhooks_list200_response.py,sha256=_C8cwBIpZZrODNt-BS_pwAyBjZPxls6ffsy8vqYA6RU,3384
217
217
  pluggy_sdk/models/weekly.py,sha256=rEjJdwn52bBC5sNRUoWsMQ2uoaX7tDz68R5OOgBF1uw,4096
218
- pluggy_sdk-1.0.0.post34.dist-info/METADATA,sha256=kvTxndqPFG4IyQ0__Moq2g0bvpMZNUVmwFAMaH8MvxQ,23207
219
- pluggy_sdk-1.0.0.post34.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
220
- pluggy_sdk-1.0.0.post34.dist-info/top_level.txt,sha256=4RLkSSAcNiYLnk0_CN2vRQoezuSTIa7VPuNnaVutZP0,11
221
- pluggy_sdk-1.0.0.post34.dist-info/RECORD,,
218
+ pluggy_sdk-1.0.0.post35.dist-info/METADATA,sha256=d6V0cXK0bXA5-jyWiIP6LGNXlEaivEqcf3RTE7SpoSQ,23207
219
+ pluggy_sdk-1.0.0.post35.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
220
+ pluggy_sdk-1.0.0.post35.dist-info/top_level.txt,sha256=4RLkSSAcNiYLnk0_CN2vRQoezuSTIa7VPuNnaVutZP0,11
221
+ pluggy_sdk-1.0.0.post35.dist-info/RECORD,,