mx-platform-ruby 0.9.0 → 0.10.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 (33) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +13 -13
  3. data/README.md +7 -7
  4. data/docs/HoldingResponse.md +1 -1
  5. data/docs/MxPlatformApi.md +96 -90
  6. data/lib/mx-platform-ruby/api/mx_platform_api.rb +159 -131
  7. data/lib/mx-platform-ruby/models/account_number_response.rb +4 -0
  8. data/lib/mx-platform-ruby/models/account_owner_response.rb +4 -0
  9. data/lib/mx-platform-ruby/models/account_response.rb +3 -0
  10. data/lib/mx-platform-ruby/models/category_response.rb +2 -0
  11. data/lib/mx-platform-ruby/models/challenge_response.rb +1 -0
  12. data/lib/mx-platform-ruby/models/connect_widget_response.rb +1 -0
  13. data/lib/mx-platform-ruby/models/credential_request.rb +0 -1
  14. data/lib/mx-platform-ruby/models/credential_response.rb +2 -0
  15. data/lib/mx-platform-ruby/models/enhance_transaction_response.rb +1 -0
  16. data/lib/mx-platform-ruby/models/holding_response.rb +4 -0
  17. data/lib/mx-platform-ruby/models/member_response.rb +2 -0
  18. data/lib/mx-platform-ruby/models/member_status_response.rb +1 -0
  19. data/lib/mx-platform-ruby/models/merchant_location_response.rb +2 -0
  20. data/lib/mx-platform-ruby/models/merchant_response.rb +1 -0
  21. data/lib/mx-platform-ruby/models/o_auth_window_response.rb +1 -0
  22. data/lib/mx-platform-ruby/models/statement_response.rb +4 -0
  23. data/lib/mx-platform-ruby/models/tag_response.rb +2 -0
  24. data/lib/mx-platform-ruby/models/tagging_response.rb +4 -0
  25. data/lib/mx-platform-ruby/models/transaction_response.rb +6 -0
  26. data/lib/mx-platform-ruby/models/transaction_rule_response.rb +3 -0
  27. data/lib/mx-platform-ruby/models/transaction_rule_update_request.rb +0 -2
  28. data/lib/mx-platform-ruby/models/user_response.rb +1 -0
  29. data/lib/mx-platform-ruby/version.rb +1 -1
  30. data/openapi/config.yml +1 -1
  31. data/openapi/templates/README.mustache +7 -7
  32. data/spec/api/mx_platform_api_spec.rb +19 -15
  33. metadata +2 -2
@@ -233,41 +233,41 @@ module MxPlatformRuby
233
233
 
234
234
  # Create managed account
235
235
  # Use this endpoint to create a partner-managed account.
236
- # @param user_guid [String] The unique id for a `user`.
237
236
  # @param member_guid [String] The unique id for a `member`.
237
+ # @param user_guid [String] The unique id for a `user`.
238
238
  # @param managed_account_create_request_body [ManagedAccountCreateRequestBody] Managed account to be created.
239
239
  # @param [Hash] opts the optional parameters
240
240
  # @return [AccountResponseBody]
241
- def create_managed_account(user_guid, member_guid, managed_account_create_request_body, opts = {})
242
- data, _status_code, _headers = create_managed_account_with_http_info(user_guid, member_guid, managed_account_create_request_body, opts)
241
+ def create_managed_account(member_guid, user_guid, managed_account_create_request_body, opts = {})
242
+ data, _status_code, _headers = create_managed_account_with_http_info(member_guid, user_guid, managed_account_create_request_body, opts)
243
243
  data
244
244
  end
245
245
 
246
246
  # Create managed account
247
247
  # Use this endpoint to create a partner-managed account.
248
- # @param user_guid [String] The unique id for a `user`.
249
248
  # @param member_guid [String] The unique id for a `member`.
249
+ # @param user_guid [String] The unique id for a `user`.
250
250
  # @param managed_account_create_request_body [ManagedAccountCreateRequestBody] Managed account to be created.
251
251
  # @param [Hash] opts the optional parameters
252
252
  # @return [Array<(AccountResponseBody, Integer, Hash)>] AccountResponseBody data, response status code and response headers
253
- def create_managed_account_with_http_info(user_guid, member_guid, managed_account_create_request_body, opts = {})
253
+ def create_managed_account_with_http_info(member_guid, user_guid, managed_account_create_request_body, opts = {})
254
254
  if @api_client.config.debugging
255
255
  @api_client.config.logger.debug 'Calling API: MxPlatformApi.create_managed_account ...'
256
256
  end
257
- # verify the required parameter 'user_guid' is set
258
- if @api_client.config.client_side_validation && user_guid.nil?
259
- fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.create_managed_account"
260
- end
261
257
  # verify the required parameter 'member_guid' is set
262
258
  if @api_client.config.client_side_validation && member_guid.nil?
263
259
  fail ArgumentError, "Missing the required parameter 'member_guid' when calling MxPlatformApi.create_managed_account"
264
260
  end
261
+ # verify the required parameter 'user_guid' is set
262
+ if @api_client.config.client_side_validation && user_guid.nil?
263
+ fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.create_managed_account"
264
+ end
265
265
  # verify the required parameter 'managed_account_create_request_body' is set
266
266
  if @api_client.config.client_side_validation && managed_account_create_request_body.nil?
267
267
  fail ArgumentError, "Missing the required parameter 'managed_account_create_request_body' when calling MxPlatformApi.create_managed_account"
268
268
  end
269
269
  # resource path
270
- local_var_path = '/users/{user_guid}/managed_members/{member_guid}/accounts'.sub('{' + 'user_guid' + '}', CGI.escape(user_guid.to_s)).sub('{' + 'member_guid' + '}', CGI.escape(member_guid.to_s))
270
+ local_var_path = '/users/{user_guid}/managed_members/{member_guid}/accounts'.sub('{' + 'member_guid' + '}', CGI.escape(member_guid.to_s)).sub('{' + 'user_guid' + '}', CGI.escape(user_guid.to_s))
271
271
 
272
272
  # query parameters
273
273
  query_params = opts[:query_params] || {}
@@ -387,41 +387,47 @@ module MxPlatformRuby
387
387
 
388
388
  # Create managed transaction
389
389
  # Use this endpoint to create a new partner-managed `transaction`.
390
- # @param user_guid [String] The unique id for a &#x60;user&#x60;.
390
+ # @param account_guid [String] The unique id for an &#x60;account&#x60;.
391
391
  # @param member_guid [String] The unique id for a &#x60;member&#x60;.
392
+ # @param user_guid [String] The unique id for a &#x60;user&#x60;.
392
393
  # @param managed_transaction_create_request_body [ManagedTransactionCreateRequestBody] Managed transaction to be created.
393
394
  # @param [Hash] opts the optional parameters
394
395
  # @return [TransactionResponseBody]
395
- def create_managed_transaction(user_guid, member_guid, managed_transaction_create_request_body, opts = {})
396
- data, _status_code, _headers = create_managed_transaction_with_http_info(user_guid, member_guid, managed_transaction_create_request_body, opts)
396
+ def create_managed_transaction(account_guid, member_guid, user_guid, managed_transaction_create_request_body, opts = {})
397
+ data, _status_code, _headers = create_managed_transaction_with_http_info(account_guid, member_guid, user_guid, managed_transaction_create_request_body, opts)
397
398
  data
398
399
  end
399
400
 
400
401
  # Create managed transaction
401
402
  # Use this endpoint to create a new partner-managed &#x60;transaction&#x60;.
