Skip to content

Commit 1ba46ab

Browse files
authored
Merge pull request #30 from mxenabled/openapi-generator-0.9.2
Generated version 0.9.2
2 parents 060dae7 + a1b5735 commit 1ba46ab

15 files changed

+40
-21
lines changed

docs/ConnectWidgetRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
## Properties
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7+
**client_redirect_url** | **str** | | [optional]
78
**color_scheme** | **str** | | [optional]
89
**current_institution_code** | **str** | | [optional]
910
**current_member_guid** | **str** | | [optional]
@@ -14,7 +15,6 @@ Name | Type | Description | Notes
1415
**ui_message_version** | **int** | | [optional]
1516
**ui_message_webview_url_scheme** | **str** | | [optional]
1617
**update_credentials** | **bool** | | [optional]
17-
**wait_for_full_aggregation** | **bool** | | [optional]
1818
**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]
1919

2020
[[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/HoldingResponse.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Name | Type | Description | Notes
1313
**description** | **str, none_type** | | [optional]
1414
**guid** | **str, none_type** | | [optional]
1515
**holding_type** | **str, none_type** | | [optional]
16+
**holding_type_id** | **int, none_type** | | [optional]
1617
**id** | **str, none_type** | | [optional]
1718
**market_value** | **float, none_type** | | [optional]
1819
**member_guid** | **str, none_type** | | [optional]

docs/MemberCreateRequest.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
77
**credentials** | [**[CredentialRequest]**](CredentialRequest.md) | |
88
**institution_code** | **str** | |
99
**background_aggregation_is_disabled** | **bool** | | [optional]
10+
**client_redirect_url** | **str** | | [optional]
1011
**id** | **str** | | [optional]
1112
**is_oauth** | **bool** | | [optional]
1213
**metadata** | **str** | | [optional]

docs/MxPlatformApi.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -698,6 +698,7 @@ with mx_platform_python.ApiClient(configuration) as api_client:
698698
member_create_request_body = MemberCreateRequestBody(
699699
member=MemberCreateRequest(
700700
background_aggregation_is_disabled=False,
701+
client_redirect_url="https://mx.com",
701702
credentials=[
702703
CredentialRequest(
703704
guid="CRD-27d0edb8-1d50-5b90-bcbc-be270ca42b9f",
@@ -6431,6 +6432,7 @@ with mx_platform_python.ApiClient(configuration) as api_client:
64316432
user_guid = "USR-fa7537f3-48aa-a683-a02a-b18940482f54" # str | The unique id for a `user`.
64326433
connect_widget_request_body = ConnectWidgetRequestBody(
64336434
config=ConnectWidgetRequest(
6435+
client_redirect_url="https://mx.com",
64346436
color_scheme="light",
64356437
current_institution_code="chase",
64366438
current_member_guid="MBR-7c6f361b-e582-15b6-60c0-358f12466b4b",
@@ -6441,7 +6443,6 @@ with mx_platform_python.ApiClient(configuration) as api_client:
64416443
ui_message_version=4,
64426444
ui_message_webview_url_scheme="mx",
64436445
update_credentials=False,
6444-
wait_for_full_aggregation=False,
64456446
),
64466447
) # ConnectWidgetRequestBody | Optional config options for WebView (is_mobile_webview, current_institution_code, current_member_guid, update_credentials)
64476448

@@ -6524,9 +6525,10 @@ with mx_platform_python.ApiClient(configuration) as api_client:
65246525
api_instance = mx_platform_api.MxPlatformApi(api_client)
65256526
member_guid = "MBR-7c6f361b-e582-15b6-60c0-358f12466b4b" # str | The unique id for a `member`.
65266527
user_guid = "USR-fa7537f3-48aa-a683-a02a-b18940482f54" # str | The unique id for a `user`.
6528+
client_redirect_url = "https://mx.com" # str | A URL that MX will redirect to at the end of OAuth with additional query parameters. Only available with `referral_source=APP`. (optional)
65276529
referral_source = "APP" # str | Must be either `BROWSER` or `APP` depending on the implementation. Defaults to `BROWSER`. (optional)
65286530
skip_aggregation = False # bool | Setting this parameter to `true` will prevent the member from automatically aggregating after being redirected from the authorization page. (optional)
6529-
ui_message_webview_url_scheme = "mx" # str | A scheme for routing the user back to the application state they were previously in. (optional)
6531+
ui_message_webview_url_scheme = "mx" # str | A scheme for routing the user back to the application state they were previously in. Only available with `referral_source=APP`. (optional)
65306532

65316533
# example passing only required values which don't have defaults set
65326534
try:
@@ -6540,7 +6542,7 @@ with mx_platform_python.ApiClient(configuration) as api_client:
65406542
# and optional values
65416543
try:
65426544
# Request oauth window uri
6543-
api_response = api_instance.request_o_auth_window_uri(member_guid, user_guid, referral_source=referral_source, skip_aggregation=skip_aggregation, ui_message_webview_url_scheme=ui_message_webview_url_scheme)
6545+
api_response = api_instance.request_o_auth_window_uri(member_guid, user_guid, client_redirect_url=client_redirect_url, referral_source=referral_source, skip_aggregation=skip_aggregation, ui_message_webview_url_scheme=ui_message_webview_url_scheme)
65446546
pprint(api_response)
65456547
except mx_platform_python.ApiException as e:
65466548
print("Exception when calling MxPlatformApi->request_o_auth_window_uri: %s\n" % e)
@@ -6553,9 +6555,10 @@ Name | Type | Description | Notes
65536555
------------- | ------------- | ------------- | -------------
65546556
**member_guid** | **str**| The unique id for a `member`. |
65556557
**user_guid** | **str**| The unique id for a `user`. |
6558+
**client_redirect_url** | **str**| A URL that MX will redirect to at the end of OAuth with additional query parameters. Only available with `referral_source=APP`. | [optional]
65566559
**referral_source** | **str**| Must be either `BROWSER` or `APP` depending on the implementation. Defaults to `BROWSER`. | [optional]
65576560
**skip_aggregation** | **bool**| Setting this parameter to `true` will prevent the member from automatically aggregating after being redirected from the authorization page. | [optional]
6558-
**ui_message_webview_url_scheme** | **str**| A scheme for routing the user back to the application state they were previously in. | [optional]
6561+
**ui_message_webview_url_scheme** | **str**| A scheme for routing the user back to the application state they were previously in. Only available with `referral_source=APP`. | [optional]
65596562

65606563
### Return type
65616564

@@ -6621,6 +6624,7 @@ with mx_platform_python.ApiClient(configuration) as api_client:
66216624
user_guid = "USR-fa7537f3-48aa-a683-a02a-b18940482f54" # str | The unique id for a `user`.
66226625
widget_request_body = WidgetRequestBody(
66236626
widget_url=WidgetRequest(
6627+
client_redirect_url="https://mx.com",
66246628
color_scheme="light",
66256629
current_institution_code="chase",
66266630
current_institution_guid="INS-f1a3285d-e855-b61f-6aa7-8ae575c0e0e9",
@@ -6632,7 +6636,6 @@ with mx_platform_python.ApiClient(configuration) as api_client:
66326636
ui_message_version=4,
66336637
ui_message_webview_url_scheme="mx",
66346638
update_credentials=False,
6635-
wait_for_full_aggregation=False,
66366639
widget_type="connect_widget",
66376640
),
66386641
) # WidgetRequestBody | The widget url configuration options.

docs/WidgetRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**widget_type** | **str** | |
8+
**client_redirect_url** | **str** | | [optional]
89
**color_scheme** | **str** | | [optional]
910
**current_institution_code** | **str** | | [optional]
1011
**current_institution_guid** | **str** | | [optional]
@@ -16,7 +17,6 @@ Name | Type | Description | Notes
1617
**ui_message_version** | **int** | | [optional]
1718
**ui_message_webview_url_scheme** | **str** | | [optional]
1819
**update_credentials** | **bool** | | [optional]
19-
**wait_for_full_aggregation** | **bool** | | [optional]
2020
**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]
2121

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

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.9.1"
13+
__version__ = "0.9.2"
1414

1515
# import ApiClient
1616
from mx_platform_python.api_client import ApiClient

mx_platform_python/api/mx_platform_api.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4593,6 +4593,7 @@ def __init__(self, api_client=None):
45934593
'all': [
45944594
'member_guid',
45954595
'user_guid',
4596+
'client_redirect_url',
45964597
'referral_source',
45974598
'skip_aggregation',
45984599
'ui_message_webview_url_scheme',
@@ -4618,6 +4619,8 @@ def __init__(self, api_client=None):
46184619
(str,),
46194620
'user_guid':
46204621
(str,),
4622+
'client_redirect_url':
4623+
(str,),
46214624
'referral_source':
46224625
(str,),
46234626
'skip_aggregation':
@@ -4628,13 +4631,15 @@ def __init__(self, api_client=None):
46284631
'attribute_map': {
46294632
'member_guid': 'member_guid',
46304633
'user_guid': 'user_guid',
4634+
'client_redirect_url': 'client_redirect_url',
46314635
'referral_source': 'referral_source',
46324636
'skip_aggregation': 'skip_aggregation',
46334637
'ui_message_webview_url_scheme': 'ui_message_webview_url_scheme',
46344638
},
46354639
'location_map': {
46364640
'member_guid': 'path',
46374641
'user_guid': 'path',
4642+
'client_redirect_url': 'query',
46384643
'referral_source': 'query',
46394644
'skip_aggregation': 'query',
46404645
'ui_message_webview_url_scheme': 'query',
@@ -11642,9 +11647,10 @@ def request_o_auth_window_uri(
1164211647
user_guid (str): The unique id for a `user`.
1164311648
1164411649
Keyword Args:
11650+
client_redirect_url (str): A URL that MX will redirect to at the end of OAuth with additional query parameters. Only available with `referral_source=APP`.. [optional]
1164511651
referral_source (str): Must be either `BROWSER` or `APP` depending on the implementation. Defaults to `BROWSER`.. [optional]
1164611652
skip_aggregation (bool): Setting this parameter to `true` will prevent the member from automatically aggregating after being redirected from the authorization page.. [optional]
11647-
ui_message_webview_url_scheme (str): A scheme for routing the user back to the application state they were previously in.. [optional]
11653+
ui_message_webview_url_scheme (str): A scheme for routing the user back to the application state they were previously in. Only available with `referral_source=APP`.. [optional]
1164811654
_return_http_data_only (bool): response data without head status
1164911655
code and headers. Default is True.
1165011656
_preload_content (bool): if False, the urllib3.HTTPResponse object

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.9.1/python'
79+
self.user_agent = 'OpenAPI-Generator/0.9.2/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.9.1".\
407+
"SDK Package Version: 0.9.2".\
408408
format(env=sys.platform, pyversion=sys.version)
409409

410410
def get_host_settings(self):

mx_platform_python/model/connect_widget_request.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ def openapi_types():
8181
and the value is attribute type.
8282
"""
8383
return {
84+
'client_redirect_url': (str,), # noqa: E501
8485
'color_scheme': (str,), # noqa: E501
8586
'current_institution_code': (str,), # noqa: E501
8687
'current_member_guid': (str,), # noqa: E501
@@ -91,7 +92,6 @@ def openapi_types():
9192
'ui_message_version': (int,), # noqa: E501
9293
'ui_message_webview_url_scheme': (str,), # noqa: E501
9394
'update_credentials': (bool,), # noqa: E501
94-
'wait_for_full_aggregation': (bool,), # noqa: E501
9595
}
9696

9797
@cached_property
@@ -100,6 +100,7 @@ def discriminator():
100100

101101

102102
attribute_map = {
103+
'client_redirect_url': 'client_redirect_url', # noqa: E501
103104
'color_scheme': 'color_scheme', # noqa: E501
104105
'current_institution_code': 'current_institution_code', # noqa: E501
105106
'current_member_guid': 'current_member_guid', # noqa: E501
@@ -110,7 +111,6 @@ def discriminator():
110111
'ui_message_version': 'ui_message_version', # noqa: E501
111112
'ui_message_webview_url_scheme': 'ui_message_webview_url_scheme', # noqa: E501
112113
'update_credentials': 'update_credentials', # noqa: E501
113-
'wait_for_full_aggregation': 'wait_for_full_aggregation', # noqa: E501
114114
}
115115

116116
read_only_vars = {
@@ -154,6 +154,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
154154
Animal class but this time we won't travel
155155
through its discriminator because we passed in
156156
_visited_composed_classes = (Animal,)
157+
client_redirect_url (str): [optional] # noqa: E501
157158
color_scheme (str): [optional] # noqa: E501
158159
current_institution_code (str): [optional] # noqa: E501
159160
current_member_guid (str): [optional] # noqa: E501
@@ -164,7 +165,6 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
164165
ui_message_version (int): [optional] # noqa: E501
165166
ui_message_webview_url_scheme (str): [optional] # noqa: E501
166167
update_credentials (bool): [optional] # noqa: E501
167-
wait_for_full_aggregation (bool): [optional] # noqa: E501
168168
"""
169169

170170
_check_type = kwargs.pop('_check_type', True)
@@ -246,6 +246,7 @@ def __init__(self, *args, **kwargs): # noqa: E501
246246
Animal class but this time we won't travel
247247
through its discriminator because we passed in
248248
_visited_composed_classes = (Animal,)
249+
client_redirect_url (str): [optional] # noqa: E501
249250
color_scheme (str): [optional] # noqa: E501
250251
current_institution_code (str): [optional] # noqa: E501
251252
current_member_guid (str): [optional] # noqa: E501
@@ -256,7 +257,6 @@ def __init__(self, *args, **kwargs): # noqa: E501
256257
ui_message_version (int): [optional] # noqa: E501
257258
ui_message_webview_url_scheme (str): [optional] # noqa: E501
258259
update_credentials (bool): [optional] # noqa: E501
259-
wait_for_full_aggregation (bool): [optional] # noqa: E501
260260
"""
261261

262262
_check_type = kwargs.pop('_check_type', True)

0 commit comments

Comments
 (0)