mx-platform-ruby 0.4.2 → 0.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.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +5 -5
  3. data/README.md +1 -1
  4. data/docs/AccountResponse.md +15 -1
  5. data/docs/ManagedAccountCreateRequest.md +78 -0
  6. data/docs/ManagedAccountCreateRequestBody.md +18 -0
  7. data/docs/ManagedAccountUpdateRequest.md +78 -0
  8. data/docs/ManagedAccountUpdateRequestBody.md +18 -0
  9. data/docs/ManagedMemberCreateRequest.md +24 -0
  10. data/docs/ManagedMemberCreateRequestBody.md +18 -0
  11. data/docs/ManagedMemberUpdateRequest.md +22 -0
  12. data/docs/ManagedMemberUpdateRequestBody.md +18 -0
  13. data/docs/ManagedTransactionCreateRequest.md +56 -0
  14. data/docs/ManagedTransactionCreateRequestBody.md +18 -0
  15. data/docs/ManagedTransactionUpdateRequest.md +56 -0
  16. data/docs/ManagedTransactionUpdateRequestBody.md +18 -0
  17. data/docs/MemberResponse.md +5 -1
  18. data/docs/MerchantLocationResponse.md +40 -0
  19. data/docs/MerchantLocationResponseBody.md +18 -0
  20. data/docs/MxPlatformApi.md +1397 -119
  21. data/docs/TransactionResponse.md +11 -1
  22. data/lib/mx-platform-ruby/api/mx_platform_api.rb +1379 -125
  23. data/lib/mx-platform-ruby/models/account_response.rb +67 -4
  24. data/lib/mx-platform-ruby/models/managed_account_create_request.rb +503 -0
  25. data/lib/mx-platform-ruby/models/managed_account_create_request_body.rb +218 -0
  26. data/lib/mx-platform-ruby/models/managed_account_update_request.rb +488 -0
  27. data/lib/mx-platform-ruby/models/managed_account_update_request_body.rb +218 -0
  28. data/lib/mx-platform-ruby/models/managed_member_create_request.rb +250 -0
  29. data/lib/mx-platform-ruby/models/managed_member_create_request_body.rb +218 -0
  30. data/lib/mx-platform-ruby/models/managed_member_update_request.rb +236 -0
  31. data/lib/mx-platform-ruby/models/managed_member_update_request_body.rb +218 -0
  32. data/lib/mx-platform-ruby/models/managed_transaction_create_request.rb +414 -0
  33. data/lib/mx-platform-ruby/models/managed_transaction_create_request_body.rb +218 -0
  34. data/lib/mx-platform-ruby/models/managed_transaction_update_request.rb +389 -0
  35. data/lib/mx-platform-ruby/models/managed_transaction_update_request_body.rb +218 -0
  36. data/lib/mx-platform-ruby/models/member_response.rb +22 -4
  37. data/lib/mx-platform-ruby/models/merchant_location_response.rb +317 -0
  38. data/lib/mx-platform-ruby/models/merchant_location_response_body.rb +218 -0
  39. data/lib/mx-platform-ruby/models/transaction_response.rb +49 -4
  40. data/lib/mx-platform-ruby/version.rb +1 -1
  41. data/lib/mx-platform-ruby.rb +14 -0
  42. data/openapi/config.yml +1 -1
  43. data/spec/api/mx_platform_api_spec.rb +237 -0
  44. data/spec/models/account_response_spec.rb +42 -0
  45. data/spec/models/managed_account_create_request_body_spec.rb +34 -0
  46. data/spec/models/managed_account_create_request_spec.rb +214 -0
  47. data/spec/models/managed_account_update_request_body_spec.rb +34 -0
  48. data/spec/models/managed_account_update_request_spec.rb +214 -0
  49. data/spec/models/managed_member_create_request_body_spec.rb +34 -0
  50. data/spec/models/managed_member_create_request_spec.rb +52 -0
  51. data/spec/models/managed_member_update_request_body_spec.rb +34 -0
  52. data/spec/models/managed_member_update_request_spec.rb +46 -0
  53. data/spec/models/managed_transaction_create_request_body_spec.rb +34 -0
  54. data/spec/models/managed_transaction_create_request_spec.rb +148 -0
  55. data/spec/models/managed_transaction_update_request_body_spec.rb +34 -0
  56. data/spec/models/managed_transaction_update_request_spec.rb +148 -0
  57. data/spec/models/member_response_spec.rb +12 -0
  58. data/spec/models/merchant_location_response_body_spec.rb +34 -0
  59. data/spec/models/merchant_location_response_spec.rb +100 -0
  60. data/spec/models/transaction_response_spec.rb +30 -0
  61. metadata +136 -80