402
- # @param user_guid [String] The unique id for a &#x60;user&#x60;.
403
+ # @param account_guid [String] The unique id for an &#x60;account&#x60;.
403
404
  # @param member_guid [String] The unique id for a &#x60;member&#x60;.
405
+ # @param user_guid [String] The unique id for a &#x60;user&#x60;.
404
406
  # @param managed_transaction_create_request_body [ManagedTransactionCreateRequestBody] Managed transaction to be created.
405
407
  # @param [Hash] opts the optional parameters
406
408
  # @return [Array<(TransactionResponseBody, Integer, Hash)>] TransactionResponseBody data, response status code and response headers
407
- def create_managed_transaction_with_http_info(user_guid, member_guid, managed_transaction_create_request_body, opts = {})
409
+ def create_managed_transaction_with_http_info(account_guid, member_guid, user_guid, managed_transaction_create_request_body, opts = {})
408
410
  if @api_client.config.debugging
409
411
  @api_client.config.logger.debug 'Calling API: MxPlatformApi.create_managed_transaction ...'
410
412
  end
411
- # verify the required parameter 'user_guid' is set
412
- if @api_client.config.client_side_validation && user_guid.nil?
413
- fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.create_managed_transaction"
413
+ # verify the required parameter 'account_guid' is set
414
+ if @api_client.config.client_side_validation && account_guid.nil?
415
+ fail ArgumentError, "Missing the required parameter 'account_guid' when calling MxPlatformApi.create_managed_transaction"
414
416
  end
415
417
  # verify the required parameter 'member_guid' is set
416
418
  if @api_client.config.client_side_validation && member_guid.nil?
417
419
  fail ArgumentError, "Missing the required parameter 'member_guid' when calling MxPlatformApi.create_managed_transaction"
418
420
  end
421
+ # verify the required parameter 'user_guid' is set
422
+ if @api_client.config.client_side_validation && user_guid.nil?
423
+ fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.create_managed_transaction"
424
+ end
419
425
  # verify the required parameter 'managed_transaction_create_request_body' is set
420
426
  if @api_client.config.client_side_validation && managed_transaction_create_request_body.nil?
421
427
  fail ArgumentError, "Missing the required parameter 'managed_transaction_create_request_body' when calling MxPlatformApi.create_managed_transaction"
422
428
  end
423
429
  # resource path
424
- local_var_path = '/users/{user_guid}/managed_members/{member_guid}/transactions'.sub('{' + 'user_guid' + '}', CGI.escape(user_guid.to_s)).sub('{' + 'member_guid' + '}', CGI.escape(member_guid.to_s))
430
+ local_var_path = '/users/{user_guid}/managed_members/{member_guid}/accounts/{account_guid}/transactions'.sub('{' + 'account_guid' + '}', CGI.escape(account_guid.to_s)).sub('{' + 'member_guid' + '}', CGI.escape(member_guid.to_s)).sub('{' + 'user_guid' + '}', CGI.escape(user_guid.to_s))
425
431
 
426
432
  # query parameters
427
433
  query_params = opts[:query_params] || {}
@@ -898,27 +904,31 @@ module MxPlatformRuby
898
904
 
899
905
  # Delete managed account
900
906
  # 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`.
907
+ # @param account_guid [String] The unique id for an &#x60;account&#x60;.
901
908
  # @param member_guid [String] The unique id for a &#x60;member&#x60;.
902
909
  # @param user_guid [String] The unique id for a &#x60;user&#x60;.
903
- # @param account_guid [String] The unique id for an &#x60;account&#x60;.
904
910
  # @param [Hash] opts the optional parameters
905
911
  # @return [nil]
906
- def delete_managed_account(member_guid, user_guid, account_guid, opts = {})
907
- delete_managed_account_with_http_info(member_guid, user_guid, account_guid, opts)
912
+ def delete_managed_account(account_guid, member_guid, user_guid, opts = {})
913
+ delete_managed_account_with_http_info(account_guid, member_guid, user_guid, opts)
908
914
  nil
909
915
  end
910
916
 
911
917
  # Delete managed account
912
918
  # Use this endpoint to delete a partner-managed account according to its unique GUID. If successful, the API will respond with a status of &#x60;204 No Content&#x60;.
919
+ # @param account_guid [String] The unique id for an &#x60;account&#x60;.
913
920
  # @param member_guid [String] The unique id for a &#x60;member&#x60;.
914
921
  # @param user_guid [String] The unique id for a &#x60;user&#x60;.
915
- # @param account_guid [String] The unique id for an &#x60;account&#x60;.
916
922
  # @param [Hash] opts the optional parameters
917
923
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
918
- def delete_managed_account_with_http_info(member_guid, user_guid, account_guid, opts = {})
924
+ def delete_managed_account_with_http_info(account_guid, member_guid, user_guid, opts = {})
919
925
  if @api_client.config.debugging
920
926
  @api_client.config.logger.debug 'Calling API: MxPlatformApi.delete_managed_account ...'
921
927
  end
928
+ # verify the required parameter 'account_guid' is set
929
+ if @api_client.config.client_side_validation && account_guid.nil?
930
+ fail ArgumentError, "Missing the required parameter 'account_guid' when calling MxPlatformApi.delete_managed_account"
931
+ end
922
932
  # verify the required parameter 'member_guid' is set
923
933
  if @api_client.config.client_side_validation && member_guid.nil?
924
934
  fail ArgumentError, "Missing the required parameter 'member_guid' when calling MxPlatformApi.delete_managed_account"
@@ -927,12 +937,8 @@ module MxPlatformRuby
927
937
  if @api_client.config.client_side_validation && user_guid.nil?
928
938
  fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.delete_managed_account"
929
939
  end
930
- # verify the required parameter 'account_guid' is set
931
- if @api_client.config.client_side_validation && account_guid.nil?
932
- fail ArgumentError, "Missing the required parameter 'account_guid' when calling MxPlatformApi.delete_managed_account"
933
- end
934
940
  # resource path
935
- local_var_path = '/users/{user_guid}/managed_members/{member_guid}/accounts/{account_guid}'.sub('{' + 'member_guid' + '}', CGI.escape(member_guid.to_s)).sub('{' + 'user_guid' + '}', CGI.escape(user_guid.to_s)).sub('{' + 'account_guid' + '}', CGI.escape(account_guid.to_s))
941
+ local_var_path = '/users/{user_guid}/managed_members/{member_guid}/accounts/{account_guid}'.sub('{' + 'account_guid' + '}', CGI.escape(account_guid.to_s)).sub('{' + 'member_guid' + '}', CGI.escape(member_guid.to_s)).sub('{' + 'user_guid' + '}', CGI.escape(user_guid.to_s))
936
942
 
937
943
  # query parameters
938
944
  query_params = opts[:query_params] || {}
@@ -1038,41 +1044,47 @@ module MxPlatformRuby
1038
1044
 
1039
1045
  # Delete managed transaction
1040
1046
  # Use this endpoint to delete the specified partner-managed `transaction`. The endpoint will respond with a status of `204 No Content` without a resource.
1047
+ # @param account_guid [String] The unique id for an &#x60;account&#x60;.
1041
1048
  # @param member_guid [String] The unique id for a &#x60;member&#x60;.
1042
- # @param user_guid [String] The unique id for a &#x60;user&#x60;.
1043
1049
  # @param transaction_guid [String] The unique id for a &#x60;transaction&#x60;.
1050
+ # @param user_guid [String] The unique id for a &#x60;user&#x60;.
1044
1051
  # @param [Hash] opts the optional parameters
1045
1052
  # @return [nil]
