Skip to content

Commit 4a76e77

Browse files
authored
Merge pull request #31 from mxenabled/openapi-generator-0.10.0
Generated version 0.10.0
2 parents 1ba46ab + 5778ccf commit 4a76e77

22 files changed

+597
-16
lines changed

docs/AccountNumberResponse.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
99
**guid** | **str, none_type** | | [optional]
1010
**institution_number** | **str, none_type** | | [optional]
1111
**member_guid** | **str, none_type** | | [optional]
12+
**passed_validation** | **bool, none_type** | | [optional]
1213
**routing_number** | **str, none_type** | | [optional]
1314
**transit_number** | **str, none_type** | | [optional]
1415
**user_guid** | **str, none_type** | | [optional]

docs/AccountOwnerResponse.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ Name | Type | Description | Notes
99
**city** | **str, none_type** | | [optional]
1010
**country** | **str, none_type** | | [optional]
1111
**email** | **str, none_type** | | [optional]
12+
**first_name** | **str, none_type** | | [optional]
1213
**guid** | **str, none_type** | | [optional]
14+
**last_name** | **str, none_type** | | [optional]
1315
**member_guid** | **str, none_type** | | [optional]
1416
**owner_name** | **str, none_type** | | [optional]
1517
**phone** | **str, none_type** | | [optional]

docs/ConnectWidgetRequest.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,13 @@ Name | Type | Description | Notes
88
**color_scheme** | **str** | | [optional]
99
**current_institution_code** | **str** | | [optional]
1010
**current_member_guid** | **str** | | [optional]
11+
**disable_background_agg** | **bool** | | [optional]
1112
**disable_institution_search** | **bool** | | [optional]
13+
**include_identity** | **bool** | | [optional]
1214
**include_transactions** | **bool** | | [optional]
1315
**is_mobile_webview** | **bool** | | [optional]
1416
**mode** | **str** | | [optional]
17+
**oauth_referral_source** | **str** | | [optional]
1518
**ui_message_version** | **int** | | [optional]
1619
**ui_message_webview_url_scheme** | **str** | | [optional]
1720
**update_credentials** | **bool** | | [optional]

docs/MemberCreateRequest.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ 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]
1110
**id** | **str** | | [optional]
1211
**is_oauth** | **bool** | | [optional]
1312
**metadata** | **str** | | [optional]

docs/MemberCreateRequestBody.md

Lines changed: 1 addition & 0 deletions
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
**member** | [**MemberCreateRequest**](MemberCreateRequest.md) | | [optional]
89
**referral_source** | **str** | | [optional]
910
**ui_message_webview_url_scheme** | **str** | | [optional]

docs/MemberResponse.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**aggregated_at** | **str, none_type** | | [optional]
8+
**background_aggregation_is_disabled** | **bool** | | [optional]
89
**connection_status** | **str, none_type** | | [optional]
910
**guid** | **str, none_type** | | [optional]
1011
**id** | **str, none_type** | | [optional]

docs/MxPlatformApi.md

