mx-platform-ruby 0.19.1 → 0.21.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/docs/AccountCreateRequest.md +7 -9
- data/docs/AccountResponse.md +2 -4
- data/docs/AccountUpdateRequest.md +41 -1
- data/docs/MemberCreateRequestBody.md +2 -0
- data/docs/MxPlatformApi.md +4 -0
- data/lib/mx-platform-ruby/api/mx_platform_api.rb +6 -0
- data/lib/mx-platform-ruby/models/account_create_request.rb +9 -18
- data/lib/mx-platform-ruby/models/account_response.rb +2 -12
- data/lib/mx-platform-ruby/models/account_update_request.rb +184 -4
- data/lib/mx-platform-ruby/models/member_create_request_body.rb +10 -1
- data/lib/mx-platform-ruby/version.rb +1 -1
- data/openapi/config.yml +1 -1
- data/spec/api/mx_platform_api_spec.rb +2 -0
- data/spec/models/account_create_request_spec.rb +1 -7
- data/spec/models/account_response_spec.rb +0 -6
- data/spec/models/account_update_request_spec.rb +120 -0
- data/spec/models/member_create_request_body_spec.rb +6 -0
- metadata +112 -113
- data/Gemfile.lock +0 -92
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ccc70e5631087d137cffa27362c3a4161702ba8e8cff999a57ebd5576153cd15
|
4
|
+
data.tar.gz: 46bc91f2abe980ddcdc68e0880ab0f0791135beca1f481d42f5833adfc3c0bc1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fbb16143d16dfc97c5d3f07f8af5b9d5ace73cfe87716b5f1351777af5240177e0f855272b2dfa9561d413cfdd7302bd77a3627a37c8e0f410942d51c1525481
|
7
|
+
data.tar.gz: 5c1ee59a1bcfa6c314bc1efecd348c1ae887cbfb7f52799deb931b1d7b7d8ac57a3e8cf661589b7b61f5bc52defbcc34e9c32cdcc90bab1b26756f28c4763899
|
@@ -4,8 +4,8 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **
|
8
|
-
| **account_type** | **
|
7
|
+
| **account_subtype** | **String** | | [optional] |
|
8
|
+
| **account_type** | **String** | | |
|
9
9
|
| **apr** | **Float** | | [optional] |
|
10
10
|
| **apy** | **Float** | | [optional] |
|
11
11
|
| **available_balance** | **Float** | | [optional] |
|
@@ -23,8 +23,7 @@
|
|
23
23
|
| **name** | **String** | | |
|
24
24
|
| **nickname** | **String** | | [optional] |
|
25
25
|
| **original_balance** | **Float** | | [optional] |
|
26
|
-
| **property_type** | **
|
27
|
-
| **property_type_name** | **String** | | [optional] |
|
26
|
+
| **property_type** | **String** | | [optional] |
|
28
27
|
| **skip_webhook** | **Boolean** | | [optional] |
|
29
28
|
|
30
29
|
## Example
|
@@ -33,8 +32,8 @@
|
|
33
32
|
require 'mx-platform-ruby'
|
34
33
|
|
35
34
|
instance = MxPlatformRuby::AccountCreateRequest.new(
|
36
|
-
|
37
|
-
account_type:
|
35
|
+
account_subtype: PERSONAL,
|
36
|
+
account_type: SAVINGS,
|
38
37
|
apr: 1.0,
|
39
38
|
apy: 1.0,
|
40
39
|
available_balance: 1000.0,
|
@@ -52,9 +51,8 @@ instance = MxPlatformRuby::AccountCreateRequest.new(
|
|
52
51
|
name: Test account 2,
|
53
52
|
nickname: Swiss Account,
|
54
53
|
original_balance: 10.0,
|
55
|
-
property_type:
|
56
|
-
|
57
|
-
skip_webhook: false
|
54
|
+
property_type: VEHICLE,
|
55
|
+
skip_webhook: true
|
58
56
|
)
|
59
57
|
```
|
60
58
|
|
data/docs/AccountResponse.md
CHANGED
@@ -49,8 +49,7 @@
|
|
49
49
|
| **payment_due_at** | **String** | | [optional] |
|
50
50
|
| **payoff_balance** | **Float** | | [optional] |
|
51
51
|
| **premium_amount** | **Float** | | [optional] |
|
52
|
-
| **property_type** | **
|
53
|
-
| **property_type_name** | **String** | | [optional] |
|
52
|
+
| **property_type** | **String** | | [optional] |
|
54
53
|
| **routing_number** | **String** | | [optional] |
|
55
54
|
| **started_on** | **String** | | [optional] |
|
56
55
|
| **subtype** | **String** | | [optional] |
|
@@ -113,8 +112,7 @@ instance = MxPlatformRuby::AccountResponse.new(
|
|
113
112
|
payment_due_at: 2015-10-13T17:57:37.000Z,
|
114
113
|
payoff_balance: 10.0,
|
115
114
|
premium_amount: 1.0,
|
116
|
-
property_type:
|
117
|
-
property_type_name: VEHICLE,
|
115
|
+
property_type: VEHICLE,
|
118
116
|
routing_number: 68899990000000,
|
119
117
|
started_on: 2015-10-13T17:57:37.000Z,
|
120
118
|
subtype: NONE,
|
@@ -4,7 +4,27 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **account_subtype** | **String** | | [optional] |
|
8
|
+
| **account_type** | **String** | | [optional] |
|
9
|
+
| **apr** | **Float** | | [optional] |
|
10
|
+
| **apy** | **Float** | | [optional] |
|
11
|
+
| **available_balance** | **Float** | | [optional] |
|
12
|
+
| **balance** | **Float** | | [optional] |
|
13
|
+
| **cash_surrender_value** | **Float** | | [optional] |
|
14
|
+
| **credit_limit** | **Float** | | [optional] |
|
15
|
+
| **currency_code** | **String** | | [optional] |
|
16
|
+
| **death_benefit** | **Integer** | | [optional] |
|
17
|
+
| **interest_rate** | **Float** | | [optional] |
|
18
|
+
| **is_business** | **Boolean** | | [optional] |
|
19
|
+
| **is_closed** | **Boolean** | | [optional] |
|
7
20
|
| **is_hidden** | **Boolean** | | [optional] |
|
21
|
+
| **loan_amount** | **Float** | | [optional] |
|
22
|
+
| **metadata** | **String** | | [optional] |
|
23
|
+
| **name** | **String** | | [optional] |
|
24
|
+
| **nickname** | **String** | | [optional] |
|
25
|
+
| **original_balance** | **Float** | | [optional] |
|
26
|
+
| **property_type** | **String** | | [optional] |
|
27
|
+
| **skip_webhook** | **Boolean** | | [optional] |
|
8
28
|
|
9
29
|
## Example
|
10
30
|
|
@@ -12,7 +32,27 @@
|
|
12
32
|
require 'mx-platform-ruby'
|
13
33
|
|
14
34
|
instance = MxPlatformRuby::AccountUpdateRequest.new(
|
15
|
-
|
35
|
+
account_subtype: PERSONAL,
|
36
|
+
account_type: SAVINGS,
|
37
|
+
apr: 1.0,
|
38
|
+
apy: 1.0,
|
39
|
+
available_balance: 1000.0,
|
40
|
+
balance: 1000.0,
|
41
|
+
cash_surrender_value: 1000.0,
|
42
|
+
credit_limit: 100.0,
|
43
|
+
currency_code: USD,
|
44
|
+
death_benefit: 1000,
|
45
|
+
interest_rate: 1.0,
|
46
|
+
is_business: false,
|
47
|
+
is_closed: false,
|
48
|
+
is_hidden: false,
|
49
|
+
loan_amount: 1000.0,
|
50
|
+
metadata: some metadata,
|
51
|
+
name: Test account 2,
|
52
|
+
nickname: Swiss Account,
|
53
|
+
original_balance: 10.0,
|
54
|
+
property_type: VEHICLE,
|
55
|
+
skip_webhook: true
|
16
56
|
)
|
17
57
|
```
|
18
58
|
|
@@ -5,6 +5,7 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **client_redirect_url** | **String** | | [optional] |
|
8
|
+
| **enable_app2app** | **Boolean** | | [optional] |
|
8
9
|
| **member** | [**MemberCreateRequest**](MemberCreateRequest.md) | | [optional] |
|
9
10
|
| **referral_source** | **String** | | [optional] |
|
10
11
|
| **ui_message_webview_url_scheme** | **String** | | [optional] |
|
@@ -16,6 +17,7 @@ require 'mx-platform-ruby'
|
|
16
17
|
|
17
18
|
instance = MxPlatformRuby::MemberCreateRequestBody.new(
|
18
19
|
client_redirect_url: https://mx.com,
|
20
|
+
enable_app2app: false,
|
19
21
|
member: null,
|
20
22
|
referral_source: APP,
|
21
23
|
ui_message_webview_url_scheme: mx
|
data/docs/MxPlatformApi.md
CHANGED
@@ -4630,6 +4630,7 @@ user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique id
|
|
4630
4630
|
opts = {
|
4631
4631
|
member_is_managed_by_user: true, # Boolean | List only accounts whose member is managed by the user.
|
4632
4632
|
page: 1, # Integer | Specify current page.
|
4633
|
+
is_manual: true, # Boolean | List only accounts that were manually created.
|
4633
4634
|
records_per_page: 10 # Integer | Specify records per page.
|
4634
4635
|
}
|
4635
4636
|
|
@@ -4667,6 +4668,7 @@ end
|
|
4667
4668
|
| **user_guid** | **String** | The unique id for a `user`. | |
|
4668
4669
|
| **member_is_managed_by_user** | **Boolean** | List only accounts whose member is managed by the user. | [optional] |
|
4669
4670
|
| **page** | **Integer** | Specify current page. | [optional] |
|
4671
|
+
| **is_manual** | **Boolean** | List only accounts that were manually created. | [optional] |
|
4670
4672
|
| **records_per_page** | **Integer** | Specify records per page. | [optional] |
|
4671
4673
|
|
4672
4674
|
### Return type
|
@@ -6372,6 +6374,7 @@ member_guid = 'MBR-7c6f361b-e582-15b6-60c0-358f12466b4b' # String | The unique i
|
|
6372
6374
|
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique id for a `user`.
|
6373
6375
|
opts = {
|
6374
6376
|
client_redirect_url: '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`.
|
6377
|
+
enable_app2app: 'false', # String | This indicates whether OAuth app2app behavior is enabled for institutions that support it. Defaults to `true`. This setting is not persistent.
|
6375
6378
|
referral_source: 'APP', # String | Must be either `BROWSER` or `APP` depending on the implementation. Defaults to `BROWSER`.
|
6376
6379
|
skip_aggregation: false, # Boolean | Setting this parameter to `true` will prevent the member from automatically aggregating after being redirected from the authorization page.
|
6377
6380
|
ui_message_webview_url_scheme: 'mx' # String | A scheme for routing the user back to the application state they were previously in. Only available with `referral_source=APP`.
|
@@ -6411,6 +6414,7 @@ end
|
|
6411
6414
|
| **member_guid** | **String** | The unique id for a `member`. | |
|
6412
6415
|
| **user_guid** | **String** | The unique id for a `user`. | |
|
6413
6416
|
| **client_redirect_url** | **String** | A URL that MX will redirect to at the end of OAuth with additional query parameters. Only available with `referral_source=APP`. | [optional] |
|
6417
|
+
| **enable_app2app** | **String** | This indicates whether OAuth app2app behavior is enabled for institutions that support it. Defaults to `true`. This setting is not persistent. | [optional] |
|
6414
6418
|
| **referral_source** | **String** | Must be either `BROWSER` or `APP` depending on the implementation. Defaults to `BROWSER`. | [optional] |
|
6415
6419
|
| **skip_aggregation** | **Boolean** | Setting this parameter to `true` will prevent the member from automatically aggregating after being redirected from the authorization page. | [optional] |
|
6416
6420
|
| **ui_message_webview_url_scheme** | **String** | A scheme for routing the user back to the application state they were previously in. Only available with `referral_source=APP`. | [optional] |
|
@@ -4355,6 +4355,7 @@ module MxPlatformRuby
|
|
4355
4355
|
# @param [Hash] opts the optional parameters
|
4356
4356
|
# @option opts [Boolean] :member_is_managed_by_user List only accounts whose member is managed by the user.
|
4357
4357
|
# @option opts [Integer] :page Specify current page.
|
4358
|
+
# @option opts [Boolean] :is_manual List only accounts that were manually created.
|
4358
4359
|
# @option opts [Integer] :records_per_page Specify records per page.
|
4359
4360
|
# @return [AccountsResponseBody]
|
4360
4361
|
def list_user_accounts(user_guid, opts = {})
|
@@ -4368,6 +4369,7 @@ module MxPlatformRuby
|
|
4368
4369
|
# @param [Hash] opts the optional parameters
|
4369
4370
|
# @option opts [Boolean] :member_is_managed_by_user List only accounts whose member is managed by the user.
|
4370
4371
|
# @option opts [Integer] :page Specify current page.
|
4372
|
+
# @option opts [Boolean] :is_manual List only accounts that were manually created.
|
4371
4373
|
# @option opts [Integer] :records_per_page Specify records per page.
|
4372
4374
|
# @return [Array<(AccountsResponseBody, Integer, Hash)>] AccountsResponseBody data, response status code and response headers
|
4373
4375
|
def list_user_accounts_with_http_info(user_guid, opts = {})
|
@@ -4385,6 +4387,7 @@ module MxPlatformRuby
|
|
4385
4387
|
query_params = opts[:query_params] || {}
|
4386
4388
|
query_params[:'member_is_managed_by_user'] = opts[:'member_is_managed_by_user'] if !opts[:'member_is_managed_by_user'].nil?
|
4387
4389
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
4390
|
+
query_params[:'is_manual'] = opts[:'is_manual'] if !opts[:'is_manual'].nil?
|
4388
4391
|
query_params[:'records_per_page'] = opts[:'records_per_page'] if !opts[:'records_per_page'].nil?
|
4389
4392
|
|
4390
4393
|
# header parameters
|
@@ -6027,6 +6030,7 @@ module MxPlatformRuby
|
|
6027
6030
|
# @param user_guid [String] The unique id for a `user`.
|
6028
6031
|
# @param [Hash] opts the optional parameters
|
6029
6032
|
# @option opts [String] :client_redirect_url A URL that MX will redirect to at the end of OAuth with additional query parameters. Only available with `referral_source=APP`.
|
6033
|
+
# @option opts [String] :enable_app2app This indicates whether OAuth app2app behavior is enabled for institutions that support it. Defaults to `true`. This setting is not persistent.
|
6030
6034
|
# @option opts [String] :referral_source Must be either `BROWSER` or `APP` depending on the implementation. Defaults to `BROWSER`.
|
6031
6035
|
# @option opts [Boolean] :skip_aggregation Setting this parameter to `true` will prevent the member from automatically aggregating after being redirected from the authorization page.
|
6032
6036
|
# @option opts [String] :ui_message_webview_url_scheme A scheme for routing the user back to the application state they were previously in. Only available with `referral_source=APP`.
|
@@ -6042,6 +6046,7 @@ module MxPlatformRuby
|
|
6042
6046
|
# @param user_guid [String] The unique id for a `user`.
|
6043
6047
|
# @param [Hash] opts the optional parameters
|
6044
6048
|
# @option opts [String] :client_redirect_url A URL that MX will redirect to at the end of OAuth with additional query parameters. Only available with `referral_source=APP`.
|
6049
|
+
# @option opts [String] :enable_app2app This indicates whether OAuth app2app behavior is enabled for institutions that support it. Defaults to `true`. This setting is not persistent.
|
6045
6050
|
# @option opts [String] :referral_source Must be either `BROWSER` or `APP` depending on the implementation. Defaults to `BROWSER`.
|
6046
6051
|
# @option opts [Boolean] :skip_aggregation Setting this parameter to `true` will prevent the member from automatically aggregating after being redirected from the authorization page.
|
6047
6052
|
# @option opts [String] :ui_message_webview_url_scheme A scheme for routing the user back to the application state they were previously in. Only available with `referral_source=APP`.
|
@@ -6064,6 +6069,7 @@ module MxPlatformRuby
|
|
6064
6069
|
# query parameters
|
6065
6070
|
query_params = opts[:query_params] || {}
|
6066
6071
|
query_params[:'client_redirect_url'] = opts[:'client_redirect_url'] if !opts[:'client_redirect_url'].nil?
|
6072
|
+
query_params[:'enable_app2app'] = opts[:'enable_app2app'] if !opts[:'enable_app2app'].nil?
|
6067
6073
|
query_params[:'referral_source'] = opts[:'referral_source'] if !opts[:'referral_source'].nil?
|
6068
6074
|
query_params[:'skip_aggregation'] = opts[:'skip_aggregation'] if !opts[:'skip_aggregation'].nil?
|
6069
6075
|
query_params[:'ui_message_webview_url_scheme'] = opts[:'ui_message_webview_url_scheme'] if !opts[:'ui_message_webview_url_scheme'].nil?
|
@@ -15,7 +15,7 @@ require 'time'
|
|
15
15
|
|
16
16
|
module MxPlatformRuby
|
17
17
|
class AccountCreateRequest
|
18
|
-
attr_accessor :
|
18
|
+
attr_accessor :account_subtype
|
19
19
|
|
20
20
|
attr_accessor :account_type
|
21
21
|
|
@@ -55,14 +55,12 @@ module MxPlatformRuby
|
|
55
55
|
|
56
56
|
attr_accessor :property_type
|
57
57
|
|
58
|
-
attr_accessor :property_type_name
|
59
|
-
|
60
58
|
attr_accessor :skip_webhook
|
61
59
|
|
62
60
|
# Attribute mapping from ruby-style variable name to JSON key.
|
63
61
|
def self.attribute_map
|
64
62
|
{
|
65
|
-
:'
|
63
|
+
:'account_subtype' => :'account_subtype',
|
66
64
|
:'account_type' => :'account_type',
|
67
65
|
:'apr' => :'apr',
|
68
66
|
:'apy' => :'apy',
|
@@ -82,7 +80,6 @@ module MxPlatformRuby
|
|
82
80
|
:'nickname' => :'nickname',
|
83
81
|
:'original_balance' => :'original_balance',
|
84
82
|
:'property_type' => :'property_type',
|
85
|
-
:'property_type_name' => :'property_type_name',
|
86
83
|
:'skip_webhook' => :'skip_webhook'
|
87
84
|
}
|
88
85
|
end
|
@@ -95,8 +92,8 @@ module MxPlatformRuby
|
|
95
92
|
# Attribute type mapping.
|
96
93
|
def self.openapi_types
|
97
94
|
{
|
98
|
-
:'
|
99
|
-
:'account_type' => :'
|
95
|
+
:'account_subtype' => :'String',
|
96
|
+
:'account_type' => :'String',
|
100
97
|
:'apr' => :'Float',
|
101
98
|
:'apy' => :'Float',
|
102
99
|
:'available_balance' => :'Float',
|
@@ -114,8 +111,7 @@ module MxPlatformRuby
|
|
114
111
|
:'name' => :'String',
|
115
112
|
:'nickname' => :'String',
|
116
113
|
:'original_balance' => :'Float',
|
117
|
-
:'property_type' => :'
|
118
|
-
:'property_type_name' => :'String',
|
114
|
+
:'property_type' => :'String',
|
119
115
|
:'skip_webhook' => :'Boolean'
|
120
116
|
}
|
121
117
|
end
|
@@ -141,8 +137,8 @@ module MxPlatformRuby
|
|
141
137
|
h[k.to_sym] = v
|
142
138
|
}
|
143
139
|
|
144
|
-
if attributes.key?(:'
|
145
|
-
self.
|
140
|
+
if attributes.key?(:'account_subtype')
|
141
|
+
self.account_subtype = attributes[:'account_subtype']
|
146
142
|
end
|
147
143
|
|
148
144
|
if attributes.key?(:'account_type')
|
@@ -221,10 +217,6 @@ module MxPlatformRuby
|
|
221
217
|
self.property_type = attributes[:'property_type']
|
222
218
|
end
|
223
219
|
|
224
|
-
if attributes.key?(:'property_type_name')
|
225
|
-
self.property_type_name = attributes[:'property_type_name']
|
226
|
-
end
|
227
|
-
|
228
220
|
if attributes.key?(:'skip_webhook')
|
229
221
|
self.skip_webhook = attributes[:'skip_webhook']
|
230
222
|
end
|
@@ -258,7 +250,7 @@ module MxPlatformRuby
|
|
258
250
|
def ==(o)
|
259
251
|
return true if self.equal?(o)
|
260
252
|
self.class == o.class &&
|
261
|
-
|
253
|
+
account_subtype == o.account_subtype &&
|
262
254
|
account_type == o.account_type &&
|
263
255
|
apr == o.apr &&
|
264
256
|
apy == o.apy &&
|
@@ -278,7 +270,6 @@ module MxPlatformRuby
|
|
278
270
|
nickname == o.nickname &&
|
279
271
|
original_balance == o.original_balance &&
|
280
272
|
property_type == o.property_type &&
|
281
|
-
property_type_name == o.property_type_name &&
|
282
273
|
skip_webhook == o.skip_webhook
|
283
274
|
end
|
284
275
|
|
@@ -291,7 +282,7 @@ module MxPlatformRuby
|
|
291
282
|
# Calculates hash code according to all attributes.
|
292
283
|
# @return [Integer] Hash code
|
293
284
|
def hash
|
294
|
-
[
|
285
|
+
[account_subtype, account_type, apr, apy, available_balance, balance, cash_surrender_value, credit_limit, currency_code, death_benefit, interest_rate, is_business, is_closed, is_hidden, loan_amount, metadata, name, nickname, original_balance, property_type, skip_webhook].hash
|
295
286
|
end
|
296
287
|
|
297
288
|
# Builds the object from hash
|
@@ -107,8 +107,6 @@ module MxPlatformRuby
|
|
107
107
|
|
108
108
|
attr_accessor :property_type
|
109
109
|
|
110
|
-
attr_accessor :property_type_name
|
111
|
-
|
112
110
|
attr_accessor :routing_number
|
113
111
|
|
114
112
|
attr_accessor :started_on
|
@@ -178,7 +176,6 @@ module MxPlatformRuby
|
|
178
176
|
:'payoff_balance' => :'payoff_balance',
|
179
177
|
:'premium_amount' => :'premium_amount',
|
180
178
|
:'property_type' => :'property_type',
|
181
|
-
:'property_type_name' => :'property_type_name',
|
182
179
|
:'routing_number' => :'routing_number',
|
183
180
|
:'started_on' => :'started_on',
|
184
181
|
:'subtype' => :'subtype',
|
@@ -245,8 +242,7 @@ module MxPlatformRuby
|
|
245
242
|
:'payment_due_at' => :'String',
|
246
243
|
:'payoff_balance' => :'Float',
|
247
244
|
:'premium_amount' => :'Float',
|
248
|
-
:'property_type' => :'
|
249
|
-
:'property_type_name' => :'String',
|
245
|
+
:'property_type' => :'String',
|
250
246
|
:'routing_number' => :'String',
|
251
247
|
:'started_on' => :'String',
|
252
248
|
:'subtype' => :'String',
|
@@ -308,7 +304,6 @@ module MxPlatformRuby
|
|
308
304
|
:'payoff_balance',
|
309
305
|
:'premium_amount',
|
310
306
|
:'property_type',
|
311
|
-
:'property_type_name',
|
312
307
|
:'routing_number',
|
313
308
|
:'started_on',
|
314
309
|
:'subtype',
|
@@ -521,10 +516,6 @@ module MxPlatformRuby
|
|
521
516
|
self.property_type = attributes[:'property_type']
|
522
517
|
end
|
523
518
|
|
524
|
-
if attributes.key?(:'property_type_name')
|
525
|
-
self.property_type_name = attributes[:'property_type_name']
|
526
|
-
end
|
527
|
-
|
528
519
|
if attributes.key?(:'routing_number')
|
529
520
|
self.routing_number = attributes[:'routing_number']
|
530
521
|
end
|
@@ -630,7 +621,6 @@ module MxPlatformRuby
|
|
630
621
|
payoff_balance == o.payoff_balance &&
|
631
622
|
premium_amount == o.premium_amount &&
|
632
623
|
property_type == o.property_type &&
|
633
|
-
property_type_name == o.property_type_name &&
|
634
624
|
routing_number == o.routing_number &&
|
635
625
|
started_on == o.started_on &&
|
636
626
|
subtype == o.subtype &&
|
@@ -652,7 +642,7 @@ module MxPlatformRuby
|
|
652
642
|
# Calculates hash code according to all attributes.
|
653
643
|
# @return [Integer] Hash code
|
654
644
|
def hash
|
655
|
-
[account_number, account_ownership, annuity_policy_to_date, annuity_provider, annuity_term_year, apr, apy, available_balance, available_credit, balance, cash_balance, cash_surrender_value, created_at, credit_limit, currency_code, day_payment_is_due, death_benefit, guid, holdings_value, id, imported_at, interest_rate, institution_code, insured_name, is_closed, is_hidden, is_manual, last_payment, last_payment_at, loan_amount, margin_balance, matures_on, member_guid, member_id, member_is_managed_by_user, metadata, minimum_balance, minimum_payment, name, nickname, original_balance, pay_out_amount, payment_due_at, payoff_balance, premium_amount, property_type,
|
645
|
+
[account_number, account_ownership, annuity_policy_to_date, annuity_provider, annuity_term_year, apr, apy, available_balance, available_credit, balance, cash_balance, cash_surrender_value, created_at, credit_limit, currency_code, day_payment_is_due, death_benefit, guid, holdings_value, id, imported_at, interest_rate, institution_code, insured_name, is_closed, is_hidden, is_manual, last_payment, last_payment_at, loan_amount, margin_balance, matures_on, member_guid, member_id, member_is_managed_by_user, metadata, minimum_balance, minimum_payment, name, nickname, original_balance, pay_out_amount, payment_due_at, payoff_balance, premium_amount, property_type, routing_number, started_on, subtype, today_ugl_amount, today_ugl_percentage, total_account_value, type, updated_at, user_guid, user_id].hash
|
656
646
|
end
|
657
647
|
|
658
648
|
# Builds the object from hash
|
@@ -15,12 +15,72 @@ require 'time'
|
|
15
15
|
|
16
16
|
module MxPlatformRuby
|
17
17
|
class AccountUpdateRequest
|
18
|
+
attr_accessor :account_subtype
|
19
|
+
|
20
|
+
attr_accessor :account_type
|
21
|
+
|
22
|
+
attr_accessor :apr
|
23
|
+
|
24
|
+
attr_accessor :apy
|
25
|
+
|
26
|
+
attr_accessor :available_balance
|
27
|
+
|
28
|
+
attr_accessor :balance
|
29
|
+
|
30
|
+
attr_accessor :cash_surrender_value
|
31
|
+
|
32
|
+
attr_accessor :credit_limit
|
33
|
+
|
34
|
+
attr_accessor :currency_code
|
35
|
+
|
36
|
+
attr_accessor :death_benefit
|
37
|
+
|
38
|
+
attr_accessor :interest_rate
|
39
|
+
|
40
|
+
attr_accessor :is_business
|
41
|
+
|
42
|
+
attr_accessor :is_closed
|
43
|
+
|
18
44
|
attr_accessor :is_hidden
|
19
45
|
|
46
|
+
attr_accessor :loan_amount
|
47
|
+
|
48
|
+
attr_accessor :metadata
|
49
|
+
|
50
|
+
attr_accessor :name
|
51
|
+
|
52
|
+
attr_accessor :nickname
|
53
|
+
|
54
|
+
attr_accessor :original_balance
|
55
|
+
|
56
|
+
attr_accessor :property_type
|
57
|
+
|
58
|
+
attr_accessor :skip_webhook
|
59
|
+
|
20
60
|
# Attribute mapping from ruby-style variable name to JSON key.
|
21
61
|
def self.attribute_map
|
22
62
|
{
|
23
|
-
:'
|
63
|
+
:'account_subtype' => :'account_subtype',
|
64
|
+
:'account_type' => :'account_type',
|
65
|
+
:'apr' => :'apr',
|
66
|
+
:'apy' => :'apy',
|
67
|
+
:'available_balance' => :'available_balance',
|
68
|
+
:'balance' => :'balance',
|
69
|
+
:'cash_surrender_value' => :'cash_surrender_value',
|
70
|
+
:'credit_limit' => :'credit_limit',
|
71
|
+
:'currency_code' => :'currency_code',
|
72
|
+
:'death_benefit' => :'death_benefit',
|
73
|
+
:'interest_rate' => :'interest_rate',
|
74
|
+
:'is_business' => :'is_business',
|
75
|
+
:'is_closed' => :'is_closed',
|
76
|
+
:'is_hidden' => :'is_hidden',
|
77
|
+
:'loan_amount' => :'loan_amount',
|
78
|
+
:'metadata' => :'metadata',
|
79
|
+
:'name' => :'name',
|
80
|
+
:'nickname' => :'nickname',
|
81
|
+
:'original_balance' => :'original_balance',
|
82
|
+
:'property_type' => :'property_type',
|
83
|
+
:'skip_webhook' => :'skip_webhook'
|
24
84
|
}
|
25
85
|
end
|
26
86
|
|
@@ -32,7 +92,27 @@ module MxPlatformRuby
|
|
32
92
|
# Attribute type mapping.
|
33
93
|
def self.openapi_types
|
34
94
|
{
|
35
|
-
:'
|
95
|
+
:'account_subtype' => :'String',
|
96
|
+
:'account_type' => :'String',
|
97
|
+
:'apr' => :'Float',
|
98
|
+
:'apy' => :'Float',
|
99
|
+
:'available_balance' => :'Float',
|
100
|
+
:'balance' => :'Float',
|
101
|
+
:'cash_surrender_value' => :'Float',
|
102
|
+
:'credit_limit' => :'Float',
|
103
|
+
:'currency_code' => :'String',
|
104
|
+
:'death_benefit' => :'Integer',
|
105
|
+
:'interest_rate' => :'Float',
|
106
|
+
:'is_business' => :'Boolean',
|
107
|
+
:'is_closed' => :'Boolean',
|
108
|
+
:'is_hidden' => :'Boolean',
|
109
|
+
:'loan_amount' => :'Float',
|
110
|
+
:'metadata' => :'String',
|
111
|
+
:'name' => :'String',
|
112
|
+
:'nickname' => :'String',
|
113
|
+
:'original_balance' => :'Float',
|
114
|
+
:'property_type' => :'String',
|
115
|
+
:'skip_webhook' => :'Boolean'
|
36
116
|
}
|
37
117
|
end
|
38
118
|
|
@@ -57,9 +137,89 @@ module MxPlatformRuby
|
|
57
137
|
h[k.to_sym] = v
|
58
138
|
}
|
59
139
|
|
140
|
+
if attributes.key?(:'account_subtype')
|
141
|
+
self.account_subtype = attributes[:'account_subtype']
|
142
|
+
end
|
143
|
+
|
144
|
+
if attributes.key?(:'account_type')
|
145
|
+
self.account_type = attributes[:'account_type']
|
146
|
+
end
|
147
|
+
|
148
|
+
if attributes.key?(:'apr')
|
149
|
+
self.apr = attributes[:'apr']
|
150
|
+
end
|
151
|
+
|
152
|
+
if attributes.key?(:'apy')
|
153
|
+
self.apy = attributes[:'apy']
|
154
|
+
end
|
155
|
+
|
156
|
+
if attributes.key?(:'available_balance')
|
157
|
+
self.available_balance = attributes[:'available_balance']
|
158
|
+
end
|
159
|
+
|
160
|
+
if attributes.key?(:'balance')
|
161
|
+
self.balance = attributes[:'balance']
|
162
|
+
end
|
163
|
+
|
164
|
+
if attributes.key?(:'cash_surrender_value')
|
165
|
+
self.cash_surrender_value = attributes[:'cash_surrender_value']
|
166
|
+
end
|
167
|
+
|
168
|
+
if attributes.key?(:'credit_limit')
|
169
|
+
self.credit_limit = attributes[:'credit_limit']
|
170
|
+
end
|
171
|
+
|
172
|
+
if attributes.key?(:'currency_code')
|
173
|
+
self.currency_code = attributes[:'currency_code']
|
174
|
+
end
|
175
|
+
|
176
|
+
if attributes.key?(:'death_benefit')
|
177
|
+
self.death_benefit = attributes[:'death_benefit']
|
178
|
+
end
|
179
|
+
|
180
|
+
if attributes.key?(:'interest_rate')
|
181
|
+
self.interest_rate = attributes[:'interest_rate']
|
182
|
+
end
|
183
|
+
|
184
|
+
if attributes.key?(:'is_business')
|
185
|
+
self.is_business = attributes[:'is_business']
|
186
|
+
end
|
187
|
+
|
188
|
+
if attributes.key?(:'is_closed')
|
189
|
+
self.is_closed = attributes[:'is_closed']
|
190
|
+
end
|
191
|
+
|
60
192
|
if attributes.key?(:'is_hidden')
|
61
193
|
self.is_hidden = attributes[:'is_hidden']
|
62
194
|
end
|
195
|
+
|
196
|
+
if attributes.key?(:'loan_amount')
|
197
|
+
self.loan_amount = attributes[:'loan_amount']
|
198
|
+
end
|
199
|
+
|
200
|
+
if attributes.key?(:'metadata')
|
201
|
+
self.metadata = attributes[:'metadata']
|
202
|
+
end
|
203
|
+
|
204
|
+
if attributes.key?(:'name')
|
205
|
+
self.name = attributes[:'name']
|
206
|
+
end
|
207
|
+
|
208
|
+
if attributes.key?(:'nickname')
|
209
|
+
self.nickname = attributes[:'nickname']
|
210
|
+
end
|
211
|
+
|
212
|
+
if attributes.key?(:'original_balance')
|
213
|
+
self.original_balance = attributes[:'original_balance']
|
214
|
+
end
|
215
|
+
|
216
|
+
if attributes.key?(:'property_type')
|
217
|
+
self.property_type = attributes[:'property_type']
|
218
|
+
end
|
219
|
+
|
220
|
+
if attributes.key?(:'skip_webhook')
|
221
|
+
self.skip_webhook = attributes[:'skip_webhook']
|
222
|
+
end
|
63
223
|
end
|
64
224
|
|
65
225
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -80,7 +240,27 @@ module MxPlatformRuby
|
|
80
240
|
def ==(o)
|
81
241
|
return true if self.equal?(o)
|
82
242
|
self.class == o.class &&
|
83
|
-
|
243
|
+
account_subtype == o.account_subtype &&
|
244
|
+
account_type == o.account_type &&
|
245
|
+
apr == o.apr &&
|
246
|
+
apy == o.apy &&
|
247
|
+
available_balance == o.available_balance &&
|
248
|
+
balance == o.balance &&
|
249
|
+
cash_surrender_value == o.cash_surrender_value &&
|
250
|
+
credit_limit == o.credit_limit &&
|
251
|
+
currency_code == o.currency_code &&
|
252
|
+
death_benefit == o.death_benefit &&
|
253
|
+
interest_rate == o.interest_rate &&
|
254
|
+
is_business == o.is_business &&
|
255
|
+
is_closed == o.is_closed &&
|
256
|
+
is_hidden == o.is_hidden &&
|
257
|
+
loan_amount == o.loan_amount &&
|
258
|
+
metadata == o.metadata &&
|
259
|
+
name == o.name &&
|
260
|
+
nickname == o.nickname &&
|
261
|
+
original_balance == o.original_balance &&
|
262
|
+
property_type == o.property_type &&
|
263
|
+
skip_webhook == o.skip_webhook
|
84
264
|
end
|
85
265
|
|
86
266
|
# @see the `==` method
|
@@ -92,7 +272,7 @@ module MxPlatformRuby
|
|
92
272
|
# Calculates hash code according to all attributes.
|
93
273
|
# @return [Integer] Hash code
|
94
274
|
def hash
|
95
|
-
[is_hidden].hash
|
275
|
+
[account_subtype, account_type, apr, apy, available_balance, balance, cash_surrender_value, credit_limit, currency_code, death_benefit, interest_rate, is_business, is_closed, is_hidden, loan_amount, metadata, name, nickname, original_balance, property_type, skip_webhook].hash
|
96
276
|
end
|
97
277
|
|
98
278
|
# Builds the object from hash
|
@@ -17,6 +17,8 @@ module MxPlatformRuby
|
|
17
17
|
class MemberCreateRequestBody
|
18
18
|
attr_accessor :client_redirect_url
|
19
19
|
|
20
|
+
attr_accessor :enable_app2app
|
21
|
+
|
20
22
|
attr_accessor :member
|
21
23
|
|
22
24
|
attr_accessor :referral_source
|
@@ -27,6 +29,7 @@ module MxPlatformRuby
|
|
27
29
|
def self.attribute_map
|
28
30
|
{
|
29
31
|
:'client_redirect_url' => :'client_redirect_url',
|
32
|
+
:'enable_app2app' => :'enable_app2app',
|
30
33
|
:'member' => :'member',
|
31
34
|
:'referral_source' => :'referral_source',
|
32
35
|
:'ui_message_webview_url_scheme' => :'ui_message_webview_url_scheme'
|
@@ -42,6 +45,7 @@ module MxPlatformRuby
|
|
42
45
|
def self.openapi_types
|
43
46
|
{
|
44
47
|
:'client_redirect_url' => :'String',
|
48
|
+
:'enable_app2app' => :'Boolean',
|
45
49
|
:'member' => :'MemberCreateRequest',
|
46
50
|
:'referral_source' => :'String',
|
47
51
|
:'ui_message_webview_url_scheme' => :'String'
|
@@ -73,6 +77,10 @@ module MxPlatformRuby
|
|
73
77
|
self.client_redirect_url = attributes[:'client_redirect_url']
|
74
78
|
end
|
75
79
|
|
80
|
+
if attributes.key?(:'enable_app2app')
|
81
|
+
self.enable_app2app = attributes[:'enable_app2app']
|
82
|
+
end
|
83
|
+
|
76
84
|
if attributes.key?(:'member')
|
77
85
|
self.member = attributes[:'member']
|
78
86
|
end
|
@@ -105,6 +113,7 @@ module MxPlatformRuby
|
|
105
113
|
return true if self.equal?(o)
|
106
114
|
self.class == o.class &&
|
107
115
|
client_redirect_url == o.client_redirect_url &&
|
116
|
+
enable_app2app == o.enable_app2app &&
|
108
117
|
member == o.member &&
|
109
118
|
referral_source == o.referral_source &&
|
110
119
|
ui_message_webview_url_scheme == o.ui_message_webview_url_scheme
|
@@ -119,7 +128,7 @@ module MxPlatformRuby
|
|
119
128
|
# Calculates hash code according to all attributes.
|
120
129
|
# @return [Integer] Hash code
|
121
130
|
def hash
|
122
|
-
[client_redirect_url, member, referral_source, ui_message_webview_url_scheme].hash
|
131
|
+
[client_redirect_url, enable_app2app, member, referral_source, ui_message_webview_url_scheme].hash
|
123
132
|
end
|
124
133
|
|
125
134
|
# Builds the object from hash
|
data/openapi/config.yml
CHANGED
@@ -884,6 +884,7 @@ describe 'MxPlatformApi' do
|
|
884
884
|
# @param [Hash] opts the optional parameters
|
885
885
|
# @option opts [Boolean] :member_is_managed_by_user List only accounts whose member is managed by the user.
|
886
886
|
# @option opts [Integer] :page Specify current page.
|
887
|
+
# @option opts [Boolean] :is_manual List only accounts that were manually created.
|
887
888
|
# @option opts [Integer] :records_per_page Specify records per page.
|
888
889
|
# @return [AccountsResponseBody]
|
889
890
|
describe 'list_user_accounts test' do
|
@@ -1201,6 +1202,7 @@ describe 'MxPlatformApi' do
|
|
1201
1202
|
# @param user_guid The unique id for a `user`.
|
1202
1203
|
# @param [Hash] opts the optional parameters
|
1203
1204
|
# @option opts [String] :client_redirect_url A URL that MX will redirect to at the end of OAuth with additional query parameters. Only available with `referral_source=APP`.
|
1205
|
+
# @option opts [String] :enable_app2app This indicates whether OAuth app2app behavior is enabled for institutions that support it. Defaults to `true`. This setting is not persistent.
|
1204
1206
|
# @option opts [String] :referral_source Must be either `BROWSER` or `APP` depending on the implementation. Defaults to `BROWSER`.
|
1205
1207
|
# @option opts [Boolean] :skip_aggregation Setting this parameter to `true` will prevent the member from automatically aggregating after being redirected from the authorization page.
|
1206
1208
|
# @option opts [String] :ui_message_webview_url_scheme A scheme for routing the user back to the application state they were previously in. Only available with `referral_source=APP`.
|
@@ -25,7 +25,7 @@ describe MxPlatformRuby::AccountCreateRequest do
|
|
25
25
|
expect(instance).to be_instance_of(MxPlatformRuby::AccountCreateRequest)
|
26
26
|
end
|
27
27
|
end
|
28
|
-
describe 'test attribute "
|
28
|
+
describe 'test attribute "account_subtype"' do
|
29
29
|
it 'should work' do
|
30
30
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
31
|
end
|
@@ -145,12 +145,6 @@ describe MxPlatformRuby::AccountCreateRequest do
|
|
145
145
|
end
|
146
146
|
end
|
147
147
|
|
148
|
-
describe 'test attribute "property_type_name"' do
|
149
|
-
it 'should work' do
|
150
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
151
|
-
end
|
152
|
-
end
|
153
|
-
|
154
148
|
describe 'test attribute "skip_webhook"' do
|
155
149
|
it 'should work' do
|
156
150
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -301,12 +301,6 @@ describe MxPlatformRuby::AccountResponse do
|
|
301
301
|
end
|
302
302
|
end
|
303
303
|
|
304
|
-
describe 'test attribute "property_type_name"' do
|
305
|
-
it 'should work' do
|
306
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
307
|
-
end
|
308
|
-
end
|
309
|
-
|
310
304
|
describe 'test attribute "routing_number"' do
|
311
305
|
it 'should work' do
|
312
306
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -25,10 +25,130 @@ describe MxPlatformRuby::AccountUpdateRequest do
|
|
25
25
|
expect(instance).to be_instance_of(MxPlatformRuby::AccountUpdateRequest)
|
26
26
|
end
|
27
27
|
end
|
28
|
+
describe 'test attribute "account_subtype"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'test attribute "account_type"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
describe 'test attribute "apr"' do
|
41
|
+
it 'should work' do
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
describe 'test attribute "apy"' do
|
47
|
+
it 'should work' do
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
describe 'test attribute "available_balance"' do
|
53
|
+
it 'should work' do
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
describe 'test attribute "balance"' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
describe 'test attribute "cash_surrender_value"' do
|
65
|
+
it 'should work' do
|
66
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
describe 'test attribute "credit_limit"' do
|
71
|
+
it 'should work' do
|
72
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
describe 'test attribute "currency_code"' do
|
77
|
+
it 'should work' do
|
78
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
describe 'test attribute "death_benefit"' do
|
83
|
+
it 'should work' do
|
84
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
describe 'test attribute "interest_rate"' do
|
89
|
+
it 'should work' do
|
90
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
describe 'test attribute "is_business"' do
|
95
|
+
it 'should work' do
|
96
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
100
|
+
describe 'test attribute "is_closed"' do
|
101
|
+
it 'should work' do
|
102
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
28
106
|
describe 'test attribute "is_hidden"' do
|
29
107
|
it 'should work' do
|
30
108
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
109
|
end
|
32
110
|
end
|
33
111
|
|
112
|
+
describe 'test attribute "loan_amount"' do
|
113
|
+
it 'should work' do
|
114
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
115
|
+
end
|
116
|
+
end
|
117
|
+
|
118
|
+
describe 'test attribute "metadata"' do
|
119
|
+
it 'should work' do
|
120
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
121
|
+
end
|
122
|
+
end
|
123
|
+
|
124
|
+
describe 'test attribute "name"' do
|
125
|
+
it 'should work' do
|
126
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
127
|
+
end
|
128
|
+
end
|
129
|
+
|
130
|
+
describe 'test attribute "nickname"' do
|
131
|
+
it 'should work' do
|
132
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
133
|
+
end
|
134
|
+
end
|
135
|
+
|
136
|
+
describe 'test attribute "original_balance"' do
|
137
|
+
it 'should work' do
|
138
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
139
|
+
end
|
140
|
+
end
|
141
|
+
|
142
|
+
describe 'test attribute "property_type"' do
|
143
|
+
it 'should work' do
|
144
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
145
|
+
end
|
146
|
+
end
|
147
|
+
|
148
|
+
describe 'test attribute "skip_webhook"' do
|
149
|
+
it 'should work' do
|
150
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
34
154
|
end
|
@@ -31,6 +31,12 @@ describe MxPlatformRuby::MemberCreateRequestBody do
|
|
31
31
|
end
|
32
32
|
end
|
33
33
|
|
34
|
+
describe 'test attribute "enable_app2app"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
34
40
|
describe 'test attribute "member"' do
|
35
41
|
it 'should work' do
|
36
42
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mx-platform-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.21.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- MX
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-08-
|
11
|
+
date: 2023-08-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -34,22 +34,22 @@ dependencies:
|
|
34
34
|
name: rspec
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
|
-
- - ">="
|
38
|
-
- !ruby/object:Gem::Version
|
39
|
-
version: 3.6.0
|
40
37
|
- - "~>"
|
41
38
|
- !ruby/object:Gem::Version
|
42
39
|
version: '3.6'
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: 3.6.0
|
43
43
|
type: :development
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
|
-
- - ">="
|
48
|
-
- !ruby/object:Gem::Version
|
49
|
-
version: 3.6.0
|
50
47
|
- - "~>"
|
51
48
|
- !ruby/object:Gem::Version
|
52
49
|
version: '3.6'
|
50
|
+
- - ">="
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: 3.6.0
|
53
53
|
description: A Ruby library for the MX Platform API.
|
54
54
|
email:
|
55
55
|
- devexperience@mx.com
|
@@ -58,7 +58,6 @@ extensions: []
|
|
58
58
|
extra_rdoc_files: []
|
59
59
|
files:
|
60
60
|
- Gemfile
|
61
|
-
- Gemfile.lock
|
62
61
|
- LICENSE
|
63
62
|
- README.md
|
64
63
|
- Rakefile
|
@@ -444,7 +443,7 @@ homepage: https://github.com/mxenabled/mx-platform-ruby
|
|
444
443
|
licenses:
|
445
444
|
- MIT
|
446
445
|
metadata: {}
|
447
|
-
post_install_message:
|
446
|
+
post_install_message:
|
448
447
|
rdoc_options: []
|
449
448
|
require_paths:
|
450
449
|
- lib
|
@@ -459,133 +458,133 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
459
458
|
- !ruby/object:Gem::Version
|
460
459
|
version: '0'
|
461
460
|
requirements: []
|
462
|
-
rubygems_version: 3.
|
463
|
-
signing_key:
|
461
|
+
rubygems_version: 3.2.3
|
462
|
+
signing_key:
|
464
463
|
specification_version: 4
|
465
464
|
summary: MX Platform API Ruby Gem
|
466
465
|
test_files:
|
467
466
|
- spec/api/mx_platform_api_spec.rb
|
468
467
|
- spec/api_client_spec.rb
|
469
468
|
- spec/configuration_spec.rb
|
470
|
-
- spec/models/
|
471
|
-
- spec/models/
|
472
|
-
- spec/models/
|
473
|
-
- spec/models/
|
474
|
-
- spec/models/
|
475
|
-
- spec/models/
|
476
|
-
- spec/models/
|
477
|
-
- spec/models/widget_request_body_spec.rb
|
469
|
+
- spec/models/user_response_body_spec.rb
|
470
|
+
- spec/models/tag_update_request_body_spec.rb
|
471
|
+
- spec/models/authorization_code_response_spec.rb
|
472
|
+
- spec/models/member_response_body_spec.rb
|
473
|
+
- spec/models/user_response_spec.rb
|
474
|
+
- spec/models/tag_create_request_body_spec.rb
|
475
|
+
- spec/models/holdings_response_body_spec.rb
|
478
476
|
- spec/models/member_status_response_body_spec.rb
|
479
|
-
- spec/models/
|
480
|
-
- spec/models/
|
477
|
+
- spec/models/authorization_code_request_spec.rb
|
478
|
+
- spec/models/account_owners_response_body_spec.rb
|
481
479
|
- spec/models/transaction_rule_response_spec.rb
|
482
|
-
- spec/models/
|
483
|
-
- spec/models/
|
484
|
-
- spec/models/
|
485
|
-
- spec/models/
|
486
|
-
- spec/models/
|
480
|
+
- spec/models/holding_response_spec.rb
|
481
|
+
- spec/models/tagging_create_request_spec.rb
|
482
|
+
- spec/models/payment_processor_authorization_code_response_body_spec.rb
|
483
|
+
- spec/models/enhance_transaction_response_spec.rb
|
484
|
+
- spec/models/user_update_request_spec.rb
|
487
485
|
- spec/models/merchant_location_response_spec.rb
|
488
|
-
- spec/models/
|
489
|
-
- spec/models/
|
490
|
-
- spec/models/
|
491
|
-
- spec/models/
|
486
|
+
- spec/models/transaction_response_body_spec.rb
|
487
|
+
- spec/models/enhance_transactions_response_body_spec.rb
|
488
|
+
- spec/models/credential_request_spec.rb
|
489
|
+
- spec/models/merchant_response_body_spec.rb
|
490
|
+
- spec/models/transaction_rule_response_body_spec.rb
|
491
|
+
- spec/models/widget_request_spec.rb
|
492
|
+
- spec/models/authorization_code_request_body_spec.rb
|
493
|
+
- spec/models/authorization_code_response_body_spec.rb
|
494
|
+
- spec/models/account_create_request_spec.rb
|
492
495
|
- spec/models/connect_widget_request_body_spec.rb
|
493
|
-
- spec/models/
|
494
|
-
- spec/models/
|
495
|
-
- spec/models/
|
496
|
-
- spec/models/
|
497
|
-
- spec/models/
|
498
|
-
- spec/models/managed_account_create_request_spec.rb
|
499
|
-
- spec/models/accounts_response_body_spec.rb
|
496
|
+
- spec/models/managed_transaction_update_request_spec.rb
|
497
|
+
- spec/models/transaction_rules_response_body_spec.rb
|
498
|
+
- spec/models/o_auth_window_response_body_spec.rb
|
499
|
+
- spec/models/category_response_spec.rb
|
500
|
+
- spec/models/widget_response_spec.rb
|
500
501
|
- spec/models/tax_document_response_body_spec.rb
|
501
|
-
- spec/models/
|
502
|
-
- spec/models/
|
503
|
-
- spec/models/
|
504
|
-
- spec/models/
|
505
|
-
- spec/models/
|
502
|
+
- spec/models/tag_create_request_spec.rb
|
503
|
+
- spec/models/enhance_transactions_request_body_spec.rb
|
504
|
+
- spec/models/statements_response_body_spec.rb
|
505
|
+
- spec/models/tag_response_spec.rb
|
506
|
+
- spec/models/managed_transaction_update_request_body_spec.rb
|
507
|
+
- spec/models/institution_response_spec.rb
|
506
508
|
- spec/models/managed_transaction_create_request_body_spec.rb
|
507
|
-
- spec/models/
|
509
|
+
- spec/models/merchant_location_response_body_spec.rb
|
510
|
+
- spec/models/members_response_body_spec.rb
|
511
|
+
- spec/models/tag_update_request_spec.rb
|
512
|
+
- spec/models/payment_processor_authorization_code_response_spec.rb
|
513
|
+
- spec/models/image_option_response_spec.rb
|
514
|
+
- spec/models/connect_widget_request_spec.rb
|
515
|
+
- spec/models/transactions_response_body_spec.rb
|
516
|
+
- spec/models/credential_response_spec.rb
|
517
|
+
- spec/models/managed_transaction_create_request_spec.rb
|
518
|
+
- spec/models/account_update_request_spec.rb
|
519
|
+
- spec/models/institution_response_body_spec.rb
|
520
|
+
- spec/models/payment_processor_authorization_code_request_spec.rb
|
521
|
+
- spec/models/institutions_response_body_spec.rb
|
522
|
+
- spec/models/managed_member_create_request_body_spec.rb
|
523
|
+
- spec/models/widget_response_body_spec.rb
|
524
|
+
- spec/models/managed_member_update_request_body_spec.rb
|
508
525
|
- spec/models/holding_response_body_spec.rb
|
526
|
+
- spec/models/merchants_response_body_spec.rb
|
527
|
+
- spec/models/user_create_request_spec.rb
|
528
|
+
- spec/models/member_resume_request_spec.rb
|
529
|
+
- spec/models/tagging_update_request_spec.rb
|
530
|
+
- spec/models/challenges_response_body_spec.rb
|
531
|
+
- spec/models/member_status_response_spec.rb
|
532
|
+
- spec/models/enhance_transactions_request_spec.rb
|
533
|
+
- spec/models/category_update_request_body_spec.rb
|
534
|
+
- spec/models/statement_response_spec.rb
|
535
|
+
- spec/models/category_create_request_body_spec.rb
|
536
|
+
- spec/models/merchant_response_spec.rb
|
537
|
+
- spec/models/account_numbers_response_body_spec.rb
|
538
|
+
- spec/models/pagination_response_spec.rb
|
539
|
+
- spec/models/credentials_response_body_spec.rb
|
540
|
+
- spec/models/member_update_request_body_spec.rb
|
541
|
+
- spec/models/member_create_request_body_spec.rb
|
542
|
+
- spec/models/category_update_request_spec.rb
|
543
|
+
- spec/models/managed_account_update_request_body_spec.rb
|
544
|
+
- spec/models/managed_account_create_request_body_spec.rb
|
545
|
+
- spec/models/managed_member_create_request_spec.rb
|
546
|
+
- spec/models/connect_widget_response_body_spec.rb
|
509
547
|
- spec/models/users_response_body_spec.rb
|
510
|
-
- spec/models/
|
548
|
+
- spec/models/tag_response_body_spec.rb
|
511
549
|
- spec/models/connect_widget_response_spec.rb
|
550
|
+
- spec/models/member_create_request_spec.rb
|
551
|
+
- spec/models/member_resume_request_body_spec.rb
|
552
|
+
- spec/models/transaction_response_spec.rb
|
553
|
+
- spec/models/widget_request_body_spec.rb
|
554
|
+
- spec/models/tax_documents_response_body_spec.rb
|
555
|
+
- spec/models/tagging_create_request_body_spec.rb
|
556
|
+
- spec/models/categories_response_body_spec.rb
|
557
|
+
- spec/models/tagging_update_request_body_spec.rb
|
558
|
+
- spec/models/account_response_spec.rb
|
559
|
+
- spec/models/transaction_rule_create_request_body_spec.rb
|
512
560
|
- spec/models/transaction_rule_update_request_spec.rb
|
513
|
-
- spec/models/user_update_request_body_spec.rb
|
514
|
-
- spec/models/merchant_response_spec.rb
|
515
|
-
- spec/models/institution_response_body_spec.rb
|
516
|
-
- spec/models/category_create_request_spec.rb
|
517
|
-
- spec/models/credentials_response_body_spec.rb
|
518
|
-
- spec/models/widget_response_body_spec.rb
|
519
|
-
- spec/models/category_response_body_spec.rb
|
520
|
-
- spec/models/category_create_request_body_spec.rb
|
521
561
|
- spec/models/managed_account_update_request_spec.rb
|
522
|
-
- spec/models/
|
523
|
-
- spec/models/
|
524
|
-
- spec/models/o_auth_window_response_spec.rb
|
525
|
-
- spec/models/managed_transaction_update_request_body_spec.rb
|
526
|
-
- spec/models/managed_member_update_request_body_spec.rb
|
562
|
+
- spec/models/transaction_rule_update_request_body_spec.rb
|
563
|
+
- spec/models/statement_response_body_spec.rb
|
527
564
|
- spec/models/user_create_request_body_spec.rb
|
528
|
-
- spec/models/transaction_rules_response_body_spec.rb
|
529
|
-
- spec/models/managed_transaction_create_request_spec.rb
|
530
|
-
- spec/models/tagging_create_request_spec.rb
|
531
|
-
- spec/models/institutions_response_body_spec.rb
|
532
|
-
- spec/models/tag_update_request_spec.rb
|
533
565
|
- spec/models/challenge_response_spec.rb
|
534
|
-
- spec/models/
|
566
|
+
- spec/models/user_update_request_body_spec.rb
|
567
|
+
- spec/models/accounts_response_body_spec.rb
|
535
568
|
- spec/models/tagging_response_spec.rb
|
536
|
-
- spec/models/
|
537
|
-
- spec/models/
|
538
|
-
- spec/models/
|
539
|
-
- spec/models/merchant_response_body_spec.rb
|
540
|
-
- spec/models/transaction_rule_update_request_body_spec.rb
|
541
|
-
- spec/models/member_update_request_spec.rb
|
542
|
-
- spec/models/user_create_request_spec.rb
|
543
|
-
- spec/models/enhance_transactions_response_body_spec.rb
|
544
|
-
- spec/models/widget_request_spec.rb
|
545
|
-
- spec/models/account_owners_response_body_spec.rb
|
546
|
-
- spec/models/statements_response_body_spec.rb
|
547
|
-
- spec/models/taggings_response_body_spec.rb
|
548
|
-
- spec/models/account_update_request_spec.rb
|
549
|
-
- spec/models/authorization_code_request_body_spec.rb
|
550
|
-
- spec/models/pagination_response_spec.rb
|
551
|
-
- spec/models/members_response_body_spec.rb
|
552
|
-
- spec/models/tagging_update_request_spec.rb
|
553
|
-
- spec/models/image_option_response_spec.rb
|
554
|
-
- spec/models/enhance_transactions_request_spec.rb
|
569
|
+
- spec/models/managed_account_create_request_spec.rb
|
570
|
+
- spec/models/transaction_rule_create_request_spec.rb
|
571
|
+
- spec/models/tagging_response_body_spec.rb
|
555
572
|
- spec/models/transaction_update_request_spec.rb
|
573
|
+
- spec/models/member_response_spec.rb
|
574
|
+
- spec/models/transaction_update_request_body_spec.rb
|
556
575
|
- spec/models/tags_response_body_spec.rb
|
557
|
-
- spec/models/
|
558
|
-
- spec/models/
|
559
|
-
- spec/models/
|
576
|
+
- spec/models/account_owner_response_spec.rb
|
577
|
+
- spec/models/member_update_request_spec.rb
|
578
|
+
- spec/models/account_response_body_spec.rb
|
560
579
|
- spec/models/payment_processor_authorization_code_request_body_spec.rb
|
561
580
|
- spec/models/account_number_response_spec.rb
|
562
|
-
- spec/models/enhance_transaction_response_spec.rb
|
563
|
-
- spec/models/authorization_code_response_body_spec.rb
|
564
581
|
- spec/models/option_response_spec.rb
|
565
|
-
- spec/models/tagging_create_request_body_spec.rb
|
566
|
-
- spec/models/managed_account_update_request_body_spec.rb
|
567
|
-
- spec/models/tag_create_request_body_spec.rb
|
568
|
-
- spec/models/account_create_request_body_spec.rb
|
569
|
-
- spec/models/merchants_response_body_spec.rb
|
570
|
-
- spec/models/authorization_code_response_spec.rb
|
571
|
-
- spec/models/transaction_rule_create_request_body_spec.rb
|
572
|
-
- spec/models/category_response_spec.rb
|
573
|
-
- spec/models/member_response_spec.rb
|
574
|
-
- spec/models/account_update_request_body_spec.rb
|
575
|
-
- spec/models/transaction_rule_response_body_spec.rb
|
576
|
-
- spec/models/managed_member_create_request_body_spec.rb
|
577
|
-
- spec/models/user_response_spec.rb
|
578
|
-
- spec/models/credential_response_spec.rb
|
579
|
-
- spec/models/authorization_code_request_spec.rb
|
580
|
-
- spec/models/categories_response_body_spec.rb
|
581
|
-
- spec/models/managed_member_create_request_spec.rb
|
582
|
-
- spec/models/member_resume_request_body_spec.rb
|
583
|
-
- spec/models/user_response_body_spec.rb
|
584
|
-
- spec/models/managed_account_create_request_body_spec.rb
|
585
|
-
- spec/models/tagging_update_request_body_spec.rb
|
586
582
|
- spec/models/tax_document_response_spec.rb
|
587
|
-
- spec/models/
|
583
|
+
- spec/models/taggings_response_body_spec.rb
|
588
584
|
- spec/models/managed_member_update_request_spec.rb
|
589
|
-
- spec/models/
|
590
|
-
- spec/models/
|
585
|
+
- spec/models/category_create_request_spec.rb
|
586
|
+
- spec/models/account_create_request_body_spec.rb
|
587
|
+
- spec/models/o_auth_window_response_spec.rb
|
588
|
+
- spec/models/category_response_body_spec.rb
|
589
|
+
- spec/models/account_update_request_body_spec.rb
|
591
590
|
- spec/spec_helper.rb
|
data/Gemfile.lock
DELETED
@@ -1,92 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
mx-platform-ruby (0.19.1)
|
5
|
-
faraday (~> 1.0, >= 1.0.1)
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: https://rubygems.org/
|
9
|
-
specs:
|
10
|
-
ast (2.4.2)
|
11
|
-
byebug (11.1.3)
|
12
|
-
coderay (1.1.3)
|
13
|
-
diff-lcs (1.5.0)
|
14
|
-
faraday (1.10.3)
|
15
|
-
faraday-em_http (~> 1.0)
|
16
|
-
faraday-em_synchrony (~> 1.0)
|
17
|
-
faraday-excon (~> 1.1)
|
18
|
-
faraday-httpclient (~> 1.0)
|
19
|
-
faraday-multipart (~> 1.0)
|
20
|
-
faraday-net_http (~> 1.0)
|
21
|
-
faraday-net_http_persistent (~> 1.0)
|
22
|
-
faraday-patron (~> 1.0)
|
23
|
-
faraday-rack (~> 1.0)
|
24
|
-
faraday-retry (~> 1.0)
|
25
|
-
ruby2_keywords (>= 0.0.4)
|
26
|
-
faraday-em_http (1.0.0)
|
27
|
-
faraday-em_synchrony (1.0.0)
|
28
|
-
faraday-excon (1.1.0)
|
29
|
-
faraday-httpclient (1.0.1)
|
30
|
-
faraday-multipart (1.0.4)
|
31
|
-
multipart-post (~> 2)
|
32
|
-
faraday-net_http (1.0.1)
|
33
|
-
faraday-net_http_persistent (1.2.0)
|
34
|
-
faraday-patron (1.0.0)
|
35
|
-
faraday-rack (1.0.0)
|
36
|
-
faraday-retry (1.0.3)
|
37
|
-
jaro_winkler (1.5.6)
|
38
|
-
method_source (1.0.0)
|
39
|
-
multipart-post (2.3.0)
|
40
|
-
parallel (1.23.0)
|
41
|
-
parser (3.2.2.3)
|
42
|
-
ast (~> 2.4.1)
|
43
|
-
racc
|
44
|
-
pry (0.13.1)
|
45
|
-
coderay (~> 1.1)
|
46
|
-
method_source (~> 1.0)
|
47
|
-
pry-byebug (3.9.0)
|
48
|
-
byebug (~> 11.0)
|
49
|
-
pry (~> 0.13.0)
|
50
|
-
psych (5.1.0)
|
51
|
-
stringio
|
52
|
-
racc (1.7.1)
|
53
|
-
rainbow (3.1.1)
|
54
|
-
rake (13.0.6)
|
55
|
-
rspec (3.12.0)
|
56
|
-
rspec-core (~> 3.12.0)
|
57
|
-
rspec-expectations (~> 3.12.0)
|
58
|
-
rspec-mocks (~> 3.12.0)
|
59
|
-
rspec-core (3.12.2)
|
60
|
-
rspec-support (~> 3.12.0)
|
61
|
-
rspec-expectations (3.12.3)
|
62
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
63
|
-
rspec-support (~> 3.12.0)
|
64
|
-
rspec-mocks (3.12.6)
|
65
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
66
|
-
rspec-support (~> 3.12.0)
|
67
|
-
rspec-support (3.12.1)
|
68
|
-
rubocop (0.66.0)
|
69
|
-
jaro_winkler (~> 1.5.1)
|
70
|
-
parallel (~> 1.10)
|
71
|
-
parser (>= 2.5, != 2.5.1.1)
|
72
|
-
psych (>= 3.1.0)
|
73
|
-
rainbow (>= 2.2.2, < 4.0)
|
74
|
-
ruby-progressbar (~> 1.7)
|
75
|
-
unicode-display_width (>= 1.4.0, < 1.6)
|
76
|
-
ruby-progressbar (1.13.0)
|
77
|
-
ruby2_keywords (0.0.5)
|
78
|
-
stringio (3.0.6)
|
79
|
-
unicode-display_width (1.5.0)
|
80
|
-
|
81
|
-
PLATFORMS
|
82
|
-
x86_64-linux
|
83
|
-
|
84
|
-
DEPENDENCIES
|
85
|
-
mx-platform-ruby!
|
86
|
-
pry-byebug
|
87
|
-
rake (~> 13.0.1)
|
88
|
-
rspec (~> 3.6, >= 3.6.0)
|
89
|
-
rubocop (~> 0.66.0)
|
90
|
-
|
91
|
-
BUNDLED WITH
|
92
|
-
2.4.18
|