@@ -17,6 +17,8 @@ module MxPlatformRuby
17
17
  class TransactionResponse
18
18
  attr_accessor :account_guid
19
19
 
20
+ attr_accessor :account_id
21
+
20
22
  attr_accessor :amount
21
23
 
22
24
  attr_accessor :category
@@ -65,12 +67,18 @@ module MxPlatformRuby
65
67
 
66
68
  attr_accessor :member_guid
67
69
 
70
+ attr_accessor :member_is_managed_by_user
71
+
68
72
  attr_accessor :memo
69
73
 
70
74
  attr_accessor :merchant_category_code
71
75
 
72
76
  attr_accessor :merchant_guid
73
77
 
78
+ attr_accessor :merchant_location_guid
79
+
80
+ attr_accessor :metadata
81
+
74
82
  attr_accessor :original_description
75
83
 
76
84
  attr_accessor :posted_at
@@ -87,10 +95,13 @@ module MxPlatformRuby
87
95
 
88
96
  attr_accessor :user_guid
89
97
 
98
+ attr_accessor :user_id
99
+
90
100
  # Attribute mapping from ruby-style variable name to JSON key.
91
101
  def self.attribute_map
92
102
  {
93
103
  :'account_guid' => :'account_guid',
104
+ :'account_id' => :'account_id',
94
105
  :'amount' => :'amount',
95
106
  :'category' => :'category',
96
107
  :'check_number_string' => :'check_number_string',
@@ -115,9 +126,12 @@ module MxPlatformRuby
115
126
  :'localized_memo' => :'localized_memo',
116
127
  :'longitude' => :'longitude',
117
128
  :'member_guid' => :'member_guid',
129
+ :'member_is_managed_by_user' => :'member_is_managed_by_user',
118
130
  :'memo' => :'memo',
119
131
  :'merchant_category_code' => :'merchant_category_code',
120
132
  :'merchant_guid' => :'merchant_guid',
133
+ :'merchant_location_guid' => :'merchant_location_guid',
134
+ :'metadata' => :'metadata',
121
135
  :'original_description' => :'original_description',
122
136
  :'posted_at' => :'posted_at',
123
137
  :'status' => :'status',
@@ -125,7 +139,8 @@ module MxPlatformRuby
125
139
  :'transacted_at' => :'transacted_at',
126
140
  :'type' => :'type',
127
141
  :'updated_at' => :'updated_at',
128
- :'user_guid' => :'user_guid'
142
+ :'user_guid' => :'user_guid',
143
+ :'user_id' => :'user_id'
129
144
  }
130
145
  end
131
146
 
@@ -138,6 +153,7 @@ module MxPlatformRuby
138
153
  def self.openapi_types