1046
- def delete_managed_transaction(member_guid, user_guid, transaction_guid, opts = {})
1047
- delete_managed_transaction_with_http_info(member_guid, user_guid, transaction_guid, opts)
1053
+ def delete_managed_transaction(account_guid, member_guid, transaction_guid, user_guid, opts = {})
1054
+ delete_managed_transaction_with_http_info(account_guid, member_guid, transaction_guid, user_guid, opts)
1048
1055
  nil
1049
1056
  end
1050
1057
 
1051
1058
  # Delete managed transaction
1052
1059
  # Use this endpoint to delete the specified partner-managed &#x60;transaction&#x60;. The endpoint will respond with a status of &#x60;204 No Content&#x60; without a resource.
1060
+ # @param account_guid [String] The unique id for an &#x60;account&#x60;.
1053
1061
  # @param member_guid [String] The unique id for a &#x60;member&#x60;.
1054
- # @param user_guid [String] The unique id for a &#x60;user&#x60;.
1055
1062
  # @param transaction_guid [String] The unique id for a &#x60;transaction&#x60;.
1063
+ # @param user_guid [String] The unique id for a &#x60;user&#x60;.
1056
1064
  # @param [Hash] opts the optional parameters
1057
1065
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
1058
- def delete_managed_transaction_with_http_info(member_guid, user_guid, transaction_guid, opts = {})
1066
+ def delete_managed_transaction_with_http_info(account_guid, member_guid, transaction_guid, user_guid, opts = {})
1059
1067
  if @api_client.config.debugging
1060
1068
  @api_client.config.logger.debug 'Calling API: MxPlatformApi.delete_managed_transaction ...'
1061
1069
  end
1070
+ # verify the required parameter 'account_guid' is set
1071
+ if @api_client.config.client_side_validation && account_guid.nil?
1072
+ fail ArgumentError, "Missing the required parameter 'account_guid' when calling MxPlatformApi.delete_managed_transaction"
1073
+ end
1062
1074
  # verify the required parameter 'member_guid' is set
1063
1075
  if @api_client.config.client_side_validation && member_guid.nil?
1064
1076
  fail ArgumentError, "Missing the required parameter 'member_guid' when calling MxPlatformApi.delete_managed_transaction"
1065
1077
  end
1066
- # verify the required parameter 'user_guid' is set
1067
- if @api_client.config.client_side_validation && user_guid.nil?
1068
- fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.delete_managed_transaction"
1069
- end
1070
1078
  # verify the required parameter 'transaction_guid' is set
1071
1079
  if @api_client.config.client_side_validation && transaction_guid.nil?
1072
1080
  fail ArgumentError, "Missing the required parameter 'transaction_guid' when calling MxPlatformApi.delete_managed_transaction"
1073
1081
  end
1082
+ # verify the required parameter 'user_guid' is set
1083
+ if @api_client.config.client_side_validation && user_guid.nil?
1084
+ fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.delete_managed_transaction"
1085
+ end
1074
1086
  # resource path
1075
- local_var_path = '/users/{user_guid}/managed_members/{member_guid}/transactions/{transaction_guid}'.sub('{' + 'member_guid' + '}', CGI.escape(member_guid.to_s)).sub('{' + 'user_guid' + '}', CGI.escape(user_guid.to_s)).sub('{' + 'transaction_guid' + '}', CGI.escape(transaction_guid.to_s))
1087
+ local_var_path = '/users/{user_guid}/managed_members/{member_guid}/accounts/{account_guid}/transactions/{transaction_guid}'.sub('{' + 'account_guid' + '}', CGI.escape(account_guid.to_s)).sub('{' + 'member_guid' + '}', CGI.escape(member_guid.to_s)).sub('{' + 'transaction_guid' + '}', CGI.escape(transaction_guid.to_s)).sub('{' + 'user_guid' + '}', CGI.escape(user_guid.to_s))
1076
1088
 
1077
1089
  # query parameters
1078
1090
  query_params = opts[:query_params] || {}
@@ -2663,39 +2675,39 @@ module MxPlatformRuby
2663
2675
 
2664
2676
  # List managed accounts
2665
2677
  # Use this endpoint to retrieve a list of all the partner-managed accounts associated with the given partner-manage member.
2666
- # @param user_guid [String] The unique id for a &#x60;user&#x60;.
2667
2678
  # @param member_guid [String] The unique id for a &#x60;member&#x60;.
2679
+ # @param user_guid [String] The unique id for a &#x60;user&#x60;.
2668
2680
  # @param [Hash] opts the optional parameters
2669
2681
  # @option opts [Integer] :page Specify current page.
2670
2682
  # @option opts [Integer] :records_per_page Specify records per page.
2671
2683
  # @return [AccountsResponseBody]
2672
- def list_managed_accounts(user_guid, member_guid, opts = {})
2673
- data, _status_code, _headers = list_managed_accounts_with_http_info(user_guid, member_guid, opts)
2684
+ def list_managed_accounts(member_guid, user_guid, opts = {})
2685
+ data, _status_code, _headers = list_managed_accounts_with_http_info(member_guid, user_guid, opts)
2674
2686
  data
2675
2687
  end
2676
2688
 
2677
2689
  # List managed accounts
2678
2690
  # Use this endpoint to retrieve a list of all the partner-managed accounts associated with the given partner-manage member.
2679
- # @param user_guid [String] The unique id for a &#x60;user&#x60;.
2680
2691
  # @param member_guid [String] The unique id for a &#x60;member&#x60;.
2692
+ # @param user_guid [String] The unique id for a &#x60;user&#x60;.
2681
2693
  # @param [Hash] opts the optional parameters
2682
2694
  # @option opts [Integer] :page Specify current page.
2683
2695
  # @option opts [Integer] :records_per_page Specify records per page.
2684
2696
  # @return [Array<(AccountsResponseBody, Integer, Hash)>] AccountsResponseBody data, response status code and response headers
2685
- def list_managed_accounts_with_http_info(user_guid, member_guid, opts = {})
2697
+ def list_managed_accounts_with_http_info(member_guid, user_guid, opts = {})
2686
2698
  if @api_client.config.debugging
2687
2699
  @api_client.config.logger.debug 'Calling API: MxPlatformApi.list_managed_accounts ...'
2688
2700
  end
2689
- # verify the required parameter 'user_guid' is set
2690
- if @api_client.config.client_side_validation && user_guid.nil?
2691
- fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.list_managed_accounts"
2692
- end
2693
2701
  # verify the required parameter 'member_guid' is set
2694
2702
  if @api_client.config.client_side_validation && member_guid.nil?
2695
2703
  fail ArgumentError, "Missing the required parameter 'member_guid' when calling MxPlatformApi.list_managed_accounts"
2696
2704
  end
2705
+ # verify the required parameter 'user_guid' is set
2706
+ if @api_client.config.client_side_validation && user_guid.nil?
2707
+ fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.list_managed_accounts"
2708
+ end
2697
2709
  # resource path
2698
- local_var_path = '/users/{user_guid}/managed_members/{member_guid}/accounts'.sub('{' + 'user_guid' + '}', CGI.escape(user_guid.to_s)).sub('{' + 'member_guid' + '}', CGI.escape(member_guid.to_s))
2710
+ local_var_path = '/users/{user_guid}/managed_members/{member_guid}/accounts'.sub('{' + 'member_guid' + '}', CGI.escape(member_guid.to_s)).sub('{' + 'user_guid' + '}', CGI.escape(user_guid.to_s))
2699
2711
 
2700
2712
  # query parameters
2701
2713
  query_params = opts[:query_params] || {}
@@ -2870,39 +2882,45 @@ module MxPlatformRuby
2870
2882
 
2871
2883
  # List managed transactions
