Skip to content

Commit b798469

Browse files
author
devexperience
committed
Generated version 0.16.0
This commit was automatically created by a GitHub Action to generate version 0.16.0 of this library.
1 parent 1f56501 commit b798469

File tree

13 files changed

+155
-38
lines changed

13 files changed

+155
-38
lines changed

docs/AccountCreateRequest.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
## Properties
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**account_type** | **int** | |
7+
**account_type** | **str** | |
88
**name** | **str** | |
9-
**account_subtype_name** | **str** | | [optional]
9+
**account_subtype** | **str** | | [optional]
1010
**apr** | **float** | | [optional]
1111
**apy** | **float** | | [optional]
1212
**available_balance** | **float** | | [optional]
@@ -23,8 +23,7 @@ Name | Type | Description | Notes
2323
**metadata** | **str** | | [optional]
2424
**nickname** | **str** | | [optional]
2525
**original_balance** | **float** | | [optional]
26-
**property_type** | **int** | | [optional]
27-
**property_type_name** | **str** | | [optional]
26+
**property_type** | **str** | | [optional]
2827
**skip_webhook** | **bool** | | [optional]
2928
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
3029

docs/AccountResponse.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@ Name | Type | Description | Notes
4949
**payment_due_at** | **str, none_type** | | [optional]
5050
**payoff_balance** | **float, none_type** | | [optional]
5151
**premium_amount** | **float, none_type** | | [optional]
52-
**property_type** | **int, none_type** | | [optional]
53-
**property_type_name** | **str, none_type** | | [optional]
52+
**property_type** | **str, none_type** | | [optional]
5453
**routing_number** | **str, none_type** | | [optional]
5554
**started_on** | **str, none_type** | | [optional]
5655
**subtype** | **str, none_type** | | [optional]

docs/AccountUpdateRequest.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,27 @@
44
## Properties
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7+
**account_subtype** | **str** | | [optional]
8+
**account_type** | **str** | | [optional]
9+
**apr** | **float** | | [optional]
10+
**apy** | **float** | | [optional]
11+
**available_balance** | **float** | | [optional]
12+
**balance** | **float** | | [optional]
13+
**cash_surrender_value** | **float** | | [optional]
14+
**credit_limit** | **float** | | [optional]
15+
**currency_code** | **str** | | [optional]
16+
**death_benefit** | **int** | | [optional]
17+
**interest_rate** | **float** | | [optional]
18+
**is_business** | **bool** | | [optional]
19+
**is_closed** | **bool** | | [optional]
720
**is_hidden** | **bool** | | [optional]
21+
**loan_amount** | **float** | | [optional]
22+
**metadata** | **str** | | [optional]
23+
**name** | **str** | | [optional]
24+
**nickname** | **str** | | [optional]
25+
**original_balance** | **float** | | [optional]
26+
**property_type** | **str** | | [optional]
27+
**skip_webhook** | **bool** | | [optional]
828
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
929

1030
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

docs/MxPlatformApi.md

Lines changed: 27 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -707,8 +707,8 @@ with mx_platform_python.ApiClient(configuration) as api_client:
707707
user_guid = "USR-fa7537f3-48aa-a683-a02a-b18940482f54" # str | The unique id for a `user`.
708708
account_create_request_body = AccountCreateRequestBody(
709709
account=AccountCreateRequest(
710-
account_subtype_name="PERSONAL",
711-
account_type=2,
710+
account_subtype="PERSONAL",
711+
account_type="SAVINGS",
712712
apr=1.0,
713713
apy=1.0,
714714
available_balance=1000.0,
@@ -726,9 +726,8 @@ with mx_platform_python.ApiClient(configuration) as api_client:
726726
name="Test account 2",
727727
nickname="Swiss Account",
728728
original_balance=10.0,
729-
property_type=1,
730-
property_type_name="VEHICLE",
731-
skip_webhook=False,
729+
property_type="VEHICLE",
730+
skip_webhook=True,
732731
),
733732
) # AccountCreateRequestBody | Manual account object to be created.
734733

