Skip to content

Commit d35b118

Browse files
Merge pull request #48 from mxenabled/openapi-generator-0.10.0
Generated version 0.10.0
2 parents 89c2e35 + 4e77c9b commit d35b118

29 files changed

+5
-2252
lines changed

.openapi-generator/FILES

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,6 @@ docs/OAuthWindowResponse.md
6969
docs/OAuthWindowResponseBody.md
7070
docs/OptionResponse.md
7171
docs/PaginationResponse.md
72-
docs/PartnerAccountResponse.md
73-
docs/PartnerAccountResponseBody.md
74-
docs/PartnerAuthorizationCodeRequest.md
75-
docs/PartnerAuthorizationCodeRequestBody.md
76-
docs/PartnerAuthorizationCodeResponse.md
77-
docs/PartnerAuthorizationCodeResponseBody.md
78-
docs/PartnerTokenResponseBody.md
7972
docs/StatementResponse.md
8073
docs/StatementResponseBody.md
8174
docs/StatementsResponseBody.md
@@ -203,13 +196,6 @@ src/main/java/com/mx/client/model/OAuthWindowResponse.java
203196
src/main/java/com/mx/client/model/OAuthWindowResponseBody.java
204197
src/main/java/com/mx/client/model/OptionResponse.java
205198
src/main/java/com/mx/client/model/PaginationResponse.java
206-
src/main/java/com/mx/client/model/PartnerAccountResponse.java
207-
src/main/java/com/mx/client/model/PartnerAccountResponseBody.java
208-
src/main/java/com/mx/client/model/PartnerAuthorizationCodeRequest.java
209-
src/main/java/com/mx/client/model/PartnerAuthorizationCodeRequestBody.java
210-
src/main/java/com/mx/client/model/PartnerAuthorizationCodeResponse.java
211-
src/main/java/com/mx/client/model/PartnerAuthorizationCodeResponseBody.java
212-
src/main/java/com/mx/client/model/PartnerTokenResponseBody.java
213199
src/main/java/com/mx/client/model/StatementResponse.java
214200
src/main/java/com/mx/client/model/StatementResponseBody.java
215201
src/main/java/com/mx/client/model/StatementsResponseBody.java
@@ -319,13 +305,6 @@ src/test/java/com/mx/client/model/OAuthWindowResponseBodyTest.java
319305
src/test/java/com/mx/client/model/OAuthWindowResponseTest.java
320306
src/test/java/com/mx/client/model/OptionResponseTest.java
321307
src/test/java/com/mx/client/model/PaginationResponseTest.java
322-
src/test/java/com/mx/client/model/PartnerAccountResponseBodyTest.java
323-
src/test/java/com/mx/client/model/PartnerAccountResponseTest.java
324-
src/test/java/com/mx/client/model/PartnerAuthorizationCodeRequestBodyTest.java
325-
src/test/java/com/mx/client/model/PartnerAuthorizationCodeRequestTest.java
326-
src/test/java/com/mx/client/model/PartnerAuthorizationCodeResponseBodyTest.java
327-
src/test/java/com/mx/client/model/PartnerAuthorizationCodeResponseTest.java
328-
src/test/java/com/mx/client/model/PartnerTokenResponseBodyTest.java
329308
src/test/java/com/mx/client/model/StatementResponseBodyTest.java
330309
src/test/java/com/mx/client/model/StatementResponseTest.java
331310
src/test/java/com/mx/client/model/StatementsResponseBodyTest.java

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.9.0.jar`
27+
- `target/mx-platform-java-0.10.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.9.0</version>
38+
<version>0.10.0</version>
3939
<scope>compile</scope>
4040
</dependency>
4141
```

docs/MxPlatformApi.md

Lines changed: 0 additions & 204 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,6 @@ Method | HTTP request | Description
7979
[**readUser**](MxPlatformApi.md#readUser) | **GET** /users/{user_guid} | Read user
8080
[**requestConnectWidgetURL**](MxPlatformApi.md#requestConnectWidgetURL) | **POST** /users/{user_guid}/connect_widget_url | Request connect widget url
8181
[**requestOAuthWindowURI**](MxPlatformApi.md#requestOAuthWindowURI) | **GET** /users/{user_guid}/members/{member_guid}/oauth_window_uri | Request oauth window uri
82-
[**requestPartnerAccount**](MxPlatformApi.md#requestPartnerAccount) | **GET** /partner_account | Request partner account
83-
[**requestPartnerAuthorizationCode**](MxPlatformApi.md#requestPartnerAuthorizationCode) | **POST** /partner_authorization_code | Request partner authorization code
84-
[**requestPartnerToken**](MxPlatformApi.md#requestPartnerToken) | **POST** /partner_token | Request partner token
8582
[**requestWidgetURL**](MxPlatformApi.md#requestWidgetURL) | **POST** /users/{user_guid}/widget_urls | Request widget url
8683
[**resumeAggregation**](MxPlatformApi.md#resumeAggregation) | **PUT** /users/{user_guid}/members/{member_guid}/resume | Resume aggregation
8784
[**updateAccountByMember**](MxPlatformApi.md#updateAccountByMember) | **PUT** /users/{user_guid}/members/{member_guid}/accounts/{account_guid} | Update account by member
@@ -5465,207 +5462,6 @@ Name | Type | Description | Notes
54655462
|-------------|-------------|------------------|
54665463
**200** | OK | - |
54675464

5468-
<a name="requestPartnerAccount"></a>
5469-
# **requestPartnerAccount**
5470-
> PartnerAccountResponseBody requestPartnerAccount()
5471-
5472-
Request partner account
5473-
5474-
Use this endpoint to request a partner account.
5475-
5476-
### Example
5477-
```java
5478-
// Import classes:
5479-
import com.mx.client.ApiClient;
5480-
import com.mx.client.ApiException;
5481-
import com.mx.client.Configuration;
5482-
import com.mx.client.auth.*;
5483-
import com.mx.client.models.*;
5484-
import com.mx.client.mx_platform_api.MxPlatformApi;
5485-
5486-
public class Example {
5487-
public static void main(String[] args) {
5488-
ApiClient defaultClient = Configuration.getDefaultApiClient();
5489-
defaultClient.setBasePath("https://api.mx.com");
5490-
5491-
// Configure HTTP bearer authorization: bearerAuth
5492-
HttpBearerAuth bearerAuth = (HttpBearerAuth) defaultClient.getAuthentication("bearerAuth");
5493-
bearerAuth.setBearerToken("BEARER TOKEN");
5494-
5495-
MxPlatformApi apiInstance = new MxPlatformApi(defaultClient);
5496-
try {
5497-
PartnerAccountResponseBody result = apiInstance.requestPartnerAccount();
5498-
System.out.println(result);
5499-
} catch (ApiException e) {
5500-
System.err.println("Exception when calling MxPlatformApi#requestPartnerAccount");
5501-
System.err.println("Status code: " + e.getCode());
5502-
System.err.println("Reason: " + e.getResponseBody());
5503-
System.err.println("Response headers: " + e.getResponseHeaders());
5504-
e.printStackTrace();
5505-
}
5506-
}
5507-
}
5508-
```
5509-
5510-
### Parameters
5511-
This endpoint does not need any parameter.
5512-
5513-
### Return type
5514-
5515-
[**PartnerAccountResponseBody**](PartnerAccountResponseBody.md)
5516-
5517-
### Authorization
5518-
5519-
[bearerAuth](../README.md#bearerAuth)
5520-
5521-
### HTTP request headers
5522-
5523-
- **Content-Type**: Not defined
5524-
- **Accept**: application/vnd.mx.api.v1+json
5525-
5526-
### HTTP response details
5527-
| Status code | Description | Response headers |
5528-
|-------------|-------------|------------------|
5529-
**200** | OK | - |
5530-
5531-
<a name="requestPartnerAuthorizationCode"></a>
5532-
# **requestPartnerAuthorizationCode**
5533-
> PartnerAuthorizationCodeResponseBody requestPartnerAuthorizationCode(partnerAuthorizationCodeRequestBody)
5534-
5535-
Request partner authorization code
5536-
5537-
Use this endpoint to request a partner authorization code.
5538-
5539-
### Example
5540-
```java
5541-
// Import classes:
5542-
import com.mx.client.ApiClient;
5543-
import com.mx.client.ApiException;
5544-
import com.mx.client.Configuration;
5545-
import com.mx.client.auth.*;
5546-
import com.mx.client.models.*;
5547-
import com.mx.client.mx_platform_api.MxPlatformApi;
5548-
5549-
public class Example {
5550-
public static void main(String[] args) {
5551-
ApiClient defaultClient = Configuration.getDefaultApiClient();
5552-
defaultClient.setBasePath("https://api.mx.com");
5553-
5554-
// Configure HTTP basic authorization: basicAuth
5555-
HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
5556-
basicAuth.setUsername("YOUR USERNAME");
5557-
basicAuth.setPassword("YOUR PASSWORD");
5558-
5559-
MxPlatformApi apiInstance = new MxPlatformApi(defaultClient);
5560-
PartnerAuthorizationCodeRequestBody partnerAuthorizationCodeRequestBody = new PartnerAuthorizationCodeRequestBody(); // PartnerAuthorizationCodeRequestBody | Partner authorization code object containing account_guid, member_guid, and user_guid.
5561-
try {
5562-
PartnerAuthorizationCodeResponseBody result = apiInstance.requestPartnerAuthorizationCode(partnerAuthorizationCodeRequestBody);
5563-
System.out.println(result);
5564-
} catch (ApiException e) {
5565-
System.err.println("Exception when calling MxPlatformApi#requestPartnerAuthorizationCode");
5566-
System.err.println("Status code: " + e.getCode());
5567-
System.err.println("Reason: " + e.getResponseBody());
5568-
System.err.println("Response headers: " + e.getResponseHeaders());
5569-
e.printStackTrace();
5570-
}
5571-
}
5572-
}
5573-
```
5574-
5575-
### Parameters
5576-
5577-
Name | Type | Description | Notes
5578-
------------- | ------------- | ------------- | -------------
5579-
**partnerAuthorizationCodeRequestBody** | [**PartnerAuthorizationCodeRequestBody**](PartnerAuthorizationCodeRequestBody.md)| Partner authorization code object containing account_guid, member_guid, and user_guid. |
5580-
5581-
### Return type
5582-
5583-
[**PartnerAuthorizationCodeResponseBody**](PartnerAuthorizationCodeResponseBody.md)
5584-
5585-
### Authorization
5586-
5587-
[basicAuth](../README.md#basicAuth)
5588-
5589-
### HTTP request headers
5590-
5591-
- **Content-Type**: application/json
5592-
- **Accept**: application/vnd.mx.api.v1+json
5593-
5594-
### HTTP response details
5595-
| Status code | Description | Response headers |
5596-
|-------------|-------------|------------------|
5597-
**200** | OK | - |
5598-
5599-
<a name="requestPartnerToken"></a>
5600-
# **requestPartnerToken**
5601-
> PartnerTokenResponseBody requestPartnerToken(code, grantType)
5602-
5603-
Request partner token
5604-
5605-
Use this endpoint to request a partner token.
5606-
5607-
### Example
5608-
```java
5609-
// Import classes:
5610-
import com.mx.client.ApiClient;
5611-
import com.mx.client.ApiException;
5612-
import com.mx.client.Configuration;
5613-
import com.mx.client.auth.*;
5614-
import com.mx.client.models.*;
5615-
import com.mx.client.mx_platform_api.MxPlatformApi;
5616-
5617-
public class Example {
5618-
public static void main(String[] args) {
5619-
ApiClient defaultClient = Configuration.getDefaultApiClient();
5620-
defaultClient.setBasePath("https://api.mx.com");
5621-
5622-
// Configure HTTP basic authorization: basicAuth
5623-
HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
5624-
basicAuth.setUsername("YOUR USERNAME");
5625-
basicAuth.setPassword("YOUR PASSWORD");
5626-
5627-
MxPlatformApi apiInstance = new MxPlatformApi(defaultClient);
5628-
String code = "sN3Ffd1nJg_iwEMuxcEo2Z5taC0RvMilfvYKsnM2XGM"; // String | Code to request partner token.
5629-
String grantType = "authorization_code"; // String | Specify grant type.
5630-
try {
5631-
PartnerTokenResponseBody result = apiInstance.requestPartnerToken(code, grantType);
5632-
System.out.println(result);
5633-
} catch (ApiException e) {
5634-
System.err.println("Exception when calling MxPlatformApi#requestPartnerToken");
5635-
System.err.println("Status code: " + e.getCode());
5636-
System.err.println("Reason: " + e.getResponseBody());
5637-
System.err.println("Response headers: " + e.getResponseHeaders());
5638-
e.printStackTrace();
5639-
}
5640-
}
5641-
}
5642-
```
5643-
5644-
### Parameters
5645-
5646-
Name | Type | Description | Notes
5647-
------------- | ------------- | ------------- | -------------
5648-
**code** | **String**| Code to request partner token. | [optional]
5649-
**grantType** | **String**| Specify grant type. | [optional]
5650-
5651-
### Return type
5652-
5653-
[**PartnerTokenResponseBody**](PartnerTokenResponseBody.md)
5654-
5655-
### Authorization
5656-
5657-
[basicAuth](../README.md#basicAuth)
5658-
5659-
### HTTP request headers
5660-
5661-
- **Content-Type**: Not defined
5662-
- **Accept**: application/vnd.mx.api.v1+json
5663-
5664-
### HTTP response details
5665-
| Status code | Description | Response headers |
5666-
|-------------|-------------|------------------|
5667-
**200** | OK | - |
5668-
56695465
<a name="requestWidgetURL"></a>
56705466
# **requestWidgetURL**
56715467
> WidgetResponseBody requestWidgetURL(userGuid, widgetRequestBody, acceptLanguage)

docs/PartnerAccountResponse.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

docs/PartnerAccountResponseBody.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

docs/PartnerAuthorizationCodeRequest.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

docs/PartnerAuthorizationCodeRequestBody.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

docs/PartnerAuthorizationCodeResponse.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

docs/PartnerAuthorizationCodeResponseBody.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

docs/PartnerTokenResponseBody.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)