mx-platform-ruby 0.8.6 → 0.9.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +7 -7
- data/docs/HoldingResponse.md +1 -1
- data/docs/MxPlatformApi.md +10 -14
- data/lib/mx-platform-ruby/api/mx_platform_api.rb +15 -17
- data/lib/mx-platform-ruby/api_client.rb +1 -1
- data/lib/mx-platform-ruby/api_error.rb +1 -1
- data/lib/mx-platform-ruby/configuration.rb +1 -1
- data/lib/mx-platform-ruby/models/account_number_response.rb +5 -1
- data/lib/mx-platform-ruby/models/account_numbers_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/account_owner_response.rb +5 -1
- data/lib/mx-platform-ruby/models/account_owners_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/account_response.rb +4 -1
- data/lib/mx-platform-ruby/models/account_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/account_update_request.rb +1 -1
- data/lib/mx-platform-ruby/models/account_update_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/accounts_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/categories_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/category_create_request.rb +1 -1
- data/lib/mx-platform-ruby/models/category_create_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/category_response.rb +3 -1
- data/lib/mx-platform-ruby/models/category_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/category_update_request.rb +1 -1
- data/lib/mx-platform-ruby/models/category_update_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/challenge_response.rb +2 -1
- data/lib/mx-platform-ruby/models/challenges_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/connect_widget_request.rb +1 -1
- data/lib/mx-platform-ruby/models/connect_widget_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/connect_widget_response.rb +2 -1
- data/lib/mx-platform-ruby/models/connect_widget_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/credential_request.rb +1 -2
- data/lib/mx-platform-ruby/models/credential_response.rb +3 -1
- data/lib/mx-platform-ruby/models/credentials_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/enhance_transaction_response.rb +2 -1
- data/lib/mx-platform-ruby/models/enhance_transactions_request.rb +1 -1
- data/lib/mx-platform-ruby/models/enhance_transactions_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/enhance_transactions_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/holding_response.rb +5 -1
- data/lib/mx-platform-ruby/models/holding_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/holdings_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/image_option_response.rb +1 -1
- data/lib/mx-platform-ruby/models/institution_response.rb +1 -1
- data/lib/mx-platform-ruby/models/institution_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/institutions_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/managed_account_create_request.rb +1 -1
- data/lib/mx-platform-ruby/models/managed_account_create_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/managed_account_update_request.rb +1 -1
- data/lib/mx-platform-ruby/models/managed_account_update_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/managed_member_create_request.rb +1 -1
- data/lib/mx-platform-ruby/models/managed_member_create_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/managed_member_update_request.rb +1 -1
- data/lib/mx-platform-ruby/models/managed_member_update_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/managed_transaction_create_request.rb +1 -1
- data/lib/mx-platform-ruby/models/managed_transaction_create_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/managed_transaction_update_request.rb +1 -1
- data/lib/mx-platform-ruby/models/managed_transaction_update_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/member_create_request.rb +1 -1
- data/lib/mx-platform-ruby/models/member_create_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/member_response.rb +3 -1
- data/lib/mx-platform-ruby/models/member_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/member_resume_request.rb +1 -1
- data/lib/mx-platform-ruby/models/member_resume_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/member_status_response.rb +2 -1
- data/lib/mx-platform-ruby/models/member_status_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/member_update_request.rb +1 -1
- data/lib/mx-platform-ruby/models/member_update_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/members_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/merchant_location_response.rb +3 -1
- data/lib/mx-platform-ruby/models/merchant_location_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/merchant_response.rb +2 -1
- data/lib/mx-platform-ruby/models/merchant_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/merchants_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/o_auth_window_response.rb +2 -1
- data/lib/mx-platform-ruby/models/o_auth_window_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/option_response.rb +1 -1
- data/lib/mx-platform-ruby/models/pagination_response.rb +1 -1
- data/lib/mx-platform-ruby/models/statement_response.rb +5 -1
- data/lib/mx-platform-ruby/models/statement_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/statements_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/tag_create_request.rb +1 -1
- data/lib/mx-platform-ruby/models/tag_create_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/tag_response.rb +3 -1
- data/lib/mx-platform-ruby/models/tag_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/tag_update_request.rb +1 -1
- data/lib/mx-platform-ruby/models/tag_update_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/tagging_create_request.rb +1 -1
- data/lib/mx-platform-ruby/models/tagging_create_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/tagging_response.rb +5 -1
- data/lib/mx-platform-ruby/models/tagging_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/tagging_update_request.rb +1 -1
- data/lib/mx-platform-ruby/models/tagging_update_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/taggings_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/tags_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/transaction_response.rb +7 -1
- data/lib/mx-platform-ruby/models/transaction_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/transaction_rule_create_request.rb +1 -1
- data/lib/mx-platform-ruby/models/transaction_rule_create_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/transaction_rule_response.rb +4 -1
- data/lib/mx-platform-ruby/models/transaction_rule_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/transaction_rule_update_request.rb +1 -3
- data/lib/mx-platform-ruby/models/transaction_rule_update_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/transaction_rules_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/transaction_update_request.rb +1 -1
- data/lib/mx-platform-ruby/models/transaction_update_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/transactions_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/user_create_request.rb +1 -1
- data/lib/mx-platform-ruby/models/user_create_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/user_response.rb +2 -1
- data/lib/mx-platform-ruby/models/user_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/user_update_request.rb +1 -1
- data/lib/mx-platform-ruby/models/user_update_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/users_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/widget_request.rb +1 -1
- data/lib/mx-platform-ruby/models/widget_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/widget_response.rb +1 -1
- data/lib/mx-platform-ruby/models/widget_response_body.rb +1 -1
- data/lib/mx-platform-ruby/version.rb +2 -2
- data/lib/mx-platform-ruby.rb +1 -1
- data/mx-platform-ruby.gemspec +1 -1
- data/openapi/config.yml +1 -1
- data/openapi/templates/README.mustache +7 -7
- data/openapitools.json +1 -1
- data/spec/api/mx_platform_api_spec.rb +2 -3
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/account_number_response_spec.rb +1 -1
- data/spec/models/account_numbers_response_body_spec.rb +1 -1
- data/spec/models/account_owner_response_spec.rb +1 -1
- data/spec/models/account_owners_response_body_spec.rb +1 -1
- data/spec/models/account_response_body_spec.rb +1 -1
- data/spec/models/account_response_spec.rb +1 -1
- data/spec/models/account_update_request_body_spec.rb +1 -1
- data/spec/models/account_update_request_spec.rb +1 -1
- data/spec/models/accounts_response_body_spec.rb +1 -1
- data/spec/models/categories_response_body_spec.rb +1 -1
- data/spec/models/category_create_request_body_spec.rb +1 -1
- data/spec/models/category_create_request_spec.rb +1 -1
- data/spec/models/category_response_body_spec.rb +1 -1
- data/spec/models/category_response_spec.rb +1 -1
- data/spec/models/category_update_request_body_spec.rb +1 -1
- data/spec/models/category_update_request_spec.rb +1 -1
- data/spec/models/challenge_response_spec.rb +1 -1
- data/spec/models/challenges_response_body_spec.rb +1 -1
- data/spec/models/connect_widget_request_body_spec.rb +1 -1
- data/spec/models/connect_widget_request_spec.rb +1 -1
- data/spec/models/connect_widget_response_body_spec.rb +1 -1
- data/spec/models/connect_widget_response_spec.rb +1 -1
- data/spec/models/credential_request_spec.rb +1 -1
- data/spec/models/credential_response_spec.rb +1 -1
- data/spec/models/credentials_response_body_spec.rb +1 -1
- data/spec/models/enhance_transaction_response_spec.rb +1 -1
- data/spec/models/enhance_transactions_request_body_spec.rb +1 -1
- data/spec/models/enhance_transactions_request_spec.rb +1 -1
- data/spec/models/enhance_transactions_response_body_spec.rb +1 -1
- data/spec/models/holding_response_body_spec.rb +1 -1
- data/spec/models/holding_response_spec.rb +1 -1
- data/spec/models/holdings_response_body_spec.rb +1 -1
- data/spec/models/image_option_response_spec.rb +1 -1
- data/spec/models/institution_response_body_spec.rb +1 -1
- data/spec/models/institution_response_spec.rb +1 -1
- data/spec/models/institutions_response_body_spec.rb +1 -1
- data/spec/models/managed_account_create_request_body_spec.rb +1 -1
- data/spec/models/managed_account_create_request_spec.rb +1 -1
- data/spec/models/managed_account_update_request_body_spec.rb +1 -1
- data/spec/models/managed_account_update_request_spec.rb +1 -1
- data/spec/models/managed_member_create_request_body_spec.rb +1 -1
- data/spec/models/managed_member_create_request_spec.rb +1 -1
- data/spec/models/managed_member_update_request_body_spec.rb +1 -1
- data/spec/models/managed_member_update_request_spec.rb +1 -1
- data/spec/models/managed_transaction_create_request_body_spec.rb +1 -1
- data/spec/models/managed_transaction_create_request_spec.rb +1 -1
- data/spec/models/managed_transaction_update_request_body_spec.rb +1 -1
- data/spec/models/managed_transaction_update_request_spec.rb +1 -1
- data/spec/models/member_create_request_body_spec.rb +1 -1
- data/spec/models/member_create_request_spec.rb +1 -1
- data/spec/models/member_response_body_spec.rb +1 -1
- data/spec/models/member_response_spec.rb +1 -1
- data/spec/models/member_resume_request_body_spec.rb +1 -1
- data/spec/models/member_resume_request_spec.rb +1 -1
- data/spec/models/member_status_response_body_spec.rb +1 -1
- data/spec/models/member_status_response_spec.rb +1 -1
- data/spec/models/member_update_request_body_spec.rb +1 -1
- data/spec/models/member_update_request_spec.rb +1 -1
- data/spec/models/members_response_body_spec.rb +1 -1
- data/spec/models/merchant_location_response_body_spec.rb +1 -1
- data/spec/models/merchant_location_response_spec.rb +1 -1
- data/spec/models/merchant_response_body_spec.rb +1 -1
- data/spec/models/merchant_response_spec.rb +1 -1
- data/spec/models/merchants_response_body_spec.rb +1 -1
- data/spec/models/o_auth_window_response_body_spec.rb +1 -1
- data/spec/models/o_auth_window_response_spec.rb +1 -1
- data/spec/models/option_response_spec.rb +1 -1
- data/spec/models/pagination_response_spec.rb +1 -1
- data/spec/models/statement_response_body_spec.rb +1 -1
- data/spec/models/statement_response_spec.rb +1 -1
- data/spec/models/statements_response_body_spec.rb +1 -1
- data/spec/models/tag_create_request_body_spec.rb +1 -1
- data/spec/models/tag_create_request_spec.rb +1 -1
- data/spec/models/tag_response_body_spec.rb +1 -1
- data/spec/models/tag_response_spec.rb +1 -1
- data/spec/models/tag_update_request_body_spec.rb +1 -1
- data/spec/models/tag_update_request_spec.rb +1 -1
- data/spec/models/tagging_create_request_body_spec.rb +1 -1
- data/spec/models/tagging_create_request_spec.rb +1 -1
- data/spec/models/tagging_response_body_spec.rb +1 -1
- data/spec/models/tagging_response_spec.rb +1 -1
- data/spec/models/tagging_update_request_body_spec.rb +1 -1
- data/spec/models/tagging_update_request_spec.rb +1 -1
- data/spec/models/taggings_response_body_spec.rb +1 -1
- data/spec/models/tags_response_body_spec.rb +1 -1
- data/spec/models/transaction_response_body_spec.rb +1 -1
- data/spec/models/transaction_response_spec.rb +1 -1
- data/spec/models/transaction_rule_create_request_body_spec.rb +1 -1
- data/spec/models/transaction_rule_create_request_spec.rb +1 -1
- data/spec/models/transaction_rule_response_body_spec.rb +1 -1
- data/spec/models/transaction_rule_response_spec.rb +1 -1
- data/spec/models/transaction_rule_update_request_body_spec.rb +1 -1
- data/spec/models/transaction_rule_update_request_spec.rb +1 -1
- data/spec/models/transaction_rules_response_body_spec.rb +1 -1
- data/spec/models/transaction_update_request_body_spec.rb +1 -1
- data/spec/models/transaction_update_request_spec.rb +1 -1
- data/spec/models/transactions_response_body_spec.rb +1 -1
- data/spec/models/user_create_request_body_spec.rb +1 -1
- data/spec/models/user_create_request_spec.rb +1 -1
- data/spec/models/user_response_body_spec.rb +1 -1
- data/spec/models/user_response_spec.rb +1 -1
- data/spec/models/user_update_request_body_spec.rb +1 -1
- data/spec/models/user_update_request_spec.rb +1 -1
- data/spec/models/users_response_body_spec.rb +1 -1
- data/spec/models/widget_request_body_spec.rb +1 -1
- data/spec/models/widget_request_spec.rb +1 -1
- data/spec/models/widget_response_body_spec.rb +1 -1
- data/spec/models/widget_response_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7f44975b00f2bdf10c89ce33faa117c1ccf3d054b8dd2865bfbe7525022ba134
|
4
|
+
data.tar.gz: 3106281466bbd8b640045dd2591644e01c86657d70a8aa55caf141caa9ac3420
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e8ba61ff2fa97d8d4b703c0b07d6e03c4315b3c82967759eff150ab083cec7b3e81eca1c06e5a38731a8dd4ef64382ce885caa01ed477d6f2057e288137097e
|
7
|
+
data.tar.gz: 48c7af2ffd3f9f68a2e14c7b72f69f3381dccfbec84cd89a7917d52ca2ab7e52204bb7abfba6dc50eb1cfb31a1a5e1f5df0385463fdb27a6586cbce1af81a407
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -38,7 +38,7 @@ Please follow the [installation](#installation) procedure and then run the follo
|
|
38
38
|
```ruby
|
39
39
|
require 'mx-platform-ruby'
|
40
40
|
|
41
|
-
MxPlatformRuby.configure do |config|
|
41
|
+
::MxPlatformRuby.configure do |config|
|
42
42
|
# Configure with your Client ID/API Key from https://dashboard.mx.com
|
43
43
|
config.username = 'Your Client ID'
|
44
44
|
config.password = 'Your API Key'
|
@@ -51,16 +51,16 @@ api_client = ::MxPlatformRuby::ApiClient.new
|
|
51
51
|
api_client.default_headers['Accept'] = 'application/vnd.mx.api.v1+json'
|
52
52
|
mx_platform_api = ::MxPlatformRuby::MxPlatformApi.new(api_client)
|
53
53
|
|
54
|
-
|
55
|
-
user: MxPlatformRuby::UserCreateRequest.new(
|
56
|
-
metadata:
|
54
|
+
request_body = ::MxPlatformRuby::UserCreateRequestBody.new(
|
55
|
+
user: ::MxPlatformRuby::UserCreateRequest.new(
|
56
|
+
metadata: 'Creating a user!'
|
57
57
|
)
|
58
58
|
)
|
59
59
|
|
60
60
|
begin
|
61
|
-
|
62
|
-
p
|
63
|
-
rescue MxPlatformRuby::ApiError => e
|
61
|
+
response = mx_platform_api.create_user(request_body)
|
62
|
+
p response
|
63
|
+
rescue ::MxPlatformRuby::ApiError => e
|
64
64
|
puts "Error when calling MxPlatformApi->create_user: #{e}"
|
65
65
|
end
|
66
66
|
```
|
data/docs/HoldingResponse.md
CHANGED
@@ -29,7 +29,7 @@
|
|
29
29
|
require 'mx-platform-ruby'
|
30
30
|
|
31
31
|
instance = MxPlatformRuby::HoldingResponse.new(
|
32
|
-
account_guid:
|
32
|
+
account_guid: ACT-06d7f44b-caae-0f6e-1384-01f52e75dcb1,
|
33
33
|
cost_basis: 827.0,
|
34
34
|
created_at: 2015-04-13T18:01:23.000Z,
|
35
35
|
currency_code: USD,
|
data/docs/MxPlatformApi.md
CHANGED
@@ -4368,7 +4368,7 @@ end
|
|
4368
4368
|
|
4369
4369
|
## read_default_category
|
4370
4370
|
|
4371
|
-
> <CategoryResponseBody> read_default_category(category_guid
|
4371
|
+
> <CategoryResponseBody> read_default_category(category_guid)
|
4372
4372
|
|
4373
4373
|
Read a default category
|
4374
4374
|
|
@@ -4388,11 +4388,10 @@ end
|
|
4388
4388
|
|
4389
4389
|
api_instance = MxPlatformRuby::MxPlatformApi.new
|
4390
4390
|
category_guid = 'CAT-7829f71c-2e8c-afa5-2f55-fa3634b89874' # String | The unique id for a `category`.
|
4391
|
-
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique id for a `user`.
|
4392
4391
|
|
4393
4392
|
begin
|
4394
4393
|
# Read a default category
|
4395
|
-
result = api_instance.read_default_category(category_guid
|
4394
|
+
result = api_instance.read_default_category(category_guid)
|
4396
4395
|
p result
|
4397
4396
|
rescue MxPlatformRuby::ApiError => e
|
4398
4397
|
puts "Error when calling MxPlatformApi->read_default_category: #{e}"
|
@@ -4403,12 +4402,12 @@ end
|
|
4403
4402
|
|
4404
4403
|
This returns an Array which contains the response data, status code and headers.
|
4405
4404
|
|
4406
|
-
> <Array(<CategoryResponseBody>, Integer, Hash)> read_default_category_with_http_info(category_guid
|
4405
|
+
> <Array(<CategoryResponseBody>, Integer, Hash)> read_default_category_with_http_info(category_guid)
|
4407
4406
|
|
4408
4407
|
```ruby
|
4409
4408
|
begin
|
4410
4409
|
# Read a default category
|
4411
|
-
data, status_code, headers = api_instance.read_default_category_with_http_info(category_guid
|
4410
|
+
data, status_code, headers = api_instance.read_default_category_with_http_info(category_guid)
|
4412
4411
|
p status_code # => 2xx
|
4413
4412
|
p headers # => { ... }
|
4414
4413
|
p data # => <CategoryResponseBody>
|
@@ -4422,7 +4421,6 @@ end
|
|
4422
4421
|
| Name | Type | Description | Notes |
|
4423
4422
|
| ---- | ---- | ----------- | ----- |
|
4424
4423
|
| **category_guid** | **String** | The unique id for a `category`. | |
|
4425
|
-
| **user_guid** | **String** | The unique id for a `user`. | |
|
4426
4424
|
|
4427
4425
|
### Return type
|
4428
4426
|
|
@@ -5518,7 +5516,7 @@ end
|
|
5518
5516
|
|
5519
5517
|
## request_connect_widget_url
|
5520
5518
|
|
5521
|
-
> <ConnectWidgetResponseBody> request_connect_widget_url(user_guid,
|
5519
|
+
> <ConnectWidgetResponseBody> request_connect_widget_url(user_guid, connect_widget_request_body)
|
5522
5520
|
|
5523
5521
|
Request connect widget url
|
5524
5522
|
|
@@ -5538,13 +5536,11 @@ end
|
|
5538
5536
|
|
5539
5537
|
api_instance = MxPlatformRuby::MxPlatformApi.new
|
5540
5538
|
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique id for a `user`.
|
5541
|
-
|
5542
|
-
connect_widget_request_body: MxPlatformRuby::ConnectWidgetRequestBody.new # ConnectWidgetRequestBody | Optional config options for WebView (is_mobile_webview, current_institution_code, current_member_guid, update_credentials)
|
5543
|
-
}
|
5539
|
+
connect_widget_request_body = MxPlatformRuby::ConnectWidgetRequestBody.new # ConnectWidgetRequestBody | Optional config options for WebView (is_mobile_webview, current_institution_code, current_member_guid, update_credentials)
|
5544
5540
|
|
5545
5541
|
begin
|
5546
5542
|
# Request connect widget url
|
5547
|
-
result = api_instance.request_connect_widget_url(user_guid,
|
5543
|
+
result = api_instance.request_connect_widget_url(user_guid, connect_widget_request_body)
|
5548
5544
|
p result
|
5549
5545
|
rescue MxPlatformRuby::ApiError => e
|
5550
5546
|
puts "Error when calling MxPlatformApi->request_connect_widget_url: #{e}"
|
@@ -5555,12 +5551,12 @@ end
|
|
5555
5551
|
|
5556
5552
|
This returns an Array which contains the response data, status code and headers.
|
5557
5553
|
|
5558
|
-
> <Array(<ConnectWidgetResponseBody>, Integer, Hash)> request_connect_widget_url_with_http_info(user_guid,
|
5554
|
+
> <Array(<ConnectWidgetResponseBody>, Integer, Hash)> request_connect_widget_url_with_http_info(user_guid, connect_widget_request_body)
|
5559
5555
|
|
5560
5556
|
```ruby
|
5561
5557
|
begin
|
5562
5558
|
# Request connect widget url
|
5563
|
-
data, status_code, headers = api_instance.request_connect_widget_url_with_http_info(user_guid,
|
5559
|
+
data, status_code, headers = api_instance.request_connect_widget_url_with_http_info(user_guid, connect_widget_request_body)
|
5564
5560
|
p status_code # => 2xx
|
5565
5561
|
p headers # => { ... }
|
5566
5562
|
p data # => <ConnectWidgetResponseBody>
|
@@ -5574,7 +5570,7 @@ end
|
|
5574
5570
|
| Name | Type | Description | Notes |
|
5575
5571
|
| ---- | ---- | ----------- | ----- |
|
5576
5572
|
| **user_guid** | **String** | The unique id for a `user`. | |
|
5577
|
-
| **connect_widget_request_body** | [**ConnectWidgetRequestBody**](ConnectWidgetRequestBody.md) | Optional config options for WebView (is_mobile_webview, current_institution_code, current_member_guid, update_credentials) |
|
5573
|
+
| **connect_widget_request_body** | [**ConnectWidgetRequestBody**](ConnectWidgetRequestBody.md) | Optional config options for WebView (is_mobile_webview, current_institution_code, current_member_guid, update_credentials) | |
|
5578
5574
|
|
5579
5575
|
### Return type
|
5580
5576
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 0.1.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -4098,21 +4098,19 @@ module MxPlatformRuby
|
|
4098
4098
|
# Read a default category
|
4099
4099
|
# Use this endpoint to read the attributes of a default category.
|
4100
4100
|
# @param category_guid [String] The unique id for a `category`.
|
4101
|
-
# @param user_guid [String] The unique id for a `user`.
|
4102
4101
|
# @param [Hash] opts the optional parameters
|
4103
4102
|
# @return [CategoryResponseBody]
|
4104
|
-
def read_default_category(category_guid,
|
4105
|
-
data, _status_code, _headers = read_default_category_with_http_info(category_guid,
|
4103
|
+
def read_default_category(category_guid, opts = {})
|
4104
|
+
data, _status_code, _headers = read_default_category_with_http_info(category_guid, opts)
|
4106
4105
|
data
|
4107
4106
|
end
|
4108
4107
|
|
4109
4108
|
# Read a default category
|
4110
4109
|
# Use this endpoint to read the attributes of a default category.
|
4111
4110
|
# @param category_guid [String] The unique id for a `category`.
|
4112
|
-
# @param user_guid [String] The unique id for a `user`.
|
4113
4111
|
# @param [Hash] opts the optional parameters
|
4114
4112
|
# @return [Array<(CategoryResponseBody, Integer, Hash)>] CategoryResponseBody data, response status code and response headers
|
4115
|
-
def read_default_category_with_http_info(category_guid,
|
4113
|
+
def read_default_category_with_http_info(category_guid, opts = {})
|
4116
4114
|
if @api_client.config.debugging
|
4117
4115
|
@api_client.config.logger.debug 'Calling API: MxPlatformApi.read_default_category ...'
|
4118
4116
|
end
|
@@ -4120,12 +4118,8 @@ module MxPlatformRuby
|
|
4120
4118
|
if @api_client.config.client_side_validation && category_guid.nil?
|
4121
4119
|
fail ArgumentError, "Missing the required parameter 'category_guid' when calling MxPlatformApi.read_default_category"
|
4122
4120
|
end
|
4123
|
-
# verify the required parameter 'user_guid' is set
|
4124
|
-
if @api_client.config.client_side_validation && user_guid.nil?
|
4125
|
-
fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.read_default_category"
|
4126
|
-
end
|
4127
4121
|
# resource path
|
4128
|
-
local_var_path = '/categories/{category_guid}'.sub('{' + 'category_guid' + '}', CGI.escape(category_guid.to_s))
|
4122
|
+
local_var_path = '/categories/{category_guid}'.sub('{' + 'category_guid' + '}', CGI.escape(category_guid.to_s))
|
4129
4123
|
|
4130
4124
|
# query parameters
|
4131
4125
|
query_params = opts[:query_params] || {}
|
@@ -5196,21 +5190,21 @@ module MxPlatformRuby
|
|
5196
5190
|
# Request connect widget url
|
5197
5191
|
# This endpoint will return a URL for an embeddable version of MX Connect.
|
5198
5192
|
# @param user_guid [String] The unique id for a `user`.
|
5193
|
+
# @param connect_widget_request_body [ConnectWidgetRequestBody] Optional config options for WebView (is_mobile_webview, current_institution_code, current_member_guid, update_credentials)
|
5199
5194
|
# @param [Hash] opts the optional parameters
|
5200
|
-
# @option opts [ConnectWidgetRequestBody] :connect_widget_request_body Optional config options for WebView (is_mobile_webview, current_institution_code, current_member_guid, update_credentials)
|
5201
5195
|
# @return [ConnectWidgetResponseBody]
|
5202
|
-
def request_connect_widget_url(user_guid, opts = {})
|
5203
|
-
data, _status_code, _headers = request_connect_widget_url_with_http_info(user_guid, opts)
|
5196
|
+
def request_connect_widget_url(user_guid, connect_widget_request_body, opts = {})
|
5197
|
+
data, _status_code, _headers = request_connect_widget_url_with_http_info(user_guid, connect_widget_request_body, opts)
|
5204
5198
|
data
|
5205
5199
|
end
|
5206
5200
|
|
5207
5201
|
# Request connect widget url
|
5208
5202
|
# This endpoint will return a URL for an embeddable version of MX Connect.
|
5209
5203
|
# @param user_guid [String] The unique id for a `user`.
|
5204
|
+
# @param connect_widget_request_body [ConnectWidgetRequestBody] Optional config options for WebView (is_mobile_webview, current_institution_code, current_member_guid, update_credentials)
|
5210
5205
|
# @param [Hash] opts the optional parameters
|
5211
|
-
# @option opts [ConnectWidgetRequestBody] :connect_widget_request_body Optional config options for WebView (is_mobile_webview, current_institution_code, current_member_guid, update_credentials)
|
5212
5206
|
# @return [Array<(ConnectWidgetResponseBody, Integer, Hash)>] ConnectWidgetResponseBody data, response status code and response headers
|
5213
|
-
def request_connect_widget_url_with_http_info(user_guid, opts = {})
|
5207
|
+
def request_connect_widget_url_with_http_info(user_guid, connect_widget_request_body, opts = {})
|
5214
5208
|
if @api_client.config.debugging
|
5215
5209
|
@api_client.config.logger.debug 'Calling API: MxPlatformApi.request_connect_widget_url ...'
|
5216
5210
|
end
|
@@ -5218,6 +5212,10 @@ module MxPlatformRuby
|
|
5218
5212
|
if @api_client.config.client_side_validation && user_guid.nil?
|
5219
5213
|
fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.request_connect_widget_url"
|
5220
5214
|
end
|
5215
|
+
# verify the required parameter 'connect_widget_request_body' is set
|
5216
|
+
if @api_client.config.client_side_validation && connect_widget_request_body.nil?
|
5217
|
+
fail ArgumentError, "Missing the required parameter 'connect_widget_request_body' when calling MxPlatformApi.request_connect_widget_url"
|
5218
|
+
end
|
5221
5219
|
# resource path
|
5222
5220
|
local_var_path = '/users/{user_guid}/connect_widget_url'.sub('{' + 'user_guid' + '}', CGI.escape(user_guid.to_s))
|
5223
5221
|
|
@@ -5238,7 +5236,7 @@ module MxPlatformRuby
|
|
5238
5236
|
form_params = opts[:form_params] || {}
|
5239
5237
|
|
5240
5238
|
# http body (model)
|
5241
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
5239
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(connect_widget_request_body)
|
5242
5240
|
|
5243
5241
|
# return_type
|
5244
5242
|
return_type = opts[:debug_return_type] || 'ConnectWidgetResponseBody'
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 0.1.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -67,10 +67,14 @@ module MxPlatformRuby
|
|
67
67
|
# List of attributes with nullable: true
|
68
68
|
def self.openapi_nullable
|
69
69
|
Set.new([
|
70
|
+
:'account_guid',
|
70
71
|
:'account_number',
|
72
|
+
:'guid',
|
71
73
|
:'institution_number',
|
74
|
+
:'member_guid',
|
72
75
|
:'routing_number',
|
73
76
|
:'transit_number',
|
77
|
+
:'user_guid'
|
74
78
|
])
|
75
79
|
end
|
76
80
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 0.1.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -83,14 +83,18 @@ module MxPlatformRuby
|
|
83
83
|
# List of attributes with nullable: true
|
84
84
|
def self.openapi_nullable
|
85
85
|
Set.new([
|
86
|
+
:'account_guid',
|
86
87
|
:'address',
|
87
88
|
:'city',
|
88
89
|
:'country',
|
89
90
|
:'email',
|
91
|
+
:'guid',
|
92
|
+
:'member_guid',
|
90
93
|
:'owner_name',
|
91
94
|
:'phone',
|
92
95
|
:'postal_code',
|
93
96
|
:'state',
|
97
|
+
:'user_guid'
|
94
98
|
])
|
95
99
|
end
|
96
100
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 0.1.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -236,6 +236,7 @@ module MxPlatformRuby
|
|
236
236
|
:'currency_code',
|
237
237
|
:'day_payment_is_due',
|
238
238
|
:'death_benefit',
|
239
|
+
:'guid',
|
239
240
|
:'holdings_value',
|
240
241
|
:'id',
|
241
242
|
:'imported_at',
|
@@ -248,6 +249,7 @@ module MxPlatformRuby
|
|
248
249
|
:'last_payment_at',
|
249
250
|
:'loan_amount',
|
250
251
|
:'matures_on',
|
252
|
+
:'member_guid',
|
251
253
|
:'member_id',
|
252
254
|
:'member_is_managed_by_user',
|
253
255
|
:'metadata',
|
@@ -266,6 +268,7 @@ module MxPlatformRuby
|
|
266
268
|
:'total_account_value',
|
267
269
|
:'type',
|
268
270
|
:'updated_at',
|
271
|
+
:'user_guid',
|
269
272
|
:'user_id'
|
270
273
|
])
|
271
274
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 0.1.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -68,10 +68,12 @@ module MxPlatformRuby
|
|
68
68
|
def self.openapi_nullable
|
69
69
|
Set.new([
|
70
70
|
:'created_at',
|
71
|
+
:'guid',
|
71
72
|
:'is_default',
|
72
73
|
:'is_income',
|
73
74
|
:'metadata',
|
74
75
|
:'name',
|
76
|
+
:'parent_guid',
|
75
77
|
:'updated_at'
|
76
78
|
])
|
77
79
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 0.1.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -64,6 +64,7 @@ module MxPlatformRuby
|
|
64
64
|
def self.openapi_nullable
|
65
65
|
Set.new([
|
66
66
|
:'field_name',
|
67
|
+
:'guid',
|
67
68
|
:'image_data',
|
68
69
|
:'label',
|
69
70
|
:'type'
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 0.1.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -44,6 +44,7 @@ module MxPlatformRuby
|
|
44
44
|
def self.openapi_nullable
|
45
45
|
Set.new([
|
46
46
|
:'connect_widget_url',
|
47
|
+
:'guid'
|
47
48
|
])
|
48
49
|
end
|
49
50
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 0.1.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -43,7 +43,6 @@ module MxPlatformRuby
|
|
43
43
|
# List of attributes with nullable: true
|
44
44
|
def self.openapi_nullable
|
45
45
|
Set.new([
|
46
|
-
:'value'
|
47
46
|
])
|
48
47
|
end
|
49
48
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 0.1.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -58,6 +58,8 @@ module MxPlatformRuby
|
|
58
58
|
:'display_order',
|
59
59
|
:'field_name',
|
60
60
|
:'field_type',
|
61
|
+
:'guid',
|
62
|
+
:'label'
|
61
63
|
])
|
62
64
|
end
|
63
65
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 0.1.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -146,6 +146,7 @@ module MxPlatformRuby
|
|
146
146
|
:'is_subscription',
|
147
147
|
:'memo',
|
148
148
|
:'merchant_category_code',
|
149
|
+
:'merchant_guid',
|
149
150
|
:'merchant_location_guid',
|
150
151
|
:'original_description',
|
151
152
|
:'type'
|