@@ -5449,6 +5448,7 @@ with mx_platform_python.ApiClient(configuration) as api_client:
54495448
user_guid = "USR-fa7537f3-48aa-a683-a02a-b18940482f54" # str | The unique id for a `user`.
54505449
member_is_managed_by_user = True # bool | List only accounts whose member is managed by the user. (optional)
54515450
page = 1 # int | Specify current page. (optional)
5451+
is_manual = True # bool | List only accounts that were manually created. (optional)
54525452
records_per_page = 10 # int | Specify records per page. (optional)
54535453

54545454
# example passing only required values which don't have defaults set
@@ -5463,7 +5463,7 @@ with mx_platform_python.ApiClient(configuration) as api_client:
54635463
# and optional values
54645464
try:
54655465
# List accounts
5466-
api_response = api_instance.list_user_accounts(user_guid, member_is_managed_by_user=member_is_managed_by_user, page=page, records_per_page=records_per_page)
5466+
api_response = api_instance.list_user_accounts(user_guid, member_is_managed_by_user=member_is_managed_by_user, page=page, is_manual=is_manual, records_per_page=records_per_page)
54675467
pprint(api_response)
54685468
except mx_platform_python.ApiException as e:
54695469
print("Exception when calling MxPlatformApi->list_user_accounts: %s\n" % e)
@@ -5477,6 +5477,7 @@ Name | Type | Description | Notes
54775477
**user_guid** | **str**| The unique id for a `user`. |
54785478
**member_is_managed_by_user** | **bool**| List only accounts whose member is managed by the user. | [optional]
54795479
**page** | **int**| Specify current page. | [optional]
5480+
**is_manual** | **bool**| List only accounts that were manually created. | [optional]
54805481
**records_per_page** | **int**| Specify records per page. | [optional]
54815482

54825483
### Return type
@@ -7715,7 +7716,27 @@ with mx_platform_python.ApiClient(configuration) as api_client:
77157716
user_guid = "USR-fa7537f3-48aa-a683-a02a-b18940482f54" # str | The unique id for a `user`.
77167717
account_update_request_body = AccountUpdateRequestBody(
77177718
account=AccountUpdateRequest(
7719+
account_subtype="PERSONAL",
7720+
account_type="SAVINGS",
7721+
apr=1.0,
7722+
apy=1.0,
7723+
available_balance=1000.0,
7724+
balance=1000.0,
7725+
cash_surrender_value=1000.0,
7726+
credit_limit=100.0,
7727+
currency_code="USD",
7728+
death_benefit=1000,
7729+
interest_rate=1.0,
7730+
is_business=False,
7731+
is_closed=False,
77187732
is_hidden=False,
7733+
loan_amount=1000.0,
7734+
metadata="some metadata",
7735+
name="Test account 2",
7736+
nickname="Swiss Account",
7737+
original_balance=10.0,
7738+
property_type="VEHICLE",
7739+
skip_webhook=True,
77197740
),
77207741
) # AccountUpdateRequestBody | Account object to be created with optional parameters (is_hidden)
77217742