139
154
  {
140
155
  :'account_guid' => :'String',
156
+ :'account_id' => :'String',
141
157
  :'amount' => :'Float',
142
158
  :'category' => :'String',
143
159
  :'check_number_string' => :'String',
@@ -162,9 +178,12 @@ module MxPlatformRuby
162
178
  :'localized_memo' => :'String',
163
179
  :'longitude' => :'Float',
164
180
  :'member_guid' => :'String',
181
+ :'member_is_managed_by_user' => :'Boolean',
165
182
  :'memo' => :'String',
166
183
  :'merchant_category_code' => :'Integer',
167
184
  :'merchant_guid' => :'String',
185
+ :'merchant_location_guid' => :'String',
186
+ :'metadata' => :'String',
168
187
  :'original_description' => :'String',
169
188
  :'posted_at' => :'String',
170
189
  :'status' => :'String',
@@ -172,7 +191,8 @@ module MxPlatformRuby
172
191
  :'transacted_at' => :'String',
173
192
  :'type' => :'String',
174
193
  :'updated_at' => :'String',
175
- :'user_guid' => :'String'
194
+ :'user_guid' => :'String',
195
+ :'user_id' => :'String'
176
196
  }
177
197
  end
178
198
 
@@ -201,6 +221,10 @@ module MxPlatformRuby
201
221
  self.account_guid = attributes[:'account_guid']
202
222
  end
203
223
 
224
+ if attributes.key?(:'account_id')
225
+ self.account_id = attributes[:'account_id']
226
+ end
227
+
204
228
  if attributes.key?(:'amount')
205
229
  self.amount = attributes[:'amount']
206
230
  end
@@ -297,6 +321,10 @@ module MxPlatformRuby
297
321
  self.member_guid = attributes[:'member_guid']
298
322
  end
299
323
 
324
+ if attributes.key?(:'member_is_managed_by_user')
325
+ self.member_is_managed_by_user = attributes[:'member_is_managed_by_user']
326
+ end
327
+
300
328
  if attributes.key?(:'memo')
301
329
  self.memo = attributes[:'memo']
302
330
  end
@@ -309,6 +337,14 @@ module MxPlatformRuby
309
337
  self.merchant_guid = attributes[:'merchant_guid']
310
338
  end
311
339
 
340
+ if attributes.key?(:'merchant_location_guid')
341
+ self.merchant_location_guid = attributes[:'merchant_location_guid']
342
+ end
343
+
344
+ if attributes.key?(:'metadata')
345
+ self.metadata = attributes[:'metadata']
346
+ end
347
+
312
348
  if attributes.key?(:'original_description')
313
349
  self.original_description = attributes[:'original_description']
314
350
  end
@@ -340,6 +376,10 @@ module MxPlatformRuby
340
376
  if attributes.key?(:'user_guid')
341
377
  self.user_guid = attributes[:'user_guid']
342
378
  end
379
+
380
+ if attributes.key?(:'user_id')
381
+ self.user_id = attributes[:'user_id']
382
+ end
343
383
  end
344
384
 
345
385
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -361,6 +401,7 @@ module MxPlatformRuby
361
401
  return true if self.equal?(o)
362
402
  self.class == o.class &&
363
403
  account_guid == o.account_guid &&
404
+ account_id == o.account_id &&
364
405
  amount == o.amount &&
365
406
  category == o.category &&
366
407
  check_number_string == o.check_number_string &&
@@ -385,9 +426,12 @@ module MxPlatformRuby
385
426
  localized_memo == o.localized_memo &&
386
427
  longitude == o.longitude &&
387
428
  member_guid == o.member_guid &&
429
+ member_is_managed_by_user == o.member_is_managed_by_user &&
388
430
  memo == o.memo &&
389
431
  merchant_category_code == o.merchant_category_code &&
390
432
  merchant_guid == o.merchant_guid &&
433
+ merchant_location_guid == o.merchant_location_guid &&
434
+ metadata == o.metadata &&
391
435
  original_description == o.original_description &&
392
436
  posted_at == o.posted_at &&
393
437
  status == o.status &&
@@ -395,7 +439,8 @@ module MxPlatformRuby
395
439
  transacted_at == o.transacted_at &&
396
440
  type == o.type &&
397
441
  updated_at == o.updated_at &&
398
- user_guid == o.user_guid
442
+ user_guid == o.user_guid &&
443
+ user_id == o.user_id
399
444
  end
400
445
 
401
446
  # @see the `==` method