2872
2884
  # This endpoint returns a list of all the partner-managed transactions associated with the specified `account`, scoped through a `user` and a `member`.
2873
- # @param user_guid [String] The unique id for a &#x60;user&#x60;.
2885
+ # @param account_guid [String] The unique id for an &#x60;account&#x60;.
2874
2886
  # @param member_guid [String] The unique id for a &#x60;member&#x60;.
2887
+ # @param user_guid [String] The unique id for a &#x60;user&#x60;.
2875
2888
  # @param [Hash] opts the optional parameters
2876
2889
  # @option opts [Integer] :page Specify current page.
2877
2890
  # @option opts [Integer] :records_per_page Specify records per page.
2878
2891
  # @return [TransactionsResponseBody]
2879
- def list_managed_transactions(user_guid, member_guid, opts = {})
2880
- data, _status_code, _headers = list_managed_transactions_with_http_info(user_guid, member_guid, opts)
2892
+ def list_managed_transactions(account_guid, member_guid, user_guid, opts = {})
2893
+ data, _status_code, _headers = list_managed_transactions_with_http_info(account_guid, member_guid, user_guid, opts)
2881
2894
  data
2882
2895
  end
2883
2896
 
2884
2897
  # List managed transactions
2885
2898
  # This endpoint returns a list of all the partner-managed transactions associated with the specified &#x60;account&#x60;, scoped through a &#x60;user&#x60; and a &#x60;member&#x60;.
2886
- # @param user_guid [String] The unique id for a &#x60;user&#x60;.
2899
+ # @param account_guid [String] The unique id for an &#x60;account&#x60;.
2887
2900
  # @param member_guid [String] The unique id for a &#x60;member&#x60;.
2901
+ # @param user_guid [String] The unique id for a &#x60;user&#x60;.
2888
2902
  # @param [Hash] opts the optional parameters
2889
2903
  # @option opts [Integer] :page Specify current page.
2890
2904
  # @option opts [Integer] :records_per_page Specify records per page.
2891
2905
  # @return [Array<(TransactionsResponseBody, Integer, Hash)>] TransactionsResponseBody data, response status code and response headers
2892
- def list_managed_transactions_with_http_info(user_guid, member_guid, opts = {})
2906
+ def list_managed_transactions_with_http_info(account_guid, member_guid, user_guid, opts = {})
2893
2907
  if @api_client.config.debugging
2894
2908
  @api_client.config.logger.debug 'Calling API: MxPlatformApi.list_managed_transactions ...'
2895
2909
  end
2896
- # verify the required parameter 'user_guid' is set
2897
- if @api_client.config.client_side_validation && user_guid.nil?
2898
- fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.list_managed_transactions"
2910
+ # verify the required parameter 'account_guid' is set
2911
+ if @api_client.config.client_side_validation && account_guid.nil?
2912
+ fail ArgumentError, "Missing the required parameter 'account_guid' when calling MxPlatformApi.list_managed_transactions"
2899
2913
  end
2900
2914
  # verify the required parameter 'member_guid' is set
2901
2915
  if @api_client.config.client_side_validation && member_guid.nil?
2902
2916
  fail ArgumentError, "Missing the required parameter 'member_guid' when calling MxPlatformApi.list_managed_transactions"
2903
2917
  end
2918
+ # verify the required parameter 'user_guid' is set
2919
+ if @api_client.config.client_side_validation && user_guid.nil?
2920
+ fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.list_managed_transactions"
2921
+ end
2904
2922
  # resource path
2905
- local_var_path = '/users/{user_guid}/managed_members/{member_guid}/transactions'.sub('{' + 'user_guid' + '}', CGI.escape(user_guid.to_s)).sub('{' + 'member_guid' + '}', CGI.escape(member_guid.to_s))
2923
+ local_var_path = '/users/{user_guid}/managed_members/{member_guid}/accounts/{account_guid}/transactions'.sub('{' + 'account_guid' + '}', CGI.escape(account_guid.to_s)).sub('{' + 'member_guid' + '}', CGI.escape(member_guid.to_s)).sub('{' + 'user_guid' + '}', CGI.escape(user_guid.to_s))
2906
2924
 
2907
2925
  # query parameters
2908
2926
  query_params = opts[:query_params] || {}
@@ -4098,21 +4116,19 @@ module MxPlatformRuby
4098
4116
  # Read a default category
4099
4117
  # Use this endpoint to read the attributes of a default category.
4100
4118
  # @param category_guid [String] The unique id for a &#x60;category&#x60;.
4101
- # @param user_guid [String] The unique id for a &#x60;user&#x60;.
4102
4119
  # @param [Hash] opts the optional parameters
4103
4120
  # @return [CategoryResponseBody]
4104
- def read_default_category(category_guid, user_guid, opts = {})
4105
- data, _status_code, _headers = read_default_category_with_http_info(category_guid, user_guid, opts)
4121
+ def read_default_category(category_guid, opts = {})
4122
+ data, _status_code, _headers = read_default_category_with_http_info(category_guid, opts)
4106
4123
  data
4107
4124
  end
4108
4125
 
4109
4126
  # Read a default category
4110
4127
  # Use this endpoint to read the attributes of a default category.
4111
4128
  # @param category_guid [String] The unique id for a &#x60;category&#x60;.
4112
- # @param user_guid [String] The unique id for a &#x60;user&#x60;.
4113
4129
  # @param [Hash] opts the optional parameters
4114
4130
  # @return [Array<(CategoryResponseBody, Integer, Hash)>] CategoryResponseBody data, response status code and response headers
4115
- def read_default_category_with_http_info(category_guid, user_guid, opts = {})
4131
+ def read_default_category_with_http_info(category_guid, opts = {})
4116
4132
  if @api_client.config.debugging
4117
4133
  @api_client.config.logger.debug 'Calling API: MxPlatformApi.read_default_category ...'
4118
4134
  end
@@ -4120,12 +4136,8 @@ module MxPlatformRuby
4120
4136
  if @api_client.config.client_side_validation && category_guid.nil?
4121
4137
  fail ArgumentError, "Missing the required parameter 'category_guid' when calling MxPlatformApi.read_default_category"
4122
4138
  end
4123
- # verify the required parameter 'user_guid' is set
4124
- if @api_client.config.client_side_validation && user_guid.nil?
4125
- fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.read_default_category"
4126
- end
4127
4139
  # resource path
4128
- local_var_path = '/categories/{category_guid}'.sub('{' + 'category_guid' + '}', CGI.escape(category_guid.to_s)).sub('{' + 'user_guid' + '}', CGI.escape(user_guid.to_s))
4140
+ local_var_path = '/categories/{category_guid}'.sub('{' + 'category_guid' + '}', CGI.escape(category_guid.to_s))
4129
4141
 
4130
4142
  # query parameters
4131
4143
  query_params = opts[:query_params] || {}
@@ -4298,27 +4310,31 @@ module MxPlatformRuby
4298
4310
 
4299
4311
  # Read managed account
4300
4312
  # Use this endpoint to read the attributes of a partner-managed account according to its unique guid.
4313
+ # @param account_guid [String] The unique id for an &#x60;account&#x60;.
4301
4314
  # @param member_guid [String] The unique id for a &#x60;member&#x60;.
4302
4315
  # @param user_guid [String] The unique id for a &#x60;user&#x60;.
4303
- # @param account_guid [String] The unique id for an &#x60;account&#x60;.
4304
4316
  # @param [Hash] opts the optional parameters
4305
4317
  # @return [AccountResponseBody]
