pluggy-sdk 1.0.0.post31__py3-none-any.whl → 1.0.0.post32__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.post31"
18
+ __version__ = "1.0.0.post32"
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
@@ -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.post31/python'
94
+ self.user_agent = 'OpenAPI-Generator/1.0.0.post32/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.post31".\
528
+ "SDK Package Version: 1.0.0.post32".\
529
529
  format(env=sys.platform, pyversion=sys.version)
530
530
 
531
531
  def get_host_settings(self) -> List[HostSetting]:
@@ -28,13 +28,14 @@ class CreateSmartAccountRequest(BaseModel):
28
28
  """
29
29
  Create smart account request
30
30
  """ # noqa: E501
31
- name: StrictStr = Field(description="Account owner fullName")
32
- tax_number: StrictStr = Field(description="Account owner tax number (CPF or CNPJ)", alias="taxNumber")
33
- email: StrictStr = Field(description="Account owner email")
34
- phone_number: StrictStr = Field(description="Account owner phone", alias="phoneNumber")
31
+ item_id: Optional[StrictStr] = Field(default=None, description="Primary identifier of the item wanted to associate to the account. Mandatory unless is a sandbox account", alias="itemId")
35
32
  is_sandbox: Optional[StrictBool] = Field(default=None, description="Indicates if the smart account is a sandbox account", alias="isSandbox")
36
33
  address: SmartAccountAddress
37
- __properties: ClassVar[List[str]] = ["name", "taxNumber", "email", "phoneNumber", "isSandbox", "address"]
34
+ tax_number: Optional[StrictStr] = Field(default=None, description="Smart account owner's CNPJ. Just needed if 'isSandbox' is true", alias="taxNumber")
35
+ name: Optional[StrictStr] = Field(default=None, description="Smart account owner's business name. Just needed if 'isSandbox' is true")
36
+ email: StrictStr = Field(description="Email to be associated to the smart account")
37
+ phone: Optional[StrictStr] = Field(default=None, description="Phone number to be associated to the smart account")
38
+ __properties: ClassVar[List[str]] = ["itemId", "isSandbox", "address", "taxNumber", "name", "email", "phone"]
38
39
 
