Skip to content

Commit 7f4eba2

Browse files
author
devexperience
committed
Generated version 0.15.0
This commit was automatically created by a GitHub Action to generate version 0.15.0 of this library.
1 parent 1972eac commit 7f4eba2

File tree

10 files changed

+94
-125
lines changed

10 files changed

+94
-125
lines changed

docs/AccountCreateRequest.md

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,37 +4,28 @@
44
## Properties
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**balance** | **float** | |
7+
**account_type** | **int** | |
88
**name** | **str** | |
9-
**type** | **str** | |
10-
**account_number** | **str** | | [optional]
9+
**account_subtype_name** | **str** | | [optional]
1110
**apr** | **float** | | [optional]
1211
**apy** | **float** | | [optional]
1312
**available_balance** | **float** | | [optional]
14-
**available_credit** | **float** | | [optional]
13+
**balance** | **float** | | [optional]
1514
**cash_surrender_value** | **float** | | [optional]
1615
**credit_limit** | **float** | | [optional]
1716
**currency_code** | **str** | | [optional]
18-
**day_payment_is_due** | **int** | | [optional]
1917
**death_benefit** | **int** | | [optional]
20-
**id** | **str** | | [optional]
2118
**interest_rate** | **float** | | [optional]
19+
**is_business** | **bool** | | [optional]
2220
**is_closed** | **bool** | | [optional]
2321
**is_hidden** | **bool** | | [optional]
24-
**last_payment** | **float** | | [optional]
25-
**last_payment_at** | **str** | | [optional]
2622
**loan_amount** | **float** | | [optional]
27-
**matures_on** | **str** | | [optional]
2823
**metadata** | **str** | | [optional]
29-
**minimum_balance** | **float** | | [optional]
30-
**minimum_payment** | **float** | | [optional]
3124
**nickname** | **str** | | [optional]
3225
**original_balance** | **float** | | [optional]
33-
**payment_due_at** | **str** | | [optional]
34-
**payoff_balance** | **float** | | [optional]
35-
**routing_number** | **str** | | [optional]
36-
**started_on** | **str** | | [optional]
37-
**subtype** | **str** | | [optional]
26+
**property_type** | **int** | | [optional]
27+
**property_type_name** | **str** | | [optional]
28+
**skip_webhook** | **bool** | | [optional]
3829
**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]
3930

