Skip to content

Commit 83e351c

Browse files
authored
Merge pull request #51 from mxenabled/openapi-generator-0.10.2
Generated version 0.10.2
2 parents 9b03a6c + af66904 commit 83e351c

19 files changed

+193
-106
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.1.jar`
27+
- `target/mx-platform-java-0.10.2.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.1</version>
38+
<version>0.10.2</version>
3939
<scope>compile</scope>
4040
</dependency>
4141
```

docs/ConnectWidgetRequest.md

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

88
Name | Type | Description | Notes
99
------------ | ------------- | ------------- | -------------
10+
**clientRedirectUrl** | **String** | | [optional]
1011
**colorScheme** | **String** | | [optional]
1112
**currentInstitutionCode** | **String** | | [optional]
1213
**currentMemberGuid** | **String** | | [optional]
@@ -17,7 +18,6 @@ Name | Type | Description | Notes
1718
**uiMessageVersion** | **Integer** | | [optional]
1819
**uiMessageWebviewUrlScheme** | **String** | | [optional]
1920
**updateCredentials** | **Boolean** | | [optional]
20-
**waitForFullAggregation** | **Boolean** | | [optional]
2121

2222

2323

docs/HoldingResponse.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Name | Type | Description | Notes
1616
**description** | **String** | | [optional]
1717
**guid** | **String** | | [optional]
1818
**holdingType** | **String** | | [optional]
19+
**holdingTypeId** | **Integer** | | [optional]
1920
**id** | **String** | | [optional]
2021
**marketValue** | **BigDecimal** | | [optional]
2122
**memberGuid** | **String** | | [optional]

docs/MemberCreateRequest.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
**backgroundAggregationIsDisabled** | **Boolean** | | [optional]
11+
**clientRedirectUrl** | **String** | | [optional]
1112
**credentials** | [**List&lt;CredentialRequest&gt;**](CredentialRequest.md) | |
1213
**id** | **String** | | [optional]
1314
**institutionCode** | **String** | |

docs/MxPlatformApi.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5388,7 +5388,7 @@ Name | Type | Description | Notes
53885388

53895389
<a name="requestOAuthWindowURI"></a>
53905390
# **requestOAuthWindowURI**
5391-
> OAuthWindowResponseBody requestOAuthWindowURI(memberGuid, userGuid, referralSource, skipAggregation, uiMessageWebviewUrlScheme)
5391+
> OAuthWindowResponseBody requestOAuthWindowURI(memberGuid, userGuid, clientRedirectUrl, referralSource, skipAggregation, uiMessageWebviewUrlScheme)
53925392
53935393
Request oauth window uri
53945394

@@ -5417,11 +5417,12 @@ public class Example {
54175417
MxPlatformApi apiInstance = new MxPlatformApi(defaultClient);
54185418
String memberGuid = "MBR-7c6f361b-e582-15b6-60c0-358f12466b4b"; // String | The unique id for a `member`.
54195419
String userGuid = "USR-fa7537f3-48aa-a683-a02a-b18940482f54"; // String | The unique id for a `user`.
5420+
String clientRedirectUrl = "https://mx.com"; // String | A URL that MX will redirect to at the end of OAuth with additional query parameters. Only available with `referral_source=APP`.
54205421
String referralSource = "APP"; // String | Must be either `BROWSER` or `APP` depending on the implementation. Defaults to `BROWSER`.
54215422
Boolean skipAggregation = false; // Boolean | Setting this parameter to `true` will prevent the member from automatically aggregating after being redirected from the authorization page.
5422-
String uiMessageWebviewUrlScheme = "mx"; // String | A scheme for routing the user back to the application state they were previously in.
5423+
String uiMessageWebviewUrlScheme = "mx"; // String | A scheme for routing the user back to the application state they were previously in. Only available with `referral_source=APP`.
54235424
try {
5424-
OAuthWindowResponseBody result = apiInstance.requestOAuthWindowURI(memberGuid, userGuid, referralSource, skipAggregation, uiMessageWebviewUrlScheme);
5425+
OAuthWindowResponseBody result = apiInstance.requestOAuthWindowURI(memberGuid, userGuid, clientRedirectUrl, referralSource, skipAggregation, uiMessageWebviewUrlScheme);
54255426
System.out.println(result);
54265427
} catch (ApiException e) {
54275428
System.err.println("Exception when calling MxPlatformApi#requestOAuthWindowURI");
@@ -5440,9 +5441,10 @@ Name | Type | Description | Notes
54405441
------------- | ------------- | ------------- | -------------
54415442
**memberGuid** | **String**| The unique id for a &#x60;member&#x60;. |
54425443
**userGuid** | **String**| The unique id for a &#x60;user&#x60;. |
5444+
**clientRedirectUrl** | **String**| A URL that MX will redirect to at the end of OAuth with additional query parameters. Only available with &#x60;referral_source&#x3D;APP&#x60;. | [optional]
54435445
**referralSource** | **String**| Must be either &#x60;BROWSER&#x60; or &#x60;APP&#x60; depending on the implementation. Defaults to &#x60;BROWSER&#x60;. | [optional]
54445446
**skipAggregation** | **Boolean**| Setting this parameter to &#x60;true&#x60; will prevent the member from automatically aggregating after being redirected from the authorization page. | [optional]
5445-
**uiMessageWebviewUrlScheme** | **String**| A scheme for routing the user back to the application state they were previously in. | [optional]
5447+
**uiMessageWebviewUrlScheme** | **String**| A scheme for routing the user back to the application state they were previously in. Only available with &#x60;referral_source&#x3D;APP&#x60;. | [optional]
54465448

54475449
### Return type
54485450

docs/WidgetRequest.md

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

88
Name | Type | Description | Notes
99
------------ | ------------- | ------------- | -------------
10+
**clientRedirectUrl** | **String** | | [optional]
1011
**colorScheme** | **String** | | [optional]
1112
**currentInstitutionCode** | **String** | | [optional]
1213
**currentInstitutionGuid** | **String** | | [optional]
@@ -18,7 +19,6 @@ Name | Type | Description | Notes
1819
**uiMessageVersion** | **Integer** | | [optional]
1920
**uiMessageWebviewUrlScheme** | **String** | | [optional]
2021
**updateCredentials** | **Boolean** | | [optional]
21-
**waitForFullAggregation** | **Boolean** | | [optional]
2222
**widgetType** | **String** | |
2323

2424

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.1
6+
artifactVersion: 0.10.2
77
developerEmail: devexperience@mx.com
88
developerName: MX
99
developerOrganization: MX Technologies Inc.

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>mx-platform-java</artifactId>
66
<packaging>jar</packaging>
77
<name>mx-platform-java</name>
8-
<version>0.10.1</version>
8+
<version>0.10.2</version>
99
<url>https://github.com/mxenabled/mx-platform-java</url>
1010
<description>A Java library for the MX Platform API</description>
1111
<scm>

src/main/java/com/mx/client/ApiClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ private void init() {
131131
json = new JSON();
132132

133133
// Set default User-Agent.
134-
setUserAgent("OpenAPI-Generator/0.10.1/java");
134+
setUserAgent("OpenAPI-Generator/0.10.2/java");
135135

136136
authentications = new HashMap<String, Authentication>();
137137
}

src/main/java/com/mx/client/model/ConnectWidgetRequest.java

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@
2929
*/
3030
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
3131
public class ConnectWidgetRequest {
32+
public static final String SERIALIZED_NAME_CLIENT_REDIRECT_URL = "client_redirect_url";
33+
@SerializedName(SERIALIZED_NAME_CLIENT_REDIRECT_URL)
34+
private String clientRedirectUrl;
35+
3236
public static final String SERIALIZED_NAME_COLOR_SCHEME = "color_scheme";
3337
@SerializedName(SERIALIZED_NAME_COLOR_SCHEME)
3438
private String colorScheme;
@@ -69,13 +73,32 @@ public class ConnectWidgetRequest {
6973
@SerializedName(SERIALIZED_NAME_UPDATE_CREDENTIALS)
7074
private Boolean updateCredentials;
7175

72-
public static final String SERIALIZED_NAME_WAIT_FOR_FULL_AGGREGATION = "wait_for_full_aggregation";
73-
@SerializedName(SERIALIZED_NAME_WAIT_FOR_FULL_AGGREGATION)
74-
private Boolean waitForFullAggregation;
75-
7676
public ConnectWidgetRequest() {
7777
}
7878

79+
public ConnectWidgetRequest clientRedirectUrl(String clientRedirectUrl) {
80+
81+
this.clientRedirectUrl = clientRedirectUrl;
82+
return this;
83+
}
84+
85+
/**
86+
* Get clientRedirectUrl
87+
* @return clientRedirectUrl
88+
**/
89+
@javax.annotation.Nullable
90+
@ApiModelProperty(example = "https://mx.com", value = "")
91+
92+
public String getClientRedirectUrl() {
93+
return clientRedirectUrl;
94+
}
95+
96+
97+
public void setClientRedirectUrl(String clientRedirectUrl) {
98+
this.clientRedirectUrl = clientRedirectUrl;
99+
}
100+
101+
79102
public ConnectWidgetRequest colorScheme(String colorScheme) {
80103

81104
this.colorScheme = colorScheme;
@@ -306,29 +329,6 @@ public void setUpdateCredentials(Boolean updateCredentials) {
306329
}
307330

308331

309-
public ConnectWidgetRequest waitForFullAggregation(Boolean waitForFullAggregation) {
310-
311-
this.waitForFullAggregation = waitForFullAggregation;
312-
return this;
313-
}
314-
315-
/**
316-
* Get waitForFullAggregation
317-
* @return waitForFullAggregation
318-
**/
319-
@javax.annotation.Nullable
320-
@ApiModelProperty(example = "false", value = "")
321-
322-
public Boolean getWaitForFullAggregation() {
323-
return waitForFullAggregation;
324-
}
325-
326-
327-
public void setWaitForFullAggregation(Boolean waitForFullAggregation) {
328-
this.waitForFullAggregation = waitForFullAggregation;
329-
}
330-
331-
332332
@Override
333333
public boolean equals(Object o) {
334334
if (this == o) {
@@ -338,7 +338,8 @@ public boolean equals(Object o) {
338338
return false;
339339
}
340340
ConnectWidgetRequest connectWidgetRequest = (ConnectWidgetRequest) o;
341-
return Objects.equals(this.colorScheme, connectWidgetRequest.colorScheme) &&
341+
return Objects.equals(this.clientRedirectUrl, connectWidgetRequest.clientRedirectUrl) &&
342+
Objects.equals(this.colorScheme, connectWidgetRequest.colorScheme) &&
342343
Objects.equals(this.currentInstitutionCode, connectWidgetRequest.currentInstitutionCode) &&
343344
Objects.equals(this.currentMemberGuid, connectWidgetRequest.currentMemberGuid) &&
344345
Objects.equals(this.disableInstitutionSearch, connectWidgetRequest.disableInstitutionSearch) &&
@@ -347,19 +348,19 @@ public boolean equals(Object o) {
347348
Objects.equals(this.mode, connectWidgetRequest.mode) &&
348349
Objects.equals(this.uiMessageVersion, connectWidgetRequest.uiMessageVersion) &&
349350
Objects.equals(this.uiMessageWebviewUrlScheme, connectWidgetRequest.uiMessageWebviewUrlScheme) &&
350-
Objects.equals(this.updateCredentials, connectWidgetRequest.updateCredentials) &&
351-
Objects.equals(this.waitForFullAggregation, connectWidgetRequest.waitForFullAggregation);
351+
Objects.equals(this.updateCredentials, connectWidgetRequest.updateCredentials);
352352
}
353353

354354
@Override
355355
public int hashCode() {
356-
return Objects.hash(colorScheme, currentInstitutionCode, currentMemberGuid, disableInstitutionSearch, includeTransactions, isMobileWebview, mode, uiMessageVersion, uiMessageWebviewUrlScheme, updateCredentials, waitForFullAggregation);
356+
return Objects.hash(clientRedirectUrl, colorScheme, currentInstitutionCode, currentMemberGuid, disableInstitutionSearch, includeTransactions, isMobileWebview, mode, uiMessageVersion, uiMessageWebviewUrlScheme, updateCredentials);
357357
}
358358

359359
@Override
360360
public String toString() {
361361
StringBuilder sb = new StringBuilder();
362362
sb.append("class ConnectWidgetRequest {\n");
363+
sb.append(" clientRedirectUrl: ").append(toIndentedString(clientRedirectUrl)).append("\n");
363364
sb.append(" colorScheme: ").append(toIndentedString(colorScheme)).append("\n");
364365
sb.append(" currentInstitutionCode: ").append(toIndentedString(currentInstitutionCode)).append("\n");
365366
sb.append(" currentMemberGuid: ").append(toIndentedString(currentMemberGuid)).append("\n");
@@ -370,7 +371,6 @@ public String toString() {
370371
sb.append(" uiMessageVersion: ").append(toIndentedString(uiMessageVersion)).append("\n");
371372
sb.append(" uiMessageWebviewUrlScheme: ").append(toIndentedString(uiMessageWebviewUrlScheme)).append("\n");
372373
sb.append(" updateCredentials: ").append(toIndentedString(updateCredentials)).append("\n");
373-
sb.append(" waitForFullAggregation: ").append(toIndentedString(waitForFullAggregation)).append("\n");
374374
sb.append("}");
375375
return sb.toString();
376376
}

0 commit comments

Comments
 (0)