pluggy-sdk 1.0.0.post27__py3-none-any.whl → 1.0.0.post29__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.post27"
18
+ __version__ = "1.0.0.post29"
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.post27/python'
94
+ self.user_agent = 'OpenAPI-Generator/1.0.0.post29/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.post27".\
528
+ "SDK Package Version: 1.0.0.post29".\
529
529
  format(env=sys.platform, pyversion=sys.version)
530
530
 
531
531
  def get_host_settings(self) -> List[HostSetting]:
@@ -29,11 +29,10 @@ class CreateClientCategoryRule(BaseModel):
29
29
  """ # noqa: E501
30
30
  description: StrictStr = Field(description="Description of the transaction rule.")
31
31
  category_id: StrictStr = Field(description="Identifier of the category", alias="categoryId")
32
- client_id: StrictStr = Field(description="Identifier of the client", alias="clientId")
33
32
  transaction_type: Optional[StrictStr] = Field(default=None, description="Transaction type (DEBIT/CREDIT)", alias="transactionType")
34
33
  account_type: Optional[StrictStr] = Field(default=None, description="Account type (CHECKING_ACCOUNT/CREDIT_CARD)", alias="accountType")
35
34
  match_type: Optional[StrictStr] = Field(default=None, description="Type of match used to identify the rule (exact/contains/startsWith/endsWith), if not provided, defaults to 'exact'", alias="matchType")
36
- __properties: ClassVar[List[str]] = ["description", "categoryId", "clientId", "transactionType", "accountType", "matchType"]
35
+ __properties: ClassVar[List[str]] = ["description", "categoryId", "transactionType", "accountType", "matchType"]
37
36
 
38
37
  model_config = ConfigDict(
39
38
  populate_by_name=True,
@@ -88,7 +87,6 @@ class CreateClientCategoryRule(BaseModel):
88
87
  _obj = cls.model_validate({
89
88
  "description": obj.get("description"),
90
89
  "categoryId": obj.get("categoryId"),
91
- "clientId": obj.get("clientId"),
92
90
  "transactionType": obj.get("transactionType"),
93
91
  "accountType": obj.get("accountType"),
94
92
  "matchType": obj.get("matchType")
@@ -18,7 +18,7 @@ import pprint
18
18
  import re # noqa: F401
19
19
  import json
20
20
 
21
- from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr, field_validator
21
+ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictFloat, StrictInt, StrictStr, field_validator
22
22
  from typing import Any, ClassVar, Dict, List, Optional, Union
23
23
  from pluggy_sdk.models.create_item_parameters import CreateItemParameters
24
24
  from typing import Optional, Set
@@ -34,7 +34,8 @@ class CreateItem(BaseModel):
34
34
  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")
35
35
  oauth_redirect_uri: Optional[StrictStr] = Field(default=None, description="Redirect URI required for the Oauth flow", alias="oauthRedirectUri")
36
36
  products: Optional[List[StrictStr]] = Field(default=None, description="Products to be collected in the connection")
37
- __properties: ClassVar[List[str]] = ["connectorId", "parameters", "webhookUrl", "clientUserId", "oauthRedirectUri", "products"]
37
+ avoid_duplicates: Optional[StrictBool] = Field(default=None, description="Avoids creating a new item if there is already one with the same credentials", alias="avoidDuplicates")
38
+ __properties: ClassVar[List[str]] = ["connectorId", "parameters", "webhookUrl", "clientUserId", "oauthRedirectUri", "products", "avoidDuplicates"]
38
39
 
39
40
  @field_validator('products')
40
41
  def products_validate_enum(cls, value):
@@ -106,7 +107,8 @@ class CreateItem(BaseModel):
106
107
  "webhookUrl": obj.get("webhookUrl"),
107
108
  "clientUserId": obj.get("clientUserId"),
108
109
  "oauthRedirectUri": obj.get("oauthRedirectUri"),
109
- "products": obj.get("products")
110
+ "products": obj.get("products"),
111
+ "avoidDuplicates": obj.get("avoidDuplicates")
110
112
  })
111
113
  return _obj
112
114
 
@@ -18,7 +18,7 @@ import pprint
18
18
  import re # noqa: F401
19
19
  import json
20
20
 
21
- from pydantic import BaseModel, ConfigDict, Field, StrictStr
21
+ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr
22
22
  from typing import Any, ClassVar, Dict, List, Optional
23
23
  from typing import Optional, Set
24
24
  from typing_extensions import Self
@@ -29,7 +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
- __properties: ClassVar[List[str]] = ["clientUserId", "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"]
33
35
 
34
36
  model_config = ConfigDict(
35
37
  populate_by_name=True,
@@ -83,7 +85,9 @@ class ItemOptions(BaseModel):
83
85
 
84
86
  _obj = cls.model_validate({
85
87
  "clientUserId": obj.get("clientUserId"),
86
- "webhookUrl": obj.get("webhookUrl")
88
+ "webhookUrl": obj.get("webhookUrl"),
89
+ "oauthRedirectUrl": obj.get("oauthRedirectUrl"),
90
+ "avoidDuplicates": obj.get("avoidDuplicates")
87
91
  })
88
92
  return _obj
89
93
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pluggy-sdk
3
- Version: 1.0.0.post27
3
+ Version: 1.0.0.post29
4
4
  Summary: Pluggy API
5
5
  Home-page: https://github.com/diraol/pluggy-python
6
6
  Author: Pluggy
@@ -8,10 +8,10 @@ Author-email: hello@pluggy.ai
8
8
  License: MIT
9
9
  Keywords: OpenAPI,OpenAPI-Generator,Pluggy API
10
10
  Description-Content-Type: text/markdown
11
- Requires-Dist: urllib3 <3.0.0,>=1.25.3
12
- Requires-Dist: python-dateutil >=2.8.2
13
- Requires-Dist: pydantic >=2
14
- Requires-Dist: typing-extensions >=4.7.1
11
+ Requires-Dist: urllib3<3.0.0,>=1.25.3
12
+ Requires-Dist: python-dateutil>=2.8.2
13
+ Requires-Dist: pydantic>=2
14
+ Requires-Dist: typing-extensions>=4.7.1
15
15
 
16
16
  # pluggy-sdk
17
17
  Pluggy's main API to review data and execute connectors
@@ -19,14 +19,14 @@ 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.post27
23
- - Generator version: 7.10.0-SNAPSHOT
22
+ - Package version: 1.0.0.post29
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)
26
26
 
27
27
  ## Requirements.
28
28
 
29
- Python 3.7+
29
+ Python 3.8+
30
30
 
31
31
  ## Installation & Usage
32
32
  ### pip install
@@ -1,7 +1,7 @@
1
- pluggy_sdk/__init__.py,sha256=zJ9Z5IST79BG0lRIuO-kz9naUjOcg4PTXHMW8hIIMzI,12753
2
- pluggy_sdk/api_client.py,sha256=OqDUeiaGAALRE0cC7HAR59cXI8Fkytbc9JuEWSFoWU0,27431
1
+ pluggy_sdk/__init__.py,sha256=hizOw4TyywHjsrt5zqE2SNQT7e_kYNsaZ72I_0rZFoU,12753
2
+ pluggy_sdk/api_client.py,sha256=nSe60gekJjXQwPMpqmOqfATLSWskqYISejN42u9sraw,27431
3
3
  pluggy_sdk/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
4
- pluggy_sdk/configuration.py,sha256=4Nht186H9Eh44uthaMSD_5fxsnZqpykuX2XLJWv0dFo,18485
4
+ pluggy_sdk/configuration.py,sha256=-xaQIJqR6BxfnLL7kixxpXfUspttZqMr0A23dkmQRMw,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
@@ -84,8 +84,8 @@ pluggy_sdk/models/connector_user_action.py,sha256=k1Y8DHn5zEVFRmTEVL7Z8J8js3i7G-
84
84
  pluggy_sdk/models/consent.py,sha256=2iGU-3JCbWzjUsFU1g4UYXz_zm0EziBJgki8XaBz1Kk,5451
85
85
  pluggy_sdk/models/create_boleto_payment_request.py,sha256=j7aLjY1Pllj67K0BifGj43CZCBpIqfjI8xAPD1QoQgo,3577
86
86
  pluggy_sdk/models/create_bulk_payment.py,sha256=g5S2C_vtgvuTY9om2RvOZSebTXosp5WrzwdS4IbQMMs,3438
87
- pluggy_sdk/models/create_client_category_rule.py,sha256=3q8GujhhKwMzDxY8j_W6ixwKHmtThDff8drDMrX1iB8,3596
88
- pluggy_sdk/models/create_item.py,sha256=UY9M25dLuonvzKeF5aOA_zPvHIXlG68sSYIo8yRJALE,4529
87
+ pluggy_sdk/models/create_client_category_rule.py,sha256=CBmaEU87ba_EgxLIcFwb8YWe-FcMdKcaOiu9hGDoGFo,3448
88
+ pluggy_sdk/models/create_item.py,sha256=5fN_PTXFXAGiTXhQad_a8Oq9A_TPt4YSWyT13S4-fN0,4801
89
89
  pluggy_sdk/models/create_item_parameters.py,sha256=ZAT3HYQRIJMCTO6XRJtBFWLix2LrKrZTWnLtuYMw11k,5380
90
90
  pluggy_sdk/models/create_or_update_payment_customer.py,sha256=ZvN-Pa9LGAR33L5G4XFSbIUPP3RaUsOeD45K5oOKZ-U,3455
91
91
  pluggy_sdk/models/create_payment_customer_request_body.py,sha256=YvSSzXEW2yI7M9alWr4fHbPRqNvV4sxTUVp3FkMQSyU,3365
@@ -125,7 +125,7 @@ pluggy_sdk/models/investments_list200_response.py,sha256=JqUTarakPV6yzY162pLugeF
125
125
  pluggy_sdk/models/item.py,sha256=z__AH74riALcam8VE0U_GPCZPH7JrQydR1QeEHvlQRg,7295
126
126
  pluggy_sdk/models/item_creation_error_response.py,sha256=_zdN0Go6iU2deVKxRrexeYlDxWxYfWhjyrxisyQbjUI,3607
127
127
  pluggy_sdk/models/item_error.py,sha256=2wbKBj82sw3NPhNqxCCnw-c15-QuFhy5Ywe29h2HicQ,3155
128
- pluggy_sdk/models/item_options.py,sha256=cTRMzwsK1JUQvTAsKeENOy7qEyt4NJ01zSf8wZ62sgo,2882
128
+ pluggy_sdk/models/item_options.py,sha256=jM8JCsg2PCrp5uOYJrmlJ2YMQEPUZ3M_xKczDuE4F-U,3355
129
129
  pluggy_sdk/models/loan.py,sha256=mTbqlJwpxopVEiZYUFn3sc5oi9yXrH8rK43tuBuNlnM,12231
130
130
  pluggy_sdk/models/loan_contracted_fee.py,sha256=k2EHfnbElL7scRmPQSKmzZ3oSxh50Z9wtAPe2Q2Oqzw,4205
131
131
  pluggy_sdk/models/loan_contracted_finance_charge.py,sha256=-2cHDwe9IfcWxtjLaL1Vs0PdWsqMv5RGO_Cx2fo3dj0,3153
@@ -214,7 +214,7 @@ pluggy_sdk/models/webhook.py,sha256=2KV31zqFfHMzYzdrfVW7Sam6BsKigdQnPOKjsRiFYqI,
214
214
  pluggy_sdk/models/webhook_creation_error_response.py,sha256=SMvNMvJANk1NTn9BEugfwRtnEsJuoMsFo8tVvci3ayw,2681
215
215
  pluggy_sdk/models/webhooks_list200_response.py,sha256=_C8cwBIpZZrODNt-BS_pwAyBjZPxls6ffsy8vqYA6RU,3384
216
216
  pluggy_sdk/models/weekly.py,sha256=rEjJdwn52bBC5sNRUoWsMQ2uoaX7tDz68R5OOgBF1uw,4096
217
- pluggy_sdk-1.0.0.post27.dist-info/METADATA,sha256=GSAUTSv2RnRR_4RBdvaxcCw0rOt_YZ8yHEPs5UNyCUQ,22952
218
- pluggy_sdk-1.0.0.post27.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
219
- pluggy_sdk-1.0.0.post27.dist-info/top_level.txt,sha256=4RLkSSAcNiYLnk0_CN2vRQoezuSTIa7VPuNnaVutZP0,11
220
- pluggy_sdk-1.0.0.post27.dist-info/RECORD,,
217
+ pluggy_sdk-1.0.0.post29.dist-info/METADATA,sha256=YF12Vo8b8mKTB2BLTWCILVLwC4ihqy9l_eex0ji7vqY,22948
218
+ pluggy_sdk-1.0.0.post29.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
219
+ pluggy_sdk-1.0.0.post29.dist-info/top_level.txt,sha256=4RLkSSAcNiYLnk0_CN2vRQoezuSTIa7VPuNnaVutZP0,11
220
+ pluggy_sdk-1.0.0.post29.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.3.0)
2
+ Generator: setuptools (75.6.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5