4306
- def read_managed_account(member_guid, user_guid, account_guid, opts = {})
4307
- data, _status_code, _headers = read_managed_account_with_http_info(member_guid, user_guid, account_guid, opts)
4318
+ def read_managed_account(account_guid, member_guid, user_guid, opts = {})
4319
+ data, _status_code, _headers = read_managed_account_with_http_info(account_guid, member_guid, user_guid, opts)
4308
4320
  data
4309
4321
  end
4310
4322
 
4311
4323
  # Read managed account
4312
4324
  # Use this endpoint to read the attributes of a partner-managed account according to its unique guid.
4325
+ # @param account_guid [String] The unique id for an &#x60;account&#x60;.
4313
4326
  # @param member_guid [String] The unique id for a &#x60;member&#x60;.
4314
4327
  # @param user_guid [String] The unique id for a &#x60;user&#x60;.
4315
- # @param account_guid [String] The unique id for an &#x60;account&#x60;.
4316
4328
  # @param [Hash] opts the optional parameters
4317
4329
  # @return [Array<(AccountResponseBody, Integer, Hash)>] AccountResponseBody data, response status code and response headers
4318
- def read_managed_account_with_http_info(member_guid, user_guid, account_guid, opts = {})
4330
+ def read_managed_account_with_http_info(account_guid, member_guid, user_guid, opts = {})
4319
4331
  if @api_client.config.debugging
4320
4332
  @api_client.config.logger.debug 'Calling API: MxPlatformApi.read_managed_account ...'
4321
4333
  end
4334
+ # verify the required parameter 'account_guid' is set
4335
+ if @api_client.config.client_side_validation && account_guid.nil?
4336
+ fail ArgumentError, "Missing the required parameter 'account_guid' when calling MxPlatformApi.read_managed_account"
4337
+ end
4322
4338
  # verify the required parameter 'member_guid' is set
4323
4339
  if @api_client.config.client_side_validation && member_guid.nil?
4324
4340
  fail ArgumentError, "Missing the required parameter 'member_guid' when calling MxPlatformApi.read_managed_account"
@@ -4327,12 +4343,8 @@ module MxPlatformRuby
4327
4343
  if @api_client.config.client_side_validation && user_guid.nil?
4328
4344
  fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.read_managed_account"
4329
4345
  end
4330
- # verify the required parameter 'account_guid' is set
4331
- if @api_client.config.client_side_validation && account_guid.nil?
4332
- fail ArgumentError, "Missing the required parameter 'account_guid' when calling MxPlatformApi.read_managed_account"
4333
- end
4334
4346
  # resource path
4335
- local_var_path = '/users/{user_guid}/managed_members/{member_guid}/accounts/{account_guid}'.sub('{' + 'member_guid' + '}', CGI.escape(member_guid.to_s)).sub('{' + 'user_guid' + '}', CGI.escape(user_guid.to_s)).sub('{' + 'account_guid' + '}', CGI.escape(account_guid.to_s))
4347
+ local_var_path = '/users/{user_guid}/managed_members/{member_guid}/accounts/{account_guid}'.sub('{' + 'account_guid' + '}', CGI.escape(account_guid.to_s)).sub('{' + 'member_guid' + '}', CGI.escape(member_guid.to_s)).sub('{' + 'user_guid' + '}', CGI.escape(user_guid.to_s))
4336
4348
 
4337
4349
  # query parameters
4338
4350
  query_params = opts[:query_params] || {}
@@ -4442,41 +4454,47 @@ module MxPlatformRuby
4442
4454
 
4443
4455
  # Read managed transaction
4444
4456
  # Requests to this endpoint will return the attributes of the specified partner-managed `transaction`.
4457
+ # @param account_guid [String] The unique id for an &#x60;account&#x60;.
4445
4458
  # @param member_guid [String] The unique id for a &#x60;member&#x60;.
4446
- # @param user_guid [String] The unique id for a &#x60;user&#x60;.
4447
4459
  # @param transaction_guid [String] The unique id for a &#x60;transaction&#x60;.
4460
+ # @param user_guid [String] The unique id for a &#x60;user&#x60;.
4448
4461
  # @param [Hash] opts the optional parameters
4449
4462
  # @return [TransactionResponseBody]
4450
- def read_managed_transaction(member_guid, user_guid, transaction_guid, opts = {})
4451
- data, _status_code, _headers = read_managed_transaction_with_http_info(member_guid, user_guid, transaction_guid, opts)
4463
+ def read_managed_transaction(account_guid, member_guid, transaction_guid, user_guid, opts = {})
4464
+ data, _status_code, _headers = read_managed_transaction_with_http_info(account_guid, member_guid, transaction_guid, user_guid, opts)
4452
4465
  data
4453
4466
  end
4454
4467
 
4455
4468
  # Read managed transaction
4456
4469
  # Requests to this endpoint will return the attributes of the specified partner-managed &#x60;transaction&#x60;.
4470
+ # @param account_guid [String] The unique id for an &#x60;account&#x60;.
4457
4471
  # @param member_guid [String] The unique id for a &#x60;member&#x60;.
4458
- # @param user_guid [String] The unique id for a &#x60;user&#x60;.
4459
4472
  # @param transaction_guid [String] The unique id for a &#x60;transaction&#x60;.
4473
+ # @param user_guid [String] The unique id for a &#x60;user&#x60;.
4460
4474
  # @param [Hash] opts the optional parameters
4461
4475
  # @return [Array<(TransactionResponseBody, Integer, Hash)>] TransactionResponseBody data, response status code and response headers
4462
- def read_managed_transaction_with_http_info(member_guid, user_guid, transaction_guid, opts = {})
4476
+ def read_managed_transaction_with_http_info(account_guid, member_guid, transaction_guid, user_guid, opts = {})
4463
4477
  if @api_client.config.debugging
4464
4478
  @api_client.config.logger.debug 'Calling API: MxPlatformApi.read_managed_transaction ...'
4465
4479
  end
4480
+ # verify the required parameter 'account_guid' is set
4481
+ if @api_client.config.client_side_validation && account_guid.nil?
4482
+ fail ArgumentError, "Missing the required parameter 'account_guid' when calling MxPlatformApi.read_managed_transaction"
4483
+ end
4466
4484
  # verify the required parameter 'member_guid' is set
4467
4485
  if @api_client.config.client_side_validation && member_guid.nil?
4468
4486
  fail ArgumentError, "Missing the required parameter 'member_guid' when calling MxPlatformApi.read_managed_transaction"
4469
4487
  end
4470
- # verify the required parameter 'user_guid' is set
4471
- if @api_client.config.client_side_validation && user_guid.nil?
4472
- fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.read_managed_transaction"
4473
- end
4474
4488
  # verify the required parameter 'transaction_guid' is set
4475
4489
  if @api_client.config.client_side_validation && transaction_guid.nil?
4476
4490
  fail ArgumentError, "Missing the required parameter 'transaction_guid' when calling MxPlatformApi.read_managed_transaction"
4477
4491
  end
4492
+ # verify the required parameter 'user_guid' is set
4493
+ if @api_client.config.client_side_validation && user_guid.nil?
4494
+ fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.read_managed_transaction"
4495
+ end
4478
4496
  # resource path
4479
- local_var_path = '/users/{user_guid}/managed_members/{member_guid}/transactions/{transaction_guid}'.sub('{' + 'member_guid' + '}', CGI.escape(member_guid.to_s)).sub('{' + 'user_guid' + '}', CGI.escape(user_guid.to_s)).sub('{' + 'transaction_guid' + '}', CGI.escape(transaction_guid.to_s))
4497
+ local_var_path = '/users/{user_guid}/managed_members/{member_guid}/accounts/{account_guid}/transactions/{transaction_guid}'.sub('{' + 'account_guid' + '}', CGI.escape(account_guid.to_s)).sub('{' + 'member_guid' + '}', CGI.escape(member_guid.to_s)).sub('{' + 'transaction_guid' + '}', CGI.escape(transaction_guid.to_s)).sub('{' + 'user_guid' + '}', CGI.escape(user_guid.to_s))
4480
4498
 