mx_platform_python/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"""
1111

1212

13-
__version__ = "0.15.1"
13+
__version__ = "0.16.0"
1414

1515
# import ApiClient
1616
from mx_platform_python.api_client import ApiClient

mx_platform_python/api/mx_platform_api.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3832,6 +3832,7 @@ def __init__(self, api_client=None):
38323832
'user_guid',
38333833
'member_is_managed_by_user',
38343834
'page',
3835+
'is_manual',
38353836
'records_per_page',
38363837
],
38373838
'required': [
@@ -3856,19 +3857,23 @@ def __init__(self, api_client=None):
38563857
(bool,),
38573858
'page':
38583859
(int,),
3860+
'is_manual':
3861+
(bool,),
38593862
'records_per_page':
38603863
(int,),
38613864
},
38623865
'attribute_map': {
38633866
'user_guid': 'user_guid',
38643867
'member_is_managed_by_user': 'member_is_managed_by_user',
38653868
'page': 'page',
3869+
'is_manual': 'is_manual',
38663870
'records_per_page': 'records_per_page',
38673871
},
38683872
'location_map': {
38693873
'user_guid': 'path',
38703874
'member_is_managed_by_user': 'query',
38713875
'page': 'query',
3876+
'is_manual': 'query',
38723877
'records_per_page': 'query',
38733878
},
38743879
'collection_format_map': {
@@ -11146,6 +11151,7 @@ def list_user_accounts(
1114611151
Keyword Args:
1114711152
member_is_managed_by_user (bool): List only accounts whose member is managed by the user.. [optional]
1114811153
page (int): Specify current page.. [optional]
11154+
is_manual (bool): List only accounts that were manually created.. [optional]
1114911155
records_per_page (int): Specify records per page.. [optional]
1115011156
_return_http_data_only (bool): response data without head status
1115111157
code and headers. Default is True.

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/0.15.1/python'
79+
self.user_agent = 'OpenAPI-Generator/0.16.0/python'
8080

8181
def __enter__(self):
8282
return self

mx_platform_python/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ def to_debug_report(self):
404404
"OS: {env}\n"\
405405
"Python Version: {pyversion}\n"\
406406
"Version of the API: 0.1.0\n"\
407-
"SDK Package Version: 0.15.1".\
407+
"SDK Package Version: 0.16.0".\
408408
format(env=sys.platform, pyversion=sys.version)
409409

410410
def get_host_settings(self):

mx_platform_python/model/account_create_request.py

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ def openapi_types():
8181
and the value is attribute type.
8282
"""
8383
return {
84-
'account_type': (int,), # noqa: E501
84+
'account_type': (str,), # noqa: E501
8585
'name': (str,), # noqa: E501
86-
'account_subtype_name': (str,), # noqa: E501
86+
'account_subtype': (str,), # noqa: E501
8787
'apr': (float,), # noqa: E501
8888
'apy': (float,), # noqa: E501
8989
'available_balance': (float,), # noqa: E501
@@ -100,8 +100,7 @@ def openapi_types():
100100
'metadata': (str,), # noqa: E501
101101
'nickname': (str,), # noqa: E501
102102
'original_balance': (float,), # noqa: E501
103-
'property_type': (int,), # noqa: E501
104-
'property_type_name': (str,), # noqa: E501
103+
'property_type': (str,), # noqa: E501
105104
'skip_webhook': (bool,), # noqa: E501
106105
}
107106

@@ -113,7 +112,7 @@ def discriminator():
113112
attribute_map = {
114113
'account_type': 'account_type', # noqa: E501
115114
'name': 'name', # noqa: E501
116-
'account_subtype_name': 'account_subtype_name', # noqa: E501
115+
'account_subtype': 'account_subtype', # noqa: E501
117116
'apr': 'apr', # noqa: E501
118117
'apy': 'apy', # noqa: E501
119118
'available_balance': 'available_balance', # noqa: E501
@@ -131,7 +130,6 @@ def discriminator():
131130
'nickname': 'nickname', # noqa: E501
132131
'original_balance': 'original_balance', # noqa: E501
133132
'property_type': 'property_type', # noqa: E501
134-
'property_type_name': 'property_type_name', # noqa: E501
135133
'skip_webhook': 'skip_webhook', # noqa: E501
136134
}
137135

@@ -146,7 +144,7 @@ def _from_openapi_data(cls, account_type, name, *args, **kwargs): # noqa: E501
146144
"""AccountCreateRequest - a model defined in OpenAPI
147145
148146
Args:
149-
account_type (int):
147+
account_type (str):
150148
name (str):
151149
152150
Keyword Args:
@@ -180,7 +178,7 @@ def _from_openapi_data(cls, account_type, name, *args, **kwargs): # noqa: E501
180178
Animal class but this time we won't travel
181179
through its discriminator because we passed in
182180
_visited_composed_classes = (Animal,)
183-
account_subtype_name (str): [optional] # noqa: E501
181+
account_subtype (str): [optional] # noqa: E501
184182
apr (float): [optional] # noqa: E501
185183
apy (float): [optional] # noqa: E501
186184
available_balance (float): [optional] # noqa: E501
@@ -197,8 +195,7 @@ def _from_openapi_data(cls, account_type, name, *args, **kwargs): # noqa: E501
197195
metadata (str): [optional] # noqa: E501
198196
nickname (str): [optional] # noqa: E501
199197
original_balance (float): [optional] # noqa: E501
200-
property_type (int): [optional] # noqa: E501
201-
property_type_name (str): [optional] # noqa: E501
198+
property_type (str): [optional] # noqa: E501
202199
skip_webhook (bool): [optional] # noqa: E501
203200
"""
204201

