pluggy-sdk 1.0.0.post5__py3-none-any.whl → 1.0.0.post6__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.post5"
18
+ __version__ = "1.0.0.post6"
19
19
 
20
20
  # import apis into sdk package
21
21
  from pluggy_sdk.api.account_api import AccountApi
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.post5/python'
92
+ self.user_agent = 'OpenAPI-Generator/1.0.0.post6/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.post5".\
403
+ "SDK Package Version: 1.0.0.post6".\
404
404
  format(env=sys.platform, pyversion=sys.version)
405
405
 
406
406
  def get_host_settings(self):
@@ -28,12 +28,13 @@ class CreatePaymentRecipient(BaseModel):
28
28
  """
29
29
  Request with information to create a payment recipient
30
30
  """ # noqa: E501
31
- tax_number: StrictStr = Field(description="Account owner tax number. Can be CPF or CNPJ (only numbers)", alias="taxNumber")
32
- name: StrictStr = Field(description="Account owner name")
33
- payment_institution_id: StrictStr = Field(description="Primary identifier of the institution associated to the payment recipient", alias="paymentInstitutionId")
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
34
  account: PaymentRecipientAccount
35
35
  is_default: Optional[StrictBool] = Field(default=None, description="Indicates if the recipient is the default one", alias="isDefault")
36
- __properties: ClassVar[List[str]] = ["taxNumber", "name", "paymentInstitutionId", "account", "isDefault"]
36
+ pix_key: Optional[StrictStr] = Field(default=None, description="Pix key associated with the payment recipient", alias="pixKey")
37
+ __properties: ClassVar[List[str]] = ["taxNumber", "name", "paymentInstitutionId", "account", "isDefault", "pixKey"]
37
38
 
38
39
  model_config = ConfigDict(
39
40
  populate_by_name=True,
@@ -93,7 +94,8 @@ class CreatePaymentRecipient(BaseModel):
93
94
  "name": obj.get("name"),
94
95
  "paymentInstitutionId": obj.get("paymentInstitutionId"),
95
96
  "account": PaymentRecipientAccount.from_dict(obj["account"]) if obj.get("account") is not None else None,
96
- "isDefault": obj.get("isDefault")
97
+ "isDefault": obj.get("isDefault"),
98
+ "pixKey": obj.get("pixKey")
97
99
  })
98
100
  return _obj
99
101
 
@@ -30,12 +30,13 @@ class PaymentRecipient(BaseModel):
30
30
  Response with information related to a payment recipient
31
31
  """ # noqa: E501
32
32
  id: StrictStr = Field(description="Primary identifier")
33
- tax_number: StrictStr = Field(description="Account owner tax number. Can be CPF or CNPJ (only numbers)", alias="taxNumber")
34
- name: StrictStr = Field(description="Account owner name")
35
- payment_institution: Optional[PaymentInstitution] = Field(default=None, alias="paymentInstitution")
36
- is_default: Optional[StrictBool] = Field(default=None, description="Indicates if the recipient is the default one", alias="isDefault")
33
+ tax_number: StrictStr = Field(description="Account owner tax number. Can be CPF or CNPJ (only numbers).", alias="taxNumber")
34
+ name: StrictStr = Field(description="Account owner name.")
35
+ payment_institution: PaymentInstitution = Field(alias="paymentInstitution")
36
+ is_default: StrictBool = Field(description="Indicates if the recipient is the default one", alias="isDefault")
37
37
  account: PaymentRecipientAccount
38
- __properties: ClassVar[List[str]] = ["id", "taxNumber", "name", "paymentInstitution", "isDefault", "account"]
38
+ pix_key: Optional[StrictStr] = Field(default=None, description="Pix key associated with the payment recipient", alias="pixKey")
39
+ __properties: ClassVar[List[str]] = ["id", "taxNumber", "name", "paymentInstitution", "isDefault", "account", "pixKey"]
39
40
 
40
41
  model_config = ConfigDict(
41
42
  populate_by_name=True,
@@ -99,7 +100,8 @@ class PaymentRecipient(BaseModel):
99
100
  "name": obj.get("name"),
100
101
  "paymentInstitution": PaymentInstitution.from_dict(obj["paymentInstitution"]) if obj.get("paymentInstitution") is not None else None,
101
102
  "isDefault": obj.get("isDefault"),
102
- "account": PaymentRecipientAccount.from_dict(obj["account"]) if obj.get("account") is not None else None
103
+ "account": PaymentRecipientAccount.from_dict(obj["account"]) if obj.get("account") is not None else None,
104
+ "pixKey": obj.get("pixKey")
103
105
  })
104
106
  return _obj
105
107
 
@@ -39,7 +39,8 @@ class PaymentRequest(BaseModel):
39
39
  callback_urls: Optional[PaymentRequestCallbackUrls] = Field(default=None, alias="callbackUrls")
40
40
  recipient_id: Optional[StrictStr] = Field(default=None, description="Payment receiver identifier", alias="recipientId")
41
41
  payment_url: StrictStr = Field(description="URL to begin the payment intent creation flow for this payment request", alias="paymentUrl")
42
- __properties: ClassVar[List[str]] = ["id", "amount", "description", "status", "clientPaymentId", "createdAt", "updatedAt", "callbackUrls", "recipientId", "paymentUrl"]
42
+ pix_qr_code: Optional[StrictStr] = Field(default=None, description="Pix QR code generated by the payment receiver", alias="pixQrCode")
43
+ __properties: ClassVar[List[str]] = ["id", "amount", "description", "status", "clientPaymentId", "createdAt", "updatedAt", "callbackUrls", "recipientId", "paymentUrl", "pixQrCode"]
43
44
 
44
45
  @field_validator('status')
45
46
  def status_validate_enum(cls, value):
@@ -111,7 +112,8 @@ class PaymentRequest(BaseModel):
111
112
  "updatedAt": obj.get("updatedAt"),
112
113
  "callbackUrls": PaymentRequestCallbackUrls.from_dict(obj["callbackUrls"]) if obj.get("callbackUrls") is not None else None,
113
114
  "recipientId": obj.get("recipientId"),
114
- "paymentUrl": obj.get("paymentUrl")
115
+ "paymentUrl": obj.get("paymentUrl"),
116
+ "pixQrCode": obj.get("pixQrCode")
115
117
  })
116
118
  return _obj
117
119
 
@@ -28,12 +28,13 @@ class UpdatePaymentRecipient(BaseModel):
28
28
  """
