Skip to content

Commit 272fd53

Browse files
authored
Merge pull request #58 from mxenabled/openapi-generator-0.11.0
Generated version 0.11.0
2 parents 83e351c + 4745712 commit 272fd53

30 files changed

+962
-80
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ mvn clean package
2424
```
2525

2626
Then manually install the following JARs:
27-
- `target/mx-platform-java-0.10.2.jar`
27+
- `target/mx-platform-java-0.11.0.jar`
2828
- `target/lib/*.jar`
2929

3030
### Maven users
@@ -35,7 +35,7 @@ Add this dependency to your project's POM:
3535
<dependency>
3636
<groupId>com.mx</groupId>
3737
<artifactId>mx-platform-java</artifactId>
38-
<version>0.10.2</version>
38+
<version>0.11.0</version>
3939
<scope>compile</scope>
4040
</dependency>
4141
```

docs/AccountNumberResponse.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
1212
**guid** | **String** | | [optional]
1313
**institutionNumber** | **String** | | [optional]
1414
**memberGuid** | **String** | | [optional]
15+
**passedValidation** | **Boolean** | | [optional]
1516
**routingNumber** | **String** | | [optional]
1617
**transitNumber** | **String** | | [optional]
1718
**userGuid** | **String** | | [optional]

docs/AccountOwnerResponse.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ Name | Type | Description | Notes
1212
**city** | **String** | | [optional]
1313
**country** | **String** | | [optional]
1414
**email** | **String** | | [optional]
15+
**firstName** | **String** | | [optional]
1516
**guid** | **String** | | [optional]
17+
**lastName** | **String** | | [optional]
1618
**memberGuid** | **String** | | [optional]
1719
**ownerName** | **String** | | [optional]
1820
**phone** | **String** | | [optional]

docs/ConnectWidgetRequest.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,13 @@ Name | Type | Description | Notes
1111
**colorScheme** | **String** | | [optional]
1212
**currentInstitutionCode** | **String** | | [optional]
1313
**currentMemberGuid** | **String** | | [optional]
14+
**disableBackgroundAgg** | **Boolean** | | [optional]
1415
**disableInstitutionSearch** | **Boolean** | | [optional]
16+
**includeIdentity** | **Boolean** | | [optional]
1517
**includeTransactions** | **Boolean** | | [optional]
1618
**isMobileWebview** | **Boolean** | | [optional]
1719
**mode** | **String** | | [optional]
20+
**oauthReferralSource** | **String** | | [optional]
1821
**uiMessageVersion** | **Integer** | | [optional]
1922
**uiMessageWebviewUrlScheme** | **String** | | [optional]
2023
**updateCredentials** | **Boolean** | | [optional]

docs/MemberCreateRequest.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
Name | Type | Description | Notes
99
------------ | ------------- | ------------- | -------------
1010
**backgroundAggregationIsDisabled** | **Boolean** | | [optional]
11-
**clientRedirectUrl** | **String** | | [optional]
1211
**credentials** | [**List&lt;CredentialRequest&gt;**](CredentialRequest.md) | |
1312
**id** | **String** | | [optional]
1413
**institutionCode** | **String** | |

docs/MemberCreateRequestBody.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
Name | Type | Description | Notes
99
------------ | ------------- | ------------- | -------------
10+
**clientRedirectUrl** | **String** | | [optional]
1011
**member** | [**MemberCreateRequest**](MemberCreateRequest.md) | | [optional]
1112
**referralSource** | **String** | | [optional]
1213
**uiMessageWebviewUrlScheme** | **String** | | [optional]

docs/MemberResponse.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
Name | Type | Description | Notes
99
------------ | ------------- | ------------- | -------------
1010
**aggregatedAt** | **String** | | [optional]
11+
**backgroundAggregationIsDisabled** | **Boolean** | | [optional]
1112
**connectionStatus** | **String** | | [optional]
1213
**guid** | **String** | | [optional]
1314
**id** | **String** | | [optional]

docs/MxPlatformApi.md

Lines changed: 162 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ Method | HTTP request | Description
4545
[**listManagedInstitutions**](MxPlatformApi.md#listManagedInstitutions) | **GET** /managed_institutions | List managed institutions
4646
[**listManagedMembers**](MxPlatformApi.md#listManagedMembers) | **GET** /users/{user_guid}/managed_members | List managed members
4747
[**listManagedTransactions**](MxPlatformApi.md#listManagedTransactions) | **GET** /users/{user_guid}/managed_members/{member_guid}/accounts/{account_guid}/transactions | List managed transactions
48+
[**listMemberAccounts**](MxPlatformApi.md#listMemberAccounts) | **GET** /users/{user_guid}/members/{member_guid}/accounts | List accounts by member
4849
[**listMemberChallenges**](MxPlatformApi.md#listMemberChallenges) | **GET** /users/{user_guid}/members/{member_guid}/challenges | List member challenges
4950
[**listMemberCredentials**](MxPlatformApi.md#listMemberCredentials) | **GET** /users/{user_guid}/members/{member_guid}/credentials | List member credentials
5051
[**listMembers**](MxPlatformApi.md#listMembers) | **GET** /users/{user_guid}/members | List members
@@ -60,6 +61,7 @@ Method | HTTP request | Description
6061
[**listUserAccounts**](MxPlatformApi.md#listUserAccounts) | **GET** /users/{user_guid}/accounts | List accounts
6162
[**listUsers**](MxPlatformApi.md#listUsers) | **GET** /users | List users
6263
[**readAccount**](MxPlatformApi.md#readAccount) | **GET** /users/{user_guid}/accounts/{account_guid} | Read account
64+
[**readAccountByMember**](MxPlatformApi.md#readAccountByMember) | **GET** /users/{user_guid}/members/{member_guid}/accounts/{account_guid} | Read account by member
6365
[**readCategory**](MxPlatformApi.md#readCategory) | **GET** /users/{user_guid}/categories/{category_guid} | Read a custom category
6466
[**readDefaultCategory**](MxPlatformApi.md#readDefaultCategory) | **GET** /categories/{category_guid} | Read a default category
6567
[**readHolding**](MxPlatformApi.md#readHolding) | **GET** /users/{user_guid}/holdings/{holding_guid} | Read holding
@@ -3026,6 +3028,82 @@ Name | Type | Description | Notes
30263028
|-------------|-------------|------------------|
30273029
**200** | OK | - |
30283030

3031+
<a name="listMemberAccounts"></a>
3032+
# **listMemberAccounts**
3033+
> AccountsResponseBody listMemberAccounts(userGuid, memberGuid, memberIsManagedByUser, page, recordsPerPage)
3034+
3035+
List accounts by member
3036+
3037+
This endpoint returns a list of all the accounts associated with the specified &#x60;member&#x60;.
3038+
3039+
### Example
3040+
```java
3041+
// Import classes:
3042+
import com.mx.client.ApiClient;
3043+
import com.mx.client.ApiException;
3044+
import com.mx.client.Configuration;
3045+
import com.mx.client.auth.*;
3046+
import com.mx.client.models.*;
3047+
import com.mx.client.mx_platform_api.MxPlatformApi;
3048+
3049+
public class Example {
3050+
public static void main(String[] args) {
3051+
ApiClient defaultClient = Configuration.getDefaultApiClient();
3052+
defaultClient.setBasePath("https://api.mx.com");
3053+
3054+
// Configure HTTP basic authorization: basicAuth
3055+
HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
3056+
basicAuth.setUsername("YOUR USERNAME");
3057+
basicAuth.setPassword("YOUR PASSWORD");
3058+
3059+
MxPlatformApi apiInstance = new MxPlatformApi(defaultClient);
3060+
String userGuid = "USR-fa7537f3-48aa-a683-a02a-b18940482f54"; // String | The unique id for a `user`.
3061+
String memberGuid = "MBR-7c6f361b-e582-15b6-60c0-358f12466b4b"; // String | The unique id for a `member`.
3062+
Boolean memberIsManagedByUser = true; // Boolean | List only accounts whose member is managed by the user.
3063+
Integer page = 1; // Integer | Specify current page.
3064+
Integer recordsPerPage = 10; // Integer | Specify records per page.
3065+
try {
3066+
AccountsResponseBody result = apiInstance.listMemberAccounts(userGuid, memberGuid, memberIsManagedByUser, page, recordsPerPage);
3067+
System.out.println(result);
3068+
} catch (ApiException e) {
3069+
System.err.println("Exception when calling MxPlatformApi#listMemberAccounts");
3070+
System.err.println("Status code: " + e.getCode());
3071+
System.err.println("Reason: " + e.getResponseBody());
3072+
System.err.println("Response headers: " + e.getResponseHeaders());
3073+
e.printStackTrace();
3074+
}
3075+
}
3076+
}
3077+
```
3078+
3079+
### Parameters
3080+
3081+
Name | Type | Description | Notes
3082+
------------- | ------------- | ------------- | -------------
3083+
**userGuid** | **String**| The unique id for a &#x60;user&#x60;. |
3084+
**memberGuid** | **String**| The unique id for a &#x60;member&#x60;. |
3085+
**memberIsManagedByUser** | **Boolean**| List only accounts whose member is managed by the user. | [optional]
3086+
**page** | **Integer**| Specify current page. | [optional]
3087+
**recordsPerPage** | **Integer**| Specify records per page. | [optional]
3088+
3089+
### Return type
3090+
3091+
[**AccountsResponseBody**](AccountsResponseBody.md)
3092+
3093+
### Authorization
3094+
3095+
[basicAuth](../README.md#basicAuth)
3096+
3097+
### HTTP request headers
3098+
3099+
- **Content-Type**: Not defined
3100+
- **Accept**: application/vnd.mx.api.v1+json
3101+
3102+
### HTTP response details
3103+
| Status code | Description | Response headers |
3104+
|-------------|-------------|------------------|
3105+
**200** | OK | - |
3106+
30293107
<a name="listMemberChallenges"></a>
30303108
# **listMemberChallenges**
30313109
> ChallengesResponseBody listMemberChallenges(memberGuid, userGuid, page, recordsPerPage)
@@ -3918,7 +3996,7 @@ Name | Type | Description | Notes
39183996

39193997
<a name="listUserAccounts"></a>
39203998
# **listUserAccounts**
3921-
> AccountsResponseBody listUserAccounts(userGuid, page, recordsPerPage)
3999+
> AccountsResponseBody listUserAccounts(userGuid, memberIsManagedByUser, page, recordsPerPage)
39224000
39234001
List accounts
39244002

@@ -3946,10 +4024,11 @@ public class Example {
39464024

39474025
MxPlatformApi apiInstance = new MxPlatformApi(defaultClient);
39484026
String userGuid = "USR-fa7537f3-48aa-a683-a02a-b18940482f54"; // String | The unique id for a `user`.
4027+
Boolean memberIsManagedByUser = true; // Boolean | List only accounts whose member is managed by the user.
39494028
Integer page = 1; // Integer | Specify current page.
39504029
Integer recordsPerPage = 10; // Integer | Specify records per page.
39514030
try {
3952-
AccountsResponseBody result = apiInstance.listUserAccounts(userGuid, page, recordsPerPage);
4031+
AccountsResponseBody result = apiInstance.listUserAccounts(userGuid, memberIsManagedByUser, page, recordsPerPage);
39534032
System.out.println(result);
39544033
} catch (ApiException e) {
39554034
System.err.println("Exception when calling MxPlatformApi#listUserAccounts");
@@ -3967,6 +4046,7 @@ public class Example {
39674046
Name | Type | Description | Notes
39684047
------------- | ------------- | ------------- | -------------
39694048
**userGuid** | **String**| The unique id for a &#x60;user&#x60;. |
4049+
**memberIsManagedByUser** | **Boolean**| List only accounts whose member is managed by the user. | [optional]
39704050
**page** | **Integer**| Specify current page. | [optional]
39714051
**recordsPerPage** | **Integer**| Specify records per page. | [optional]
39724052

@@ -3990,7 +4070,7 @@ Name | Type | Description | Notes
39904070

39914071
<a name="listUsers"></a>
39924072
# **listUsers**
3993-
> UsersResponseBody listUsers(page, recordsPerPage)
4073+
> UsersResponseBody listUsers(page, recordsPerPage, id, email, isDisabled)
39944074
39954075
List users
39964076

@@ -4019,8 +4099,11 @@ public class Example {
40194099
MxPlatformApi apiInstance = new MxPlatformApi(defaultClient);
40204100
Integer page = 1; // Integer | Specify current page.
40214101
Integer recordsPerPage = 10; // Integer | Specify records per page.
4102+
String id = "u-12324-abdc"; // String | The user `id` to search for.
4103+
String email = "example@example.com"; // String | The user `email` to search for.
4104+
Boolean isDisabled = true; // Boolean | Search for users that are diabled.
40224105
try {
4023-
UsersResponseBody result = apiInstance.listUsers(page, recordsPerPage);
4106+
UsersResponseBody result = apiInstance.listUsers(page, recordsPerPage, id, email, isDisabled);
40244107
System.out.println(result);
40254108
} catch (ApiException e) {
40264109
System.err.println("Exception when calling MxPlatformApi#listUsers");
@@ -4039,6 +4122,9 @@ Name | Type | Description | Notes
40394122
------------- | ------------- | ------------- | -------------
40404123
**page** | **Integer**| Specify current page. | [optional]
40414124
**recordsPerPage** | **Integer**| Specify records per page. | [optional]
4125+
**id** | **String**| The user &#x60;id&#x60; to search for. | [optional]
4126+
**email** | **String**| The user &#x60;email&#x60; to search for. | [optional]
4127+
**isDisabled** | **Boolean**| Search for users that are diabled. | [optional]
40424128

40434129
### Return type
40444130

@@ -4128,6 +4214,78 @@ Name | Type | Description | Notes
41284214
|-------------|-------------|------------------|
41294215
**200** | OK | - |
41304216

4217+
<a name="readAccountByMember"></a>
4218+
# **readAccountByMember**
4219+
> AccountResponseBody readAccountByMember(accountGuid, memberGuid, userGuid)
4220+
4221+
Read account by member
4222+
4223+
This endpoint allows you to read the attributes of an &#x60;account&#x60; resource.
4224+
4225+
### Example
4226+
```java
4227+
// Import classes:
4228+
import com.mx.client.ApiClient;
4229+
import com.mx.client.ApiException;
4230+
import com.mx.client.Configuration;
4231+
import com.mx.client.auth.*;
4232+
import com.mx.client.models.*;
4233+
import com.mx.client.mx_platform_api.MxPlatformApi;
4234+
4235+
public class Example {
4236+
public static void main(String[] args) {
4237+
ApiClient defaultClient = Configuration.getDefaultApiClient();
4238+
defaultClient.setBasePath("https://api.mx.com");
4239+
4240+
// Configure HTTP basic authorization: basicAuth
4241+
HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
4242+
basicAuth.setUsername("YOUR USERNAME");
4243+
basicAuth.setPassword("YOUR PASSWORD");
4244+
4245+
MxPlatformApi apiInstance = new MxPlatformApi(defaultClient);
4246+
String accountGuid = "ACT-06d7f44b-caae-0f6e-1384-01f52e75dcb1"; // String | The unique id for an `account`.
4247+
String memberGuid = "MBR-7c6f361b-e582-15b6-60c0-358f12466b4b"; // String | The unique id for a `member`.
4248+
String userGuid = "USR-fa7537f3-48aa-a683-a02a-b18940482f54"; // String | The unique id for a `user`.
4249+
try {
4250+
AccountResponseBody result = apiInstance.readAccountByMember(accountGuid, memberGuid, userGuid);
4251+
System.out.println(result);
4252+
} catch (ApiException e) {
4253+
System.err.println("Exception when calling MxPlatformApi#readAccountByMember");
4254+
System.err.println("Status code: " + e.getCode());
4255+
System.err.println("Reason: " + e.getResponseBody());
4256+
System.err.println("Response headers: " + e.getResponseHeaders());
4257+
e.printStackTrace();
4258+
}
4259+
}
4260+
}
4261+
```
4262+
4263+
### Parameters
4264+
4265+
Name | Type | Description | Notes
4266+
------------- | ------------- | ------------- | -------------
4267+
**accountGuid** | **String**| The unique id for an &#x60;account&#x60;. |
4268+
**memberGuid** | **String**| The unique id for a &#x60;member&#x60;. |
4269+
**userGuid** | **String**| The unique id for a &#x60;user&#x60;. |
4270+
4271+
### Return type
4272+
4273+
[**AccountResponseBody**](AccountResponseBody.md)
4274+
4275+
### Authorization
4276+
4277+
[basicAuth](../README.md#basicAuth)
4278+
4279+
### HTTP request headers
4280+
4281+
- **Content-Type**: Not defined
4282+
- **Accept**: application/vnd.mx.api.v1+json
4283+
4284+
### HTTP response details
4285+
| Status code | Description | Response headers |
4286+
|-------------|-------------|------------------|
4287+
**200** | OK | - |
4288+
41314289
<a name="readCategory"></a>
41324290
# **readCategory**
41334291
> CategoryResponseBody readCategory(categoryGuid, userGuid)

docs/WidgetRequest.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,11 @@ Name | Type | Description | Notes
1313
**currentInstitutionGuid** | **String** | | [optional]
1414
**currentMemberGuid** | **String** | | [optional]
1515
**disableInstitutionSearch** | **Boolean** | | [optional]
16+
**includeIdentity** | **Boolean** | | [optional]
1617
**includeTransactions** | **Boolean** | | [optional]
1718
**isMobileWebview** | **Boolean** | | [optional]
1819
**mode** | **String** | | [optional]
20+
**oauthReferralSource** | **String** | | [optional]
1921
**uiMessageVersion** | **Integer** | | [optional]
2022
**uiMessageWebviewUrlScheme** | **String** | | [optional]
2123
**updateCredentials** | **Boolean** | | [optional]

openapi/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiPackage: com.mx.client.mx-platform-api
33
artifactDescription: A Java library for the MX Platform API
44
artifactId: mx-platform-java
55
artifactUrl: https://github.com/mxenabled/mx-platform-java
6-
artifactVersion: 0.10.2
6+
artifactVersion: 0.11.0
77
developerEmail: devexperience@mx.com
88
developerName: MX
99
developerOrganization: MX Technologies Inc.

0 commit comments

Comments
 (0)