4481
4499
  # query parameters
4482
4500
  query_params = opts[:query_params] || {}
@@ -5196,21 +5214,21 @@ module MxPlatformRuby
5196
5214
  # Request connect widget url
5197
5215
  # This endpoint will return a URL for an embeddable version of MX Connect.
5198
5216
  # @param user_guid [String] The unique id for a &#x60;user&#x60;.
5217
+ # @param connect_widget_request_body [ConnectWidgetRequestBody] Optional config options for WebView (is_mobile_webview, current_institution_code, current_member_guid, update_credentials)
5199
5218
  # @param [Hash] opts the optional parameters
5200
- # @option opts [ConnectWidgetRequestBody] :connect_widget_request_body Optional config options for WebView (is_mobile_webview, current_institution_code, current_member_guid, update_credentials)
5201
5219
  # @return [ConnectWidgetResponseBody]
5202
- def request_connect_widget_url(user_guid, opts = {})
5203
- data, _status_code, _headers = request_connect_widget_url_with_http_info(user_guid, opts)
5220
+ def request_connect_widget_url(user_guid, connect_widget_request_body, opts = {})
5221
+ data, _status_code, _headers = request_connect_widget_url_with_http_info(user_guid, connect_widget_request_body, opts)
5204
5222
  data
5205
5223
  end
5206
5224
 
5207
5225
  # Request connect widget url
5208
5226
  # This endpoint will return a URL for an embeddable version of MX Connect.
5209
5227
  # @param user_guid [String] The unique id for a &#x60;user&#x60;.
5228
+ # @param connect_widget_request_body [ConnectWidgetRequestBody] Optional config options for WebView (is_mobile_webview, current_institution_code, current_member_guid, update_credentials)
5210
5229
  # @param [Hash] opts the optional parameters
5211
- # @option opts [ConnectWidgetRequestBody] :connect_widget_request_body Optional config options for WebView (is_mobile_webview, current_institution_code, current_member_guid, update_credentials)
5212
5230
  # @return [Array<(ConnectWidgetResponseBody, Integer, Hash)>] ConnectWidgetResponseBody data, response status code and response headers
5213
- def request_connect_widget_url_with_http_info(user_guid, opts = {})
5231
+ def request_connect_widget_url_with_http_info(user_guid, connect_widget_request_body, opts = {})
5214
5232
  if @api_client.config.debugging
5215
5233
  @api_client.config.logger.debug 'Calling API: MxPlatformApi.request_connect_widget_url ...'
5216
5234
  end
@@ -5218,6 +5236,10 @@ module MxPlatformRuby
5218
5236
  if @api_client.config.client_side_validation && user_guid.nil?
5219
5237
  fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.request_connect_widget_url"
5220
5238
  end
5239
+ # verify the required parameter 'connect_widget_request_body' is set
5240
+ if @api_client.config.client_side_validation && connect_widget_request_body.nil?
5241
+ fail ArgumentError, "Missing the required parameter 'connect_widget_request_body' when calling MxPlatformApi.request_connect_widget_url"
5242
+ end
5221
5243
  # resource path
5222
5244
  local_var_path = '/users/{user_guid}/connect_widget_url'.sub('{' + 'user_guid' + '}', CGI.escape(user_guid.to_s))
5223
5245
 
@@ -5238,7 +5260,7 @@ module MxPlatformRuby
5238
5260
  form_params = opts[:form_params] || {}
5239
5261
 
5240
5262
  # http body (model)
5241
- post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'connect_widget_request_body'])
5263
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(connect_widget_request_body)
5242
5264
 
5243
5265
  # return_type
5244
5266
  return_type = opts[:debug_return_type] || 'ConnectWidgetResponseBody'
@@ -5269,8 +5291,8 @@ module MxPlatformRuby
5269
5291
  # @param user_guid [String] The unique id for a &#x60;user&#x60;.
5270
5292
  # @param [Hash] opts the optional parameters
5271
5293
  # @option opts [String] :referral_source Must be either &#x60;BROWSER&#x60; or &#x60;APP&#x60; depending on the implementation. Defaults to &#x60;BROWSER&#x60;.
5272
- # @option opts [String] :ui_message_webview_url_scheme A scheme for routing the user back to the application state they were previously in.
5273
5294
  # @option opts [Boolean] :skip_aggregation Setting this parameter to &#x60;true&#x60; will prevent the member from automatically aggregating after being redirected from the authorization page.
5295
+ # @option opts [String] :ui_message_webview_url_scheme A scheme for routing the user back to the application state they were previously in.
5274
5296
  # @return [OAuthWindowResponseBody]
5275
5297
  def request_o_auth_window_uri(member_guid, user_guid, opts = {})
5276
5298
  data, _status_code, _headers = request_o_auth_window_uri_with_http_info(member_guid, user_guid, opts)
@@ -5283,8 +5305,8 @@ module MxPlatformRuby
5283
5305
  # @param user_guid [String] The unique id for a &#x60;user&#x60;.
5284
5306
  # @param [Hash] opts the optional parameters
5285
5307
  # @option opts [String] :referral_source Must be either &#x60;BROWSER&#x60; or &#x60;APP&#x60; depending on the implementation. Defaults to &#x60;BROWSER&#x60;.
5286
- # @option opts [String] :ui_message_webview_url_scheme A scheme for routing the user back to the application state they were previously in.
5287
5308
  # @option opts [Boolean] :skip_aggregation Setting this parameter to &#x60;true&#x60; will prevent the member from automatically aggregating after being redirected from the authorization page.
5309
+ # @option opts [String] :ui_message_webview_url_scheme A scheme for routing the user back to the application state they were previously in.
5288
5310
  # @return [Array<(OAuthWindowResponseBody, Integer, Hash)>] OAuthWindowResponseBody data, response status code and response headers
5289
5311
  def request_o_auth_window_uri_with_http_info(member_guid, user_guid, opts = {})
5290
5312
  if @api_client.config.debugging
@@ -5304,8 +5326,8 @@ module MxPlatformRuby
5304
5326
  # query parameters
5305
5327
  query_params = opts[:query_params] || {}
5306
5328
  query_params[:'referral_source'] = opts[:'referral_source'] if !opts[:'referral_source'].nil?
5307
- query_params[:'ui_message_webview_url_scheme'] = opts[:'ui_message_webview_url_scheme'] if !opts[:'ui_message_webview_url_scheme'].nil?
5308
5329
  query_params[:'skip_aggregation'] = opts[:'skip_aggregation'] if !opts[:'skip_aggregation'].nil?
5330
+ query_params[:'ui_message_webview_url_scheme'] = opts[:'ui_message_webview_url_scheme'] if !opts[:'ui_message_webview_url_scheme'].nil?
5309
5331
 
5310
5332
  # header parameters
5311
5333
  header_params = opts[:header_params] || {}
@@ -5500,47 +5522,47 @@ module MxPlatformRuby
5500
5522
 
5501
5523
  # Update account by member
5502
5524
  # This endpoint allows you to update certain attributes of an `account` resource.
5503
- # @param user_guid [String] The unique id for a &#x60;user&#x60;.
5504
- # @param member_guid [String] The unique id for a &#x60;member&#x60;.
5505
5525
  # @param account_guid [String] The unique id for an &#x60;account&#x60;.