@@ -407,7 +452,7 @@ module MxPlatformRuby
407
452
  # Calculates hash code according to all attributes.
408
453
  # @return [Integer] Hash code
409
454
  def hash
410
- [account_guid, amount, category, check_number_string, created_at, currency_code, date, description, guid, id, is_bill_pay, is_direct_deposit, is_expense, is_fee, is_income, is_international, is_overdraft_fee, is_payroll_advance, is_recurring, is_subscription, latitude, localized_description, localized_memo, longitude, member_guid, memo, merchant_category_code, merchant_guid, original_description, posted_at, status, top_level_category, transacted_at, type, updated_at, user_guid].hash
455
+ [account_guid, account_id, amount, category, check_number_string, created_at, currency_code, date, description, guid, id, is_bill_pay, is_direct_deposit, is_expense, is_fee, is_income, is_international, is_overdraft_fee, is_payroll_advance, is_recurring, is_subscription, latitude, localized_description, localized_memo, longitude, member_guid, member_is_managed_by_user, memo, merchant_category_code, merchant_guid, merchant_location_guid, metadata, original_description, posted_at, status, top_level_category, transacted_at, type, updated_at, user_guid, user_id].hash
411
456
  end
412
457
 
413
458
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.2.1
11
11
  =end
12
12
 
13
13
  module MxPlatformRuby
14
- VERSION = '0.4.2'
14
+ VERSION = '0.5.0'
15
15
  end
@@ -53,6 +53,18 @@ require 'mx-platform-ruby/models/image_option_response'
53
53
  require 'mx-platform-ruby/models/institution_response'
54
54
  require 'mx-platform-ruby/models/institution_response_body'
55
55
  require 'mx-platform-ruby/models/institutions_response_body'
56
+ require 'mx-platform-ruby/models/managed_account_create_request'
57
+ require 'mx-platform-ruby/models/managed_account_create_request_body'
58
+ require 'mx-platform-ruby/models/managed_account_update_request'
59
+ require 'mx-platform-ruby/models/managed_account_update_request_body'
60
+ require 'mx-platform-ruby/models/managed_member_create_request'
61
+ require 'mx-platform-ruby/models/managed_member_create_request_body'
62
+ require 'mx-platform-ruby/models/managed_member_update_request'
63
+ require 'mx-platform-ruby/models/managed_member_update_request_body'
64
+ require 'mx-platform-ruby/models/managed_transaction_create_request'
65
+ require 'mx-platform-ruby/models/managed_transaction_create_request_body'
66
+ require 'mx-platform-ruby/models/managed_transaction_update_request'
67
+ require 'mx-platform-ruby/models/managed_transaction_update_request_body'
56
68
  require 'mx-platform-ruby/models/member_create_request'
57
69
  require 'mx-platform-ruby/models/member_create_request_body'
58
70
  require 'mx-platform-ruby/models/member_response'
@@ -64,6 +76,8 @@ require 'mx-platform-ruby/models/member_status_response_body'
64
76
  require 'mx-platform-ruby/models/member_update_request'
65
77
  require 'mx-platform-ruby/models/member_update_request_body'
66
78
  require 'mx-platform-ruby/models/members_response_body'
79
+ require 'mx-platform-ruby/models/merchant_location_response'
80
+ require 'mx-platform-ruby/models/merchant_location_response_body'
67
81
  require 'mx-platform-ruby/models/merchant_response'
68
82
  require 'mx-platform-ruby/models/merchant_response_body'
69
83
  require 'mx-platform-ruby/models/merchants_response_body'
data/openapi/config.yml CHANGED
@@ -6,6 +6,6 @@ gemHomepage: "https://github.com/mxenabled/mx-platform-ruby"
6
6
  gemLicense: "MIT"
7
7
  gemName: "mx-platform-ruby"
8
8
  gemRequiredRubyVersion: ">= 2.6"
9
- gemVersion: "0.4.2"
9
+ gemVersion: "0.5.0"
10
10
  library: "faraday"