29
29
  Request with information to update a payment recipient
30
30
  """ # noqa: E501
31
- tax_number: Optional[StrictStr] = Field(default=None, description="Account owner tax number. Can be CPF or CNPJ (only numbers)", alias="taxNumber")
32
- name: Optional[StrictStr] = Field(default=None, description="Account owner name")
33
- payment_institution_id: Optional[StrictStr] = Field(default=None, description="Primary identifier of the institution associated to the payment recipient", alias="paymentInstitutionId")
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
+ name: Optional[StrictStr] = Field(default=None, description="Account owner name. Send only if the recipient doesn't have a pixKey.")
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
34
  account: Optional[PaymentRecipientAccount] = None
35
35
  is_default: Optional[StrictBool] = Field(default=None, description="Indicates if the recipient is the default one", alias="isDefault")
36
- __properties: ClassVar[List[str]] = ["taxNumber", "name", "paymentInstitutionId", "account", "isDefault"]
36
+ pix_key: Optional[StrictStr] = Field(default=None, description="Pix key associated with the payment recipient", alias="pixKey")
37
+ __properties: ClassVar[List[str]] = ["taxNumber", "name", "paymentInstitutionId", "account", "isDefault", "pixKey"]
37
38
 
38
39
  model_config = ConfigDict(
39
40
  populate_by_name=True,
@@ -93,7 +94,8 @@ class UpdatePaymentRecipient(BaseModel):
93
94
  "name": obj.get("name"),
94
95
  "paymentInstitutionId": obj.get("paymentInstitutionId"),
95
96
  "account": PaymentRecipientAccount.from_dict(obj["account"]) if obj.get("account") is not None else None,
96
- "isDefault": obj.get("isDefault")
97
+ "isDefault": obj.get("isDefault"),
98
+ "pixKey": obj.get("pixKey")
97
99
  })
98
100
  return _obj
99
101
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pluggy-sdk
3
- Version: 1.0.0.post5
3
+ Version: 1.0.0.post6
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.post5
23
- - Generator version: 7.5.0-SNAPSHOT
22
+ - Package version: 1.0.0.post6
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)
26
26
 
@@ -1,7 +1,7 @@
1
- pluggy_sdk/__init__.py,sha256=El_n5JhhnXKyBcgRDJjwfgPx_VdXsJ46FLnf9jSeazo,11722
2
- pluggy_sdk/api_client.py,sha256=MUKhZ2889Ccac4KvxG5Lx6tmROYXgdbxw2wpxKq9yTE,26305
1
+ pluggy_sdk/__init__.py,sha256=glTx4AqvTn_nYeH78dn5sjlL_9Ly0IGN2k66xbJm8oE,11722
2
+ pluggy_sdk/api_client.py,sha256=_eA0vOqF8bDgg1s_BJh4aXAQuQCkYz4hxNEs1_7p9WQ,26305
3
3
  pluggy_sdk/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
4
- pluggy_sdk/configuration.py,sha256=J-nTvLfQGv6v5YIizqTHgHznLbKlu8kUHUjq3hz_NgM,15330
4
+ pluggy_sdk/configuration.py,sha256=KTy272Mb0AvbOYiBe6ZXiaERH65dE6IUkshad6SQ8fk,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
@@ -73,7 +73,7 @@ pluggy_sdk/models/create_item_parameters.py,sha256=ZAT3HYQRIJMCTO6XRJtBFWLix2LrK
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
75
  pluggy_sdk/models/create_payment_intent.py,sha256=FvZP4dBNKOdTcsyISv6E65nwiM5hmcx7O7MRH0Pj5Yw,3396
76
- pluggy_sdk/models/create_payment_recipient.py,sha256=c7GDSljWAtCzWhSSRzWK6eWjdtNLtXiZN20OrqR0osU,3644
76
+ pluggy_sdk/models/create_payment_recipient.py,sha256=IA-QBxzqYK1KjElkarVZvZBOeoqpYe_VFSC0XONczv4,3952
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
@@ -134,11 +134,11 @@ pluggy_sdk/models/payment_intents_list200_response.py,sha256=jcMQcYmIdwGLhct3dkg
134
134
  pluggy_sdk/models/payment_receipt.py,sha256=NAVIj2yvh30JDOml9i7_qNiRPXd-9SVrG69vho_Jujs,4472
135
135
  pluggy_sdk/models/payment_receipt_bank_account.py,sha256=eCDX7EPFmNErKl8x8LAZSGnlT8Ii7kHL4th6pVaU_9E,2881
136
136
  pluggy_sdk/models/payment_receipt_person.py,sha256=9eHiWC33eisDSZJgHW6ho_xD2ekaMuzq8AdvVEt5dUE,3246
137
- pluggy_sdk/models/payment_recipient.py,sha256=wR92hiJGd6fJvhjKfOhQT5sj_i_lGJs45gWUgbxoWJA,4022
137
+ pluggy_sdk/models/payment_recipient.py,sha256=bOJvgLFpzPsiEV_atDrFb9jaGLA9sc8fF94C5gBWRjc,4159
138
138
  pluggy_sdk/models/payment_recipient_account.py,sha256=eSnsoBv382LhyjMu172GXsZsBb1M1Ig0iim1dmAPCX0,3177
139
139
  pluggy_sdk/models/payment_recipients_institution_list200_response.py,sha256=a-gty_usP5fMRajNCL7zIPBO1WqWa1zwIhJgCDXMTF0,3544
140
140
  pluggy_sdk/models/payment_recipients_list200_response.py,sha256=9r8qMLzGDumoGG0HWfmQbhNC4kGjzBLZPz_6-YNzb08,3490
141
- pluggy_sdk/models/payment_request.py,sha256=G47p5apa0yRDJaSm6hLUFjJDJ7IBTGGK61Gng3_0Rl0,4817
141
+ pluggy_sdk/models/payment_request.py,sha256=TJKlKc-fh5Q2sxyZlfE8YSF9-T6i3iIV-xeG3sY-6TI,5016
142
142
  pluggy_sdk/models/payment_request_callback_urls.py,sha256=EneGXM6_0zH4TehYNf9-OsmbEEMwsh8RLvGKEqjCvJE,3085
143
143
  pluggy_sdk/models/payment_request_receipt_list200_response.py,sha256=SCi20HZ0moUygGcGOHomevunrWJfQb3D6wTg_YjB6pI,3496
144
144
  pluggy_sdk/models/payment_requests_list200_response.py,sha256=0lAdZH19ZAeWYPdsQ-E0bREOZ0iDon7h96kI8xUTmYc,3472
@@ -155,13 +155,13 @@ pluggy_sdk/models/status_detail_product_warning.py,sha256=LFYFdkpQxvS5W2Kj3cxGGv
155
155
  pluggy_sdk/models/transaction.py,sha256=a9B3D6fwMZJcJxNEtWPF7IhQT-f5SfuUJfqmL0nMCJI,6919
156
156
  pluggy_sdk/models/update_item.py,sha256=zlSVOxAgzCERzCjaIViapLzbi8nCAfz2LndU9dumkFM,4136
157
157
  pluggy_sdk/models/update_item_parameters.py,sha256=yeIMinw_yVyCr9OxyZcxEe-17zCNNoKK8MkysO7yDcc,5324
158
- pluggy_sdk/models/update_payment_recipient.py,sha256=FxsjtkDXjK7_cHXo0zT664YdnkXwlucjMqJaRgIZMFc,3733
158
+ pluggy_sdk/models/update_payment_recipient.py,sha256=xTeosGiNsvMQWUX-bJHoEfkrp6ybki_ZBUGsE3WkycM,4069
159
159
  pluggy_sdk/models/update_payment_request.py,sha256=T69l1LZAOn2Zbc7Vlaat5eiB-iuv2G_VMYuqOQBNR78,3936
160
160
  pluggy_sdk/models/update_transaction.py,sha256=979zai0z2scYygWA7STBzZBjnWg6zoQFjNpgso7fIqM,2590
161
161
  pluggy_sdk/models/webhook.py,sha256=2KV31zqFfHMzYzdrfVW7Sam6BsKigdQnPOKjsRiFYqI,3827
162
162
  pluggy_sdk/models/webhook_creation_error_response.py,sha256=SMvNMvJANk1NTn9BEugfwRtnEsJuoMsFo8tVvci3ayw,2681
163
163
  pluggy_sdk/models/webhooks_list200_response.py,sha256=DITv0Fg0S1Jl8k9sSdKKwhWmzp0TmMmrJjQqgo36yL0,3360
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,,
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,,