5526
+ # @param member_guid [String] The unique id for a &#x60;member&#x60;.
5527
+ # @param user_guid [String] The unique id for a &#x60;user&#x60;.
5506
5528
  # @param account_update_request_body [AccountUpdateRequestBody] Account object to be created with optional parameters (is_hidden)
5507
5529
  # @param [Hash] opts the optional parameters
5508
5530
  # @return [AccountResponseBody]
5509
- def update_account_by_member(user_guid, member_guid, account_guid, account_update_request_body, opts = {})
5510
- data, _status_code, _headers = update_account_by_member_with_http_info(user_guid, member_guid, account_guid, account_update_request_body, opts)
5531
+ def update_account_by_member(account_guid, member_guid, user_guid, account_update_request_body, opts = {})
5532
+ data, _status_code, _headers = update_account_by_member_with_http_info(account_guid, member_guid, user_guid, account_update_request_body, opts)
5511
5533
  data
5512
5534
  end
5513
5535
 
5514
5536
  # Update account by member
5515
5537
  # This endpoint allows you to update certain attributes of an &#x60;account&#x60; resource.
5516
- # @param user_guid [String] The unique id for a &#x60;user&#x60;.
5517
- # @param member_guid [String] The unique id for a &#x60;member&#x60;.
5518
5538
  # @param account_guid [String] The unique id for an &#x60;account&#x60;.
5539
+ # @param member_guid [String] The unique id for a &#x60;member&#x60;.
5540
+ # @param user_guid [String] The unique id for a &#x60;user&#x60;.
5519
5541
  # @param account_update_request_body [AccountUpdateRequestBody] Account object to be created with optional parameters (is_hidden)
5520
5542
  # @param [Hash] opts the optional parameters
5521
5543
  # @return [Array<(AccountResponseBody, Integer, Hash)>] AccountResponseBody data, response status code and response headers
5522
- def update_account_by_member_with_http_info(user_guid, member_guid, account_guid, account_update_request_body, opts = {})
5544
+ def update_account_by_member_with_http_info(account_guid, member_guid, user_guid, account_update_request_body, opts = {})
5523
5545
  if @api_client.config.debugging
5524
5546
  @api_client.config.logger.debug 'Calling API: MxPlatformApi.update_account_by_member ...'
5525
5547
  end
5526
- # verify the required parameter 'user_guid' is set
5527
- if @api_client.config.client_side_validation && user_guid.nil?
5528
- fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.update_account_by_member"
5548
+ # verify the required parameter 'account_guid' is set
5549
+ if @api_client.config.client_side_validation && account_guid.nil?
5550
+ fail ArgumentError, "Missing the required parameter 'account_guid' when calling MxPlatformApi.update_account_by_member"
5529
5551
  end
5530
5552
  # verify the required parameter 'member_guid' is set
5531
5553
  if @api_client.config.client_side_validation && member_guid.nil?
5532
5554
  fail ArgumentError, "Missing the required parameter 'member_guid' when calling MxPlatformApi.update_account_by_member"
5533
5555
  end
5534
- # verify the required parameter 'account_guid' is set
5535
- if @api_client.config.client_side_validation && account_guid.nil?
5536
- fail ArgumentError, "Missing the required parameter 'account_guid' when calling MxPlatformApi.update_account_by_member"
5556
+ # verify the required parameter 'user_guid' is set
5557
+ if @api_client.config.client_side_validation && user_guid.nil?
5558
+ fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.update_account_by_member"
5537
5559
  end
5538
5560
  # verify the required parameter 'account_update_request_body' is set
5539
5561
  if @api_client.config.client_side_validation && account_update_request_body.nil?
5540
5562
  fail ArgumentError, "Missing the required parameter 'account_update_request_body' when calling MxPlatformApi.update_account_by_member"
5541
5563
  end
5542
5564
  # resource path
5543
- local_var_path = '/users/{user_guid}/members/{member_guid}/accounts/{account_guid}'.sub('{' + 'user_guid' + '}', CGI.escape(user_guid.to_s)).sub('{' + 'member_guid' + '}', CGI.escape(member_guid.to_s)).sub('{' + 'account_guid' + '}', CGI.escape(account_guid.to_s))
5565
+ local_var_path = '/users/{user_guid}/members/{member_guid}/accounts/{account_guid}'.sub('{' + 'account_guid' + '}', CGI.escape(account_guid.to_s)).sub('{' + 'member_guid' + '}', CGI.escape(member_guid.to_s)).sub('{' + 'user_guid' + '}', CGI.escape(user_guid.to_s))
5544
5566
 
5545
5567
  # query parameters
5546
5568
  query_params = opts[:query_params] || {}
@@ -5666,29 +5688,33 @@ module MxPlatformRuby
5666
5688
 
5667
5689
  # Update managed account
5668
5690
  # Use this endpoint to update the attributes of a partner-managed account according to its unique GUID.
5691
+ # @param account_guid [String] The unique id for an &#x60;account&#x60;.
5669
5692
  # @param member_guid [String] The unique id for a &#x60;member&#x60;.
5670
5693
  # @param user_guid [String] The unique id for a &#x60;user&#x60;.
5671
- # @param account_guid [String] The unique id for an &#x60;account&#x60;.
5672
5694
  # @param managed_account_update_request_body [ManagedAccountUpdateRequestBody] Managed account object to be updated (While no single parameter is required, the request body can&#39;t be empty)
5673
5695
  # @param [Hash] opts the optional parameters
5674
5696
  # @return [AccountResponseBody]
5675
- def update_managed_account(member_guid, user_guid, account_guid, managed_account_update_request_body, opts = {})
5676
- data, _status_code, _headers = update_managed_account_with_http_info(member_guid, user_guid, account_guid, managed_account_update_request_body, opts)
5697
+ def update_managed_account(account_guid, member_guid, user_guid, managed_account_update_request_body, opts = {})
5698
+ data, _status_code, _headers = update_managed_account_with_http_info(account_guid, member_guid, user_guid, managed_account_update_request_body, opts)
5677
5699
  data
5678
5700
  end
5679
5701
 
5680
5702
  # Update managed account
5681
5703
  # Use this endpoint to update the attributes of a partner-managed account according to its unique GUID.
5704
+ # @param account_guid [String] The unique id for an &#x60;account&#x60;.
5682
5705
  # @param member_guid [String] The unique id for a &#x60;member&#x60;.
5683
5706
  # @param user_guid [String] The unique id for a &#x60;user&#x60;.
5684
- # @param account_guid [String] The unique id for an &#x60;account&#x60;.
5685
5707
  # @param managed_account_update_request_body [ManagedAccountUpdateRequestBody] Managed account object to be updated (While no single parameter is required, the request body can&#39;t be empty)
5686
5708
  # @param [Hash] opts the optional parameters
5687
5709
  # @return [Array<(AccountResponseBody, Integer, Hash)>] AccountResponseBody data, response status code and response headers
5688
- def update_managed_account_with_http_info(member_guid, user_guid, account_guid, managed_account_update_request_body, opts = {})
5710
+ def update_managed_account_with_http_info(account_guid, member_guid, user_guid, managed_account_update_request_body, opts = {})
5689
5711
  if @api_client.config.debugging
5690
5712
  @api_client.config.logger.debug 'Calling API: MxPlatformApi.update_managed_account ...'
5691
5713
  end
5714
+ # verify the required parameter 'account_guid' is set
5715
+ if @api_client.config.client_side_validation && account_guid.nil?
5716
+ fail ArgumentError, "Missing the required parameter 'account_guid' when calling MxPlatformApi.update_managed_account"
5717
+ end
5692
5718
  # verify the required parameter 'member_guid' is set
