Skip to content

Commit f6e829e

Browse files
author
devexperience
committed
Generated version 0.20.0
This commit was automatically created by a GitHub Action to generate version 0.20.0 of this library.
1 parent 410b2c7 commit f6e829e

14 files changed

Lines changed: 374 additions & 63 deletions

docs/AccountCreateRequest.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
| Name | Type | Description | Notes |
66
| ---- | ---- | ----------- | ----- |
7-
| **account_subtype_name** | **String** | | [optional] |
8-
| **account_type** | **Integer** | | |
7+
| **account_subtype** | **String** | | [optional] |
8+
| **account_type** | **String** | | |
99
| **apr** | **Float** | | [optional] |
1010
| **apy** | **Float** | | [optional] |
1111
| **available_balance** | **Float** | | [optional] |
@@ -23,8 +23,7 @@
2323
| **name** | **String** | | |
2424
| **nickname** | **String** | | [optional] |
2525
| **original_balance** | **Float** | | [optional] |
26-
| **property_type** | **Integer** | | [optional] |
27-
| **property_type_name** | **String** | | [optional] |
26+
| **property_type** | **String** | | [optional] |
2827
| **skip_webhook** | **Boolean** | | [optional] |
2928

3029
## Example
@@ -33,8 +32,8 @@
3332
require 'mx-platform-ruby'
3433

