mx-platform-ruby 1.4.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/docs/AccountResponse.md +135 -7
- data/lib/mx-platform-ruby/models/account_response.rb +644 -4
- data/lib/mx-platform-ruby/version.rb +1 -1
- data/openapi/config.yml +1 -1
- data/spec/models/account_response_spec.rb +384 -0
- 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: 034ce844736ec870884043bede9cf065758af5fe3d5921a7f51369353e7ac08d
|
4
|
+
data.tar.gz: ee42073d1764adb88f5e17551ae42eb6fc05ad44e4bcb73b5dc9c4144d17c4e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a966a93a0591dc8602d7fd2259b7944fa312426d16331a92d24da102df8ed701d62d9658d444283b8bf34672cd5641cceba24213240408396fb9b00a62e5114
|
7
|
+
data.tar.gz: e09d52e1fac40ca8ff25adb5b63779a71c0b74c8872648a4f639b032e0b88509a334faabed62617960e44a826616d7f78870c1a9e6c8a80e832833798c675046
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
mx-platform-ruby (1.
|
4
|
+
mx-platform-ruby (1.5.0)
|
5
5
|
faraday (>= 1.0.1, < 3.0)
|
6
6
|
faraday-multipart
|
7
7
|
marcel
|
@@ -19,7 +19,7 @@ GEM
|
|
19
19
|
base64
|
20
20
|
faraday-net_http (>= 2.0, < 3.1)
|
21
21
|
ruby2_keywords (>= 0.0.4)
|
22
|
-
faraday-multipart (1.1.
|
22
|
+
faraday-multipart (1.1.1)
|
23
23
|
multipart-post (~> 2.0)
|
24
24
|
faraday-net_http (3.0.2)
|
25
25
|
jaro_winkler (1.5.6)
|
data/docs/AccountResponse.md
CHANGED
@@ -5,61 +5,125 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **account_number** | **String** | | [optional] |
|
8
|
+
| **account_number_set_by** | **Integer** | | [optional] |
|
8
9
|
| **account_ownership** | **String** | | [optional] |
|
9
10
|
| **annuity_policy_to_date** | **String** | | [optional] |
|
10
11
|
| **annuity_provider** | **String** | | [optional] |
|
11
|
-
| **annuity_term_year** | **
|
12
|
+
| **annuity_term_year** | **Integer** | | [optional] |
|
12
13
|
| **apr** | **Float** | | [optional] |
|
14
|
+
| **apr_set_by** | **Integer** | | [optional] |
|
13
15
|
| **apy** | **Float** | | [optional] |
|
16
|
+
| **apy_set_by** | **Integer** | | [optional] |
|
14
17
|
| **available_balance** | **Float** | | [optional] |
|
18
|
+
| **available_balance_set_by** | **Integer** | | [optional] |
|
15
19
|
| **available_credit** | **Float** | | [optional] |
|
20
|
+
| **available_credit_set_by** | **Integer** | | [optional] |
|
16
21
|
| **balance** | **Float** | | [optional] |
|
22
|
+
| **balance_set_by** | **Integer** | | [optional] |
|
23
|
+
| **calculated_apr** | **Float** | | [optional] |
|
17
24
|
| **cash_balance** | **Float** | | [optional] |
|
25
|
+
| **cash_balance_set_by** | **Integer** | | [optional] |
|
18
26
|
| **cash_surrender_value** | **Float** | | [optional] |
|
27
|
+
| **cash_surrender_value_set_by** | **Integer** | | [optional] |
|
19
28
|
| **created_at** | **String** | | [optional] |
|
20
29
|
| **credit_limit** | **Float** | | [optional] |
|
30
|
+
| **credit_limit_set_by** | **Integer** | | [optional] |
|
21
31
|
| **currency_code** | **String** | | [optional] |
|
32
|
+
| **currency_code_set_by** | **Integer** | | [optional] |
|
22
33
|
| **day_payment_is_due** | **Integer** | | [optional] |
|
34
|
+
| **day_payment_is_due_set_by** | **Integer** | | [optional] |
|
23
35
|
| **death_benefit** | **Integer** | | [optional] |
|
36
|
+
| **death_benefit_set_by** | **Integer** | | [optional] |
|
24
37
|
| **federal_insurance_status** | **String** | | [optional] |
|
38
|
+
| **feed_account_number** | **String** | | [optional] |
|
39
|
+
| **feed_account_subtype** | **Integer** | | [optional] |
|
40
|
+
| **feed_account_type** | **Integer** | | [optional] |
|
41
|
+
| **feed_apr** | **Float** | | [optional] |
|
42
|
+
| **feed_apy** | **Float** | | [optional] |
|
43
|
+
| **feed_available_balance** | **Float** | | [optional] |
|
44
|
+
| **feed_balance** | **Float** | | [optional] |
|
45
|
+
| **feed_cash_balance** | **Float** | | [optional] |
|
46
|
+
| **feed_cash_surrender_value** | **Float** | | [optional] |
|
47
|
+
| **feed_credit_limit** | **Float** | | [optional] |
|
48
|
+
| **feed_currency_code** | **String** | | [optional] |
|
49
|
+
| **feed_day_payment_is_due** | **Integer** | | [optional] |
|
50
|
+
| **feed_death_benefit** | **Integer** | | [optional] |
|
51
|
+
| **feed_holdings_value** | **Float** | | [optional] |
|
52
|
+
| **feed_interest_rate** | **Float** | | [optional] |
|
53
|
+
| **feed_is_closed** | **Boolean** | | [optional] |
|
54
|
+
| **feed_last_payment** | **Float** | | [optional] |
|
55
|
+
| **feed_last_payment_at** | **String** | | [optional] |
|
56
|
+
| **feed_loan_amount** | **Float** | | [optional] |
|
57
|
+
| **feed_matures_on** | **String** | | [optional] |
|
58
|
+
| **feed_minimum_balance** | **Float** | | [optional] |
|
59
|
+
| **feed_minimum_payment** | **Float** | | [optional] |
|
60
|
+
| **feed_name** | **String** | | [optional] |
|
61
|
+
| **feed_nickname** | **String** | | [optional] |
|
62
|
+
| **feed_original_balance** | **Float** | | [optional] |
|
63
|
+
| **feed_payment_due_at** | **String** | | [optional] |
|
64
|
+
| **feed_payoff_balance** | **Float** | | [optional] |
|
65
|
+
| **feed_routing_number** | **String** | | [optional] |
|
66
|
+
| **feed_started_on** | **String** | | [optional] |
|
67
|
+
| **feed_statement_balance** | **Float** | | [optional] |
|
68
|
+
| **feed_total_account_value** | **Float** | | [optional] |
|
25
69
|
| **guid** | **String** | | [optional] |
|
26
70
|
| **holdings_value** | **Float** | | [optional] |
|
71
|
+
| **holdings_value_set_by** | **Integer** | | [optional] |
|
27
72
|
| **id** | **String** | | [optional] |
|
28
73
|
| **imported_at** | **String** | | [optional] |
|
29
74
|
| **institution_code** | **String** | | [optional] |
|
75
|
+
| **institution_guid** | **String** | | [optional] |
|
30
76
|
| **insured_name** | **String** | | [optional] |
|
31
77
|
| **interest_rate** | **Float** | | [optional] |
|
78
|
+
| **interest_rate_set_by** | **Integer** | | [optional] |
|
32
79
|
| **is_closed** | **Boolean** | | [optional] |
|
80
|
+
| **is_closed_set_by** | **Integer** | | [optional] |
|
33
81
|
| **is_hidden** | **Boolean** | | [optional] |
|
34
82
|
| **is_manual** | **Boolean** | | [optional] |
|
35
83
|
| **last_payment** | **Float** | | [optional] |
|
84
|
+
| **last_payment_set_by** | **Integer** | | [optional] |
|
36
85
|
| **last_payment_at** | **String** | | [optional] |
|
86
|
+
| **last_payment_at_set_by** | **Integer** | | [optional] |
|
37
87
|
| **loan_amount** | **Float** | | [optional] |
|
88
|
+
| **loan_amount_set_by** | **Integer** | | [optional] |
|
38
89
|
| **margin_balance** | **Float** | | [optional] |
|
39
90
|
| **matures_on** | **String** | | [optional] |
|
91
|
+
| **matures_on_set_by** | **Integer** | | [optional] |
|
40
92
|
| **member_guid** | **String** | | [optional] |
|
41
93
|
| **member_id** | **String** | | [optional] |
|
42
94
|
| **member_is_managed_by_user** | **Boolean** | | [optional] |
|
43
95
|
| **metadata** | **String** | | [optional] |
|
44
96
|
| **minimum_balance** | **Float** | | [optional] |
|
97
|
+
| **minimum_balance_set_by** | **Integer** | | [optional] |
|
45
98
|
| **minimum_payment** | **Float** | | [optional] |
|
99
|
+
| **minimum_payment_set_by** | **Integer** | | [optional] |
|
46
100
|
| **name** | **String** | | [optional] |
|
101
|
+
| **name_set_by** | **Integer** | | [optional] |
|
47
102
|
| **nickname** | **String** | | [optional] |
|
103
|
+
| **nickname_set_by** | **Integer** | | [optional] |
|
48
104
|
| **original_balance** | **Float** | | [optional] |
|
105
|
+
| **original_balance_set_by** | **Integer** | | [optional] |
|
49
106
|
| **pay_out_amount** | **Float** | | [optional] |
|
50
107
|
| **payment_due_at** | **String** | | [optional] |
|
108
|
+
| **payment_due_at_set_by** | **Integer** | | [optional] |
|
51
109
|
| **payoff_balance** | **Float** | | [optional] |
|
52
|
-
| **
|
53
|
-
| **
|
110
|
+
| **payoff_balance_set_by** | **Integer** | | [optional] |
|
111
|
+
| **premium_amount** | **String** | | [optional] |
|
112
|
+
| **property_type** | **Integer** | | [optional] |
|
54
113
|
| **routing_number** | **String** | | [optional] |
|
55
114
|
| **started_on** | **String** | | [optional] |
|
115
|
+
| **started_on_set_by** | **Integer** | | [optional] |
|
56
116
|
| **statement_balance** | **Float** | | [optional] |
|
117
|
+
| **statement_balance_set_by** | **Integer** | | [optional] |
|
57
118
|
| **subtype** | **String** | | [optional] |
|
119
|
+
| **subtype_set_by** | **Integer** | | [optional] |
|
58
120
|
| **today_ugl_amount** | **Float** | | [optional] |
|
59
121
|
| **today_ugl_percentage** | **Float** | | [optional] |
|
60
122
|
| **total_account_value** | **Float** | | [optional] |
|
123
|
+
| **total_account_value_set_by** | **Integer** | | [optional] |
|
61
124
|
| **total_account_value_ugl** | **Float** | | [optional] |
|
62
125
|
| **type** | **String** | | [optional] |
|
126
|
+
| **type_set_by** | **Integer** | | [optional] |
|
63
127
|
| **updated_at** | **String** | | [optional] |
|
64
128
|
| **user_guid** | **String** | | [optional] |
|
65
129
|
| **user_id** | **String** | | [optional] |
|
@@ -71,61 +135,125 @@ require 'mx-platform-ruby'
|
|
71
135
|
|
72
136
|
instance = MxPlatformRuby::AccountResponse.new(
|
73
137
|
account_number: 5366,
|
138
|
+
account_number_set_by: 1,
|
74
139
|
account_ownership: INDIVIDUAL,
|
75
140
|
annuity_policy_to_date: 2016-10-13T17:57:37.000Z,
|
76
141
|
annuity_provider: Metlife,
|
77
142
|
annuity_term_year: 2048,
|
78
143
|
apr: 1.0,
|
144
|
+
apr_set_by: 1,
|
79
145
|
apy: 1.0,
|
146
|
+
apy_set_by: 1,
|
80
147
|
available_balance: 1000.0,
|
148
|
+
available_balance_set_by: 1,
|
81
149
|
available_credit: 1000.0,
|
150
|
+
available_credit_set_by: 1,
|
82
151
|
balance: 10000.0,
|
152
|
+
balance_set_by: 1,
|
153
|
+
calculated_apr: 21.66409,
|
83
154
|
cash_balance: 1000.0,
|
155
|
+
cash_balance_set_by: 1,
|
84
156
|
cash_surrender_value: 1000.0,
|
157
|
+
cash_surrender_value_set_by: 1,
|
85
158
|
created_at: 2023-07-25T17:14:46Z,
|
86
159
|
credit_limit: 100.0,
|
160
|
+
credit_limit_set_by: 1,
|
87
161
|
currency_code: USD,
|
162
|
+
currency_code_set_by: 1,
|
88
163
|
day_payment_is_due: 20,
|
164
|
+
day_payment_is_due_set_by: 1,
|
89
165
|
death_benefit: 1000,
|
166
|
+
death_benefit_set_by: 1,
|
90
167
|
federal_insurance_status: INSURED,
|
168
|
+
feed_account_number: 5366,
|
169
|
+
feed_account_subtype: 1,
|
170
|
+
feed_account_type: 1,
|
171
|
+
feed_apr: 1.0,
|
172
|
+
feed_apy: 1.0,
|
173
|
+
feed_available_balance: 1000.0,
|
174
|
+
feed_balance: 1000.0,
|
175
|
+
feed_cash_balance: 1000.0,
|
176
|
+
feed_cash_surrender_value: 1000.0,
|
177
|
+
feed_credit_limit: 100.0,
|
178
|
+
feed_currency_code: USD,
|
179
|
+
feed_day_payment_is_due: 20,
|
180
|
+
feed_death_benefit: 1000,
|
181
|
+
feed_holdings_value: 1000.0,
|
182
|
+
feed_interest_rate: 1.0,
|
183
|
+
feed_is_closed: false,
|
184
|
+
feed_last_payment: 100.0,
|
185
|
+
feed_last_payment_at: 2023-07-25T17:14:46Z,
|
186
|
+
feed_loan_amount: 1000.0,
|
187
|
+
feed_matures_on: 2015-10-13T17:57:37.000Z,
|
188
|
+
feed_minimum_balance: 100.0,
|
189
|
+
feed_minimum_payment: 10.0,
|
190
|
+
feed_name: Test account 2,
|
191
|
+
feed_nickname: My Checking,
|
192
|
+
feed_original_balance: 10.0,
|
193
|
+
feed_payment_due_at: 2025-02-13T17:57:37.000Z,
|
194
|
+
feed_payoff_balance: 10.0,
|
195
|
+
feed_routing_number: 68899990000000,
|
196
|
+
feed_started_on: 2020-10-13T17:57:37.000Z,
|
197
|
+
feed_statement_balance: 100.0,
|
198
|
+
feed_total_account_value: 100.0,
|
91
199
|
guid: ACT-06d7f44b-caae-0f6e-1384-01f52e75dcb1,
|
92
200
|
holdings_value: 1000.0,
|
201
|
+
holdings_value_set_by: 1,
|
93
202
|
id: 1040434698,
|
94
203
|
imported_at: 2015-10-13T17:57:37.000Z,
|
95
204
|
institution_code: 3af3685e-05d9-7060-359f-008d0755e993,
|
205
|
+
institution_guid: INS-12a3b-4c5dd6-1349-008d0755e993,
|
96
206
|
insured_name: Tommy Shelby,
|
97
207
|
interest_rate: 1.0,
|
208
|
+
interest_rate_set_by: 1,
|
98
209
|
is_closed: false,
|
210
|
+
is_closed_set_by: 1,
|
99
211
|
is_hidden: false,
|
100
212
|
is_manual: false,
|
101
213
|
last_payment: 100.0,
|
214
|
+
last_payment_set_by: 1,
|
102
215
|
last_payment_at: 2023-07-25T17:14:46Z,
|
216
|
+
last_payment_at_set_by: 1,
|
103
217
|
loan_amount: 1000.0,
|
218
|
+
loan_amount_set_by: 1,
|
104
219
|
margin_balance: 1000.0,
|
105
220
|
matures_on: 2015-10-13T17:57:37.000Z,
|
221
|
+
matures_on_set_by: 1,
|
106
222
|
member_guid: MBR-7c6f361b-e582-15b6-60c0-358f12466b4b,
|
107
223
|
member_id: member123,
|
108
224
|
member_is_managed_by_user: false,
|
109
225
|
metadata: some metadata,
|
110
226
|
minimum_balance: 100.0,
|
227
|
+
minimum_balance_set_by: 1,
|
111
228
|
minimum_payment: 10.0,
|
229
|
+
minimum_payment_set_by: 1,
|
112
230
|
name: Test account 2,
|
231
|
+
name_set_by: 1,
|
113
232
|
nickname: My Checking,
|
233
|
+
nickname_set_by: 1,
|
114
234
|
original_balance: 10.0,
|
235
|
+
original_balance_set_by: 1,
|
115
236
|
pay_out_amount: 10.0,
|
116
237
|
payment_due_at: 2015-10-13T17:57:37.000Z,
|
238
|
+
payment_due_at_set_by: 1,
|
117
239
|
payoff_balance: 10.0,
|
118
|
-
|
119
|
-
|
240
|
+
payoff_balance_set_by: 1,
|
241
|
+
premium_amount: 3900,
|
242
|
+
property_type: 1,
|
120
243
|
routing_number: 68899990000000,
|
121
244
|
started_on: 2015-10-13T17:57:37.000Z,
|
122
|
-
|
245
|
+
started_on_set_by: 1,
|
246
|
+
statement_balance: 1000.5,
|
247
|
+
statement_balance_set_by: 1,
|
123
248
|
subtype: NONE,
|
249
|
+
subtype_set_by: 1,
|
124
250
|
today_ugl_amount: 1000.5,
|
125
251
|
today_ugl_percentage: 6.9,
|
126
252
|
total_account_value: 1.0,
|
127
|
-
|
253
|
+
total_account_value_set_by: 1,
|
254
|
+
total_account_value_ugl: 1.0,
|
128
255
|
type: SAVINGS,
|
256
|
+
type_set_by: 1,
|
129
257
|
updated_at: 2016-10-13T18:08:00.000Z,
|
130
258
|
user_guid: USR-fa7537f3-48aa-a683-a02a-b18940482f54,
|
131
259
|
user_id: user123
|