pluggy-sdk 1.0.0.post6__py3-none-any.whl → 1.0.0.post8__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.post6"
18
+ __version__ = "1.0.0.post8"
19
19
 
20
20
  # import apis into sdk package
21
21
  from pluggy_sdk.api.account_api import AccountApi
@@ -154,6 +154,7 @@ from pluggy_sdk.models.payment_data import PaymentData
154
154
  from pluggy_sdk.models.payment_data_participant import PaymentDataParticipant
155
155
  from pluggy_sdk.models.payment_institution import PaymentInstitution
156
156
  from pluggy_sdk.models.payment_intent import PaymentIntent
157
+ from pluggy_sdk.models.payment_intent_parameter import PaymentIntentParameter
157
158
  from pluggy_sdk.models.payment_intents_list200_response import PaymentIntentsList200Response
158
159
  from pluggy_sdk.models.payment_receipt import PaymentReceipt
159
160
  from pluggy_sdk.models.payment_receipt_bank_account import PaymentReceiptBankAccount
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.post6/python'
92
+ self.user_agent = 'OpenAPI-Generator/1.0.0.post8/python'
93
93
  self.client_side_validation = configuration.client_side_validation
94
94
 
95
95
  def __enter__(self):
@@ -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.post6".\
403
+ "SDK Package Version: 1.0.0.post8".\
404
404
  format(env=sys.platform, pyversion=sys.version)
405
405
 
406
406
  def get_host_settings(self):
@@ -116,6 +116,7 @@ from pluggy_sdk.models.payment_data import PaymentData
116
116
  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
+ from pluggy_sdk.models.payment_intent_parameter import PaymentIntentParameter
119
120
  from pluggy_sdk.models.payment_intents_list200_response import PaymentIntentsList200Response
120
121
  from pluggy_sdk.models.payment_receipt import PaymentReceipt
121
122
  from pluggy_sdk.models.payment_receipt_bank_account import PaymentReceiptBankAccount
@@ -39,14 +39,14 @@ class BulkPayment(BaseModel):
39
39
  callback_urls: Optional[PaymentRequestCallbackUrls] = Field(default=None, alias="callbackUrls")
40
40
  payment_url: StrictStr = Field(description="URL to begin the payment intent creation flow for this payment request", alias="paymentUrl")
41
41
  payment_requests: List[PaymentRequest] = Field(description="List of payment requests associated with the bulk payment", alias="paymentRequests")
42
- smart_account: SmartAccount = Field(alias="smartAccount")
42
+ smart_account: SmartAccount = Field(description="Smart account associated with the bulk payment", alias="smartAccount")
43
43
  __properties: ClassVar[List[str]] = ["id", "totalAmount", "status", "createdAt", "updatedAt", "callbackUrls", "paymentUrl", "paymentRequests", "smartAccount"]
44
44
 
45
45
  @field_validator('status')
46
46
  def status_validate_enum(cls, value):
47
47
  """Validates the enum"""
48
- if value not in set(['CREATED', 'PAYMENT_IN_PROGRESS', 'TOP_UP_IN_PROGRESS', 'COMPLETED', 'ERROR']):
49
- raise ValueError("must be one of enum values ('CREATED', 'PAYMENT_IN_PROGRESS', 'TOP_UP_IN_PROGRESS', 'COMPLETED', 'ERROR')")
48
+ if value not in set(['CREATED', 'PAYMENT_IN_PROGRESS', 'TOP_UP_IN_PROGRESS', 'COMPLETED', 'PARTIALLY_COMPLETED', 'ERROR']):
49
+ raise ValueError("must be one of enum values ('CREATED', 'PAYMENT_IN_PROGRESS', 'TOP_UP_IN_PROGRESS', 'COMPLETED', 'PARTIALLY_COMPLETED', 'ERROR')")
50
50
  return value
51
51
 
