Skip to content

Commit 3173f20

Browse files
author
devexperience
committed
Generated version 1.6.0
This commit was automatically created by a GitHub Action to generate version 1.6.0 of this library.
1 parent 543137e commit 3173f20

File tree

13 files changed

+44
-24
lines changed

13 files changed

+44
-24
lines changed

docs/AccountResponse.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ Name | Type | Description | Notes
108108
**payment_due_at_set_by** | **int** | | [optional]
109109
**payoff_balance** | **float** | | [optional]
110110
**payoff_balance_set_by** | **int** | | [optional]
111-
**premium_amount** | **str** | | [optional]
112-
**property_type** | **int** | | [optional]
111+
**premium_amount** | **float** | | [optional]
112+
**property_type** | **str** | | [optional]
113113
**routing_number** | **str** | | [optional]
114114
**started_on** | **str** | | [optional]
115115
**started_on_set_by** | **int** | | [optional]

docs/MxPlatformApi.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ Method | HTTP request | Description
114114

115115

116116
# **aggregate_member**
117-
> MemberResponseBody aggregate_member(member_guid, user_guid)
117+
> MemberResponseBody aggregate_member(member_guid, user_guid, include_holdings=include_holdings, include_transactions=include_transactions)
118118
119119
Aggregate member
120120

@@ -154,10 +154,12 @@ with mx_platform_python.ApiClient(configuration) as api_client:
154154
api_instance = mx_platform_python.MxPlatformApi(api_client)
155155
member_guid = 'MBR-7c6f361b-e582-15b6-60c0-358f12466b4b' # str | The unique id for a `member`.
156156
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # str | The unique id for a `user`.
157+
include_holdings = false # bool | When set to `false`, the aggregation will not gather holdings data. Defaults to `true`. (optional)
158+
include_transactions = false # bool | When set to `false`, the aggregation will not gather transactions data. Defaults to `true`. (optional)
157159

158160
try:
159161
# Aggregate member
160-
api_response = api_instance.aggregate_member(member_guid, user_guid)
162+
api_response = api_instance.aggregate_member(member_guid, user_guid, include_holdings=include_holdings, include_transactions=include_transactions)
161163
print("The response of MxPlatformApi->aggregate_member:\n")
162164
pprint(api_response)
163165
except Exception as e:
@@ -172,6 +174,8 @@ Name | Type | Description | Notes
172174
------------- | ------------- | ------------- | -------------
173175
**member_guid** | **str**| The unique id for a `member`. |
174176
**user_guid** | **str**| The unique id for a `user`. |
177+
**include_holdings** | **bool**| When set to `false`, the aggregation will not gather holdings data. Defaults to `true`. | [optional]
178+
**include_transactions** | **bool**| When set to `false`, the aggregation will not gather transactions data. Defaults to `true`. | [optional]
175179

176180
### Return type
177181

mx_platform_python/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
""" # noqa: E501
1515

1616

17-
__version__ = "1.5.0"
17+
__version__ = "1.6.0"
1818

1919
# import apis into sdk package
2020
from mx_platform_python.api.budgets_api import BudgetsApi

mx_platform_python/api/mx_platform_api.py

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -117,20 +117,24 @@ def __init__(self, api_client=None) -> None:
117117
self.api_client = api_client
118118

119119
@validate_arguments
120-
def aggregate_member(self, member_guid : Annotated[StrictStr, Field(..., description="The unique id for a `member`.")], user_guid : Annotated[StrictStr, Field(..., description="The unique id for a `user`.")], **kwargs) -> MemberResponseBody: # noqa: E501
120+
def aggregate_member(self, member_guid : Annotated[StrictStr, Field(..., description="The unique id for a `member`.")], user_guid : Annotated[StrictStr, Field(..., description="The unique id for a `user`.")], include_holdings : Annotated[Optional[StrictBool], Field(description="When set to `false`, the aggregation will not gather holdings data. Defaults to `true`.")] = None, include_transactions : Annotated[Optional[StrictBool], Field(description="When set to `false`, the aggregation will not gather transactions data. Defaults to `true`.")] = None, **kwargs) -> MemberResponseBody: # noqa: E501
121121
"""Aggregate member # noqa: E501
122122

123123
Calling this endpoint initiates an aggregation event for the member. This brings in the latest account and transaction data from the connected institution. If this data has recently been updated, MX may not initiate an aggregation event. # noqa: E501
124124
This method makes a synchronous HTTP request by default. To make an
125125
asynchronous HTTP request, please pass async_req=True
126126

127-
>>> thread = api.aggregate_member(member_guid, user_guid, async_req=True)
127+
>>> thread = api.aggregate_member(member_guid, user_guid, include_holdings, include_transactions, async_req=True)
128128
>>> result = thread.get()
129129