39
40
  model_config = ConfigDict(
40
41
  populate_by_name=True,
@@ -90,12 +91,13 @@ class CreateSmartAccountRequest(BaseModel):
90
91
  return cls.model_validate(obj)
91
92
 
92
93
  _obj = cls.model_validate({
93
- "name": obj.get("name"),
94
+ "itemId": obj.get("itemId"),
95
+ "isSandbox": obj.get("isSandbox"),
96
+ "address": SmartAccountAddress.from_dict(obj["address"]) if obj.get("address") is not None else None,
94
97
  "taxNumber": obj.get("taxNumber"),
98
+ "name": obj.get("name"),
95
99
  "email": obj.get("email"),
96
- "phoneNumber": obj.get("phoneNumber"),
97
- "isSandbox": obj.get("isSandbox"),
98
- "address": SmartAccountAddress.from_dict(obj["address"]) if obj.get("address") is not None else None
100
+ "phone": obj.get("phone")
99
101
  })
100
102
  return _obj
101
103
 
@@ -29,9 +29,9 @@ class ItemOptions(BaseModel):
29
29
  """ # noqa: E501
30
30
  client_user_id: Optional[StrictStr] = Field(default=None, description="Client's identifier for the user, it can be a ID, UUID or even an email.", alias="clientUserId")
31
31
  webhook_url: Optional[StrictStr] = Field(default=None, description="Url to be notified of this specific item changes", alias="webhookUrl")
32
- oauth_redirect_url: Optional[StrictStr] = Field(default=None, description="Url to redirect the user after the connect flow", alias="oauthRedirectUrl")
33
- avoid_duplicates: Optional[StrictBool] = Field(default=None, description="Avoid duplicated transactions on the item", alias="avoidDuplicates")
34
- __properties: ClassVar[List[str]] = ["clientUserId", "webhookUrl", "oauthRedirectUrl", "avoidDuplicates"]
32
+ oauth_redirect_uri: Optional[StrictStr] = Field(default=None, description="Url to redirect the user after the connect flow", alias="oauthRedirectUri")
33
+ avoid_duplicates: Optional[StrictBool] = Field(default=None, description="Avoids creating a new item if there is already one with the same credentials", alias="avoidDuplicates")
34
+ __properties: ClassVar[List[str]] = ["clientUserId", "webhookUrl", "oauthRedirectUri", "avoidDuplicates"]
35
35
 
36
36
  model_config = ConfigDict(
37
37
  populate_by_name=True,
@@ -86,7 +86,7 @@ class ItemOptions(BaseModel):
86
86
  _obj = cls.model_validate({
87
87
  "clientUserId": obj.get("clientUserId"),
88
88
  "webhookUrl": obj.get("webhookUrl"),
89
- "oauthRedirectUrl": obj.get("oauthRedirectUrl"),
89
+ "oauthRedirectUri": obj.get("oauthRedirectUri"),
90
90
  "avoidDuplicates": obj.get("avoidDuplicates")
91
91
  })
92
92
  return _obj
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pluggy-sdk
3
- Version: 1.0.0.post31
3
+ Version: 1.0.0.post32
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.post31
22
+ - Package version: 1.0.0.post32
23
23
  - Generator version: 7.11.0-SNAPSHOT
24
24
  - Build package: org.openapitools.codegen.languages.PythonClientCodegen
25
25
  For more information, please visit [https://pluggy.ai](https://pluggy.ai)
@@ -1,7 +1,7 @@
1
- pluggy_sdk/__init__.py,sha256=zxpFKblKfZGYiul4AJQp_nlA4CExu0_ZI7MG6IXetw8,12844
2
- pluggy_sdk/api_client.py,sha256=rHuGGkArMOxpWpcGGVNYL3jCuDihy2UK4QSft7xA-jU,27438
1
+ pluggy_sdk/__init__.py,sha256=rkSVqhVzMgOm-P4-SVUeMC-GR5NE9IadjGOqilCuWas,12844
2
+ pluggy_sdk/api_client.py,sha256=BNpROhVGWSx0XysVyj8EPROiz4oaxz5YF_Sdlfapul8,27438
3
3
  pluggy_sdk/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
4
- pluggy_sdk/configuration.py,sha256=hQy9lIZq3hQUem05eLxxTU_yiCvA85Syb93MG72dQzg,18485
4
+ pluggy_sdk/configuration.py,sha256=IljXJQG6d4r8lIHFQdhVb71QntDb4g0oYs9rAoIbC6s,18485
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=vVdVX3R4AbYt0r6TChhsMVAnyL1nf0RA6eZYjkaaBzY,9389
@@ -94,7 +94,7 @@ pluggy_sdk/models/create_payment_recipient.py,sha256=B4vmHZB0uhOBPl9GPcvkno02fpI
94
94
  pluggy_sdk/models/create_payment_request.py,sha256=H2SU4y28MxacJLrypgknHzIpPTp5m6z9VJEBoGcsazU,4852
95
95
  pluggy_sdk/models/create_payment_request_schedule.py,sha256=Aj70mok-7IYtwhCRFg6_FeawrEiIl34mwcGb0yX6PcY,7159
96
96
  pluggy_sdk/models/create_pix_qr_payment_request.py,sha256=gyRV61yUjf_K4WeihOoBSQySS2NODl2sl4STITpMuIA,3354
97
- pluggy_sdk/models/create_smart_account_request.py,sha256=ZxfVt_baOOkWDaVB9ndDnmVMx3zwkVnbSRL9iCMfMSQ,3612
97
+ pluggy_sdk/models/create_smart_account_request.py,sha256=gSgbwmb6nun1fqtxu_1RWU-wvNRqbCuc5OwvuN1pxr0,4008
98
98
  pluggy_sdk/models/create_smart_account_transfer_request.py,sha256=cqYBbTfssI6jbZ4bxulvBsofin6d3k0qYcamSSIqzVE,3122
99
99
  pluggy_sdk/models/create_smart_transfer_payment.py,sha256=YqZQ7gg7oPFIlTwDCVH9wglNGETeOkxbiAeZT38e5nk,3397
100
100
  pluggy_sdk/models/create_smart_transfer_preauthorization.py,sha256=aSaFeY_pe-TX2kMyPA_sH89SshgqsJ7JJ4trwMP2zwQ,4149
@@ -126,7 +126,7 @@ pluggy_sdk/models/investments_list200_response.py,sha256=JqUTarakPV6yzY162pLugeF
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
128
128
  pluggy_sdk/models/item_error.py,sha256=2wbKBj82sw3NPhNqxCCnw-c15-QuFhy5Ywe29h2HicQ,3155
129
- pluggy_sdk/models/item_options.py,sha256=jM8JCsg2PCrp5uOYJrmlJ2YMQEPUZ3M_xKczDuE4F-U,3355
129
+ pluggy_sdk/models/item_options.py,sha256=_HtQch_MoHGlBSSxgfGhtCN083jSqKxov0KTmldRw6M,3390
130
130
  pluggy_sdk/models/loan.py,sha256=mTbqlJwpxopVEiZYUFn3sc5oi9yXrH8rK43tuBuNlnM,12231
131
131
  pluggy_sdk/models/loan_contracted_fee.py,sha256=k2EHfnbElL7scRmPQSKmzZ3oSxh50Z9wtAPe2Q2Oqzw,4205
132
132
  pluggy_sdk/models/loan_contracted_finance_charge.py,sha256=-2cHDwe9IfcWxtjLaL1Vs0PdWsqMv5RGO_Cx2fo3dj0,3153
@@ -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.post31.dist-info/METADATA,sha256=aRwpZrGkgQSrX7CCG9pjxRcKpeHuJTwY3mUzWXtVWT0,23020
219
- pluggy_sdk-1.0.0.post31.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
220
- pluggy_sdk-1.0.0.post31.dist-info/top_level.txt,sha256=4RLkSSAcNiYLnk0_CN2vRQoezuSTIa7VPuNnaVutZP0,11
221
- pluggy_sdk-1.0.0.post31.dist-info/RECORD,,
218
+ pluggy_sdk-1.0.0.post32.dist-info/METADATA,sha256=YRN6RIeE_7PUGAAVBLjtpYppci51pcFkv0osWado9a8,23020
219
+ pluggy_sdk-1.0.0.post32.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
220
+ pluggy_sdk-1.0.0.post32.dist-info/top_level.txt,sha256=4RLkSSAcNiYLnk0_CN2vRQoezuSTIa7VPuNnaVutZP0,11
221
+ pluggy_sdk-1.0.0.post32.dist-info/RECORD,,