52
52
  model_config = ConfigDict(
@@ -18,8 +18,9 @@ import pprint
18
18
  import re # noqa: F401
19
19
  import json
20
20
 
21
- from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr
21
+ from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr, field_validator
22
22
  from typing import Any, ClassVar, Dict, List, Optional, Union
23
+ from pluggy_sdk.models.payment_intent_parameter import PaymentIntentParameter
23
24
  from typing import Optional, Set
24
25
  from typing_extensions import Self
25
26
 
@@ -29,9 +30,20 @@ class CreatePaymentIntent(BaseModel):
29
30
  """ # noqa: E501
30
31
  payment_request_id: Optional[StrictStr] = Field(default=None, description="Primary identifier of the payment request associated to the payment intent", alias="paymentRequestId")
31
32
  bulk_payment_id: Optional[StrictStr] = Field(default=None, description="Primary identifier of the bulk payment associated to the payment intent", alias="bulkPaymentId")
32
- connector_id: Union[StrictFloat, StrictInt] = Field(description="Primary identifier of the connector associated to the payment intent", alias="connectorId")
33
- parameters: Dict[str, StrictStr] = Field(description="Key-Value credentials neccesary to create an item")
34
- __properties: ClassVar[List[str]] = ["paymentRequestId", "bulkPaymentId", "connectorId", "parameters"]
33
+ parameters: Optional[PaymentIntentParameter] = None
34
+ connector_id: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Primary identifier of the connector associated to the payment intent", alias="connectorId")
35
+ payment_method: Optional[StrictStr] = Field(default=None, description="Payment method can be PIS (Payment Initiation) or PIX (PIX QR flow), if PIX selected only `bulkPaymentId` is required, if PIS selected only `paymentRequestId` or `bulkPaymentId` are required with `connectorId`, `parameters` and `paymentMethod`", alias="paymentMethod")
36
+ __properties: ClassVar[List[str]] = ["paymentRequestId", "bulkPaymentId", "parameters", "connectorId", "paymentMethod"]
37
+
38
+ @field_validator('payment_method')
39
+ def payment_method_validate_enum(cls, value):
40
+ """Validates the enum"""
41
+ if value is None:
42
+ return value
43
+
44
+ if value not in set(['PIS', 'PIX']):
45
+ raise ValueError("must be one of enum values ('PIS', 'PIX')")
46
+ return value
35
47
 
36
48
  model_config = ConfigDict(
37
49
  populate_by_name=True,
@@ -72,6 +84,9 @@ class CreatePaymentIntent(BaseModel):
72
84
  exclude=excluded_fields,
73
85
  exclude_none=True,
74
86
  )
87
+ # override the default output from pydantic by calling `to_dict()` of parameters
88
+ if self.parameters:
89
+ _dict['parameters'] = self.parameters.to_dict()
75
90
  return _dict
76
91
 
77
92
  @classmethod
@@ -86,8 +101,9 @@ class CreatePaymentIntent(BaseModel):
86
101
  _obj = cls.model_validate({
87
102
  "paymentRequestId": obj.get("paymentRequestId"),
88
103
  "bulkPaymentId": obj.get("bulkPaymentId"),
104
+ "parameters": PaymentIntentParameter.from_dict(obj["parameters"]) if obj.get("parameters") is not None else None,
89
105
  "connectorId": obj.get("connectorId"),
90
- "parameters": obj.get("parameters")
106
+ "paymentMethod": obj.get("paymentMethod")
91
107
  })
92
108
  return _obj
93
109
 
@@ -26,12 +26,12 @@ from typing_extensions import Self
26
26
 
27
27
  class CreatePaymentRecipient(BaseModel):
28
28
  """
29
- Request with information to create a payment recipient
29
+ Request with information to create a payment recipient, there is two form to create a payment recipient, one with pixKey and other with taxNumber, name, paymentInstitutionId and account
30
30
  """ # noqa: E501
31
- tax_number: StrictStr = Field(description="Account owner tax number. Can be CPF or CNPJ (only numbers). Send only when the pixKey is not sent.", alias="taxNumber")
32
- name: StrictStr = Field(description="Account owner name. Send only this when the pixKey is not sent.")
33
- payment_institution_id: StrictStr = Field(description="Primary identifier of the institution associated to the payment recipient. Send only when the pixKey is not sent.", alias="paymentInstitutionId")
34
- account: PaymentRecipientAccount
31
+ tax_number: Optional[StrictStr] = Field(default=None, description="Account owner tax number. Can be CPF or CNPJ (only numbers). Send only when the pixKey is not sent.", alias="taxNumber")
32
+ name: Optional[StrictStr] = Field(default=None, description="Account owner name. Send only this when the pixKey is not sent.")
33
+ payment_institution_id: Optional[StrictStr] = Field(default=None, description="Primary identifier of the institution associated to the payment recipient. Send only when the pixKey is not sent.", alias="paymentInstitutionId")
34
+ 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
  __properties: ClassVar[List[str]] = ["taxNumber", "name", "paymentInstitutionId", "account", "isDefault", "pixKey"]
@@ -53,7 +53,7 @@ class Investment(BaseModel):
53
53
  amount_profit: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Profit/Loss to date over the investment", alias="amountProfit")
54
54
  amount_withdrawal: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The amount available to withdraw", alias="amountWithdrawal")
55
55
  amount_original: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Amount originally invested", alias="amountOriginal")
56
- metadata: Optional[InvestmentMetadata] = None
56
+ metadata: Optional[InvestmentMetadata] = Field(default=None, description="Security Portability details")
57
57
  transactions: Optional[List[InvestmentTransaction]] = Field(default=None, description="(DEPRECATED: this field will be removed for new applications created from 21st March 2023 onward. Use the paginated `GET /investment/{id}/transactions` endpoint instead.) Transactions made on the investment (Buy, Sell, Transfer, Tax)")
58
58
  due_date: Optional[datetime] = Field(default=None, description="Expiration Date", alias="dueDate")
59
59
  issuer: Optional[StrictStr] = Field(default=None, description="The entity that issued the investment")
@@ -20,6 +20,7 @@ import json
20
20
 
21
21
  from pydantic import BaseModel, ConfigDict, Field, StrictStr
22
22
  from typing import Any, ClassVar, Dict, List, Optional
23
+ from pluggy_sdk.models.company import Company
23
24
  from typing import Optional, Set
24
25
  from typing_extensions import Self
25
26
 
@@ -31,7 +32,7 @@ class InvestmentMetadata(BaseModel):
31
32
  proposal_number: Optional[StrictStr] = Field(default=None, description="Previdencial proposal number", alias="proposalNumber")
32
33
  process_number: Optional[StrictStr] = Field(default=None, description="Number of the process of a previdencia", alias="processNumber")
33
34
  fund_name: Optional[StrictStr] = Field(default=None, description="Name of the fund associated with the previdencia.", alias="fundName")
34
- insurer: Optional[Dict[str, Any]] = None
35
+ insurer: Optional[Company] = Field(default=None, description="Insurer of the Security Investment")
35
36
  __properties: ClassVar[List[str]] = ["taxRegime", "proposalNumber", "processNumber", "fundName", "insurer"]
36
37
 
37
38
  model_config = ConfigDict(
pluggy_sdk/models/loan.py CHANGED
@@ -59,7 +59,7 @@ class Loan(BaseModel):
59
59
  contracted_finance_charges: Optional[List[LoanContractedFinanceCharge]] = Field(default=None, description="List that brings the charges agreed in the contract", alias="contractedFinanceCharges")
60
60
  warranties: Optional[List[LoanWarranty]] = None
61
61
  installments: Optional[LoanInstallments] = None
62
- payments: Optional[LoanPayments] = None
62
+ payments: Optional[LoanPayments] = Field(default=None, description="Loan contract payment data")
63
63
  __properties: ClassVar[List[str]] = ["id", "itemId", "contractNumber", "ipocCode", "productName", "type", "date", "contractDate", "disbursementDates", "settlementDate", "contractAmount", "currencyCode", "dueDate", "installmentPeriodicity", "installmentPeriodicityAdditionalInfo", "firstInstallmentDueDate", "CET", "amortizationScheduled", "amortizationScheduledAdditionalInfo", "cnpjConsignee", "interestRates", "contractedFees", "contractedFinanceCharges", "warranties", "installments", "payments"]
64
64
 
65
65
  @field_validator('installment_periodicity')
@@ -25,7 +25,7 @@ from typing_extensions import Self
25
25
 
26
26
  class LoanInstallmentBalloonPaymentAmount(BaseModel):
27
27
  """
28
- LoanInstallmentBalloonPaymentAmount
28
+ Monetary value of the non-regular installment due
29
29
  """ # noqa: E501
30
30
  value: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Monetary value of the non-regular installment due")
31
31
  currency_code: Optional[StrictStr] = Field(default=None, description="Code referencing the currency of the installment", alias="currencyCode")
@@ -30,7 +30,7 @@ class LoanInstallments(BaseModel):
30
30
  """ # noqa: E501
31
31
  type_number_of_installments: Optional[StrictStr] = Field(default=None, description="Type of total term of the contract referring to the type of credit informed", alias="typeNumberOfInstallments")
32
32
  total_number_of_installments: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total term according to the type referring to the type of credit informed", alias="totalNumberOfInstallments")
33
- type_contract_remaining: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Type of remaining term of the contract referring to the type of credit informed", alias="typeContractRemaining")
33
+ type_contract_remaining: Optional[StrictStr] = Field(default=None, description="Type of remaining term of the contract referring to the type of credit informed", alias="typeContractRemaining")
34
34
  contract_remaining_number: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Remaining term according to the type referring to the credit type informed", alias="contractRemainingNumber")
35
35
  paid_installments: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Number of paid installments", alias="paidInstallments")
36
36
  due_installments: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Number of due installments", alias="dueInstallments")
@@ -54,8 +54,8 @@ class LoanInstallments(BaseModel):
54
54
  if value is None:
55
55
  return value
56
56
 
57
- if value not in set([null, null, null, null, null, null]):
58
- raise ValueError("must be one of enum values (null, null, null, null, null, null)")
57
+ if value not in set(['DAY', 'WEEK', 'MONTH', 'YEAR', 'WITHOUT_TOTAL_PERIOD', 'WITHOUT_REMAINING_PERIOD']):
58
+ raise ValueError("must be one of enum values ('DAY', 'WEEK', 'MONTH', 'YEAR', 'WITHOUT_TOTAL_PERIOD', 'WITHOUT_REMAINING_PERIOD')")
59
59
  return value
60
60
 
61
61
  model_config = ConfigDict(
@@ -27,7 +27,7 @@ from typing_extensions import Self
27
27
 
28
28
  class LoanPaymentReleaseOverParcel(BaseModel):
29
29
  """
30
- LoanPaymentReleaseOverParcel
30
+ Object of fees and charges that were paid outside the installment
31
31
  """ # noqa: E501
32
32
  fees: Optional[List[LoanPaymentReleaseOverParcelFee]] = Field(default=None, description="List of fees that were paid outside the installment, only for single payment")
33
33
  charges: Optional[List[LoanPaymentReleaseOverParcelCharge]] = Field(default=None, description="List of charges that were paid out of installment")
@@ -20,6 +20,7 @@ import json
20
20
 
21
21
  from pydantic import BaseModel, ConfigDict, Field, StrictStr
22
22
  from typing import Any, ClassVar, Dict, List, Optional
23
+ from pluggy_sdk.models.document import Document
23
24
  from typing import Optional, Set
24
25
  from typing_extensions import Self
25
26
 
@@ -27,7 +28,7 @@ class PaymentDataParticipant(BaseModel):
27
28
  """
28
29
  Participant of the payment data
29
30
  """ # noqa: E501
30
- document_number: Optional[StrictStr] = Field(default=None, alias="documentNumber")
31
+ document_number: Optional[Document] = Field(default=None, alias="documentNumber")
31
32
  name: Optional[StrictStr] = Field(default=None, description="Fullname of the participant")
32
33
  account_number: Optional[StrictStr] = Field(default=None, description="Account number on the branch", alias="accountNumber")
33
34
  branch_number: Optional[StrictStr] = Field(default=None, description="Agency number", alias="branchNumber")
@@ -36,13 +36,13 @@ class PaymentIntent(BaseModel):
36
36
  status: Optional[StrictStr] = Field(default=None, description="Payment intent status")
37
37
  created_at: Optional[datetime] = Field(default=None, description="Date when the payment intent was created", alias="createdAt")
38
38
  updated_at: Optional[datetime] = Field(default=None, description="Date when the payment intent was updated", alias="updatedAt")
39
- payment_request: Optional[PaymentRequest] = Field(default=None, alias="paymentRequest")
40
- bulk_payment: Optional[BulkPayment] = Field(default=None, alias="bulkPayment")
41
- connector: Optional[Connector] = None
39
+ payment_request: Optional[PaymentRequest] = Field(default=None, description="Payment request associated to the payment intent", alias="paymentRequest")
40
+ bulk_payment: Optional[BulkPayment] = Field(default=None, description="Bulk Payment associated to the payment intent", alias="bulkPayment")
41
+ connector: Optional[Connector] = Field(default=None, description="Connector associated to the payment intent")
42
42
  consent_url: Optional[StrictStr] = Field(default=None, description="Url to authorize the payment intent", alias="consentUrl")
43
43
  reference_id: Optional[StrictStr] = Field(default=None, description="Pix id related to the payment intent", alias="referenceId")
44
44
  payment_method: Optional[StrictStr] = Field(default='PIS', description="Payment method can be PIS (Payment Initiation) or PIX", alias="paymentMethod")
45
- pix_data: Optional[PixData] = Field(default=None, alias="pixData")
45
+ pix_data: Optional[PixData] = Field(default=None, description="Pix data related to the payment intent (only applies for PIX payment method)", alias="pixData")
46
46
  __properties: ClassVar[List[str]] = ["id", "status", "createdAt", "updatedAt", "paymentRequest", "bulkPayment", "connector", "consentUrl", "referenceId", "paymentMethod", "pixData"]
47
47
 
48
48
  @field_validator('status')
@@ -0,0 +1,90 @@
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 PaymentIntentParameter(BaseModel):
27
+ """
28
+ Credentials neccesary to create a payment intent
29
+ """ # noqa: E501
30
+ cpf: StrictStr = Field(description="CPF of the payer")
31
+ cnpj: Optional[StrictStr] = Field(default=None, description="CNPJ of the payer")
32
+ __properties: ClassVar[List[str]] = ["cpf", "cnpj"]
33
+
34
+ model_config = ConfigDict(
35
+ populate_by_name=True,
36
+ validate_assignment=True,
37
+ protected_namespaces=(),
38
+ )
39
+
40
+
41
+ def to_str(self) -> str:
42
+ """Returns the string representation of the model using alias"""
43
+ return pprint.pformat(self.model_dump(by_alias=True))
44
+
45
+ def to_json(self) -> str:
46
+ """Returns the JSON representation of the model using alias"""
47
+ # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
48
+ return json.dumps(self.to_dict())
49
+
50
+ @classmethod
51
+ def from_json(cls, json_str: str) -> Optional[Self]:
52
+ """Create an instance of PaymentIntentParameter from a JSON string"""
53
+ return cls.from_dict(json.loads(json_str))
54
+
55
+ def to_dict(self) -> Dict[str, Any]:
56
+ """Return the dictionary representation of the model using alias.
57
+
58
+ This has the following differences from calling pydantic's
59
+ `self.model_dump(by_alias=True)`:
60
+
61
+ * `None` is only added to the output dict for nullable fields that
62
+ were set at model initialization. Other fields with value `None`
63
+ are ignored.
64
+ """
65
+ excluded_fields: Set[str] = set([
66
+ ])
67
+
68
+ _dict = self.model_dump(
69
+ by_alias=True,
70
+ exclude=excluded_fields,
71
+ exclude_none=True,
72
+ )
73
+ return _dict
74
+
75
+ @classmethod
76
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
77
+ """Create an instance of PaymentIntentParameter from a dict"""
78
+ if obj is None:
79
+ return None
80
+
81
+ if not isinstance(obj, dict):
82
+ return cls.model_validate(obj)
83
+
84
+ _obj = cls.model_validate({
85
+ "cpf": obj.get("cpf"),
86
+ "cnpj": obj.get("cnpj")
87
+ })
88
+ return _obj
89
+
90
+
@@ -33,8 +33,8 @@ class PaymentReceipt(BaseModel):
33
33
  payment_request_id: StrictStr = Field(description="Payment request identifier", alias="paymentRequestId")
34
34
  expires_at: datetime = Field(description="Date when the payment receipt expires", alias="expiresAt")
35
35
  receipt_url: StrictStr = Field(description="URL to download the payment receipt", alias="receiptUrl")
36
- creditor: PaymentReceiptPerson
37
- debtor: PaymentReceiptPerson
36
+ creditor: PaymentReceiptPerson = Field(description="Creditor bank account information")
37
+ debtor: PaymentReceiptPerson = Field(description="Debtor bank account information")
38
38
  amount: Union[StrictFloat, StrictInt] = Field(description="Payment amount")
39
39
  description: Optional[StrictStr] = Field(default=None, description="Payment description")
40
40
  reference_id: StrictStr = Field(description="Payment reference identifier", alias="referenceId")
@@ -32,7 +32,7 @@ class PaymentRecipient(BaseModel):
32
32
  id: StrictStr = Field(description="Primary identifier")
33
33
  tax_number: StrictStr = Field(description="Account owner tax number. Can be CPF or CNPJ (only numbers).", alias="taxNumber")
34
34
  name: StrictStr = Field(description="Account owner name.")
35
- payment_institution: PaymentInstitution = Field(alias="paymentInstitution")
35
+ payment_institution: PaymentInstitution = Field(description="Recipient's bank account destination.", alias="paymentInstitution")
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")
@@ -31,7 +31,7 @@ class UpdatePaymentRecipient(BaseModel):
31
31
  tax_number: Optional[StrictStr] = Field(default=None, description="Account owner tax number. Can be CPF or CNPJ (only numbers). Send only if the recipient doesn't have a pixKey.", alias="taxNumber")
32
32
  name: Optional[StrictStr] = Field(default=None, description="Account owner name. Send only if the recipient doesn't have a pixKey.")
33
33
  payment_institution_id: Optional[StrictStr] = Field(default=None, description="Primary identifier of the institution associated to the payment recipient. Send only if the recipient doesn't have a pixKey.", alias="paymentInstitutionId")
34
- account: Optional[PaymentRecipientAccount] = None
34
+ account: Optional[PaymentRecipientAccount] = Field(default=None, description="Recipient's bank account destination. Send only if the recipient doesn't have a pixKey.")
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
  __properties: ClassVar[List[str]] = ["taxNumber", "name", "paymentInstitutionId", "account", "isDefault", "pixKey"]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pluggy-sdk
3
- Version: 1.0.0.post6
3
+ Version: 1.0.0.post8
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.post6
22
+ - Package version: 1.0.0.post8
23
23
  - Generator version: 7.6.0-SNAPSHOT
24
24
  - Build package: org.openapitools.codegen.languages.PythonClientCodegen
25
25
  For more information, please visit [https://pluggy.ai](https://pluggy.ai)
@@ -290,6 +290,7 @@ Class | Method | HTTP request | Description
290
290
  - [PaymentDataParticipant](docs/PaymentDataParticipant.md)
291
291
  - [PaymentInstitution](docs/PaymentInstitution.md)
292
292
  - [PaymentIntent](docs/PaymentIntent.md)
293
+ - [PaymentIntentParameter](docs/PaymentIntentParameter.md)
293
294
  - [PaymentIntentsList200Response](docs/PaymentIntentsList200Response.md)
294
295
  - [PaymentReceipt](docs/PaymentReceipt.md)
295
296
  - [PaymentReceiptBankAccount](docs/PaymentReceiptBankAccount.md)
@@ -1,7 +1,7 @@
1
- pluggy_sdk/__init__.py,sha256=glTx4AqvTn_nYeH78dn5sjlL_9Ly0IGN2k66xbJm8oE,11722
2
- pluggy_sdk/api_client.py,sha256=_eA0vOqF8bDgg1s_BJh4aXAQuQCkYz4hxNEs1_7p9WQ,26305
1
+ pluggy_sdk/__init__.py,sha256=minH4yU_Dw4CHTDP2C8vOXMaNNYtiL0z7gzCc3nj7tU,11800
2
+ pluggy_sdk/api_client.py,sha256=sjlADCv1bal-_soAZLldtGeWJIqisb5OkEaunnMsV6M,26305
3
3
  pluggy_sdk/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
4
- pluggy_sdk/configuration.py,sha256=KTy272Mb0AvbOYiBe6ZXiaERH65dE6IUkshad6SQ8fk,15330
4
+ pluggy_sdk/configuration.py,sha256=L5hw6TFBzymhnIGRRWzs_oV9Xv-dpF-H8dIPD8amIOo,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
@@ -28,7 +28,7 @@ pluggy_sdk/api/portfolio_yield_api.py,sha256=R_Cz-1G0s7qOUltG-VOXi8GSCNceM1j4lmu
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=bAf02Dh6CU59SST8sEJ1BvolvwZu0AnQ8gztq9iqO7A,9937
31
+ pluggy_sdk/models/__init__.py,sha256=gXGur8PMx8j_eh6fpOCPS8XHOiE4IBx3z6PAmwWkr8k,10015
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
@@ -53,7 +53,7 @@ pluggy_sdk/models/bank_data.py,sha256=mfNQfxIA0i2swgd3ODsaIgtMhBG_imQCNXEucaPewZ
53
53
  pluggy_sdk/models/bill.py,sha256=Y8OyTNUp7oBeEHG-xH0lq7PLA_NlnCw9kx5runjMjyk,4428
54
54
  pluggy_sdk/models/bill_finance_charge.py,sha256=HzAfznWSmKYuDWt7kHzTMlCXDN_kYZzD5uEMH2qRsUE,3776
55
55
  pluggy_sdk/models/bills_list200_response.py,sha256=PkG522y0madvJU4vmp7RZJxlrXmGWtwBXcHyeZACe5s,3392
56
- pluggy_sdk/models/bulk_payment.py,sha256=LoZV3XJbr1IP1p-w2fdaFPzgZqS4wX_Af_QbWrWbQms,5558
56
+ pluggy_sdk/models/bulk_payment.py,sha256=7O3FzQwA9BWwClAUgJPcP5w0Mne82UQpSBKnvEuGMog,5666
57
57
  pluggy_sdk/models/bulk_payments_list200_response.py,sha256=bPR8YYGBL1p5vcPpa4co2lSPeRyJeRebthD_mI0NCbA,3445
58
58
  pluggy_sdk/models/category.py,sha256=oFSunhtg1GY2iJKhbio0ZtPeiFAwvOY-mknLELuQkYw,3297
59
59
  pluggy_sdk/models/client_category_rule.py,sha256=MiJA4luKDsgTCfSV1jZj-MclCk46WF7kTt48uhSy_TY,3070
@@ -72,8 +72,8 @@ pluggy_sdk/models/create_item.py,sha256=6CAefEt0OufD63Lz_I-rE8NKcTGwawkng-OU2Nc3
72
72
  pluggy_sdk/models/create_item_parameters.py,sha256=ZAT3HYQRIJMCTO6XRJtBFWLix2LrKrZTWnLtuYMw11k,5380
73
73
  pluggy_sdk/models/create_or_update_payment_customer.py,sha256=ZvN-Pa9LGAR33L5G4XFSbIUPP3RaUsOeD45K5oOKZ-U,3455
74
74
  pluggy_sdk/models/create_payment_customer_request_body.py,sha256=YvSSzXEW2yI7M9alWr4fHbPRqNvV4sxTUVp3FkMQSyU,3365
75
- pluggy_sdk/models/create_payment_intent.py,sha256=FvZP4dBNKOdTcsyISv6E65nwiM5hmcx7O7MRH0Pj5Yw,3396
76
- pluggy_sdk/models/create_payment_recipient.py,sha256=IA-QBxzqYK1KjElkarVZvZBOeoqpYe_VFSC0XONczv4,3952
75
+ pluggy_sdk/models/create_payment_intent.py,sha256=xKIRkN9MkdgEgvtqyDQLg9Y9G2N1_FY-DkJMrMJjrko,4446
76
+ pluggy_sdk/models/create_payment_recipient.py,sha256=gqsRNyirAW8fXBIAn6RYo9oY5NTjLlL9M69hJhGgUHw,4277
77
77
  pluggy_sdk/models/create_payment_request.py,sha256=EaPPkdarRJYiIqUEmNzVaZhfLrE9guH9kVzBACEyEXg,3912
78
78
  pluggy_sdk/models/create_pix_qr_payment_request.py,sha256=gyRV61yUjf_K4WeihOoBSQySS2NODl2sl4STITpMuIA,3354
79
79
  pluggy_sdk/models/create_smart_account_request.py,sha256=ZxfVt_baOOkWDaVB9ndDnmVMx3zwkVnbSRL9iCMfMSQ,3612
@@ -89,24 +89,24 @@ pluggy_sdk/models/identity_relation.py,sha256=d_jRZfiYsJOeO5AOpfa8iAiupzGSmXZVxk
89
89
  pluggy_sdk/models/identity_response.py,sha256=AFQNeTjIVlKj-_N4-6cQ5NmxtAdbtl6RPlUSP-PiXrY,7152
90
90
  pluggy_sdk/models/income_report.py,sha256=MscdLVudpzaySJ__mKCBVD0vJcHoOKVIYyFJ6xaNS5U,2788
91
91
  pluggy_sdk/models/income_reports_response.py,sha256=d4Ppt8s47DgivjIviZ5-4kamEbABoPPHTcHt4NvhvIo,3514
92
- pluggy_sdk/models/investment.py,sha256=ndgdfhUbGWWW3rvngnDtUS_7sy80804rSETc_1Fvsgc,11050
92
+ pluggy_sdk/models/investment.py,sha256=qeQXYEI57R-AVNtb-9ILCAMl3DhxTOvfuxD36lnf-Vk,11109
93
93
  pluggy_sdk/models/investment_expenses.py,sha256=Tggx0ZhQV-EF1amRK5Qc-qTGMjw1bUkM4bo3re18OCk,5224
94
- pluggy_sdk/models/investment_metadata.py,sha256=q2G_62-Zuw1ZwrfA6rlxq5c1QscF87JMjKnaYrmU24c,3592
94
+ pluggy_sdk/models/investment_metadata.py,sha256=iPjyP8eP7IM6Yp2angdHGN9ZrRlbIa4m9eO8XDxYQU8,3696
95
95
  pluggy_sdk/models/investment_transaction.py,sha256=sxdtNZ0ppU34lOqWDnK5r6zFmVOItVIaGv0dCcd-8yk,4733
96
96
  pluggy_sdk/models/investments_list200_response.py,sha256=m2PraWmNbGIMbw_9Jw7-IKSGwyuiH8u95lo_VGKdM8I,3434
97
97
  pluggy_sdk/models/item.py,sha256=yKW3WFybiQDDnnphM6aRFRRpizpG-vt9EDPI2WzkPHc,7162
98
98
  pluggy_sdk/models/item_creation_error_response.py,sha256=n_AF0t3rg1XK9H1P_LHDalrUBK6uAQeR5aEpEe1vNOc,3586
99
99
  pluggy_sdk/models/item_error.py,sha256=2wbKBj82sw3NPhNqxCCnw-c15-QuFhy5Ywe29h2HicQ,3155
100
100
  pluggy_sdk/models/item_options.py,sha256=cTRMzwsK1JUQvTAsKeENOy7qEyt4NJ01zSf8wZ62sgo,2882
101
- pluggy_sdk/models/loan.py,sha256=HRAELIYaRWN-tZCvd5EiPvGKQ0DsqRjYjzCYbywZZF0,11967
101
+ pluggy_sdk/models/loan.py,sha256=NI7wBLGGlhFQMWDstJaFX5I-ac9V4gjjAIp2FtdHIQs,12024
102
102
  pluggy_sdk/models/loan_contracted_fee.py,sha256=k2EHfnbElL7scRmPQSKmzZ3oSxh50Z9wtAPe2Q2Oqzw,4205
103
103
  pluggy_sdk/models/loan_contracted_finance_charge.py,sha256=-2cHDwe9IfcWxtjLaL1Vs0PdWsqMv5RGO_Cx2fo3dj0,3153
104
104
  pluggy_sdk/models/loan_installment_balloon_payment.py,sha256=W9WH53-m8pz1AArlHri8-pbxNREo92quYLglTUeWCVk,3202
105
- pluggy_sdk/models/loan_installment_balloon_payment_amount.py,sha256=GdWUf4TnLQ4GnZ7RPfMwWz9Pj5G3O41cUyniKygYwr8,2922
106
- pluggy_sdk/models/loan_installments.py,sha256=E5GCogAaNmoqcP2D6JOJ3Xml8dWf4Rcx7xHVGvonGnc,6117
105
+ pluggy_sdk/models/loan_installment_balloon_payment_amount.py,sha256=n2W97p1QrZmrcseGJfkQCFMMCtSp37bMElyWVylfL4c,2936
106
+ pluggy_sdk/models/loan_installments.py,sha256=_viUM0w9h4Xbq2X9eSJ1BAlXN0VJdRvCvLi-TDrHPGA,6193
107
107
  pluggy_sdk/models/loan_interest_rate.py,sha256=z2sL9_0Q8io4p3wwF6jjmOJ9Yt9gNcZr5YHwxVrTNKQ,6278
108
108
  pluggy_sdk/models/loan_payment_release.py,sha256=Q9TSd4bHl9vu6W4mJatkYeiblmUCKI2LgUzmvMLRPjA,4233
109
- pluggy_sdk/models/loan_payment_release_over_parcel.py,sha256=efttZY4A0fze979aLWvD2p6mOk16B9km6xLHa9yj4UM,3882
109
+ pluggy_sdk/models/loan_payment_release_over_parcel.py,sha256=nXFeAmSrPP2oi5AtRzhkfkxjdM2jIPOXn_PHO6j0T1E,3919
110
110
  pluggy_sdk/models/loan_payment_release_over_parcel_charge.py,sha256=BieU1pled7qC_5zKW3xwX-_Z4N1gBl3CJOmWkrRYETo,3230
111
111
  pluggy_sdk/models/loan_payment_release_over_parcel_fee.py,sha256=o9F2FuGgy-Ht93XrFqLbdHxB34RYb6qH0e-yGnkJi6A,2988
112
112
  pluggy_sdk/models/loan_payments.py,sha256=s3IOiaTB-HsAG0qo_iUfdwhkNhYsGvQs7fK4pGR07Pc,3377
@@ -127,14 +127,15 @@ pluggy_sdk/models/parameter_validation_response.py,sha256=Tji_0tM46719s1oBmF9Pma
127
127
  pluggy_sdk/models/payment_customer.py,sha256=ex6-H5-hXd04Q39gJVPIYvnAVXp8bhQjg3-9fi2HBaY,3413
128
128
  pluggy_sdk/models/payment_customers_list200_response.py,sha256=l1n0ukgFYxTvZE5RW1Sc4Ae-vr8hx3xE9COb6_FauQ0,3481
129
129
  pluggy_sdk/models/payment_data.py,sha256=uD2IjAS_sp_sr5ag9727MPUO7rPro4xfWVBQlHY2LfQ,4087
130
- pluggy_sdk/models/payment_data_participant.py,sha256=uJjbYf8efeEvRp0QOIiQp7QQrYKeJpAQs-XI9ViKvOk,3793
130
+ pluggy_sdk/models/payment_data_participant.py,sha256=u9wzgDaV5u1ZEr1b9n_xLaHtaYSx17gXdiwwREpbZQg,3840
131
131
  pluggy_sdk/models/payment_institution.py,sha256=hpnfHLCvdsiwxznKYOtig1sfjYjnb6r0wuoZV0j424Q,3463
132
- pluggy_sdk/models/payment_intent.py,sha256=lETC3q4RuPG1Zj1y5go1gJPH-t10nW232Rl_UNR4UCs,6691
132
+ pluggy_sdk/models/payment_intent.py,sha256=wSEOFlU1bvqe-g4ir7XsRBfgjksbqIxWAS54vCgI2VM,6981
133
+ pluggy_sdk/models/payment_intent_parameter.py,sha256=WNkeR3mCL9oLeriu5wopL5DAhcsnUsMb_EV8ZZJaXDA,2694
133
134
  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.py,sha256=IcxlGTA8knKwJ95AKMjYLXo_7UrdXAuHGOiiGhU6waw,4584
135
136
  pluggy_sdk/models/payment_receipt_bank_account.py,sha256=eCDX7EPFmNErKl8x8LAZSGnlT8Ii7kHL4th6pVaU_9E,2881
136
137
  pluggy_sdk/models/payment_receipt_person.py,sha256=9eHiWC33eisDSZJgHW6ho_xD2ekaMuzq8AdvVEt5dUE,3246
137
- pluggy_sdk/models/payment_recipient.py,sha256=bOJvgLFpzPsiEV_atDrFb9jaGLA9sc8fF94C5gBWRjc,4159
138
+ pluggy_sdk/models/payment_recipient.py,sha256=PKpjebsFXZBMQphfF0bragOYzn4ym2V504BWMDhgeF8,4212
138
139
  pluggy_sdk/models/payment_recipient_account.py,sha256=eSnsoBv382LhyjMu172GXsZsBb1M1Ig0iim1dmAPCX0,3177
139
140
  pluggy_sdk/models/payment_recipients_institution_list200_response.py,sha256=a-gty_usP5fMRajNCL7zIPBO1WqWa1zwIhJgCDXMTF0,3544
140
141
  pluggy_sdk/models/payment_recipients_list200_response.py,sha256=9r8qMLzGDumoGG0HWfmQbhNC4kGjzBLZPz_6-YNzb08,3490
@@ -155,13 +156,13 @@ pluggy_sdk/models/status_detail_product_warning.py,sha256=LFYFdkpQxvS5W2Kj3cxGGv
155
156
  pluggy_sdk/models/transaction.py,sha256=a9B3D6fwMZJcJxNEtWPF7IhQT-f5SfuUJfqmL0nMCJI,6919
156
157
  pluggy_sdk/models/update_item.py,sha256=zlSVOxAgzCERzCjaIViapLzbi8nCAfz2LndU9dumkFM,4136
157
158
  pluggy_sdk/models/update_item_parameters.py,sha256=yeIMinw_yVyCr9OxyZcxEe-17zCNNoKK8MkysO7yDcc,5324
158
- pluggy_sdk/models/update_payment_recipient.py,sha256=xTeosGiNsvMQWUX-bJHoEfkrp6ybki_ZBUGsE3WkycM,4069
159
+ pluggy_sdk/models/update_payment_recipient.py,sha256=CvKd2orRdEYgroSy42bkzxqiJ_JjELQhnxwf7R7bx3Y,4187
159
160
  pluggy_sdk/models/update_payment_request.py,sha256=T69l1LZAOn2Zbc7Vlaat5eiB-iuv2G_VMYuqOQBNR78,3936
160
161
  pluggy_sdk/models/update_transaction.py,sha256=979zai0z2scYygWA7STBzZBjnWg6zoQFjNpgso7fIqM,2590
161
162
  pluggy_sdk/models/webhook.py,sha256=2KV31zqFfHMzYzdrfVW7Sam6BsKigdQnPOKjsRiFYqI,3827
162
163
  pluggy_sdk/models/webhook_creation_error_response.py,sha256=SMvNMvJANk1NTn9BEugfwRtnEsJuoMsFo8tVvci3ayw,2681
163
164
  pluggy_sdk/models/webhooks_list200_response.py,sha256=DITv0Fg0S1Jl8k9sSdKKwhWmzp0TmMmrJjQqgo36yL0,3360
164
- pluggy_sdk-1.0.0.post6.dist-info/METADATA,sha256=jVcDgKBUTf-ahxwQbs-gnxaOX8RMdKAAHrnpE-Wcups,20825
165
- pluggy_sdk-1.0.0.post6.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
166
- pluggy_sdk-1.0.0.post6.dist-info/top_level.txt,sha256=4RLkSSAcNiYLnk0_CN2vRQoezuSTIa7VPuNnaVutZP0,11
167
- pluggy_sdk-1.0.0.post6.dist-info/RECORD,,
165
+ pluggy_sdk-1.0.0.post8.dist-info/METADATA,sha256=MU9tNCL79UXn6OqW2Wex_aB8GkpunRWU-AqoXcZwEkA,20885
166
+ pluggy_sdk-1.0.0.post8.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
167
+ pluggy_sdk-1.0.0.post8.dist-info/top_level.txt,sha256=4RLkSSAcNiYLnk0_CN2vRQoezuSTIa7VPuNnaVutZP0,11
168
+ pluggy_sdk-1.0.0.post8.dist-info/RECORD,,