130130
:param member_guid: The unique id for a `member`. (required)
131131
:type member_guid: str
132132
:param user_guid: The unique id for a `user`. (required)
133133
:type user_guid: str
134+
:param include_holdings: When set to `false`, the aggregation will not gather holdings data. Defaults to `true`.
135+
:type include_holdings: bool
136+
:param include_transactions: When set to `false`, the aggregation will not gather transactions data. Defaults to `true`.
137+
:type include_transactions: bool
134138
:param async_req: Whether to execute the request asynchronously.
135139
:type async_req: bool, optional
136140
:param _request_timeout: timeout setting for this request.
@@ -146,23 +150,27 @@ def aggregate_member(self, member_guid : Annotated[StrictStr, Field(..., descrip
146150
if '_preload_content' in kwargs:
147151
message = "Error! Please call the aggregate_member_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
148152
raise ValueError(message)
149-
return self.aggregate_member_with_http_info(member_guid, user_guid, **kwargs) # noqa: E501
153+
return self.aggregate_member_with_http_info(member_guid, user_guid, include_holdings, include_transactions, **kwargs) # noqa: E501
150154

151155
@validate_arguments
152-
def aggregate_member_with_http_info(self, member_guid : Annotated[StrictStr, Field(..., description="The unique id for a `member`.")], user_guid : Annotated[StrictStr, Field(..., description="The unique id for a `user`.")], **kwargs) -> ApiResponse: # noqa: E501
156+
def aggregate_member_with_http_info(self, member_guid : Annotated[StrictStr, Field(..., description="The unique id for a `member`.")], user_guid : Annotated[StrictStr, Field(..., description="The unique id for a `user`.")], include_holdings : Annotated[Optional[StrictBool], Field(description="When set to `false`, the aggregation will not gather holdings data. Defaults to `true`.")] = None, include_transactions : Annotated[Optional[StrictBool], Field(description="When set to `false`, the aggregation will not gather transactions data. Defaults to `true`.")] = None, **kwargs) -> ApiResponse: # noqa: E501
153157
"""Aggregate member # noqa: E501
154158

155159
Calling this endpoint initiates an aggregation event for the member. This brings in the latest account and transaction data from the connected institution. If this data has recently been updated, MX may not initiate an aggregation event. # noqa: E501
156160
This method makes a synchronous HTTP request by default. To make an
157161
asynchronous HTTP request, please pass async_req=True
158162

159-
>>> thread = api.aggregate_member_with_http_info(member_guid, user_guid, async_req=True)
163+
>>> thread = api.aggregate_member_with_http_info(member_guid, user_guid, include_holdings, include_transactions, async_req=True)
160164
>>> result = thread.get()
161165

162166
:param member_guid: The unique id for a `member`. (required)
163167
:type member_guid: str
164168
:param user_guid: The unique id for a `user`. (required)
165169
:type user_guid: str
170+
:param include_holdings: When set to `false`, the aggregation will not gather holdings data. Defaults to `true`.
171+
:type include_holdings: bool
172+
:param include_transactions: When set to `false`, the aggregation will not gather transactions data. Defaults to `true`.
173+
:type include_transactions: bool
166174
:param async_req: Whether to execute the request asynchronously.
167175
:type async_req: bool, optional
168176
:param _preload_content: if False, the ApiResponse.data will
@@ -192,7 +200,9 @@ def aggregate_member_with_http_info(self, member_guid : Annotated[StrictStr, Fie
192200

193201
_all_params = [
194202
'member_guid',
195-
'user_guid'
203+
'user_guid',
204+
'include_holdings',
205+
'include_transactions'
196206
]
197207
_all_params.extend(
198208
[
@@ -229,6 +239,12 @@ def aggregate_member_with_http_info(self, member_guid : Annotated[StrictStr, Fie
229239

230240
# process the query parameters
231241
_query_params = []
242+
if _params.get('include_holdings') is not None: # noqa: E501
243+
_query_params.append(('include_holdings', _params['include_holdings']))
244+
245+
if _params.get('include_transactions') is not None: # noqa: E501
246+
_query_params.append(('include_transactions', _params['include_transactions']))
247+
232248
# process the header parameters
233249
_header_params = dict(_params.get('_headers', {}))
234250
# process the form parameters

mx_platform_python/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
7676
self.default_headers[header_name] = header_value
7777
self.cookie = cookie
7878
# Set default User-Agent.
79-
self.user_agent = 'OpenAPI-Generator/1.5.0/python'
79+
self.user_agent = 'OpenAPI-Generator/1.6.0/python'
8080
self.client_side_validation = configuration.client_side_validation
8181

8282
def __enter__(self):

mx_platform_python/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ def to_debug_report(self):
392392
"OS: {env}\n"\
393393
"Python Version: {pyversion}\n"\
394394
"Version of the API: 0.1.0\n"\
395-
"SDK Package Version: 1.5.0".\
395+
"SDK Package Version: 1.6.0".\
396396
format(env=sys.platform, pyversion=sys.version)
397397

398398
def get_host_settings(self):

mx_platform_python/models/account_response.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@ class AccountResponse(BaseModel):
129129
payment_due_at_set_by: Optional[StrictInt] = None
130130
payoff_balance: Optional[Union[StrictFloat, StrictInt]] = None
131131
payoff_balance_set_by: Optional[StrictInt] = None
132-
premium_amount: Optional[StrictStr] = None
133-
property_type: Optional[StrictInt] = None
132+
premium_amount: Optional[Union[StrictFloat, StrictInt]] = None
133+
property_type: Optional[StrictStr] = None
134134
routing_number: Optional[StrictStr] = None
135135
started_on: Optional[StrictStr] = None
136136
started_on_set_by: Optional[StrictInt] = None

openapi/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
22
packageName: mx_platform_python
33
packageUrl: https://pypi.org/project/mx-platform-python
4-
packageVersion: 1.5.0
4+
packageVersion: 1.6.0
55
projectName: mx-platform-python

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "mx_platform_python"
3-
version = "1.5.0"
3+
version = "1.6.0"
44
description = "MX Platform API"
55
authors = ["MX Platform API <[email protected]>"]
66
license = "NoLicense"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
# prerequisite: setuptools
2222
# http://pypi.python.org/pypi/setuptools
2323
NAME = "mx-platform-python"
24-
VERSION = "1.5.0"
24+
VERSION = "1.6.0"
2525
PYTHON_REQUIRES = ">=3.7"
2626
REQUIRES = [
2727
"urllib3 >= 1.25.3, < 2.1.0",

0 commit comments

Comments
 (0)