Lines changed: 198 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ Method | HTTP request | Description
4545
[**list_managed_institutions**](MxPlatformApi.md#list_managed_institutions) | **GET** /managed_institutions | List managed institutions
4646
[**list_managed_members**](MxPlatformApi.md#list_managed_members) | **GET** /users/{user_guid}/managed_members | List managed members
4747
[**list_managed_transactions**](MxPlatformApi.md#list_managed_transactions) | **GET** /users/{user_guid}/managed_members/{member_guid}/accounts/{account_guid}/transactions | List managed transactions
48+
[**list_member_accounts**](MxPlatformApi.md#list_member_accounts) | **GET** /users/{user_guid}/members/{member_guid}/accounts | List accounts by member
4849
[**list_member_challenges**](MxPlatformApi.md#list_member_challenges) | **GET** /users/{user_guid}/members/{member_guid}/challenges | List member challenges
4950
[**list_member_credentials**](MxPlatformApi.md#list_member_credentials) | **GET** /users/{user_guid}/members/{member_guid}/credentials | List member credentials
5051
[**list_members**](MxPlatformApi.md#list_members) | **GET** /users/{user_guid}/members | List members
@@ -60,6 +61,7 @@ Method | HTTP request | Description
6061
[**list_user_accounts**](MxPlatformApi.md#list_user_accounts) | **GET** /users/{user_guid}/accounts | List accounts
6162
[**list_users**](MxPlatformApi.md#list_users) | **GET** /users | List users
6263
[**read_account**](MxPlatformApi.md#read_account) | **GET** /users/{user_guid}/accounts/{account_guid} | Read account
64+
[**read_account_by_member**](MxPlatformApi.md#read_account_by_member) | **GET** /users/{user_guid}/members/{member_guid}/accounts/{account_guid} | Read account by member
6365
[**read_category**](MxPlatformApi.md#read_category) | **GET** /users/{user_guid}/categories/{category_guid} | Read a custom category
6466
[**read_default_category**](MxPlatformApi.md#read_default_category) | **GET** /categories/{category_guid} | Read a default category
6567
[**read_holding**](MxPlatformApi.md#read_holding) | **GET** /users/{user_guid}/holdings/{holding_guid} | Read holding
@@ -696,9 +698,9 @@ with mx_platform_python.ApiClient(configuration) as api_client:
696698
api_instance = mx_platform_api.MxPlatformApi(api_client)
697699
user_guid = "USR-fa7537f3-48aa-a683-a02a-b18940482f54" # str | The unique id for a `user`.
698700
member_create_request_body = MemberCreateRequestBody(
701+
client_redirect_url="https://mx.com",
699702
member=MemberCreateRequest(
700703
background_aggregation_is_disabled=False,
701-
client_redirect_url="https://mx.com",
702704
credentials=[
703705
CredentialRequest(
704706
guid="CRD-27d0edb8-1d50-5b90-bcbc-be270ca42b9f",
@@ -1056,7 +1058,7 @@ with mx_platform_python.ApiClient(configuration) as api_client:
10561058
10571059
id="My-Unique-ID",
10581060
is_disabled=False,
1059-
metadata="{\"first_name\": \"Steven\", \"last_name\": \"Universe\"}",
1061+
metadata="{\"type\": \"individual\", \"status\": \"preferred\"}",
10601062
),
10611063
) # UserCreateRequestBody | User object to be created. (None of these parameters are required, but the user object cannot be empty)
10621064

@@ -3662,6 +3664,101 @@ Name | Type | Description | Notes
36623664
- **Accept**: application/vnd.mx.api.v1+json
36633665

36643666

3667+
### HTTP response details
3668+
3669+
| Status code | Description | Response headers |
3670+
|-------------|-------------|------------------|
3671+
**200** | OK | - |
3672+
3673+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
3674+
3675+
# **list_member_accounts**
3676+
> AccountsResponseBody list_member_accounts(user_guid, member_guid)
3677+
3678+
List accounts by member
3679+
3680+
This endpoint returns a list of all the accounts associated with the specified `member`.
3681+
3682+
### Example
3683+
3684+
* Basic Authentication (basicAuth):
3685+
3686+
```python
3687+
import time
3688+
import mx_platform_python
3689+
from mx_platform_python.api import mx_platform_api
3690+
from mx_platform_python.model.accounts_response_body import AccountsResponseBody
3691+
from pprint import pprint
3692+
# Defining the host is optional and defaults to https://api.mx.com
3693+
# See configuration.py for a list of all supported configuration parameters.
3694+
configuration = mx_platform_python.Configuration(
3695+
host = "https://api.mx.com"
3696+
)
3697+
3698+
# The client must configure the authentication and authorization parameters
3699+
# in accordance with the API server security policy.
3700+
# Examples for each auth method are provided below, use the example that
3701+
# satisfies your auth use case.
3702+
3703+
# Configure HTTP basic authorization: basicAuth
3704+
configuration = mx_platform_python.Configuration(
3705+
username = 'YOUR_USERNAME',
3706+
password = 'YOUR_PASSWORD'
3707+
)
3708+
3709+
# Enter a context with an instance of the API client
3710+
with mx_platform_python.ApiClient(configuration) as api_client:
3711+
# Create an instance of the API class
3712+
api_instance = mx_platform_api.MxPlatformApi(api_client)
3713+
user_guid = "USR-fa7537f3-48aa-a683-a02a-b18940482f54" # str | The unique id for a `user`.
3714+
member_guid = "MBR-7c6f361b-e582-15b6-60c0-358f12466b4b" # str | The unique id for a `member`.
3715+
member_is_managed_by_user = True # bool | List only accounts whose member is managed by the user. (optional)
3716+
page = 1 # int | Specify current page. (optional)
3717+
records_per_page = 10 # int | Specify records per page. (optional)
3718+
3719+
# example passing only required values which don't have defaults set
3720+
try:
3721+
# List accounts by member
3722+
api_response = api_instance.list_member_accounts(user_guid, member_guid)
3723+
pprint(api_response)
3724+
except mx_platform_python.ApiException as e:
3725+
print("Exception when calling MxPlatformApi->list_member_accounts: %s\n" % e)
3726+
3727+
# example passing only required values which don't have defaults set
3728+
# and optional values
3729+
try:
3730+
# List accounts by member
3731+
api_response = api_instance.list_member_accounts(user_guid, member_guid, member_is_managed_by_user=member_is_managed_by_user, page=page, records_per_page=records_per_page)
3732+
pprint(api_response)
3733+
except mx_platform_python.ApiException as e:
3734+
print("Exception when calling MxPlatformApi->list_member_accounts: %s\n" % e)
3735+
```
3736+
3737+
3738+
### Parameters
3739+
3740+
Name | Type | Description | Notes
3741+
------------- | ------------- | ------------- | -------------
3742+
**user_guid** | **str**| The unique id for a `user`. |
3743+
**member_guid** | **str**| The unique id for a `member`. |
3744+
**member_is_managed_by_user** | **bool**| List only accounts whose member is managed by the user. | [optional]
3745+
**page** | **int**| Specify current page. | [optional]
3746+
**records_per_page** | **int**| Specify records per page. | [optional]
3747+
3748+
### Return type
3749+
3750+
[**AccountsResponseBody**](AccountsResponseBody.md)
3751+
3752+
### Authorization
3753+
3754+
[basicAuth](../README.md#basicAuth)
3755+
3756+
### HTTP request headers
3757+
3758+
- **Content-Type**: Not defined
3759+
- **Accept**: application/vnd.mx.api.v1+json
3760+
3761+
36653762
### HTTP response details
36663763

36673764
| Status code | Description | Response headers |
@@ -4819,6 +4916,7 @@ with mx_platform_python.ApiClient(configuration) as api_client:
48194916
# Create an instance of the API class
48204917
api_instance = mx_platform_api.MxPlatformApi(api_client)
48214918
user_guid = "USR-fa7537f3-48aa-a683-a02a-b18940482f54" # str | The unique id for a `user`.
4919+
member_is_managed_by_user = True # bool | List only accounts whose member is managed by the user. (optional)
48224920
page = 1 # int | Specify current page. (optional)
48234921
records_per_page = 10 # int | Specify records per page. (optional)
48244922

@@ -4834,7 +4932,7 @@ with mx_platform_python.ApiClient(configuration) as api_client:
48344932
# and optional values
48354933
try:
48364934
# List accounts
4837-
api_response = api_instance.list_user_accounts(user_guid, page=page, records_per_page=records_per_page)
4935+
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)
48384936
pprint(api_response)
48394937
except mx_platform_python.ApiException as e:
48404938
print("Exception when calling MxPlatformApi->list_user_accounts: %s\n" % e)
@@ -4846,6 +4944,7 @@ with mx_platform_python.ApiClient(configuration) as api_client:
48464944
Name | Type | Description | Notes
48474945
------------- | ------------- | ------------- | -------------
48484946
**user_guid** | **str**| The unique id for a `user`. |
4947+
**member_is_managed_by_user** | **bool**| List only accounts whose member is managed by the user. | [optional]
48494948
**page** | **int**| Specify current page. | [optional]
48504949
**records_per_page** | **int**| Specify records per page. | [optional]
48514950

@@ -4911,12 +5010,15 @@ with mx_platform_python.ApiClient(configuration) as api_client:
49115010
api_instance = mx_platform_api.MxPlatformApi(api_client)
49125011
page = 1 # int | Specify current page. (optional)
49135012
records_per_page = 10 # int | Specify records per page. (optional)
5013+
id = "u-12324-abdc" # str | The user `id` to search for. (optional)
5014+
email = "[email protected]" # str | The user `email` to search for. (optional)
5015+
is_disabled = True # bool | Search for users that are diabled. (optional)
49145016

49155017
# example passing only required values which don't have defaults set
49165018
# and optional values
49175019
try:
49185020
# List users
4919-
api_response = api_instance.list_users(page=page, records_per_page=records_per_page)
5021+
api_response = api_instance.list_users(page=page, records_per_page=records_per_page, id=id, email=email, is_disabled=is_disabled)
49205022
pprint(api_response)
49215023
except mx_platform_python.ApiException as e:
49225024
print("Exception when calling MxPlatformApi->list_users: %s\n" % e)
@@ -4929,6 +5031,9 @@ Name | Type | Description | Notes
49295031
------------- | ------------- | ------------- | -------------
49305032
**page** | **int**| Specify current page. | [optional]
49315033
**records_per_page** | **int**| Specify records per page. | [optional]
5034+
**id** | **str**| The user `id` to search for. | [optional]
5035+
**email** | **str**| The user `email` to search for. | [optional]
5036+
**is_disabled** | **bool**| Search for users that are diabled. | [optional]
49325037

49335038
### Return type
49345039

@@ -5024,6 +5129,88 @@ Name | Type | Description | Notes
50245129
- **Accept**: application/vnd.mx.api.v1+json
50255130

50265131

5132+
### HTTP response details
5133+
5134+
| Status code | Description | Response headers |
5135+
|-------------|-------------|------------------|
5136+
**200** | OK | - |
5137+
5138+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
5139+
5140+
# **read_account_by_member**
5141+
> AccountResponseBody read_account_by_member(account_guid, member_guid, user_guid)
5142+
5143+
Read account by member
5144+
5145+
This endpoint allows you to read the attributes of an `account` resource.
5146+
5147+
### Example
5148+
5149+
* Basic Authentication (basicAuth):
5150+
5151+
```python
5152+
import time
5153+
import mx_platform_python
5154+
from mx_platform_python.api import mx_platform_api
5155+
from mx_platform_python.model.account_response_body import AccountResponseBody
5156+
from pprint import pprint
5157+
# Defining the host is optional and defaults to https://api.mx.com
5158+
# See configuration.py for a list of all supported configuration parameters.
5159+
configuration = mx_platform_python.Configuration(
5160+
host = "https://api.mx.com"
5161+
)
5162+
5163+
# The client must configure the authentication and authorization parameters
5164+
# in accordance with the API server security policy.
5165+
# Examples for each auth method are provided below, use the example that
5166+
# satisfies your auth use case.
5167+
5168+
# Configure HTTP basic authorization: basicAuth
5169+
configuration = mx_platform_python.Configuration(
5170+
username = 'YOUR_USERNAME',
5171+
password = 'YOUR_PASSWORD'
5172+
)
5173+
5174+
# Enter a context with an instance of the API client
5175+
with mx_platform_python.ApiClient(configuration) as api_client:
5176+
# Create an instance of the API class
5177+
api_instance = mx_platform_api.MxPlatformApi(api_client)
5178+
account_guid = "ACT-06d7f44b-caae-0f6e-1384-01f52e75dcb1" # str | The unique id for an `account`.
5179+
member_guid = "MBR-7c6f361b-e582-15b6-60c0-358f12466b4b" # str | The unique id for a `member`.
5180+
user_guid = "USR-fa7537f3-48aa-a683-a02a-b18940482f54" # str | The unique id for a `user`.
5181+
5182+
# example passing only required values which don't have defaults set
5183+
try:
5184+
# Read account by member
5185+
api_response = api_instance.read_account_by_member(account_guid, member_guid, user_guid)
5186+
pprint(api_response)
5187+
except mx_platform_python.ApiException as e:
5188+
print("Exception when calling MxPlatformApi->read_account_by_member: %s\n" % e)
5189+
```
5190+
5191+
5192+
### Parameters
5193+
5194+
Name | Type | Description | Notes
5195+
------------- | ------------- | ------------- | -------------
5196+
**account_guid** | **str**| The unique id for an `account`. |
5197+
**member_guid** | **str**| The unique id for a `member`. |
5198+
**user_guid** | **str**| The unique id for a `user`. |
5199+
5200+
### Return type
5201+
5202+
[**AccountResponseBody**](AccountResponseBody.md)
5203+
5204+
### Authorization
5205+
5206+
[basicAuth](../README.md#basicAuth)
5207+
5208+
### HTTP request headers
5209+
5210+
- **Content-Type**: Not defined
5211+
- **Accept**: application/vnd.mx.api.v1+json
5212+
5213+
50275214
### HTTP response details
50285215

50295216
| Status code | Description | Response headers |
@@ -6436,10 +6623,13 @@ with mx_platform_python.ApiClient(configuration) as api_client:
64366623
color_scheme="light",
64376624
current_institution_code="chase",
64386625
current_member_guid="MBR-7c6f361b-e582-15b6-60c0-358f12466b4b",
6626+
disable_background_agg=False,
64396627
disable_institution_search=False,
6628+
include_identity=False,
64406629
include_transactions=True,
6441-
is_mobile_webview=True,
6630+
is_mobile_webview=False,
64426631
mode="aggregation",
6632+
oauth_referral_source="BROWSER",
64436633
ui_message_version=4,
64446634
ui_message_webview_url_scheme="mx",
64456635
update_credentials=False,
@@ -6630,9 +6820,11 @@ with mx_platform_python.ApiClient(configuration) as api_client:
66306820
current_institution_guid="INS-f1a3285d-e855-b61f-6aa7-8ae575c0e0e9",
66316821
current_member_guid="MBR-7c6f361b-e582-15b6-60c0-358f12466b4b",
66326822
disable_institution_search=False,
6823+
include_identity=False,
66336824
include_transactions=True,
6634-
is_mobile_webview=True,
6825+
is_mobile_webview=False,
66356826
mode="aggregation",
6827+
oauth_referral_source="BROWSER",
66366828
ui_message_version=4,
66376829
ui_message_webview_url_scheme="mx",
66386830
update_credentials=False,

docs/WidgetRequest.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@ Name | Type | Description | Notes
1111
**current_institution_guid** | **str** | | [optional]
1212
**current_member_guid** | **str** | | [optional]
1313
**disable_institution_search** | **bool** | | [optional]
14+
**include_identity** | **bool** | | [optional]
1415
**include_transactions** | **bool** | | [optional]
1516
**is_mobile_webview** | **bool** | | [optional]
1617
**mode** | **str** | | [optional]
18+
**oauth_referral_source** | **str** | | [optional]
1719
**ui_message_version** | **int** | | [optional]
1820
**ui_message_webview_url_scheme** | **str** | | [optional]
1921
**update_credentials** | **bool** | | [optional]

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.2"
13+
__version__ = "0.10.0"
1414

1515
# import ApiClient
1616
from mx_platform_python.api_client import ApiClient

0 commit comments

Comments
 (0)