11
11
  moduleName: "MxPlatformRuby"
@@ -71,6 +71,47 @@ describe 'MxPlatformApi' do
71
71
  end
72
72
  end
73
73
 
74
+ # unit tests for create_managed_account
75
+ # Create managed account
76
+ # Use this endpoint to create a partner-managed account.
77
+ # @param user_guid The unique id for a `user`.
78
+ # @param member_guid The unique id for a `member`.
79
+ # @param managed_account_create_request_body Managed account to be created.
80
+ # @param [Hash] opts the optional parameters
81
+ # @return [AccountResponseBody]
82
+ describe 'create_managed_account test' 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
+ # unit tests for create_managed_member
89
+ # Create managed member
90
+ # Use this endpoint to create a new partner-managed `member`.
91
+ # @param user_guid The unique id for a `user`.
92
+ # @param managed_member_create_request_body Managed member to be created.
93
+ # @param [Hash] opts the optional parameters
94
+ # @return [MemberResponseBody]
95
+ describe 'create_managed_member test' do
96
+ it 'should work' do
97
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
98
+ end
99
+ end
100
+
101
+ # unit tests for create_managed_transaction
102
+ # Create managed transaction
103
+ # Use this endpoint to create a new partner-managed `transaction`.
104
+ # @param user_guid The unique id for a `user`.
105
+ # @param member_guid The unique id for a `member`.
106
+ # @param managed_transaction_create_request_body Managed transaction to be created.
107
+ # @param [Hash] opts the optional parameters
108
+ # @return [TransactionResponseBody]
109
+ describe 'create_managed_transaction test' do
110
+ it 'should work' do
111
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
112
+ end
113
+ end
114
+
74
115
  # unit tests for create_member
75
116
  # Create member
76
117
  # This endpoint allows you to create a new member. Members are created with the required parameters credentials and institution_code, and the optional parameters id and metadata. When creating a member, youll need to include the correct type of credential required by the financial institution and provided by the user. You can find out which credential type is required with the `/institutions/{institution_code}/credentials` endpoint. If successful, the MX Platform API will respond with the newly-created member object. Once you successfully create a member, MX will immediately validate the provided credentials and attempt to aggregate data for accounts and transactions.
@@ -148,6 +189,47 @@ describe 'MxPlatformApi' do
148
189
  end
149
190
  end
150
191
 
192
+ # unit tests for delete_managed_account
193
+ # Delete managed account
194
+ # Use this endpoint to delete a partner-managed account according to its unique GUID. If successful, the API will respond with a status of `204 No Content`.
195
+ # @param member_guid The unique id for a `member`.
196
+ # @param user_guid The unique id for a `user`.
197
+ # @param account_guid The unique id for an `account`.
198
+ # @param [Hash] opts the optional parameters
199
+ # @return [nil]
200
+ describe 'delete_managed_account test' do
201
+ it 'should work' do
202
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
203
+ end
204
+ end
205
+
206
+ # unit tests for delete_managed_member
207
+ # Delete managed member
208
+ # Use this endpoint to delete the specified partner-managed `member`. The endpoint will respond with a status of `204 No Content` without a resource.
209
+ # @param member_guid The unique id for a `member`.
210
+ # @param user_guid The unique id for a `user`.
211
+ # @param [Hash] opts the optional parameters
212
+ # @return [nil]
213
+ describe 'delete_managed_member test' do
214
+ it 'should work' do
215
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
216
+ end
217
+ end
218
+
219
+ # unit tests for delete_managed_transaction
220
+ # Delete managed transaction
221
+ # Use this endpoint to delete the specified partner-managed `transaction`. The endpoint will respond with a status of `204 No Content` without a resource.
222
+ # @param member_guid The unique id for a `member`.
223
+ # @param user_guid The unique id for a `user`.
224
+ # @param transaction_guid The unique id for a `transaction`.
225
+ # @param [Hash] opts the optional parameters
226
+ # @return [nil]
227
+ describe 'delete_managed_transaction test' do
228
+ it 'should work' do
229
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
230
+ end
231
+ end
232
+
151
233
  # unit tests for delete_member