3534
instance = MxPlatformRuby::AccountCreateRequest.new(
36-
account_subtype_name: PERSONAL,
37-
account_type: 2,
35+
account_subtype: PERSONAL,
36+
account_type: SAVINGS,
3837
apr: 1.0,
3938
apy: 1.0,
4039
available_balance: 1000.0,
@@ -52,9 +51,8 @@ instance = MxPlatformRuby::AccountCreateRequest.new(
5251
name: Test account 2,
5352
nickname: Swiss Account,
5453
original_balance: 10.0,
55-
property_type: 1,
56-
property_type_name: VEHICLE,
57-
skip_webhook: false
54+
property_type: VEHICLE,
55+
skip_webhook: true
5856
)
5957
```
6058

docs/AccountResponse.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@
4949
| **payment_due_at** | **String** | | [optional] |
5050
| **payoff_balance** | **Float** | | [optional] |
5151
| **premium_amount** | **Float** | | [optional] |
52-
| **property_type** | **Integer** | | [optional] |
53-
| **property_type_name** | **String** | | [optional] |
52+
| **property_type** | **String** | | [optional] |
5453
| **routing_number** | **String** | | [optional] |
5554
| **started_on** | **String** | | [optional] |
5655
| **subtype** | **String** | | [optional] |
@@ -113,8 +112,7 @@ instance = MxPlatformRuby::AccountResponse.new(
113112
payment_due_at: 2015-10-13T17:57:37.000Z,
114113
payoff_balance: 10.0,
115114
premium_amount: 1.0,
116-
property_type: 1,
117-
property_type_name: VEHICLE,
115+
property_type: VEHICLE,
118116
routing_number: 68899990000000,
119117
started_on: 2015-10-13T17:57:37.000Z,
120118
subtype: NONE,

docs/AccountUpdateRequest.md

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,55 @@
44

55
| Name | Type | Description | Notes |
66
| ---- | ---- | ----------- | ----- |
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] |
720
| **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] |
828

929
## Example
1030

1131
```ruby
1232
require 'mx-platform-ruby'
1333

1434
instance = MxPlatformRuby::AccountUpdateRequest.new(
15-
is_hidden: false
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
1656
)
1757
```
1858

docs/MxPlatformApi.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4630,6 +4630,7 @@ user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique id
46304630
opts = {
46314631
member_is_managed_by_user: true, # Boolean | List only accounts whose member is managed by the user.
46324632
page: 1, # Integer | Specify current page.
4633+
is_manual: true, # Boolean | List only accounts that were manually created.
46334634
records_per_page: 10 # Integer | Specify records per page.
46344635
}
46354636

@@ -4667,6 +4668,7 @@ end
46674668
| **user_guid** | **String** | The unique id for a `user`. | |
46684669
| **member_is_managed_by_user** | **Boolean** | List only accounts whose member is managed by the user. | [optional] |
46694670
| **page** | **Integer** | Specify current page. | [optional] |
4671+
| **is_manual** | **Boolean** | List only accounts that were manually created. | [optional] |
46704672
| **records_per_page** | **Integer** | Specify records per page. | [optional] |
46714673

46724674
### Return type

lib/mx-platform-ruby/api/mx_platform_api.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4355,6 +4355,7 @@ def list_transactions_by_tag_with_http_info(tag_guid, user_guid, opts = {})
43554355
# @param [Hash] opts the optional parameters
43564356
# @option opts [Boolean] :member_is_managed_by_user List only accounts whose member is managed by the user.
43574357
# @option opts [Integer] :page Specify current page.
4358+
# @option opts [Boolean] :is_manual List only accounts that were manually created.
43584359
# @option opts [Integer] :records_per_page Specify records per page.
43594360
# @return [AccountsResponseBody]
43604361
def list_user_accounts(user_guid, opts = {})
@@ -4368,6 +4369,7 @@ def list_user_accounts(user_guid, opts = {})
43684369
# @param [Hash] opts the optional parameters
43694370
# @option opts [Boolean] :member_is_managed_by_user List only accounts whose member is managed by the user.
43704371
# @option opts [Integer] :page Specify current page.
4372+
# @option opts [Boolean] :is_manual List only accounts that were manually created.
43714373
# @option opts [Integer] :records_per_page Specify records per page.
43724374
# @return [Array<(AccountsResponseBody, Integer, Hash)>] AccountsResponseBody data, response status code and response headers
43734375
def list_user_accounts_with_http_info(user_guid, opts = {})
@@ -4385,6 +4387,7 @@ def list_user_accounts_with_http_info(user_guid, opts = {})
43854387
query_params = opts[:query_params] || {}
43864388
query_params[:'member_is_managed_by_user'] = opts[:'member_is_managed_by_user'] if !opts[:'member_is_managed_by_user'].nil?
43874389
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
4390+
query_params[:'is_manual'] = opts[:'is_manual'] if !opts[:'is_manual'].nil?
43884391
query_params[:'records_per_page'] = opts[:'records_per_page'] if !opts[:'records_per_page'].nil?
43894392

43904393
# header parameters

lib/mx-platform-ruby/models/account_create_request.rb

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
module MxPlatformRuby
1717
class AccountCreateRequest
18-
attr_accessor :account_subtype_name
18+
attr_accessor :account_subtype
1919

2020
attr_accessor :account_type
2121

@@ -55,14 +55,12 @@ class AccountCreateRequest
5555

5656
attr_accessor :property_type
5757

58-
attr_accessor :property_type_name
59-
6058
attr_accessor :skip_webhook
6159

6260
# Attribute mapping from ruby-style variable name to JSON key.
6361
def self.attribute_map
6462
{
65-
:'account_subtype_name' => :'account_subtype_name',
63+
:'account_subtype' => :'account_subtype',
6664
:'account_type' => :'account_type',
6765
:'apr' => :'apr',
6866
:'apy' => :'apy',
@@ -82,7 +80,6 @@ def self.attribute_map
8280
:'nickname' => :'nickname',
8381
:'original_balance' => :'original_balance',
8482
:'property_type' => :'property_type',
85-
:'property_type_name' => :'property_type_name',
8683
:'skip_webhook' => :'skip_webhook'
8784
}
8885
end
@@ -95,8 +92,8 @@ def self.acceptable_attributes
9592
# Attribute type mapping.
9693
def self.openapi_types
9794
{
98-
:'account_subtype_name' => :'String',
99-
:'account_type' => :'Integer',
95+
:'account_subtype' => :'String',
96+
:'account_type' => :'String',
10097
:'apr' => :'Float',
10198
:'apy' => :'Float',
10299
:'available_balance' => :'Float',
@@ -114,8 +111,7 @@ def self.openapi_types
114111
:'name' => :'String',
115112
:'nickname' => :'String',
116113
:'original_balance' => :'Float',
117-
:'property_type' => :'Integer',
118-
:'property_type_name' => :'String',
114+
:'property_type' => :'String',
119115
:'skip_webhook' => :'Boolean'
120116
}
121117
end
@@ -141,8 +137,8 @@ def initialize(attributes = {})
141137
h[k.to_sym] = v
142138
}
143139

144-
if attributes.key?(:'account_subtype_name')
145-
self.account_subtype_name = attributes[:'account_subtype_name']
140+
if attributes.key?(:'account_subtype')
141+
self.account_subtype = attributes[:'account_subtype']
146142
end
147143

148144
if attributes.key?(:'account_type')
@@ -221,10 +217,6 @@ def initialize(attributes = {})
221217
self.property_type = attributes[:'property_type']
222218
end
223219

224-
if attributes.key?(:'property_type_name')
225-
self.property_type_name = attributes[:'property_type_name']
226-
end
227-
228220
if attributes.key?(:'skip_webhook')
229221
self.skip_webhook = attributes[:'skip_webhook']
230222
end
@@ -258,7 +250,7 @@ def valid?
258250
def ==(o)
259251
return true if self.equal?(o)
260252
self.class == o.class &&
261-
account_subtype_name == o.account_subtype_name &&
253+
account_subtype == o.account_subtype &&
262254
account_type == o.account_type &&
263255
apr == o.apr &&
264256
apy == o.apy &&
@@ -278,7 +270,6 @@ def ==(o)
278270
nickname == o.nickname &&
279271
original_balance == o.original_balance &&
280272
property_type == o.property_type &&
281-
property_type_name == o.property_type_name &&
282273
skip_webhook == o.skip_webhook
283274
end
284275

@@ -291,7 +282,7 @@ def eql?(o)
291282
# Calculates hash code according to all attributes.
292283
# @return [Integer] Hash code
293284
def hash
294-
[account_subtype_name, 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, property_type_name, skip_webhook].hash
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
295286
end
296287

297288
# Builds the object from hash

lib/mx-platform-ruby/models/account_response.rb

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,6 @@ class AccountResponse
107107

108108
attr_accessor :property_type
109109

110-
attr_accessor :property_type_name
111-
112110
attr_accessor :routing_number
113111

114112
attr_accessor :started_on
@@ -178,7 +176,6 @@ def self.attribute_map
178176
:'payoff_balance' => :'payoff_balance',
179177
:'premium_amount' => :'premium_amount',
180178
:'property_type' => :'property_type',
181-
:'property_type_name' => :'property_type_name',
182179
:'routing_number' => :'routing_number',
183180
:'started_on' => :'started_on',
184181
:'subtype' => :'subtype',
@@ -245,8 +242,7 @@ def self.openapi_types
245242
:'payment_due_at' => :'String',
246243
:'payoff_balance' => :'Float',
247244
:'premium_amount' => :'Float',
248-
:'property_type' => :'Integer',
249-
:'property_type_name' => :'String',
245+
:'property_type' => :'String',
250246
:'routing_number' => :'String',
251247
:'started_on' => :'String',
252248
:'subtype' => :'String',
@@ -308,7 +304,6 @@ def self.openapi_nullable
308304
:'payoff_balance',
309305
:'premium_amount',
310306
:'property_type',
311-
:'property_type_name',
312307
:'routing_number',
313308
:'started_on',
314309
:'subtype',
@@ -521,10 +516,6 @@ def initialize(attributes = {})
521516
self.property_type = attributes[:'property_type']
522517
end
523518

524-
if attributes.key?(:'property_type_name')
525-
self.property_type_name = attributes[:'property_type_name']
526-
end
527-
528519
if attributes.key?(:'routing_number')
529520
self.routing_number = attributes[:'routing_number']
530521
end
@@ -630,7 +621,6 @@ def ==(o)
630621
payoff_balance == o.payoff_balance &&
631622
premium_amount == o.premium_amount &&
632623
property_type == o.property_type &&
633-
property_type_name == o.property_type_name &&
634624
routing_number == o.routing_number &&
635625
started_on == o.started_on &&
636626
subtype == o.subtype &&
@@ -652,7 +642,7 @@ def eql?(o)
652642
# Calculates hash code according to all attributes.
653643
# @return [Integer] Hash code
654644
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, property_type_name, routing_number, started_on, subtype, today_ugl_amount, today_ugl_percentage, total_account_value, type, updated_at, user_guid, user_id].hash
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
656646
end
657647

658648
# Builds the object from hash

0 commit comments

Comments
 (0)