Skip to content

Commit

Permalink
Generated version 0.41.0
Browse files Browse the repository at this point in the history
This commit was automatically created by a GitHub Action to generate version 0.41.0 of this library.
  • Loading branch information
devexperience committed Oct 25, 2024
1 parent 3383eb8 commit d969de5
Show file tree
Hide file tree
Showing 16 changed files with 30 additions and 8 deletions.
1 change: 1 addition & 0 deletions docs/AccountResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Name | Type | Description | Notes
**currency_code** | **str** | | [optional]
**day_payment_is_due** | **int** | | [optional]
**death_benefit** | **int** | | [optional]
**federal_insurance_status** | **str** | | [optional]
**guid** | **str** | | [optional]
**holdings_value** | **float** | | [optional]
**id** | **str** | | [optional]
Expand Down
1 change: 1 addition & 0 deletions docs/InstitutionResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Name | Type | Description | Notes
**supports_account_statement** | **bool** | | [optional]
**supports_account_verification** | **bool** | | [optional]
**supports_oauth** | **bool** | | [optional]
**supports_tax_document** | **bool** | | [optional]
**supports_transaction_history** | **bool** | | [optional]
**trouble_signing_in_url** | **str** | | [optional]
**url** | **str** | | [optional]
Expand Down
2 changes: 1 addition & 1 deletion mx_platform_python/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
""" # noqa: E501


__version__ = "0.40.0"
__version__ = "0.41.0"

# import apis into sdk package
from mx_platform_python.api.budgets_api import BudgetsApi
Expand Down
2 changes: 1 addition & 1 deletion mx_platform_python/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'OpenAPI-Generator/0.40.0/python'
self.user_agent = 'OpenAPI-Generator/0.41.0/python'
self.client_side_validation = configuration.client_side_validation

def __enter__(self):
Expand Down
2 changes: 1 addition & 1 deletion mx_platform_python/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ def to_debug_report(self):
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: 0.1.0\n"\
"SDK Package Version: 0.40.0".\
"SDK Package Version: 0.41.0".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self):
Expand Down
9 changes: 8 additions & 1 deletion mx_platform_python/models/account_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ class AccountResponse(BaseModel):
currency_code: Optional[StrictStr] = None
day_payment_is_due: Optional[StrictInt] = None
death_benefit: Optional[StrictInt] = None
federal_insurance_status: Optional[StrictStr] = None
guid: Optional[StrictStr] = None
holdings_value: Optional[Union[StrictFloat, StrictInt]] = None
id: Optional[StrictStr] = None
Expand Down Expand Up @@ -83,7 +84,7 @@ class AccountResponse(BaseModel):
updated_at: Optional[StrictStr] = None
user_guid: Optional[StrictStr] = None
user_id: Optional[StrictStr] = None
__properties = ["account_number", "account_ownership", "annuity_policy_to_date", "annuity_provider", "annuity_term_year", "apr", "apy", "available_balance", "available_credit", "balance", "cash_balance", "cash_surrender_value", "created_at", "credit_limit", "currency_code", "day_payment_is_due", "death_benefit", "guid", "holdings_value", "id", "imported_at", "institution_code", "insured_name", "interest_rate", "is_closed", "is_hidden", "is_manual", "last_payment", "last_payment_at", "loan_amount", "margin_balance", "matures_on", "member_guid", "member_id", "member_is_managed_by_user", "metadata", "minimum_balance", "minimum_payment", "name", "nickname", "original_balance", "pay_out_amount", "payment_due_at", "payoff_balance", "premium_amount", "property_type", "routing_number", "started_on", "statement_balance", "subtype", "today_ugl_amount", "today_ugl_percentage", "total_account_value", "total_account_value_ugl", "type", "updated_at", "user_guid", "user_id"]
__properties = ["account_number", "account_ownership", "annuity_policy_to_date", "annuity_provider", "annuity_term_year", "apr", "apy", "available_balance", "available_credit", "balance", "cash_balance", "cash_surrender_value", "created_at", "credit_limit", "currency_code", "day_payment_is_due", "death_benefit", "federal_insurance_status", "guid", "holdings_value", "id", "imported_at", "institution_code", "insured_name", "interest_rate", "is_closed", "is_hidden", "is_manual", "last_payment", "last_payment_at", "loan_amount", "margin_balance", "matures_on", "member_guid", "member_id", "member_is_managed_by_user", "metadata", "minimum_balance", "minimum_payment", "name", "nickname", "original_balance", "pay_out_amount", "payment_due_at", "payoff_balance", "premium_amount", "property_type", "routing_number", "started_on", "statement_balance", "subtype", "today_ugl_amount", "today_ugl_percentage", "total_account_value", "total_account_value_ugl", "type", "updated_at", "user_guid", "user_id"]

class Config:
"""Pydantic configuration"""
Expand Down Expand Up @@ -189,6 +190,11 @@ def to_dict(self):
if self.death_benefit is None and "death_benefit" in self.__fields_set__:
_dict['death_benefit'] = None

# set to None if federal_insurance_status (nullable) is None
# and __fields_set__ contains the field
if self.federal_insurance_status is None and "federal_insurance_status" in self.__fields_set__:
_dict['federal_insurance_status'] = None

# set to None if guid (nullable) is None
# and __fields_set__ contains the field
if self.guid is None and "guid" in self.__fields_set__:
Expand Down Expand Up @@ -423,6 +429,7 @@ def from_dict(cls, obj: dict) -> AccountResponse:
"currency_code": obj.get("currency_code"),
"day_payment_is_due": obj.get("day_payment_is_due"),
"death_benefit": obj.get("death_benefit"),
"federal_insurance_status": obj.get("federal_insurance_status"),
"guid": obj.get("guid"),
"holdings_value": obj.get("holdings_value"),
"id": obj.get("id"),
Expand Down
9 changes: 8 additions & 1 deletion mx_platform_python/models/institution_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,11 @@ class InstitutionResponse(BaseModel):
supports_account_statement: Optional[StrictBool] = None
supports_account_verification: Optional[StrictBool] = None
supports_oauth: Optional[StrictBool] = None
supports_tax_document: Optional[StrictBool] = None
supports_transaction_history: Optional[StrictBool] = None
trouble_signing_in_url: Optional[StrictStr] = None
url: Optional[StrictStr] = None
__properties = ["code", "forgot_password_url", "forgot_username_url", "instructional_text", "medium_logo_url", "name", "small_logo_url", "supports_account_identification", "supports_account_statement", "supports_account_verification", "supports_oauth", "supports_transaction_history", "trouble_signing_in_url", "url"]
__properties = ["code", "forgot_password_url", "forgot_username_url", "instructional_text", "medium_logo_url", "name", "small_logo_url", "supports_account_identification", "supports_account_statement", "supports_account_verification", "supports_oauth", "supports_tax_document", "supports_transaction_history", "trouble_signing_in_url", "url"]

class Config:
"""Pydantic configuration"""
Expand Down Expand Up @@ -120,6 +121,11 @@ def to_dict(self):
if self.supports_oauth is None and "supports_oauth" in self.__fields_set__:
_dict['supports_oauth'] = None

# set to None if supports_tax_document (nullable) is None
# and __fields_set__ contains the field
if self.supports_tax_document is None and "supports_tax_document" in self.__fields_set__:
_dict['supports_tax_document'] = None

# set to None if supports_transaction_history (nullable) is None
# and __fields_set__ contains the field
if self.supports_transaction_history is None and "supports_transaction_history" in self.__fields_set__:
Expand Down Expand Up @@ -158,6 +164,7 @@ def from_dict(cls, obj: dict) -> InstitutionResponse:
"supports_account_statement": obj.get("supports_account_statement"),
"supports_account_verification": obj.get("supports_account_verification"),
"supports_oauth": obj.get("supports_oauth"),
"supports_tax_document": obj.get("supports_tax_document"),
"supports_transaction_history": obj.get("supports_transaction_history"),
"trouble_signing_in_url": obj.get("trouble_signing_in_url"),
"url": obj.get("url")
Expand Down
2 changes: 1 addition & 1 deletion openapi/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
packageName: mx_platform_python
packageUrl: https://pypi.org/project/mx-platform-python
packageVersion: 0.40.0
packageVersion: 0.41.0
projectName: mx-platform-python
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "mx_platform_python"
version = "0.40.0"
version = "0.41.0"
description = "MX Platform API"
authors = ["MX Platform API <[email protected]>"]
license = "NoLicense"
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
NAME = "mx-platform-python"
VERSION = "0.40.0"
VERSION = "0.41.0"
PYTHON_REQUIRES = ">=3.7"
REQUIRES = [
"urllib3 >= 1.25.3, < 2.1.0",
Expand Down
1 change: 1 addition & 0 deletions test/test_account_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ def make_instance(self, include_optional) -> AccountResponse:
currency_code = 'USD',
day_payment_is_due = 20,
death_benefit = 1000,
federal_insurance_status = 'INSURED',
guid = 'ACT-06d7f44b-caae-0f6e-1384-01f52e75dcb1',
holdings_value = 1000.0,
id = '1040434698',
Expand Down
1 change: 1 addition & 0 deletions test/test_account_response_body.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ def make_instance(self, include_optional) -> AccountResponseBody:
currency_code = 'USD',
day_payment_is_due = 20,
death_benefit = 1000,
federal_insurance_status = 'INSURED',
guid = 'ACT-06d7f44b-caae-0f6e-1384-01f52e75dcb1',
holdings_value = 1000.0,
id = '1040434698',
Expand Down
1 change: 1 addition & 0 deletions test/test_accounts_response_body.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ def make_instance(self, include_optional) -> AccountsResponseBody:
currency_code = 'USD',
day_payment_is_due = 20,
death_benefit = 1000,
federal_insurance_status = 'INSURED',
guid = 'ACT-06d7f44b-caae-0f6e-1384-01f52e75dcb1',
holdings_value = 1000.0,
id = '1040434698',
Expand Down
1 change: 1 addition & 0 deletions test/test_institution_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ def make_instance(self, include_optional) -> InstitutionResponse:
supports_account_statement = True,
supports_account_verification = True,
supports_oauth = True,
supports_tax_document = True,
supports_transaction_history = True,
trouble_signing_in_url = 'https://example.url.chase.com/login-trouble',
url = 'https://www.chase.com'
Expand Down
1 change: 1 addition & 0 deletions test/test_institution_response_body.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ def make_instance(self, include_optional) -> InstitutionResponseBody:
supports_account_statement = True,
supports_account_verification = True,
supports_oauth = True,
supports_tax_document = True,
supports_transaction_history = True,
trouble_signing_in_url = 'https://example.url.chase.com/login-trouble',
url = 'https://www.chase.com', )
Expand Down
1 change: 1 addition & 0 deletions test/test_institutions_response_body.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ def make_instance(self, include_optional) -> InstitutionsResponseBody:
supports_account_statement = True,
supports_account_verification = True,
supports_oauth = True,
supports_tax_document = True,
supports_transaction_history = True,
trouble_signing_in_url = 'https://example.url.chase.com/login-trouble',
url = 'https://www.chase.com', )
Expand Down

0 comments on commit d969de5

Please sign in to comment.