152
234
  # Delete member
153
235
  # Accessing this endpoint will permanently delete a member.
@@ -424,6 +506,63 @@ describe 'MxPlatformApi' do
424
506
  end
425
507
  end
426
508
 
509
+ # unit tests for list_managed_accounts
510
+ # List managed accounts
511
+ # Use this endpoint to retrieve a list of all the partner-managed accounts associated with the given partner-manage member.
512
+ # @param user_guid The unique id for a `user`.
513
+ # @param member_guid The unique id for a `member`.
514
+ # @param [Hash] opts the optional parameters
515
+ # @option opts [Integer] :page Specify current page.
516
+ # @option opts [Integer] :records_per_page Specify records per page.
517
+ # @return [AccountsResponseBody]
518
+ describe 'list_managed_accounts test' do
519
+ it 'should work' do
520
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
521
+ end
522
+ end
523
+
524
+ # unit tests for list_managed_institutions
525
+ # List managed institutions
526
+ # This endpoint returns a list of institutions which can be used to create partner-managed members.
527
+ # @param [Hash] opts the optional parameters
528
+ # @option opts [Integer] :page Specify current page.
529
+ # @option opts [Integer] :records_per_page Specify records per page.
530
+ # @return [InstitutionsResponseBody]
531
+ describe 'list_managed_institutions test' do
532
+ it 'should work' do
533
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
534
+ end
535
+ end
536
+
537
+ # unit tests for list_managed_members
538
+ # List managed members
539
+ # This endpoint returns a list of all the partner-managed members associated with the specified `user`.
540
+ # @param user_guid The unique id for a `user`.
541
+ # @param [Hash] opts the optional parameters
542
+ # @option opts [Integer] :page Specify current page.
543
+ # @option opts [Integer] :records_per_page Specify records per page.
544
+ # @return [MembersResponseBody]
545
+ describe 'list_managed_members test' do
546
+ it 'should work' do
547
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
548
+ end
549
+ end
550
+
551
+ # unit tests for list_managed_transactions
552
+ # List managed transactions
553
+ # This endpoint returns a list of all the partner-managed transactions associated with the specified `account`, scoped through a `user` and a `member`.
554
+ # @param user_guid The unique id for a `user`.
555
+ # @param member_guid The unique id for a `member`.
556
+ # @param [Hash] opts the optional parameters
557
+ # @option opts [Integer] :page Specify current page.
558
+ # @option opts [Integer] :records_per_page Specify records per page.
559
+ # @return [TransactionsResponseBody]
560
+ describe 'list_managed_transactions test' do
561
+ it 'should work' do
562
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
563
+ end
564
+ end
565
+
427
566
  # unit tests for list_member_challenges
428
567
  # List member challenges
429
568
  # Use this endpoint for information on what multi-factor authentication challenges need to be answered in order to aggregate a member. If the aggregation is not challenged, i.e., the member does not have a connection status of `CHALLENGED`, then code `204 No Content` will be returned. If the aggregation has been challenged, i.e., the member does have a connection status of `CHALLENGED`, then code `200 OK` will be returned - along with the corresponding credentials.
@@ -679,6 +818,47 @@ describe 'MxPlatformApi' do
679
818
  end
680
819
  end
681
820
 
