Skip to content

Commit b2d981a

Browse files
authored
Merge pull request #75 from mxenabled/openapi-generator-0.14.0
Generated version 0.14.0
2 parents 5315341 + 1f5cc6b commit b2d981a

28 files changed

Lines changed: 551 additions & 32 deletions

docs/AccountNumberResponse.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
| **guid** | **String** | | [optional] |
1010
| **institution_number** | **String** | | [optional] |
1111
| **member_guid** | **String** | | [optional] |
12+
| **passed_validation** | **Boolean** | | [optional] |
1213
| **routing_number** | **String** | | [optional] |
1314
| **transit_number** | **String** | | [optional] |
1415
| **user_guid** | **String** | | [optional] |
@@ -24,6 +25,7 @@ instance = MxPlatformRuby::AccountNumberResponse.new(
2425
guid: ACN-8899832e-e5b4-42cd-aa25-bbf1dc889a8f,
2526
institution_number: 123,
2627
member_guid: MBR-7c6f361b-e582-15b6-60c0-358f12466b4b,
28+
passed_validation: true,
2729
routing_number: 68899990000000,
2830
transit_number: 12345,
2931
user_guid: USR-fa7537f3-48aa-a683-a02a-b18940482f54

docs/AccountOwnerResponse.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
| **city** | **String** | | [optional] |
1010
| **country** | **String** | | [optional] |
1111
| **email** | **String** | | [optional] |
12+
| **first_name** | **String** | | [optional] |
1213
| **guid** | **String** | | [optional] |
14+
| **last_name** | **String** | | [optional] |
1315
| **member_guid** | **String** | | [optional] |
1416
| **owner_name** | **String** | | [optional] |
1517
| **phone** | **String** | | [optional] |
@@ -28,7 +30,9 @@ instance = MxPlatformRuby::AccountOwnerResponse.new(
2830
city: Middlesex,
2931
country: US,
3032
email: donnie@darko.co,
33+
first_name: Donnie,
3134
guid: ACO-63dc7714-6fc0-4aa2-a069-c06cdccd1af9,
35+
last_name: Darko,
3236
member_guid: MBR-7c6f361b-e582-15b6-60c0-358f12466b4b,
3337
owner_name: Donnie Darko,
3438
phone: 555-555-5555,

docs/ConnectWidgetRequest.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,13 @@
88
| **color_scheme** | **String** | | [optional] |
99
| **current_institution_code** | **String** | | [optional] |
1010
| **current_member_guid** | **String** | | [optional] |
11+
| **disable_background_agg** | **Boolean** | | [optional] |
1112
| **disable_institution_search** | **Boolean** | | [optional] |
13+
| **include_identity** | **Boolean** | | [optional] |
1214
| **include_transactions** | **Boolean** | | [optional] |
1315
| **is_mobile_webview** | **Boolean** | | [optional] |
1416
| **mode** | **String** | | [optional] |
17+
| **oauth_referral_source** | **String** | | [optional] |
1518
| **ui_message_version** | **Integer** | | [optional] |
1619
| **ui_message_webview_url_scheme** | **String** | | [optional] |
1720
| **update_credentials** | **Boolean** | | [optional] |
@@ -26,10 +29,13 @@ instance = MxPlatformRuby::ConnectWidgetRequest.new(
2629
color_scheme: light,
2730
current_institution_code: chase,
2831
current_member_guid: MBR-7c6f361b-e582-15b6-60c0-358f12466b4b,
32+
disable_background_agg: false,
2933
disable_institution_search: false,
34+
include_identity: false,
3035
include_transactions: true,
31-
is_mobile_webview: true,
36+
is_mobile_webview: false,
3237
mode: aggregation,
38+
oauth_referral_source: BROWSER,
3339
ui_message_version: 4,
3440
ui_message_webview_url_scheme: mx,
3541
update_credentials: false

docs/MemberCreateRequest.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
| Name | Type | Description | Notes |
66
| ---- | ---- | ----------- | ----- |
77
| **background_aggregation_is_disabled** | **Boolean** | | [optional] |
8-
| **client_redirect_url** | **String** | | [optional] |
98
| **credentials** | [**Array<CredentialRequest>**](CredentialRequest.md) | | |
109
| **id** | **String** | | [optional] |
1110
| **institution_code** | **String** | | |
@@ -20,7 +19,6 @@ require 'mx-platform-ruby'
2019

2120
instance = MxPlatformRuby::MemberCreateRequest.new(
2221
background_aggregation_is_disabled: false,
23-
client_redirect_url: https://mx.com,
2422
credentials: null,
2523
id: unique_id,
2624
institution_code: chase,

docs/MemberCreateRequestBody.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
| Name | Type | Description | Notes |
66
| ---- | ---- | ----------- | ----- |
7+
| **client_redirect_url** | **String** | | [optional] |
78
| **member** | [**MemberCreateRequest**](MemberCreateRequest.md) | | [optional] |
89
| **referral_source** | **String** | | [optional] |
910
| **ui_message_webview_url_scheme** | **String** | | [optional] |
@@ -14,6 +15,7 @@
1415
require 'mx-platform-ruby'
1516

1617
instance = MxPlatformRuby::MemberCreateRequestBody.new(
18+
client_redirect_url: https://mx.com,
1719
member: null,
1820
referral_source: APP,
1921
ui_message_webview_url_scheme: mx

docs/MemberResponse.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
| Name | Type | Description | Notes |
66
| ---- | ---- | ----------- | ----- |
77
| **aggregated_at** | **String** | | [optional] |
8+
| **background_aggregation_is_disabled** | **Boolean** | | [optional] |
89
| **connection_status** | **String** | | [optional] |
910
| **guid** | **String** | | [optional] |
1011
| **id** | **String** | | [optional] |
@@ -26,6 +27,7 @@ require 'mx-platform-ruby'
2627

2728
instance = MxPlatformRuby::MemberResponse.new(
2829
aggregated_at: 2016-10-13T18:07:57.000Z,
30+
background_aggregation_is_disabled: false,
2931
connection_status: CONNECTED,
3032
guid: MBR-7c6f361b-e582-15b6-60c0-358f12466b4b,
3133
id: unique_id,
@@ -35,7 +37,7 @@ instance = MxPlatformRuby::MemberResponse.new(
3537
is_oauth: false,
3638
metadata: \"credentials_last_refreshed_at\": \"2015-10-15\",
3739
name: Chase Bank,
38-
oauth_window_uri: int-widgets.moneydesktop.com/oauth/predirect_to/MBR-df96fd60-7122-4464-b3c2-ff11d8c74f6f/p8v7rxpxg3pdAsfgwxcrwxwhz3Zbygxfr6wAb931qv91hpb57k6bkr6t6m9djrfrfd467p8xkgqp6w7k1r9g8k8bfxqbfw2lq5tdwjq2sngAx76fm0jrw0dpmbtlkxchgjsw3r7r0hhq6A8sshqptfxql2rt123shfpkyhhpfvy67yvprbkb7lmlyrpwsd9yj0s22pmsyjhcw7d2q44d9fsxn5kfsmr2zqc79c2AxAx5gkjgbczf22A1sjx70t2pvnggzyh55s7bh62dd5wq7f1r4x90mcxn1tfhhrq5b09mjkt5hg66cjn700pcf6fgA42lbsp7v1pdch85mswycrp21c6j2sxffm14Asg3?skip_aggregation=false&referral_source=APP&ui_message_webview_url_scheme=myapp,
40+
oauth_window_uri: https://mxbank.mx.com/oauth/authorize?client_id=b8OikQ4Ep3NuSUrQ13DdvFuwpNx-qqoAsJDVAQCyLkQ&redirect_uri=https%3A%2F%2Fint-app.moneydesktop.com%2Foauth%2Fredirect_from&response_type=code&scope=openid&state=d745bd4ee6f0f9c184757f574bcc2df2,
3941
successfully_aggregated_at: 2016-10-13T17:57:38.000Z,
4042
user_guid: USR-fa7537f3-48aa-a683-a02a-b18940482f54,
4143
user_id: user123

docs/MxPlatformApi.md

Lines changed: 165 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ All URIs are relative to *https://api.mx.com*
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 @@ All URIs are relative to *https://api.mx.com*
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 |
@@ -3140,6 +3142,86 @@ end
31403142
- **Accept**: application/vnd.mx.api.v1+json
31413143

31423144

3145+
## list_member_accounts
3146+
3147+
> <AccountsResponseBody> list_member_accounts(user_guid, member_guid, opts)
3148+
3149+
List accounts by member
3150+
3151+
This endpoint returns a list of all the accounts associated with the specified `member`.
3152+
3153+
### Examples
3154+
3155+
```ruby
3156+
require 'time'
3157+
require 'mx-platform-ruby'
3158+
# setup authorization
3159+
MxPlatformRuby.configure do |config|
3160+
# Configure HTTP basic authorization: basicAuth
3161+
config.username = 'YOUR USERNAME'
3162+
config.password = 'YOUR PASSWORD'
3163+
end
3164+
3165+
api_instance = MxPlatformRuby::MxPlatformApi.new
3166+
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique id for a `user`.
3167+
member_guid = 'MBR-7c6f361b-e582-15b6-60c0-358f12466b4b' # String | The unique id for a `member`.
3168+
opts = {
3169+
member_is_managed_by_user: true, # Boolean | List only accounts whose member is managed by the user.
3170+
page: 1, # Integer | Specify current page.
3171+
records_per_page: 10 # Integer | Specify records per page.
3172+
}
3173+
3174+
begin
3175+
# List accounts by member
3176+
result = api_instance.list_member_accounts(user_guid, member_guid, opts)
3177+
p result
3178+
rescue MxPlatformRuby::ApiError => e
3179+
puts "Error when calling MxPlatformApi->list_member_accounts: #{e}"
3180+
end
3181+
```
3182+
3183+
#### Using the list_member_accounts_with_http_info variant
3184+
3185+
This returns an Array which contains the response data, status code and headers.
3186+
3187+
> <Array(<AccountsResponseBody>, Integer, Hash)> list_member_accounts_with_http_info(user_guid, member_guid, opts)
3188+
3189+
```ruby
3190+
begin
3191+
# List accounts by member
3192+
data, status_code, headers = api_instance.list_member_accounts_with_http_info(user_guid, member_guid, opts)
3193+
p status_code # => 2xx
3194+
p headers # => { ... }
3195+
p data # => <AccountsResponseBody>
3196+
rescue MxPlatformRuby::ApiError => e
3197+
puts "Error when calling MxPlatformApi->list_member_accounts_with_http_info: #{e}"
3198+
end
3199+
```
3200+
3201+
### Parameters
3202+
3203+
| Name | Type | Description | Notes |
3204+
| ---- | ---- | ----------- | ----- |
3205+
| **user_guid** | **String** | The unique id for a &#x60;user&#x60;. | |
3206+
| **member_guid** | **String** | The unique id for a &#x60;member&#x60;. | |
3207+
| **member_is_managed_by_user** | **Boolean** | List only accounts whose member is managed by the user. | [optional] |
3208+
| **page** | **Integer** | Specify current page. | [optional] |
3209+
| **records_per_page** | **Integer** | Specify records per page. | [optional] |
3210+
3211+
### Return type
3212+
3213+
[**AccountsResponseBody**](AccountsResponseBody.md)
3214+
3215+
### Authorization
3216+
3217+
[basicAuth](../README.md#basicAuth)
3218+
3219+
### HTTP request headers
3220+
3221+
- **Content-Type**: Not defined
3222+
- **Accept**: application/vnd.mx.api.v1+json
3223+
3224+
31433225
## list_member_challenges
31443226

31453227
> <ChallengesResponseBody> list_member_challenges(member_guid, user_guid, opts)
@@ -4101,6 +4183,7 @@ end
41014183
api_instance = MxPlatformRuby::MxPlatformApi.new
41024184
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique id for a `user`.
41034185
opts = {
4186+
member_is_managed_by_user: true, # Boolean | List only accounts whose member is managed by the user.
41044187
page: 1, # Integer | Specify current page.
41054188
records_per_page: 10 # Integer | Specify records per page.
41064189
}
@@ -4137,6 +4220,7 @@ end
41374220
| Name | Type | Description | Notes |
41384221
| ---- | ---- | ----------- | ----- |
41394222
| **user_guid** | **String** | The unique id for a &#x60;user&#x60;. | |
4223+
| **member_is_managed_by_user** | **Boolean** | List only accounts whose member is managed by the user. | [optional] |
41404224
| **page** | **Integer** | Specify current page. | [optional] |
41414225
| **records_per_page** | **Integer** | Specify records per page. | [optional] |
41424226

@@ -4177,7 +4261,10 @@ end
41774261
api_instance = MxPlatformRuby::MxPlatformApi.new
41784262
opts = {
41794263
page: 1, # Integer | Specify current page.
4180-
records_per_page: 10 # Integer | Specify records per page.
4264+
records_per_page: 10, # Integer | Specify records per page.
4265+
id: 'u-12324-abdc', # String | The user `id` to search for.
4266+
email: 'example@example.com', # String | The user `email` to search for.
4267+
is_disabled: true # Boolean | Search for users that are diabled.
41814268
}
41824269

41834270
begin
@@ -4213,6 +4300,9 @@ end
42134300
| ---- | ---- | ----------- | ----- |
42144301
| **page** | **Integer** | Specify current page. | [optional] |
42154302
| **records_per_page** | **Integer** | Specify records per page. | [optional] |
4303+
| **id** | **String** | The user &#x60;id&#x60; to search for. | [optional] |
4304+
| **email** | **String** | The user &#x60;email&#x60; to search for. | [optional] |
4305+
| **is_disabled** | **Boolean** | Search for users that are diabled. | [optional] |
42164306

42174307
### Return type
42184308

@@ -4300,6 +4390,80 @@ end
43004390
- **Accept**: application/vnd.mx.api.v1+json
43014391

43024392

4393+
## read_account_by_member
4394+
4395+
> <AccountResponseBody> read_account_by_member(account_guid, member_guid, user_guid)
4396+
4397+
Read account by member
4398+
4399+
This endpoint allows you to read the attributes of an `account` resource.
4400+
4401+
### Examples
4402+
4403+
```ruby
4404+
require 'time'
4405+
require 'mx-platform-ruby'
4406+
# setup authorization
4407+
MxPlatformRuby.configure do |config|
4408+
# Configure HTTP basic authorization: basicAuth
4409+
config.username = 'YOUR USERNAME'
4410+
config.password = 'YOUR PASSWORD'
4411+
end
4412+
4413+
api_instance = MxPlatformRuby::MxPlatformApi.new
4414+
account_guid = 'ACT-06d7f44b-caae-0f6e-1384-01f52e75dcb1' # String | The unique id for an `account`.
4415+
member_guid = 'MBR-7c6f361b-e582-15b6-60c0-358f12466b4b' # String | The unique id for a `member`.
4416+
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique id for a `user`.
4417+
4418+
begin
4419+
# Read account by member
4420+
result = api_instance.read_account_by_member(account_guid, member_guid, user_guid)
4421+
p result
4422+
rescue MxPlatformRuby::ApiError => e
4423+
puts "Error when calling MxPlatformApi->read_account_by_member: #{e}"
4424+
end
4425+
```
4426+
4427+
#### Using the read_account_by_member_with_http_info variant
4428+
4429+
This returns an Array which contains the response data, status code and headers.
4430+
4431+
> <Array(<AccountResponseBody>, Integer, Hash)> read_account_by_member_with_http_info(account_guid, member_guid, user_guid)
4432+
4433+
```ruby
4434+
begin
4435+
# Read account by member
4436+
data, status_code, headers = api_instance.read_account_by_member_with_http_info(account_guid, member_guid, user_guid)
4437+
p status_code # => 2xx
4438+
p headers # => { ... }
4439+
p data # => <AccountResponseBody>
4440+
rescue MxPlatformRuby::ApiError => e
4441+
puts "Error when calling MxPlatformApi->read_account_by_member_with_http_info: #{e}"
4442+
end
4443+
```
4444+
4445+
### Parameters
4446+
4447+
| Name | Type | Description | Notes |
4448+
| ---- | ---- | ----------- | ----- |
4449+
| **account_guid** | **String** | The unique id for an &#x60;account&#x60;. | |
4450+
| **member_guid** | **String** | The unique id for a &#x60;member&#x60;. | |
4451+
| **user_guid** | **String** | The unique id for a &#x60;user&#x60;. | |
4452+
4453+
### Return type
4454+
4455+
[**AccountResponseBody**](AccountResponseBody.md)
4456+
4457+
### Authorization
4458+
4459+
[basicAuth](../README.md#basicAuth)
4460+
4461+
### HTTP request headers
4462+
4463+
- **Content-Type**: Not defined
4464+
- **Accept**: application/vnd.mx.api.v1+json
4465+
4466+
43034467
## read_category
43044468

43054469
> <CategoryResponseBody> read_category(category_guid, user_guid)

docs/OAuthWindowResponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ require 'mx-platform-ruby'
1414

1515
instance = MxPlatformRuby::OAuthWindowResponse.new(
1616
guid: MBR-df96fd60-7122-4464-b3c2-ff11d8c74f6f,
17-
oauth_window_uri: int-widgets.moneydesktop.com/oauth/predirect_to/MBR-df96fd60-7122-4464-b3c2-ff11d8c74f6f/zgknnw5k7dmztn2njmwlgz574mZlnft6vdrv7kzn9ptj325th6c5p0w6c7j83Ap1bqg01mhsr1bqjgf2fry3ly9wff497c6fcczbyrfgj7s39cygw95Akl7vlpmcAy2kmvh1mlkytg7jA1z3vnw1w3zx2r1wt65s6f6r3ryqqrysl9qA1kr6cAj6vhr1zl325Azz6hx52j1ll3vwbvvbv5xzy7d6csplyw25brA7147vAfq29ArjjAj4qmc6r6h457hkcj2946m0kjp2xzpkz6hz55lsp3Avmdb8dsq4xzqmzzqk68s6bp5tj9jsskw4wvcb95vm4fwh9w8phgp67hfj2flrtwcy5bxbtk74?skip_aggregation&#x3D;false
17+
oauth_window_uri: https://mxbank.mx.com/oauth/authorize?client_id&#x3D;b8OikQ4Ep3NuSUrQ13DdvFuwpNx-qqoAsJDVAQCyLkQ&amp;redirect_uri&#x3D;https%3A%2F%2Fint-app.moneydesktop.com%2Foauth%2Fredirect_from&amp;response_type&#x3D;code&amp;scope&#x3D;openid&amp;state&#x3D;d745bd4ee6f0f9c184757f574bcc2df2
1818
)
1919
```
2020

docs/UserCreateRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ instance = MxPlatformRuby::UserCreateRequest.new(
1818
email: email@provider.com,
1919
id: My-Unique-ID,
2020
is_disabled: false,
21-
metadata: {\&quot;first_name\&quot;: \&quot;Steven\&quot;, \&quot;last_name\&quot;: \&quot;Universe\&quot;}
21+
metadata: {\&quot;type\&quot;: \&quot;individual\&quot;, \&quot;status\&quot;: \&quot;preferred\&quot;}
2222
)
2323
```
2424

docs/WidgetRequest.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@
1010
| **current_institution_guid** | **String** | | [optional] |
1111
| **current_member_guid** | **String** | | [optional] |
1212
| **disable_institution_search** | **Boolean** | | [optional] |
13+
| **include_identity** | **Boolean** | | [optional] |
1314
| **include_transactions** | **Boolean** | | [optional] |
1415
| **is_mobile_webview** | **Boolean** | | [optional] |
1516
| **mode** | **String** | | [optional] |
17+
| **oauth_referral_source** | **String** | | [optional] |
1618
| **ui_message_version** | **Integer** | | [optional] |
1719
| **ui_message_webview_url_scheme** | **String** | | [optional] |
1820
| **update_credentials** | **Boolean** | | [optional] |
@@ -30,9 +32,11 @@ instance = MxPlatformRuby::WidgetRequest.new(
3032
current_institution_guid: INS-f1a3285d-e855-b61f-6aa7-8ae575c0e0e9,
3133
current_member_guid: MBR-7c6f361b-e582-15b6-60c0-358f12466b4b,
3234
disable_institution_search: false,
35+
include_identity: false,
3336
include_transactions: true,
34-
is_mobile_webview: true,
37+
is_mobile_webview: false,
3538
mode: aggregation,
39+
oauth_referral_source: BROWSER,
3640
ui_message_version: 4,
3741
ui_message_webview_url_scheme: mx,
3842
update_credentials: false,

0 commit comments

Comments
 (0)