4031
[[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/AccountResponse.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,18 @@
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**account_number** | **str, none_type** | | [optional]
8+
**account_ownership** | **str, none_type** | | [optional]
9+
**annuity_policy_to_date** | **str, none_type** | | [optional]
10+
**annuity_provider** | **str, none_type** | | [optional]
11+
**annuity_term_year** | **float, none_type** | | [optional]
812
**apr** | **float, none_type** | | [optional]
913
**apy** | **float, none_type** | | [optional]
1014
**available_balance** | **float, none_type** | | [optional]
1115
**available_credit** | **float, none_type** | | [optional]
1216
**balance** | **float, none_type** | | [optional]
1317
**cash_balance** | **float, none_type** | | [optional]
1418
**cash_surrender_value** | **float, none_type** | | [optional]
15-
**created_at** | **str, none_type** | | [optional]
19+
**created_at** | **str** | | [optional]
1620
**credit_limit** | **float, none_type** | | [optional]
1721
**currency_code** | **str, none_type** | | [optional]
1822
**day_payment_is_due** | **int, none_type** | | [optional]
@@ -21,16 +25,16 @@ Name | Type | Description | Notes
2125
**holdings_value** | **float, none_type** | | [optional]
2226
**id** | **str, none_type** | | [optional]
2327
**imported_at** | **str, none_type** | | [optional]
28+
**interest_rate** | **float, none_type** | | [optional]
2429
**institution_code** | **str, none_type** | | [optional]
2530
**insured_name** | **str, none_type** | | [optional]
26-
**interest_rate** | **float, none_type** | | [optional]
27-
**is_business** | **bool, none_type** | | [optional]
2831
**is_closed** | **bool, none_type** | | [optional]
2932
**is_hidden** | **bool, none_type** | | [optional]
3033
**is_manual** | **bool, none_type** | | [optional]
3134
**last_payment** | **float, none_type** | | [optional]
3235
**last_payment_at** | **str, none_type** | | [optional]
3336
**loan_amount** | **float, none_type** | | [optional]
37+
**margin_balance** | **float, none_type** | | [optional]
3438
**matures_on** | **str, none_type** | | [optional]
3539
**member_guid** | **str, none_type** | | [optional]
3640
**member_id** | **str, none_type** | | [optional]
@@ -45,10 +49,11 @@ Name | Type | Description | Notes
4549
**payment_due_at** | **str, none_type** | | [optional]
4650
**payoff_balance** | **float, none_type** | | [optional]
4751
**premium_amount** | **float, none_type** | | [optional]
48-
**property_type** | **str, none_type** | | [optional]
4952
**routing_number** | **str, none_type** | | [optional]
5053
**started_on** | **str, none_type** | | [optional]
5154
**subtype** | **str, none_type** | | [optional]
55+
**today_ugl_amount** | **float, none_type** | | [optional]
56+
**today_ugl_percentage** | **float, none_type** | | [optional]
5257
**total_account_value** | **float, none_type** | | [optional]
5358
**type** | **str, none_type** | | [optional]
5459
**updated_at** | **str, none_type** | | [optional]

docs/MxPlatformApi.md

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -708,37 +708,28 @@ with mx_platform_python.ApiClient(configuration) as api_client:
708708
account_create_request_body = AccountCreateRequestBody(
709709
skip_webhook=True,
710710
account=AccountCreateRequest(
711-
account_number="5366",
711+
account_subtype_name="SAVINGS",
712+
account_type=2,
712713
apr=1.0,
713714
apy=1.0,
714715
available_balance=1000.0,
715-
available_credit=1000.0,
716716
balance=1000.0,
717717
cash_surrender_value=1000.0,
718718
credit_limit=100.0,
719719
currency_code="USD",
720-
day_payment_is_due=20,
721720
death_benefit=1000,
722-
id="1040434698",
723721
interest_rate=1.0,
722+
is_business=False,
724723
is_closed=False,
725724
is_hidden=False,
726-
last_payment=100.0,
727-
last_payment_at="2015-10-13T17:57:37.000Z",
728725
loan_amount=1000.0,
729-
matures_on="2015-10-13T17:57:37.000Z",
730726
metadata="some metadata",
731-
minimum_balance=100.0,
732-
minimum_payment=10.0,
733727
name="Test account 2",
734728
nickname="Swiss Account",
735729
original_balance=10.0,
736-
payment_due_at="2015-10-13T17:57:37.000Z",
737-
payoff_balance=10.0,
738-
routing_number="68899990000000",
739-
started_on="2015-10-13T17:57:37.000Z",
740-
subtype="NONE",
741-
type="SAVINGS",
730+
property_type=1,
731+
property_type_name="VEHICLE",
732+
skip_webhook=False,
742733
),
743734
) # AccountCreateRequestBody | Manual account object to be created.
744735

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.14.0"
13+
__version__ = "0.15.0"
1414

1515
# import ApiClient
1616
from mx_platform_python.api_client import ApiClient

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.14.0/python'
79+
self.user_agent = 'OpenAPI-Generator/0.15.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.14.0".\
407+
"SDK Package Version: 0.15.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: 32 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -81,37 +81,28 @@ def openapi_types():
8181
and the value is attribute type.
8282
"""
8383
return {
84-
'balance': (float,), # noqa: E501
84+
'account_type': (int,), # noqa: E501
8585
'name': (str,), # noqa: E501
86-
'type': (str,), # noqa: E501
87-
'account_number': (str,), # noqa: E501
86+
'account_subtype_name': (str,), # noqa: E501
8887
'apr': (float,), # noqa: E501
8988
'apy': (float,), # noqa: E501
9089
'available_balance': (float,), # noqa: E501
91-
'available_credit': (float,), # noqa: E501
90+
'balance': (float,), # noqa: E501
9291
'cash_surrender_value': (float,), # noqa: E501
9392
'credit_limit': (float,), # noqa: E501
9493
'currency_code': (str,), # noqa: E501
95-
'day_payment_is_due': (int,), # noqa: E501
9694
'death_benefit': (int,), # noqa: E501
97-
'id': (str,), # noqa: E501
9895
'interest_rate': (float,), # noqa: E501
96+
'is_business': (bool,), # noqa: E501
9997
'is_closed': (bool,), # noqa: E501
10098
'is_hidden': (bool,), # noqa: E501
101-
'last_payment': (float,), # noqa: E501
102-
'last_payment_at': (str,), # noqa: E501
10399
'loan_amount': (float,), # noqa: E501
104-
'matures_on': (str,), # noqa: E501
105100
'metadata': (str,), # noqa: E501
106-
'minimum_balance': (float,), # noqa: E501
107-
'minimum_payment': (float,), # noqa: E501
108101
'nickname': (str,), # noqa: E501
109102
'original_balance': (float,), # noqa: E501
110-
'payment_due_at': (str,), # noqa: E501
111-
'payoff_balance': (float,), # noqa: E501
112-
'routing_number': (str,), # noqa: E501
113-
'started_on': (str,), # noqa: E501
114-
'subtype': (str,), # noqa: E501
103+
'property_type': (int,), # noqa: E501
104+
'property_type_name': (str,), # noqa: E501
105+
'skip_webhook': (bool,), # noqa: E501
115106
}
116107

117108
@cached_property
@@ -120,37 +111,28 @@ def discriminator():
120111

121112

122113
attribute_map = {
123-
'balance': 'balance', # noqa: E501
114+
'account_type': 'account_type', # noqa: E501
124115
'name': 'name', # noqa: E501
125-
'type': 'type', # noqa: E501
126-
'account_number': 'account_number', # noqa: E501
116+
'account_subtype_name': 'account_subtype_name', # noqa: E501
127117
'apr': 'apr', # noqa: E501
128118
'apy': 'apy', # noqa: E501
129119
'available_balance': 'available_balance', # noqa: E501
130-
'available_credit': 'available_credit', # noqa: E501
120+
'balance': 'balance', # noqa: E501
131121
'cash_surrender_value': 'cash_surrender_value', # noqa: E501
132122
'credit_limit': 'credit_limit', # noqa: E501
133123
'currency_code': 'currency_code', # noqa: E501
134-
'day_payment_is_due': 'day_payment_is_due', # noqa: E501
135124
'death_benefit': 'death_benefit', # noqa: E501
136-
'id': 'id', # noqa: E501
137125
'interest_rate': 'interest_rate', # noqa: E501
126+
'is_business': 'is_business', # noqa: E501
138127
'is_closed': 'is_closed', # noqa: E501
139128
'is_hidden': 'is_hidden', # noqa: E501
140-
'last_payment': 'last_payment', # noqa: E501
141-
'last_payment_at': 'last_payment_at', # noqa: E501
142129
'loan_amount': 'loan_amount', # noqa: E501
143-
'matures_on': 'matures_on', # noqa: E501
144130
'metadata': 'metadata', # noqa: E501
145-
'minimum_balance': 'minimum_balance', # noqa: E501
146-
'minimum_payment': 'minimum_payment', # noqa: E501
147131
'nickname': 'nickname', # noqa: E501
148132
'original_balance': 'original_balance', # noqa: E501
149-
'payment_due_at': 'payment_due_at', # noqa: E501
150-
'payoff_balance': 'payoff_balance', # noqa: E501
151-
'routing_number': 'routing_number', # noqa: E501
152-
'started_on': 'started_on', # noqa: E501
153-
'subtype': 'subtype', # noqa: E501
133+
'property_type': 'property_type', # noqa: E501
134+
'property_type_name': 'property_type_name', # noqa: E501
135+
'skip_webhook': 'skip_webhook', # noqa: E501
154136
}
155137

156138
read_only_vars = {
@@ -160,13 +142,12 @@ def discriminator():
160142

161143
@classmethod
162144
@convert_js_args_to_python_args
163-
def _from_openapi_data(cls, balance, name, type, *args, **kwargs): # noqa: E501
145+
def _from_openapi_data(cls, account_type, name, *args, **kwargs): # noqa: E501
164146
"""AccountCreateRequest - a model defined in OpenAPI
165147
166148
Args:
167-
balance (float):
149+
account_type (int):
168150
name (str):
169-
type (str):
170151
171152
Keyword Args:
172153
_check_type (bool): if True, values for parameters in openapi_types
@@ -199,34 +180,26 @@ def _from_openapi_data(cls, balance, name, type, *args, **kwargs): # noqa: E501
199180
Animal class but this time we won't travel
200181
through its discriminator because we passed in
201182
_visited_composed_classes = (Animal,)
202-
account_number (str): [optional] # noqa: E501
183+
account_subtype_name (str): [optional] # noqa: E501
203184
apr (float): [optional] # noqa: E501
204185
apy (float): [optional] # noqa: E501
205186
available_balance (float): [optional] # noqa: E501
206-
available_credit (float): [optional] # noqa: E501
187+
balance (float): [optional] # noqa: E501
207188
cash_surrender_value (float): [optional] # noqa: E501
208189
credit_limit (float): [optional] # noqa: E501
209190
currency_code (str): [optional] # noqa: E501
210-
day_payment_is_due (int): [optional] # noqa: E501
211191
death_benefit (int): [optional] # noqa: E501
212-
id (str): [optional] # noqa: E501
213192
interest_rate (float): [optional] # noqa: E501
193+
is_business (bool): [optional] # noqa: E501
214194
is_closed (bool): [optional] # noqa: E501
215195
is_hidden (bool): [optional] # noqa: E501
216-
last_payment (float): [optional] # noqa: E501
217-
last_payment_at (str): [optional] # noqa: E501
218196
loan_amount (float): [optional] # noqa: E501
219-
matures_on (str): [optional] # noqa: E501
220197
metadata (str): [optional] # noqa: E501
221-
minimum_balance (float): [optional] # noqa: E501
222-
minimum_payment (float): [optional] # noqa: E501
223198
nickname (str): [optional] # noqa: E501
224199
original_balance (float): [optional] # noqa: E501
225-
payment_due_at (str): [optional] # noqa: E501
226-
payoff_balance (float): [optional] # noqa: E501
227-
routing_number (str): [optional] # noqa: E501
228-
started_on (str): [optional] # noqa: E501
229-
subtype (str): [optional] # noqa: E501
200+
property_type (int): [optional] # noqa: E501
201+
property_type_name (str): [optional] # noqa: E501
202+
skip_webhook (bool): [optional] # noqa: E501
230203
"""
231204

232205
_check_type = kwargs.pop('_check_type', True)
@@ -254,9 +227,8 @@ def _from_openapi_data(cls, balance, name, type, *args, **kwargs): # noqa: E501
254227
self._configuration = _configuration
255228
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
256229

257-
self.balance = balance
230+
self.account_type = account_type
258231
self.name = name
259-
self.type = type
260232
for var_name, var_value in kwargs.items():
261233
if var_name not in self.attribute_map and \
262234
self._configuration is not None and \
@@ -277,13 +249,12 @@ def _from_openapi_data(cls, balance, name, type, *args, **kwargs): # noqa: E501
277249
])
278250

279251
@convert_js_args_to_python_args
280-
def __init__(self, balance, name, type, *args, **kwargs): # noqa: E501
252+
def __init__(self, account_type, name, *args, **kwargs): # noqa: E501
281253
"""AccountCreateRequest - a model defined in OpenAPI
282254
283255
Args:
284-
balance (float):
256+
account_type (int):
285257
name (str):
286-
type (str):
287258
288259
Keyword Args:
289260
_check_type (bool): if True, values for parameters in openapi_types
@@ -316,34 +287,26 @@ def __init__(self, balance, name, type, *args, **kwargs): # noqa: E501
316287
Animal class but this time we won't travel
317288
through its discriminator because we passed in
318289
_visited_composed_classes = (Animal,)
319-
account_number (str): [optional] # noqa: E501
290+
account_subtype_name (str): [optional] # noqa: E501
320291
apr (float): [optional] # noqa: E501
321292
apy (float): [optional] # noqa: E501
322293
available_balance (float): [optional] # noqa: E501
323-
available_credit (float): [optional] # noqa: E501
294+
balance (float): [optional] # noqa: E501
324295
cash_surrender_value (float): [optional] # noqa: E501
325296
credit_limit (float): [optional] # noqa: E501
326297
currency_code (str): [optional] # noqa: E501
327-
day_payment_is_due (int): [optional] # noqa: E501
328298
death_benefit (int): [optional] # noqa: E501
329-
id (str): [optional] # noqa: E501
330299
interest_rate (float): [optional] # noqa: E501
300+
is_business (bool): [optional] # noqa: E501
331301
is_closed (bool): [optional] # noqa: E501
332302
is_hidden (bool): [optional] # noqa: E501
333-
last_payment (float): [optional] # noqa: E501
334-
last_payment_at (str): [optional] # noqa: E501
335303
loan_amount (float): [optional] # noqa: E501
336-
matures_on (str): [optional] # noqa: E501
337304
metadata (str): [optional] # noqa: E501
338-
minimum_balance (float): [optional] # noqa: E501
339-
minimum_payment (float): [optional] # noqa: E501
340305
nickname (str): [optional] # noqa: E501
341306
original_balance (float): [optional] # noqa: E501
342-
payment_due_at (str): [optional] # noqa: E501
343-
payoff_balance (float): [optional] # noqa: E501
344-
routing_number (str): [optional] # noqa: E501
345-
started_on (str): [optional] # noqa: E501
346-
subtype (str): [optional] # noqa: E501
307+
property_type (int): [optional] # noqa: E501
308+
property_type_name (str): [optional] # noqa: E501
309+
skip_webhook (bool): [optional] # noqa: E501
347310
"""
348311

349312
_check_type = kwargs.pop('_check_type', True)
@@ -369,9 +332,8 @@ def __init__(self, balance, name, type, *args, **kwargs): # noqa: E501
369332
self._configuration = _configuration
370333
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
371334

372-
self.balance = balance
335+
self.account_type = account_type
373336
self.name = name
374-
self.type = type
375337
for var_name, var_value in kwargs.items():
376338
if var_name not in self.attribute_map and \
377339
self._configuration is not None and \

0 commit comments

Comments
 (0)