821
+ # unit tests for read_managed_account
822
+ # Read managed account
823
+ # Use this endpoint to read the attributes of a partner-managed account according to its unique guid.
824
+ # @param member_guid The unique id for a `member`.
825
+ # @param user_guid The unique id for a `user`.
826
+ # @param account_guid The unique id for an `account`.
827
+ # @param [Hash] opts the optional parameters
828
+ # @return [AccountResponseBody]
829
+ describe 'read_managed_account test' do
830
+ it 'should work' do
831
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
832
+ end
833
+ end
834
+
835
+ # unit tests for read_managed_member
836
+ # Read managed member
837
+ # This endpoint returns the attributes of the specified partner-managed `member`.
838
+ # @param member_guid The unique id for a `member`.
839
+ # @param user_guid The unique id for a `user`.
840
+ # @param [Hash] opts the optional parameters
841
+ # @return [MemberResponseBody]
842
+ describe 'read_managed_member test' do
843
+ it 'should work' do
844
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
845
+ end
846
+ end
847
+
848
+ # unit tests for read_managed_transaction
849
+ # Read managed transaction
850
+ # Requests to this endpoint will return the attributes of the specified partner-managed `transaction`.
851
+ # @param member_guid The unique id for a `member`.
852
+ # @param user_guid The unique id for a `user`.
853
+ # @param transaction_guid The unique id for a `transaction`.
854
+ # @param [Hash] opts the optional parameters
855
+ # @return [TransactionResponseBody]
856
+ describe 'read_managed_transaction test' do
857
+ it 'should work' do
858
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
859
+ end
860
+ end
861
+
682
862
  # unit tests for read_member
683
863
  # Read member
684
864
  # Use this endpoint to read the attributes of a specific member.
@@ -717,6 +897,18 @@ describe 'MxPlatformApi' do
717
897
  end
718
898
  end
719
899
 
900
+ # unit tests for read_merchant_location
901
+ # Read merchant location
902
+ # This endpoint returns the specified merchant_location resource.
903
+ # @param merchant_location_guid The unique id for a `merchant_location`.
904
+ # @param [Hash] opts the optional parameters
905
+ # @return [MerchantLocationResponseBody]
906
+ describe 'read_merchant_location test' do
907
+ it 'should work' do
908
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
909
+ end
910
+ end
911
+
720
912
  # unit tests for read_statement_by_member
721
913
  # Read statement by member
722
914
  # Use this endpoint to read a JSON representation of the statement.
@@ -816,6 +1008,7 @@ describe 'MxPlatformApi' do
816
1008
  # @param [Hash] opts the optional parameters
817
1009
  # @option opts [String] :referral_source Must be either `BROWSER` or `APP` depending on the implementation. Defaults to `BROWSER`.
818
1010
  # @option opts [String] :ui_message_webview_url_scheme A scheme for routing the user back to the application state they were previously in.
1011
+ # @option opts [Boolean] :skip_aggregation Setting this parameter to `true` will prevent the member from automatically aggregating after being redirected from the authorization page.
819
1012
  # @return [OAuthWindowResponseBody]
820
1013
  describe 'request_o_auth_window_uri test' do
821
1014
  it 'should work' do
@@ -880,6 +1073,50 @@ describe 'MxPlatformApi' do
880
1073
  end
881
1074
  end
882
1075
 
1076
+ # unit tests for update_managed_account
1077
+ # Update managed account
1078
+ # Use this endpoint to update the attributes of a partner-managed account according to its unique GUID.
1079
+ # @param member_guid The unique id for a `member`.
1080
+ # @param user_guid The unique id for a `user`.
1081
+ # @param account_guid The unique id for an `account`.
1082
+ # @param managed_account_update_request_body Managed account object to be updated (While no single parameter is required, the request body can't be empty)
1083
+ # @param [Hash] opts the optional parameters
1084
+ # @return [AccountResponseBody]
1085
+ describe 'update_managed_account test' do
1086
+ it 'should work' do
1087
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1088
+ end
1089
+ end
1090
+
1091
+ # unit tests for update_managed_member
1092
+ # Update managed member
1093
+ # Use this endpoint to update the attributes of the specified partner_managed `member`.
1094
+ # @param member_guid The unique id for a `member`.
1095
+ # @param user_guid The unique id for a `user`.
1096
+ # @param managed_member_update_request_body Managed member object to be updated (While no single parameter is required, the request body can't be empty)
1097
+ # @param [Hash] opts the optional parameters
1098
+ # @return [MemberResponseBody]
1099
+ describe 'update_managed_member test' do
1100
+ it 'should work' do
1101
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1102
+ end
1103
+ end
1104
+
1105
+ # unit tests for update_managed_transaction
1106
+ # Update managed transaction
1107
+ # Use this endpoint to update the attributes of the specified partner_managed `transaction`.
1108
+ # @param member_guid The unique id for a `member`.
1109
+ # @param user_guid The unique id for a `user`.
1110
+ # @param transaction_guid The unique id for a `transaction`.
1111
+ # @param managed_transaction_update_request_body Managed transaction object to be updated (While no single parameter is required, the request body can't be empty)
1112
+ # @param [Hash] opts the optional parameters
1113
+ # @return [TransactionResponseBody]
1114
+ describe 'update_managed_transaction test' do
1115
+ it 'should work' do
1116
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1117
+ end
1118
+ end
1119
+
883
1120
  # unit tests for update_member