5693
5719
  if @api_client.config.client_side_validation && member_guid.nil?
5694
5720
  fail ArgumentError, "Missing the required parameter 'member_guid' when calling MxPlatformApi.update_managed_account"
@@ -5697,16 +5723,12 @@ module MxPlatformRuby
5697
5723
  if @api_client.config.client_side_validation && user_guid.nil?
5698
5724
  fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.update_managed_account"
5699
5725
  end
5700
- # verify the required parameter 'account_guid' is set
5701
- if @api_client.config.client_side_validation && account_guid.nil?
5702
- fail ArgumentError, "Missing the required parameter 'account_guid' when calling MxPlatformApi.update_managed_account"
5703
- end
5704
5726
  # verify the required parameter 'managed_account_update_request_body' is set
5705
5727
  if @api_client.config.client_side_validation && managed_account_update_request_body.nil?
5706
5728
  fail ArgumentError, "Missing the required parameter 'managed_account_update_request_body' when calling MxPlatformApi.update_managed_account"
5707
5729
  end
5708
5730
  # resource path
5709
- local_var_path = '/users/{user_guid}/managed_members/{member_guid}/accounts/{account_guid}'.sub('{' + 'member_guid' + '}', CGI.escape(member_guid.to_s)).sub('{' + 'user_guid' + '}', CGI.escape(user_guid.to_s)).sub('{' + 'account_guid' + '}', CGI.escape(account_guid.to_s))
5731
+ local_var_path = '/users/{user_guid}/managed_members/{member_guid}/accounts/{account_guid}'.sub('{' + 'account_guid' + '}', CGI.escape(account_guid.to_s)).sub('{' + 'member_guid' + '}', CGI.escape(member_guid.to_s)).sub('{' + 'user_guid' + '}', CGI.escape(user_guid.to_s))
5710
5732
 
5711
5733
  # query parameters
5712
5734
  query_params = opts[:query_params] || {}
@@ -5832,47 +5854,53 @@ module MxPlatformRuby
5832
5854
 
5833
5855
  # Update managed transaction
5834
5856
  # Use this endpoint to update the attributes of the specified partner_managed `transaction`.
5857
+ # @param account_guid [String] The unique id for an &#x60;account&#x60;.
5835
5858
  # @param member_guid [String] The unique id for a &#x60;member&#x60;.
5836
- # @param user_guid [String] The unique id for a &#x60;user&#x60;.
5837
5859
  # @param transaction_guid [String] The unique id for a &#x60;transaction&#x60;.
5860
+ # @param user_guid [String] The unique id for a &#x60;user&#x60;.
5838
5861
  # @param managed_transaction_update_request_body [ManagedTransactionUpdateRequestBody] Managed transaction object to be updated (While no single parameter is required, the request body can&#39;t be empty)
5839
5862
  # @param [Hash] opts the optional parameters
5840
5863
  # @return [TransactionResponseBody]
5841
- def update_managed_transaction(member_guid, user_guid, transaction_guid, managed_transaction_update_request_body, opts = {})
5842
- data, _status_code, _headers = update_managed_transaction_with_http_info(member_guid, user_guid, transaction_guid, managed_transaction_update_request_body, opts)
5864
+ def update_managed_transaction(account_guid, member_guid, transaction_guid, user_guid, managed_transaction_update_request_body, opts = {})
5865
+ data, _status_code, _headers = update_managed_transaction_with_http_info(account_guid, member_guid, transaction_guid, user_guid, managed_transaction_update_request_body, opts)
5843
5866
  data
5844
5867
  end
5845
5868
 
5846
5869
  # Update managed transaction
5847
5870
  # Use this endpoint to update the attributes of the specified partner_managed &#x60;transaction&#x60;.
5871
+ # @param account_guid [String] The unique id for an &#x60;account&#x60;.
5848
5872
  # @param member_guid [String] The unique id for a &#x60;member&#x60;.
5849
- # @param user_guid [String] The unique id for a &#x60;user&#x60;.
5850
5873
  # @param transaction_guid [String] The unique id for a &#x60;transaction&#x60;.
5874
+ # @param user_guid [String] The unique id for a &#x60;user&#x60;.
5851
5875
  # @param managed_transaction_update_request_body [ManagedTransactionUpdateRequestBody] Managed transaction object to be updated (While no single parameter is required, the request body can&#39;t be empty)
5852
5876
  # @param [Hash] opts the optional parameters
5853
5877
  # @return [Array<(TransactionResponseBody, Integer, Hash)>] TransactionResponseBody data, response status code and response headers
5854
- def update_managed_transaction_with_http_info(member_guid, user_guid, transaction_guid, managed_transaction_update_request_body, opts = {})
5878
+ def update_managed_transaction_with_http_info(account_guid, member_guid, transaction_guid, user_guid, managed_transaction_update_request_body, opts = {})
5855
5879
  if @api_client.config.debugging
5856
5880
  @api_client.config.logger.debug 'Calling API: MxPlatformApi.update_managed_transaction ...'
5857
5881
  end
5882
+ # verify the required parameter 'account_guid' is set
5883
+ if @api_client.config.client_side_validation && account_guid.nil?
5884
+ fail ArgumentError, "Missing the required parameter 'account_guid' when calling MxPlatformApi.update_managed_transaction"
5885
+ end
5858
5886
  # verify the required parameter 'member_guid' is set
5859
5887
  if @api_client.config.client_side_validation && member_guid.nil?
5860
5888
  fail ArgumentError, "Missing the required parameter 'member_guid' when calling MxPlatformApi.update_managed_transaction"
5861
5889
  end
5862
- # verify the required parameter 'user_guid' is set
5863
- if @api_client.config.client_side_validation && user_guid.nil?
5864
- fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.update_managed_transaction"
5865
- end
5866
5890
  # verify the required parameter 'transaction_guid' is set
5867
5891
  if @api_client.config.client_side_validation && transaction_guid.nil?
5868
5892
  fail ArgumentError, "Missing the required parameter 'transaction_guid' when calling MxPlatformApi.update_managed_transaction"
5869
5893
  end
5894
+ # verify the required parameter 'user_guid' is set
5895
+ if @api_client.config.client_side_validation && user_guid.nil?
5896
+ fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.update_managed_transaction"
5897
+ end
5870
5898
  # verify the required parameter 'managed_transaction_update_request_body' is set
5871
5899
  if @api_client.config.client_side_validation && managed_transaction_update_request_body.nil?
5872
5900
  fail ArgumentError, "Missing the required parameter 'managed_transaction_update_request_body' when calling MxPlatformApi.update_managed_transaction"
5873
5901
  end
5874
5902
  # resource path
5875
- local_var_path = '/users/{user_guid}/managed_members/{member_guid}/transactions/{transaction_guid}'.sub('{' + 'member_guid' + '}', CGI.escape(member_guid.to_s)).sub('{' + 'user_guid' + '}', CGI.escape(user_guid.to_s)).sub('{' + 'transaction_guid' + '}', CGI.escape(transaction_guid.to_s))
5903
+ local_var_path = '/users/{user_guid}/managed_members/{member_guid}/accounts/{account_guid}/transactions/{transaction_guid}'.sub('{' + 'account_guid' + '}', CGI.escape(account_guid.to_s)).sub('{' + 'member_guid' + '}', CGI.escape(member_guid.to_s)).sub('{' + 'transaction_guid' + '}', CGI.escape(transaction_guid.to_s)).sub('{' + 'user_guid' + '}', CGI.escape(user_guid.to_s))
5876
5904
 
5877
5905
  # query parameters
5878
5906
  query_params = opts[:query_params] || {}