@@ -253,7 +250,7 @@ def __init__(self, account_type, name, *args, **kwargs): # noqa: E501
253250
"""AccountCreateRequest - a model defined in OpenAPI
254251
255252
Args:
256-
account_type (int):
253+
account_type (str):
257254
name (str):
258255
259256
Keyword Args:
@@ -287,7 +284,7 @@ def __init__(self, account_type, name, *args, **kwargs): # noqa: E501
287284
Animal class but this time we won't travel
288285
through its discriminator because we passed in
289286
_visited_composed_classes = (Animal,)
290-
account_subtype_name (str): [optional] # noqa: E501
287+
account_subtype (str): [optional] # noqa: E501
291288
apr (float): [optional] # noqa: E501
292289
apy (float): [optional] # noqa: E501
293290
available_balance (float): [optional] # noqa: E501
@@ -304,8 +301,7 @@ def __init__(self, account_type, name, *args, **kwargs): # noqa: E501
304301
metadata (str): [optional] # noqa: E501
305302
nickname (str): [optional] # noqa: E501
306303
original_balance (float): [optional] # noqa: E501
307-
property_type (int): [optional] # noqa: E501
308-
property_type_name (str): [optional] # noqa: E501
304+
property_type (str): [optional] # noqa: E501
309305
skip_webhook (bool): [optional] # noqa: E501
310306
"""
311307

mx_platform_python/model/account_response.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,7 @@ def openapi_types():
126126
'payment_due_at': (str, none_type,), # noqa: E501
127127
'payoff_balance': (float, none_type,), # noqa: E501
128128
'premium_amount': (float, none_type,), # noqa: E501
129-
'property_type': (int, none_type,), # noqa: E501
130-
'property_type_name': (str, none_type,), # noqa: E501
129+
'property_type': (str, none_type,), # noqa: E501
131130
'routing_number': (str, none_type,), # noqa: E501
132131
'started_on': (str, none_type,), # noqa: E501
133132
'subtype': (str, none_type,), # noqa: E501
@@ -192,7 +191,6 @@ def discriminator():
192191
'payoff_balance': 'payoff_balance', # noqa: E501
193192
'premium_amount': 'premium_amount', # noqa: E501
194193
'property_type': 'property_type', # noqa: E501
195-
'property_type_name': 'property_type_name', # noqa: E501
196194
'routing_number': 'routing_number', # noqa: E501
197195
'started_on': 'started_on', # noqa: E501
198196
'subtype': 'subtype', # noqa: E501
@@ -291,8 +289,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
291289
payment_due_at (str, none_type): [optional] # noqa: E501
292290
payoff_balance (float, none_type): [optional] # noqa: E501
293291
premium_amount (float, none_type): [optional] # noqa: E501
294-
property_type (int, none_type): [optional] # noqa: E501
295-
property_type_name (str, none_type): [optional] # noqa: E501
292+
property_type (str, none_type): [optional] # noqa: E501
296293
routing_number (str, none_type): [optional] # noqa: E501
297294
started_on (str, none_type): [optional] # noqa: E501
298295
subtype (str, none_type): [optional] # noqa: E501
@@ -429,8 +426,7 @@ def __init__(self, *args, **kwargs): # noqa: E501
429426
payment_due_at (str, none_type): [optional] # noqa: E501
430427
payoff_balance (float, none_type): [optional] # noqa: E501
431428
premium_amount (float, none_type): [optional] # noqa: E501
432-
property_type (int, none_type): [optional] # noqa: E501
433-
property_type_name (str, none_type): [optional] # noqa: E501
429+
property_type (str, none_type): [optional] # noqa: E501
434430
routing_number (str, none_type): [optional] # noqa: E501
435431
started_on (str, none_type): [optional] # noqa: E501
436432
subtype (str, none_type): [optional] # noqa: E501

0 commit comments

Comments
 (0)