884
1121
  # Update member
885
1122
  # Use this endpoint to update a members attributes. Only the credentials, id, and metadata parameters can be updated. To get a list of the required credentials for the member, use the list member credentials endpoint.
@@ -121,6 +121,12 @@ describe MxPlatformRuby::AccountResponse do
121
121
  end
122
122
  end
123
123
 
124
+ describe 'test attribute "imported_at"' 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
+
124
130
  describe 'test attribute "institution_code"' do
125
131
  it 'should work' do
126
132
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -181,6 +187,24 @@ describe MxPlatformRuby::AccountResponse do
181
187
  end
182
188
  end
183
189
 
190
+ describe 'test attribute "member_id"' do
191
+ it 'should work' do
192
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
193
+ end
194
+ end
195
+
196
+ describe 'test attribute "member_is_managed_by_user"' do
197
+ it 'should work' do
198
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
199
+ end
200
+ end
201
+
202
+ describe 'test attribute "metadata"' do
203
+ it 'should work' do
204
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
205
+ end
206
+ end
207
+
184
208
  describe 'test attribute "minimum_balance"' do
185
209
  it 'should work' do
186
210
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -199,6 +223,12 @@ describe MxPlatformRuby::AccountResponse do
199
223
  end
200
224
  end
201
225
 
226
+ describe 'test attribute "nickname"' do
227
+ it 'should work' do
228
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
229
+ end
230
+ end
231
+
202
232
  describe 'test attribute "original_balance"' do
203
233
  it 'should work' do
204
234
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -229,6 +259,12 @@ describe MxPlatformRuby::AccountResponse do
229
259
  end
230
260
  end
231
261
 
262
+ describe 'test attribute "routing_number"' do
263
+ it 'should work' do
264
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
265
+ end
266
+ end
267
+
232
268
  describe 'test attribute "started_on"' do
233
269
  it 'should work' do
234
270
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -265,4 +301,10 @@ describe MxPlatformRuby::AccountResponse do
265
301
  end
266
302
  end
267
303
 
304
+ describe 'test attribute "user_id"' 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
+
268
310
  end
@@ -0,0 +1,34 @@
1
+ =begin
2
+ #MX Platform API
3
+
4
+ #The MX Platform API is a powerful, fully-featured API designed to make aggregating and enhancing financial data easy and reliable. It can seamlessly connect your app or website to tens of thousands of financial institutions.
5
+
6
+ The version of the OpenAPI document: 0.1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.2.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MxPlatformRuby::ManagedAccountCreateRequestBody
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MxPlatformRuby::ManagedAccountCreateRequestBody do
21
+ let(:instance) { MxPlatformRuby::ManagedAccountCreateRequestBody.new }
22
+
23
+ describe 'test an instance of ManagedAccountCreateRequestBody' do
24
+ it 'should create an instance of ManagedAccountCreateRequestBody' do
25
+ expect(instance).to be_instance_of(MxPlatformRuby::ManagedAccountCreateRequestBody)
26
+ end
27
+ end
28
+ describe 'test attribute "account"' 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
+ end