mx-platform-ruby 0.2.1 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (149) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +40 -41
  4. data/docs/AccountNumberResponse.md +32 -0
  5. data/docs/AccountNumbersResponseBody.md +2 -2
  6. data/docs/AccountOwnerResponse.md +40 -0
  7. data/docs/AccountOwnersResponseBody.md +2 -2
  8. data/docs/AccountResponse.md +96 -0
  9. data/docs/AccountResponseBody.md +1 -1
  10. data/docs/AccountsResponseBody.md +2 -2
  11. data/docs/CategoriesResponseBody.md +2 -2
  12. data/docs/CategoryResponse.md +32 -0
  13. data/docs/CategoryResponseBody.md +1 -1
  14. data/docs/ChallengeResponse.md +30 -0
  15. data/docs/ChallengeResponseImageOptions.md +22 -0
  16. data/docs/ChallengeResponseOptions.md +20 -0
  17. data/docs/ChallengesResponseBody.md +2 -2
  18. data/docs/ConnectWidgetResponse.md +20 -0
  19. data/docs/ConnectWidgetResponseBody.md +1 -1
  20. data/docs/CredentialResponse.md +26 -0
  21. data/docs/CredentialsResponseBody.md +2 -2
  22. data/docs/EnhanceTransactionResponse.md +48 -0
  23. data/docs/EnhanceTransactionsResponseBody.md +1 -1
  24. data/docs/HoldingResponse.md +52 -0
  25. data/docs/HoldingResponseBody.md +1 -1
  26. data/docs/HoldingsResponseBody.md +2 -2
  27. data/docs/InstitutionResponse.md +36 -0
  28. data/docs/InstitutionResponseBody.md +1 -1
  29. data/docs/InstitutionsResponseBody.md +2 -2
  30. data/docs/MemberResponse.md +40 -0
  31. data/docs/MemberResponseBody.md +1 -1
  32. data/docs/MemberStatusResponse.md +34 -0
  33. data/docs/MemberStatusResponseBody.md +1 -1
  34. data/docs/MembersResponseBody.md +2 -2
  35. data/docs/MerchantResponse.md +28 -0
  36. data/docs/MerchantResponseBody.md +1 -1
  37. data/docs/MerchantsResponseBody.md +2 -2
  38. data/docs/MxPlatformApi.md +196 -196
  39. data/docs/OAuthWindowResponse.md +20 -0
  40. data/docs/OAuthWindowResponseBody.md +1 -1
  41. data/docs/PaginationResponse.md +24 -0
  42. data/docs/StatementResponse.md +32 -0
  43. data/docs/StatementResponseBody.md +1 -1
  44. data/docs/StatementsResponseBody.md +2 -2
  45. data/docs/TagResponse.md +22 -0
  46. data/docs/TagResponseBody.md +1 -1
  47. data/docs/TaggingResponse.md +26 -0
  48. data/docs/TaggingResponseBody.md +1 -1
  49. data/docs/TaggingsResponseBody.md +2 -2
  50. data/docs/TagsResponseBody.md +2 -2
  51. data/docs/TransactionResponse.md +88 -0
  52. data/docs/TransactionResponseBody.md +1 -1
  53. data/docs/TransactionRuleResponse.md +30 -0
  54. data/docs/TransactionRuleResponseBody.md +1 -1
  55. data/docs/TransactionRulesResponseBody.md +2 -2
  56. data/docs/TransactionsResponseBody.md +2 -2
  57. data/docs/UserResponse.md +26 -0
  58. data/docs/UserResponseBody.md +1 -1
  59. data/docs/UsersResponseBody.md +2 -2
  60. data/docs/WidgetResponse.md +22 -0
  61. data/docs/WidgetResponseBody.md +1 -1
  62. data/lib/mx-platform-ruby.rb +24 -25
  63. data/lib/mx-platform-ruby/api/mx_platform_api.rb +185 -185
  64. data/lib/mx-platform-ruby/models/account_number_response.rb +281 -0
  65. data/lib/mx-platform-ruby/models/account_numbers_response_body.rb +2 -2
  66. data/lib/mx-platform-ruby/models/account_owner_response.rb +317 -0
  67. data/lib/mx-platform-ruby/models/account_owners_response_body.rb +2 -2
  68. data/lib/mx-platform-ruby/models/account_response.rb +569 -0
  69. data/lib/mx-platform-ruby/models/account_response_body.rb +1 -1
  70. data/lib/mx-platform-ruby/models/accounts_response_body.rb +2 -2
  71. data/lib/mx-platform-ruby/models/categories_response_body.rb +2 -2
  72. data/lib/mx-platform-ruby/models/category_response.rb +281 -0
  73. data/lib/mx-platform-ruby/models/category_response_body.rb +1 -1
  74. data/lib/mx-platform-ruby/models/challenge_response.rb +276 -0
  75. data/lib/mx-platform-ruby/models/challenge_response_image_options.rb +236 -0
  76. data/lib/mx-platform-ruby/models/challenge_response_options.rb +227 -0
  77. data/lib/mx-platform-ruby/models/challenges_response_body.rb +2 -2
  78. data/lib/mx-platform-ruby/models/connect_widget_response.rb +227 -0
  79. data/lib/mx-platform-ruby/models/connect_widget_response_body.rb +1 -1
  80. data/lib/mx-platform-ruby/models/credential_response.rb +254 -0
  81. data/lib/mx-platform-ruby/models/credentials_response_body.rb +2 -2
  82. data/lib/mx-platform-ruby/models/enhance_transaction_response.rb +353 -0
  83. data/lib/mx-platform-ruby/models/enhance_transactions_response_body.rb +1 -1
  84. data/lib/mx-platform-ruby/models/holding_response.rb +371 -0
  85. data/lib/mx-platform-ruby/models/holding_response_body.rb +1 -1
  86. data/lib/mx-platform-ruby/models/holdings_response_body.rb +2 -2
  87. data/lib/mx-platform-ruby/models/institution_response.rb +299 -0
  88. data/lib/mx-platform-ruby/models/institution_response_body.rb +1 -1
  89. data/lib/mx-platform-ruby/models/institutions_response_body.rb +2 -2
  90. data/lib/mx-platform-ruby/models/member_response.rb +317 -0
  91. data/lib/mx-platform-ruby/models/member_response_body.rb +1 -1
  92. data/lib/mx-platform-ruby/models/member_status_response.rb +292 -0
  93. data/lib/mx-platform-ruby/models/member_status_response_body.rb +1 -1
  94. data/lib/mx-platform-ruby/models/members_response_body.rb +2 -2
  95. data/lib/mx-platform-ruby/models/merchant_response.rb +263 -0
  96. data/lib/mx-platform-ruby/models/merchant_response_body.rb +1 -1
  97. data/lib/mx-platform-ruby/models/merchants_response_body.rb +2 -2
  98. data/lib/mx-platform-ruby/models/o_auth_window_response.rb +227 -0
  99. data/lib/mx-platform-ruby/models/o_auth_window_response_body.rb +1 -1
  100. data/lib/mx-platform-ruby/models/pagination_response.rb +245 -0
  101. data/lib/mx-platform-ruby/models/statement_response.rb +281 -0
  102. data/lib/mx-platform-ruby/models/statement_response_body.rb +1 -1
  103. data/lib/mx-platform-ruby/models/statements_response_body.rb +2 -2
  104. data/lib/mx-platform-ruby/models/tag_response.rb +236 -0
  105. data/lib/mx-platform-ruby/models/tag_response_body.rb +1 -1
  106. data/lib/mx-platform-ruby/models/tagging_response.rb +254 -0
  107. data/lib/mx-platform-ruby/models/tagging_response_body.rb +1 -1
  108. data/lib/mx-platform-ruby/models/taggings_response_body.rb +2 -2
  109. data/lib/mx-platform-ruby/models/tags_response_body.rb +2 -2
  110. data/lib/mx-platform-ruby/models/transaction_response.rb +533 -0
  111. data/lib/mx-platform-ruby/models/transaction_response_body.rb +1 -1
  112. data/lib/mx-platform-ruby/models/transaction_rule_response.rb +272 -0
  113. data/lib/mx-platform-ruby/models/transaction_rule_response_body.rb +1 -1
  114. data/lib/mx-platform-ruby/models/transaction_rules_response_body.rb +2 -2
  115. data/lib/mx-platform-ruby/models/transactions_response_body.rb +2 -2
  116. data/lib/mx-platform-ruby/models/user_response.rb +254 -0
  117. data/lib/mx-platform-ruby/models/user_response_body.rb +1 -1
  118. data/lib/mx-platform-ruby/models/users_response_body.rb +2 -2
  119. data/lib/mx-platform-ruby/models/widget_response.rb +236 -0
  120. data/lib/mx-platform-ruby/models/widget_response_body.rb +1 -1
  121. data/lib/mx-platform-ruby/version.rb +1 -1
  122. data/openapi/config.yml +11 -0
  123. data/pkg/mx-platform-ruby-0.2.1.gem +0 -0
  124. data/spec/api/mx_platform_api_spec.rb +51 -51
  125. data/spec/models/account_number_response_spec.rb +76 -0
  126. data/spec/models/account_owner_response_spec.rb +100 -0
  127. data/spec/models/account_response_spec.rb +268 -0
  128. data/spec/models/category_response_spec.rb +76 -0
  129. data/spec/models/challenge_response_image_options_spec.rb +46 -0
  130. data/spec/models/challenge_response_options_spec.rb +40 -0
  131. data/spec/models/challenge_response_spec.rb +70 -0
  132. data/spec/models/connect_widget_response_spec.rb +40 -0
  133. data/spec/models/credential_response_spec.rb +58 -0
  134. data/spec/models/enhance_transaction_response_spec.rb +124 -0
  135. data/spec/models/holding_response_spec.rb +136 -0
  136. data/spec/models/institution_response_spec.rb +88 -0
  137. data/spec/models/member_response_spec.rb +100 -0
  138. data/spec/models/member_status_response_spec.rb +82 -0
  139. data/spec/models/merchant_response_spec.rb +64 -0
  140. data/spec/models/o_auth_window_response_spec.rb +40 -0
  141. data/spec/models/pagination_response_spec.rb +52 -0
  142. data/spec/models/statement_response_spec.rb +76 -0
  143. data/spec/models/tag_response_spec.rb +46 -0
  144. data/spec/models/tagging_response_spec.rb +58 -0
  145. data/spec/models/transaction_response_spec.rb +244 -0
  146. data/spec/models/transaction_rule_response_spec.rb +70 -0
  147. data/spec/models/user_response_spec.rb +58 -0
  148. data/spec/models/widget_response_spec.rb +46 -0
  149. metadata +100 -2
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **widget_url** | [**Widget**](Widget.md) | | [optional] |
7
+ | **widget_url** | [**WidgetResponse**](WidgetResponse.md) | | [optional] |
8
8
 
9
9
  ## Example
10
10
 
@@ -17,83 +17,82 @@ require 'mx-platform-ruby/version'
17
17
  require 'mx-platform-ruby/configuration'
18
18
 
19
19
  # Models
20
- require 'mx-platform-ruby/models/account'
21
- require 'mx-platform-ruby/models/account_number'
20
+ require 'mx-platform-ruby/models/account_number_response'
22
21
  require 'mx-platform-ruby/models/account_numbers_response_body'
23
- require 'mx-platform-ruby/models/account_owner'
22
+ require 'mx-platform-ruby/models/account_owner_response'
24
23
  require 'mx-platform-ruby/models/account_owners_response_body'
24
+ require 'mx-platform-ruby/models/account_response'
25
25
  require 'mx-platform-ruby/models/account_response_body'
26
26
  require 'mx-platform-ruby/models/account_update_request'
27
27
  require 'mx-platform-ruby/models/account_update_request_body'
28
28
  require 'mx-platform-ruby/models/accounts_response_body'
29
29
  require 'mx-platform-ruby/models/categories_response_body'
30
- require 'mx-platform-ruby/models/category'
31
30
  require 'mx-platform-ruby/models/category_create_request'
32
31
  require 'mx-platform-ruby/models/category_create_request_body'
32
+ require 'mx-platform-ruby/models/category_response'
33
33
  require 'mx-platform-ruby/models/category_response_body'
34
34
  require 'mx-platform-ruby/models/category_update_request'
35
35
  require 'mx-platform-ruby/models/category_update_request_body'
36
- require 'mx-platform-ruby/models/challenge'
37
- require 'mx-platform-ruby/models/challenge_image_options'
38
- require 'mx-platform-ruby/models/challenge_options'
36
+ require 'mx-platform-ruby/models/challenge_response'
37
+ require 'mx-platform-ruby/models/challenge_response_image_options'
38
+ require 'mx-platform-ruby/models/challenge_response_options'
39
39
  require 'mx-platform-ruby/models/challenges_response_body'
40
- require 'mx-platform-ruby/models/connect_widget'
41
40
  require 'mx-platform-ruby/models/connect_widget_request'
42
41
  require 'mx-platform-ruby/models/connect_widget_request_body'
42
+ require 'mx-platform-ruby/models/connect_widget_response'
43
43
  require 'mx-platform-ruby/models/connect_widget_response_body'
44
- require 'mx-platform-ruby/models/credential'
45
44
  require 'mx-platform-ruby/models/credential_request'
45
+ require 'mx-platform-ruby/models/credential_response'
46
46
  require 'mx-platform-ruby/models/credentials_response_body'
47
- require 'mx-platform-ruby/models/enhance_transaction'
47
+ require 'mx-platform-ruby/models/enhance_transaction_response'
48
48
  require 'mx-platform-ruby/models/enhance_transactions_request'
49
49
  require 'mx-platform-ruby/models/enhance_transactions_request_body'
50
50
  require 'mx-platform-ruby/models/enhance_transactions_response_body'
51
- require 'mx-platform-ruby/models/holding'
51
+ require 'mx-platform-ruby/models/holding_response'
52
52
  require 'mx-platform-ruby/models/holding_response_body'
53
53
  require 'mx-platform-ruby/models/holdings_response_body'
54
- require 'mx-platform-ruby/models/inline_response200'
55
- require 'mx-platform-ruby/models/institution'
54
+ require 'mx-platform-ruby/models/institution_response'
56
55
  require 'mx-platform-ruby/models/institution_response_body'
57
56
  require 'mx-platform-ruby/models/institutions_response_body'
58
- require 'mx-platform-ruby/models/member'
59
57
  require 'mx-platform-ruby/models/member_create_request'
60
58
  require 'mx-platform-ruby/models/member_create_request_body'
59
+ require 'mx-platform-ruby/models/member_response'
61
60
  require 'mx-platform-ruby/models/member_response_body'
62
61
  require 'mx-platform-ruby/models/member_resume_request'
63
62
  require 'mx-platform-ruby/models/member_resume_request_body'
64
- require 'mx-platform-ruby/models/member_status'
63
+ require 'mx-platform-ruby/models/member_status_response'
65
64
  require 'mx-platform-ruby/models/member_status_response_body'
66
65
  require 'mx-platform-ruby/models/member_update_request'
67
66
  require 'mx-platform-ruby/models/member_update_request_body'
68
67
  require 'mx-platform-ruby/models/members_response_body'
69
- require 'mx-platform-ruby/models/merchant'
68
+ require 'mx-platform-ruby/models/merchant_response'
70
69
  require 'mx-platform-ruby/models/merchant_response_body'
71
70
  require 'mx-platform-ruby/models/merchants_response_body'
72
- require 'mx-platform-ruby/models/o_auth_window'
71
+ require 'mx-platform-ruby/models/o_auth_window_response'
73
72
  require 'mx-platform-ruby/models/o_auth_window_response_body'
74
- require 'mx-platform-ruby/models/pagination'
75
- require 'mx-platform-ruby/models/statement'
73
+ require 'mx-platform-ruby/models/pagination_response'
74
+ require 'mx-platform-ruby/models/statement_response'
76
75
  require 'mx-platform-ruby/models/statement_response_body'
77
76
  require 'mx-platform-ruby/models/statements_response_body'
78
- require 'mx-platform-ruby/models/tag'
79
77
  require 'mx-platform-ruby/models/tag_create_request'
80
78
  require 'mx-platform-ruby/models/tag_create_request_body'
79
+ require 'mx-platform-ruby/models/tag_response'
81
80
  require 'mx-platform-ruby/models/tag_response_body'
82
81
  require 'mx-platform-ruby/models/tag_update_request'
83
82
  require 'mx-platform-ruby/models/tag_update_request_body'
84
- require 'mx-platform-ruby/models/tagging'
85
83
  require 'mx-platform-ruby/models/tagging_create_request'
86
84
  require 'mx-platform-ruby/models/tagging_create_request_body'
85
+ require 'mx-platform-ruby/models/tagging_response'
87
86
  require 'mx-platform-ruby/models/tagging_response_body'
88
87
  require 'mx-platform-ruby/models/tagging_update_request'
89
88
  require 'mx-platform-ruby/models/tagging_update_request_body'
90
89
  require 'mx-platform-ruby/models/taggings_response_body'
91
90
  require 'mx-platform-ruby/models/tags_response_body'
92
- require 'mx-platform-ruby/models/transaction'
91
+ require 'mx-platform-ruby/models/transaction_response'
93
92
  require 'mx-platform-ruby/models/transaction_response_body'
94
- require 'mx-platform-ruby/models/transaction_rule'
95
93
  require 'mx-platform-ruby/models/transaction_rule_create_request'
96
94
  require 'mx-platform-ruby/models/transaction_rule_create_request_body'
95
+ require 'mx-platform-ruby/models/transaction_rule_response'
97
96
  require 'mx-platform-ruby/models/transaction_rule_response_body'
98
97
  require 'mx-platform-ruby/models/transaction_rule_update_request'
99
98
  require 'mx-platform-ruby/models/transaction_rule_update_request_body'
@@ -101,16 +100,16 @@ require 'mx-platform-ruby/models/transaction_rules_response_body'
101
100
  require 'mx-platform-ruby/models/transaction_update_request'
102
101
  require 'mx-platform-ruby/models/transaction_update_request_body'
103
102
  require 'mx-platform-ruby/models/transactions_response_body'
104
- require 'mx-platform-ruby/models/user'
105
103
  require 'mx-platform-ruby/models/user_create_request'
106
104
  require 'mx-platform-ruby/models/user_create_request_body'
105
+ require 'mx-platform-ruby/models/user_response'
107
106
  require 'mx-platform-ruby/models/user_response_body'
108
107
  require 'mx-platform-ruby/models/user_update_request'
109
108
  require 'mx-platform-ruby/models/user_update_request_body'
110
109
  require 'mx-platform-ruby/models/users_response_body'
111
- require 'mx-platform-ruby/models/widget'
112
110
  require 'mx-platform-ruby/models/widget_request'
113
111
  require 'mx-platform-ruby/models/widget_request_body'
112
+ require 'mx-platform-ruby/models/widget_response'
114
113
  require 'mx-platform-ruby/models/widget_response_body'
115
114
 
116
115
  # APIs
@@ -304,7 +304,7 @@ module MxPlatformRuby
304
304
  # @param user_guid [String] The unique id for a `user`.
305
305
  # @param tag_create_request_body [TagCreateRequestBody] Tag object to be created with required parameters (tag_guid)
306
306
  # @param [Hash] opts the optional parameters
307
- # @return [InlineResponse200]
307
+ # @return [TagResponseBody]
308
308
  def create_tag(user_guid, tag_create_request_body, opts = {})
309
309
  data, _status_code, _headers = create_tag_with_http_info(user_guid, tag_create_request_body, opts)
310
310
  data
@@ -315,7 +315,7 @@ module MxPlatformRuby
315
315
  # @param user_guid [String] The unique id for a `user`.
316
316
  # @param tag_create_request_body [TagCreateRequestBody] Tag object to be created with required parameters (tag_guid)
317
317
  # @param [Hash] opts the optional parameters
318
- # @return [Array<(InlineResponse200, Integer, Hash)>] InlineResponse200 data, response status code and response headers
318
+ # @return [Array<(TagResponseBody, Integer, Hash)>] TagResponseBody data, response status code and response headers
319
319
  def create_tag_with_http_info(user_guid, tag_create_request_body, opts = {})
320
320
  if @api_client.config.debugging
321
321
  @api_client.config.logger.debug 'Calling API: MxPlatformApi.create_tag ...'
@@ -348,7 +348,7 @@ module MxPlatformRuby
348
348
  post_body = opts[:debug_body] || @api_client.object_to_http_body(tag_create_request_body)
349
349
 
350
350
  # return_type
351
- return_type = opts[:debug_return_type] || 'InlineResponse200'
351
+ return_type = opts[:debug_return_type] || 'TagResponseBody'
352
352
 
353
353
  # auth_names
354
354
  auth_names = opts[:debug_auth_names] || ['basicAuth']
@@ -985,7 +985,7 @@ module MxPlatformRuby
985
985
  return data, status_code, headers
986
986
  end
987
987
 
988
- # Download statement PDF
988
+ # Download statement pdf
989
989
  # Use this endpoint to download a specified statement PDF.
990
990
  # @param member_guid [String] The unique id for a &#x60;member&#x60;.
991
991
  # @param statement_guid [String] The unique id for a &#x60;statement&#x60;.
@@ -997,7 +997,7 @@ module MxPlatformRuby
997
997
  data
998
998
  end
999
999
 
1000
- # Download statement PDF
1000
+ # Download statement pdf
1001
1001
  # Use this endpoint to download a specified statement PDF.
1002
1002
  # @param member_guid [String] The unique id for a &#x60;member&#x60;.
1003
1003
  # @param statement_guid [String] The unique id for a &#x60;statement&#x60;.
@@ -1194,34 +1194,34 @@ module MxPlatformRuby
1194
1194
  return data, status_code, headers
1195
1195
  end
1196
1196
 
1197
- # Fetch statements by member
1197
+ # Fetch statements
1198
1198
  # Use this endpoint to fetch the statements associated with a particular member.
1199
1199
  # @param member_guid [String] The unique id for a &#x60;member&#x60;.
1200
1200
  # @param user_guid [String] The unique id for a &#x60;user&#x60;.
1201
1201
  # @param [Hash] opts the optional parameters
1202
1202
  # @return [MemberResponseBody]
1203
- def fetch_statements_by_member(member_guid, user_guid, opts = {})
1204
- data, _status_code, _headers = fetch_statements_by_member_with_http_info(member_guid, user_guid, opts)
1203
+ def fetch_statements(member_guid, user_guid, opts = {})
1204
+ data, _status_code, _headers = fetch_statements_with_http_info(member_guid, user_guid, opts)
1205
1205
  data
1206
1206
  end
1207
1207
 
1208
- # Fetch statements by member
1208
+ # Fetch statements
1209
1209
  # Use this endpoint to fetch the statements associated with a particular member.
1210
1210
  # @param member_guid [String] The unique id for a &#x60;member&#x60;.
1211
1211
  # @param user_guid [String] The unique id for a &#x60;user&#x60;.
1212
1212
  # @param [Hash] opts the optional parameters
1213
1213
  # @return [Array<(MemberResponseBody, Integer, Hash)>] MemberResponseBody data, response status code and response headers
1214
- def fetch_statements_by_member_with_http_info(member_guid, user_guid, opts = {})
1214
+ def fetch_statements_with_http_info(member_guid, user_guid, opts = {})
1215
1215
  if @api_client.config.debugging
1216
- @api_client.config.logger.debug 'Calling API: MxPlatformApi.fetch_statements_by_member ...'
1216
+ @api_client.config.logger.debug 'Calling API: MxPlatformApi.fetch_statements ...'
1217
1217
  end
1218
1218
  # verify the required parameter 'member_guid' is set
1219
1219
  if @api_client.config.client_side_validation && member_guid.nil?
1220
- fail ArgumentError, "Missing the required parameter 'member_guid' when calling MxPlatformApi.fetch_statements_by_member"
1220
+ fail ArgumentError, "Missing the required parameter 'member_guid' when calling MxPlatformApi.fetch_statements"
1221
1221
  end
1222
1222
  # verify the required parameter 'user_guid' is set
1223
1223
  if @api_client.config.client_side_validation && user_guid.nil?
1224
- fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.fetch_statements_by_member"
1224
+ fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.fetch_statements"
1225
1225
  end
1226
1226
  # resource path
1227
1227
  local_var_path = '/users/{user_guid}/members/{member_guid}/fetch_statements'.sub('{' + 'member_guid' + '}', CGI.escape(member_guid.to_s)).sub('{' + 'user_guid' + '}', CGI.escape(user_guid.to_s))
@@ -1247,7 +1247,7 @@ module MxPlatformRuby
1247
1247
  auth_names = opts[:debug_auth_names] || ['basicAuth']
1248
1248
 
1249
1249
  new_options = opts.merge(
1250
- :operation => :"MxPlatformApi.fetch_statements_by_member",
1250
+ :operation => :"MxPlatformApi.fetch_statements",
1251
1251
  :header_params => header_params,
1252
1252
  :query_params => query_params,
1253
1253
  :form_params => form_params,
@@ -1258,7 +1258,7 @@ module MxPlatformRuby
1258
1258
 
1259
1259
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
1260
1260
  if @api_client.config.debugging
1261
- @api_client.config.logger.debug "API called: MxPlatformApi#fetch_statements_by_member\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1261
+ @api_client.config.logger.debug "API called: MxPlatformApi#fetch_statements\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1262
1262
  end
1263
1263
  return data, status_code, headers
1264
1264
  end
@@ -1482,7 +1482,7 @@ module MxPlatformRuby
1482
1482
  return data, status_code, headers
1483
1483
  end
1484
1484
 
1485
- # List account owners
1485
+ # List account owners by member
1486
1486
  # This endpoint returns an array with information about every account associated with a particular member.
1487
1487
  # @param member_guid [String] The unique id for a &#x60;member&#x60;.
1488
1488
  # @param user_guid [String] The unique id for a &#x60;user&#x60;.
@@ -1490,12 +1490,12 @@ module MxPlatformRuby
1490
1490
  # @option opts [Integer] :page Specify current page.
1491
1491
  # @option opts [Integer] :records_per_page Specify records per page.
1492
1492
  # @return [AccountOwnersResponseBody]
1493
- def list_account_owners(member_guid, user_guid, opts = {})
1494
- data, _status_code, _headers = list_account_owners_with_http_info(member_guid, user_guid, opts)
1493
+ def list_account_owners_by_member(member_guid, user_guid, opts = {})
1494
+ data, _status_code, _headers = list_account_owners_by_member_with_http_info(member_guid, user_guid, opts)
1495
1495
  data
1496
1496
  end
1497
1497
 
1498
- # List account owners
1498
+ # List account owners by member
1499
1499
  # This endpoint returns an array with information about every account associated with a particular member.
1500
1500
  # @param member_guid [String] The unique id for a &#x60;member&#x60;.
1501
1501
  # @param user_guid [String] The unique id for a &#x60;user&#x60;.
@@ -1503,17 +1503,17 @@ module MxPlatformRuby
1503
1503
  # @option opts [Integer] :page Specify current page.
1504
1504
  # @option opts [Integer] :records_per_page Specify records per page.
1505
1505
  # @return [Array<(AccountOwnersResponseBody, Integer, Hash)>] AccountOwnersResponseBody data, response status code and response headers
1506
- def list_account_owners_with_http_info(member_guid, user_guid, opts = {})
1506
+ def list_account_owners_by_member_with_http_info(member_guid, user_guid, opts = {})
1507
1507
  if @api_client.config.debugging
1508
- @api_client.config.logger.debug 'Calling API: MxPlatformApi.list_account_owners ...'
1508
+ @api_client.config.logger.debug 'Calling API: MxPlatformApi.list_account_owners_by_member ...'
1509
1509
  end
1510
1510
  # verify the required parameter 'member_guid' is set
1511
1511
  if @api_client.config.client_side_validation && member_guid.nil?
1512
- fail ArgumentError, "Missing the required parameter 'member_guid' when calling MxPlatformApi.list_account_owners"
1512
+ fail ArgumentError, "Missing the required parameter 'member_guid' when calling MxPlatformApi.list_account_owners_by_member"
1513
1513
  end
1514
1514
  # verify the required parameter 'user_guid' is set
1515
1515
  if @api_client.config.client_side_validation && user_guid.nil?
1516
- fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.list_account_owners"
1516
+ fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.list_account_owners_by_member"
1517
1517
  end
1518
1518
  # resource path
1519
1519
  local_var_path = '/users/{user_guid}/members/{member_guid}/account_owners'.sub('{' + 'member_guid' + '}', CGI.escape(member_guid.to_s)).sub('{' + 'user_guid' + '}', CGI.escape(user_guid.to_s))
@@ -1541,7 +1541,7 @@ module MxPlatformRuby
1541
1541
  auth_names = opts[:debug_auth_names] || ['basicAuth']
1542
1542
 
1543
1543
  new_options = opts.merge(
1544
- :operation => :"MxPlatformApi.list_account_owners",
1544
+ :operation => :"MxPlatformApi.list_account_owners_by_member",
1545
1545
  :header_params => header_params,
1546
1546
  :query_params => query_params,
1547
1547
  :form_params => form_params,
@@ -1552,7 +1552,7 @@ module MxPlatformRuby
1552
1552
 
1553
1553
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1554
1554
  if @api_client.config.debugging
1555
- @api_client.config.logger.debug "API called: MxPlatformApi#list_account_owners\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1555
+ @api_client.config.logger.debug "API called: MxPlatformApi#list_account_owners_by_member\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1556
1556
  end
1557
1557
  return data, status_code, headers
1558
1558
  end
@@ -1689,26 +1689,26 @@ module MxPlatformRuby
1689
1689
  return data, status_code, headers
1690
1690
  end
1691
1691
 
1692
- # List favorites
1692
+ # List favorite institutions
1693
1693
  # This endpoint returns a paginated list containing institutions that have been set as the partner’s favorites, sorted by popularity. Please contact MX to set a list of favorites.
1694
1694
  # @param [Hash] opts the optional parameters
1695
1695
  # @option opts [Integer] :page Specify current page.
1696
1696
  # @option opts [Integer] :records_per_page Specify records per page.
1697
1697
  # @return [InstitutionsResponseBody]
1698
- def list_favorites(opts = {})
1699
- data, _status_code, _headers = list_favorites_with_http_info(opts)
1698
+ def list_favorite_institutions(opts = {})
1699
+ data, _status_code, _headers = list_favorite_institutions_with_http_info(opts)
1700
1700
  data
1701
1701
  end
1702
1702
 
1703
- # List favorites
1703
+ # List favorite institutions
1704
1704
  # This endpoint returns a paginated list containing institutions that have been set as the partner’s favorites, sorted by popularity. Please contact MX to set a list of favorites.
1705
1705
  # @param [Hash] opts the optional parameters
1706
1706
  # @option opts [Integer] :page Specify current page.
1707
1707
  # @option opts [Integer] :records_per_page Specify records per page.
1708
1708
  # @return [Array<(InstitutionsResponseBody, Integer, Hash)>] InstitutionsResponseBody data, response status code and response headers
1709
- def list_favorites_with_http_info(opts = {})
1709
+ def list_favorite_institutions_with_http_info(opts = {})
1710
1710
  if @api_client.config.debugging
1711
- @api_client.config.logger.debug 'Calling API: MxPlatformApi.list_favorites ...'
1711
+ @api_client.config.logger.debug 'Calling API: MxPlatformApi.list_favorite_institutions ...'
1712
1712
  end
1713
1713
  # resource path
1714
1714
  local_var_path = '/institutions/favorites'
@@ -1736,7 +1736,7 @@ module MxPlatformRuby
1736
1736
  auth_names = opts[:debug_auth_names] || ['basicAuth']
1737
1737
 
1738
1738
  new_options = opts.merge(
1739
- :operation => :"MxPlatformApi.list_favorites",
1739
+ :operation => :"MxPlatformApi.list_favorite_institutions",
1740
1740
  :header_params => header_params,
1741
1741
  :query_params => query_params,
1742
1742
  :form_params => form_params,
@@ -1747,14 +1747,13 @@ module MxPlatformRuby
1747
1747
 
1748
1748
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1749
1749
  if @api_client.config.debugging
1750
- @api_client.config.logger.debug "API called: MxPlatformApi#list_favorites\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1750
+ @api_client.config.logger.debug "API called: MxPlatformApi#list_favorite_institutions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1751
1751
  end
1752
1752
  return data, status_code, headers
1753
1753
  end
1754
1754
 
1755
- # List holdings by member
1756
- # This endpoint returns all holdings associated with the specified `member` across all accounts.
1757
- # @param member_guid [String] The unique id for a &#x60;member&#x60;.
1755
+ # List holdings
1756
+ # This endpoint returns all holdings associated with the specified `user` across all accounts and members.
1758
1757
  # @param user_guid [String] The unique id for a &#x60;user&#x60;.
1759
1758
  # @param [Hash] opts the optional parameters
1760
1759
  # @option opts [String] :from_date Filter holdings from this date.
@@ -1762,14 +1761,13 @@ module MxPlatformRuby
1762
1761
  # @option opts [Integer] :records_per_page Specify records per page.
1763
1762
  # @option opts [String] :to_date Filter holdings to this date.
1764
1763
  # @return [HoldingsResponseBody]
1765
- def list_holdings_by_member(member_guid, user_guid, opts = {})
1766
- data, _status_code, _headers = list_holdings_by_member_with_http_info(member_guid, user_guid, opts)
1764
+ def list_holdings(user_guid, opts = {})
1765
+ data, _status_code, _headers = list_holdings_with_http_info(user_guid, opts)
1767
1766
  data
1768
1767
  end
1769
1768
 
1770
- # List holdings by member
1771
- # This endpoint returns all holdings associated with the specified &#x60;member&#x60; across all accounts.
1772
- # @param member_guid [String] The unique id for a &#x60;member&#x60;.
1769
+ # List holdings
1770
+ # This endpoint returns all holdings associated with the specified &#x60;user&#x60; across all accounts and members.
1773
1771
  # @param user_guid [String] The unique id for a &#x60;user&#x60;.
1774
1772
  # @param [Hash] opts the optional parameters
1775
1773
  # @option opts [String] :from_date Filter holdings from this date.
@@ -1777,20 +1775,16 @@ module MxPlatformRuby
1777
1775
  # @option opts [Integer] :records_per_page Specify records per page.
1778
1776
  # @option opts [String] :to_date Filter holdings to this date.
1779
1777
  # @return [Array<(HoldingsResponseBody, Integer, Hash)>] HoldingsResponseBody data, response status code and response headers
1780
- def list_holdings_by_member_with_http_info(member_guid, user_guid, opts = {})
1778
+ def list_holdings_with_http_info(user_guid, opts = {})
1781
1779
  if @api_client.config.debugging
1782
- @api_client.config.logger.debug 'Calling API: MxPlatformApi.list_holdings_by_member ...'
1783
- end
1784
- # verify the required parameter 'member_guid' is set
1785
- if @api_client.config.client_side_validation && member_guid.nil?
1786
- fail ArgumentError, "Missing the required parameter 'member_guid' when calling MxPlatformApi.list_holdings_by_member"
1780
+ @api_client.config.logger.debug 'Calling API: MxPlatformApi.list_holdings ...'
1787
1781
  end
1788
1782
  # verify the required parameter 'user_guid' is set
1789
1783
  if @api_client.config.client_side_validation && user_guid.nil?
1790
- fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.list_holdings_by_member"
1784
+ fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.list_holdings"
1791
1785
  end
1792
1786
  # resource path
1793
- local_var_path = '/users/{user_guid}/members/{member_guid}/holdings'.sub('{' + 'member_guid' + '}', CGI.escape(member_guid.to_s)).sub('{' + 'user_guid' + '}', CGI.escape(user_guid.to_s))
1787
+ local_var_path = '/users/{user_guid}/holdings'.sub('{' + 'user_guid' + '}', CGI.escape(user_guid.to_s))
1794
1788
 
1795
1789
  # query parameters
1796
1790
  query_params = opts[:query_params] || {}
@@ -1817,7 +1811,7 @@ module MxPlatformRuby
1817
1811
  auth_names = opts[:debug_auth_names] || ['basicAuth']
1818
1812
 
1819
1813
  new_options = opts.merge(
1820
- :operation => :"MxPlatformApi.list_holdings_by_member",
1814
+ :operation => :"MxPlatformApi.list_holdings",
1821
1815
  :header_params => header_params,
1822
1816
  :query_params => query_params,
1823
1817
  :form_params => form_params,
@@ -1828,13 +1822,14 @@ module MxPlatformRuby
1828
1822
 
1829
1823
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1830
1824
  if @api_client.config.debugging
1831
- @api_client.config.logger.debug "API called: MxPlatformApi#list_holdings_by_member\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1825
+ @api_client.config.logger.debug "API called: MxPlatformApi#list_holdings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1832
1826
  end
1833
1827
  return data, status_code, headers
1834
1828
  end
1835
1829
 
1836
- # List holdings by user
1837
- # This endpoint returns all holdings associated with the specified `user` across all accounts and members.
1830
+ # List holdings by member
1831
+ # This endpoint returns all holdings associated with the specified `member` across all accounts.
1832
+ # @param member_guid [String] The unique id for a &#x60;member&#x60;.
1838
1833
  # @param user_guid [String] The unique id for a &#x60;user&#x60;.
1839
1834
  # @param [Hash] opts the optional parameters
1840
1835
  # @option opts [String] :from_date Filter holdings from this date.
@@ -1842,13 +1837,14 @@ module MxPlatformRuby
1842
1837
  # @option opts [Integer] :records_per_page Specify records per page.
1843
1838
  # @option opts [String] :to_date Filter holdings to this date.
1844
1839
  # @return [HoldingsResponseBody]
1845
- def list_holdings_by_user(user_guid, opts = {})
1846
- data, _status_code, _headers = list_holdings_by_user_with_http_info(user_guid, opts)
1840
+ def list_holdings_by_member(member_guid, user_guid, opts = {})
1841
+ data, _status_code, _headers = list_holdings_by_member_with_http_info(member_guid, user_guid, opts)
1847
1842
  data
1848
1843
  end
1849
1844
 
1850
- # List holdings by user
1851
- # This endpoint returns all holdings associated with the specified &#x60;user&#x60; across all accounts and members.
1845
+ # List holdings by member
1846
+ # This endpoint returns all holdings associated with the specified &#x60;member&#x60; across all accounts.
1847
+ # @param member_guid [String] The unique id for a &#x60;member&#x60;.
1852
1848
  # @param user_guid [String] The unique id for a &#x60;user&#x60;.
1853
1849
  # @param [Hash] opts the optional parameters
1854
1850
  # @option opts [String] :from_date Filter holdings from this date.
@@ -1856,16 +1852,20 @@ module MxPlatformRuby
1856
1852
  # @option opts [Integer] :records_per_page Specify records per page.
1857
1853
  # @option opts [String] :to_date Filter holdings to this date.
1858
1854
  # @return [Array<(HoldingsResponseBody, Integer, Hash)>] HoldingsResponseBody data, response status code and response headers
1859
- def list_holdings_by_user_with_http_info(user_guid, opts = {})
1855
+ def list_holdings_by_member_with_http_info(member_guid, user_guid, opts = {})
1860
1856
  if @api_client.config.debugging
1861
- @api_client.config.logger.debug 'Calling API: MxPlatformApi.list_holdings_by_user ...'
1857
+ @api_client.config.logger.debug 'Calling API: MxPlatformApi.list_holdings_by_member ...'
1858
+ end
1859
+ # verify the required parameter 'member_guid' is set
1860
+ if @api_client.config.client_side_validation && member_guid.nil?
1861
+ fail ArgumentError, "Missing the required parameter 'member_guid' when calling MxPlatformApi.list_holdings_by_member"
1862
1862
  end
1863
1863
  # verify the required parameter 'user_guid' is set
1864
1864
  if @api_client.config.client_side_validation && user_guid.nil?
1865
- fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.list_holdings_by_user"
1865
+ fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.list_holdings_by_member"
1866
1866
  end
1867
1867
  # resource path
1868
- local_var_path = '/users/{user_guid}/holdings'.sub('{' + 'user_guid' + '}', CGI.escape(user_guid.to_s))
1868
+ local_var_path = '/users/{user_guid}/members/{member_guid}/holdings'.sub('{' + 'member_guid' + '}', CGI.escape(member_guid.to_s)).sub('{' + 'user_guid' + '}', CGI.escape(user_guid.to_s))
1869
1869
 
1870
1870
  # query parameters
1871
1871
  query_params = opts[:query_params] || {}
@@ -1892,7 +1892,7 @@ module MxPlatformRuby
1892
1892
  auth_names = opts[:debug_auth_names] || ['basicAuth']
1893
1893
 
1894
1894
  new_options = opts.merge(
1895
- :operation => :"MxPlatformApi.list_holdings_by_user",
1895
+ :operation => :"MxPlatformApi.list_holdings_by_member",
1896
1896
  :header_params => header_params,
1897
1897
  :query_params => query_params,
1898
1898
  :form_params => form_params,
@@ -1903,37 +1903,37 @@ module MxPlatformRuby
1903
1903
 
1904
1904
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1905
1905
  if @api_client.config.debugging
1906
- @api_client.config.logger.debug "API called: MxPlatformApi#list_holdings_by_user\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1906
+ @api_client.config.logger.debug "API called: MxPlatformApi#list_holdings_by_member\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1907
1907
  end
1908
1908
  return data, status_code, headers
1909
1909
  end
1910
1910
 
1911
- # List institution-required credentials
1911
+ # List institution credentials
1912
1912
  # Use this endpoint to see which credentials will be needed to create a member for a specific institution.
1913
1913
  # @param institution_code [String] The institution_code of the institution.
1914
1914
  # @param [Hash] opts the optional parameters
1915
1915
  # @option opts [Integer] :page Specify current page.
1916
1916
  # @option opts [Integer] :records_per_page Specify records per page.
1917
1917
  # @return [CredentialsResponseBody]
1918
- def list_institution_required_credentials(institution_code, opts = {})
1919
- data, _status_code, _headers = list_institution_required_credentials_with_http_info(institution_code, opts)
1918
+ def list_institution_credentials(institution_code, opts = {})
1919
+ data, _status_code, _headers = list_institution_credentials_with_http_info(institution_code, opts)
1920
1920
  data
1921
1921
  end
1922
1922
 
1923
- # List institution-required credentials
1923
+ # List institution credentials
1924
1924
  # Use this endpoint to see which credentials will be needed to create a member for a specific institution.
1925
1925
  # @param institution_code [String] The institution_code of the institution.
1926
1926
  # @param [Hash] opts the optional parameters
1927
1927
  # @option opts [Integer] :page Specify current page.
1928
1928
  # @option opts [Integer] :records_per_page Specify records per page.
1929
1929
  # @return [Array<(CredentialsResponseBody, Integer, Hash)>] CredentialsResponseBody data, response status code and response headers
1930
- def list_institution_required_credentials_with_http_info(institution_code, opts = {})
1930
+ def list_institution_credentials_with_http_info(institution_code, opts = {})
1931
1931
  if @api_client.config.debugging
1932
- @api_client.config.logger.debug 'Calling API: MxPlatformApi.list_institution_required_credentials ...'
1932
+ @api_client.config.logger.debug 'Calling API: MxPlatformApi.list_institution_credentials ...'
1933
1933
  end
1934
1934
  # verify the required parameter 'institution_code' is set
1935
1935
  if @api_client.config.client_side_validation && institution_code.nil?
1936
- fail ArgumentError, "Missing the required parameter 'institution_code' when calling MxPlatformApi.list_institution_required_credentials"
1936
+ fail ArgumentError, "Missing the required parameter 'institution_code' when calling MxPlatformApi.list_institution_credentials"
1937
1937
  end
1938
1938
  # resource path
1939
1939
  local_var_path = '/institutions/{institution_code}/credentials'.sub('{' + 'institution_code' + '}', CGI.escape(institution_code.to_s))
@@ -1961,7 +1961,7 @@ module MxPlatformRuby
1961
1961
  auth_names = opts[:debug_auth_names] || ['basicAuth']
1962
1962
 
1963
1963
  new_options = opts.merge(
1964
- :operation => :"MxPlatformApi.list_institution_required_credentials",
1964
+ :operation => :"MxPlatformApi.list_institution_credentials",
1965
1965
  :header_params => header_params,
1966
1966
  :query_params => query_params,
1967
1967
  :form_params => form_params,
@@ -1972,7 +1972,7 @@ module MxPlatformRuby
1972
1972
 
1973
1973
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1974
1974
  if @api_client.config.debugging
1975
- @api_client.config.logger.debug "API called: MxPlatformApi#list_institution_required_credentials\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1975
+ @api_client.config.logger.debug "API called: MxPlatformApi#list_institution_credentials\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1976
1976
  end
1977
1977
  return data, status_code, headers
1978
1978
  end
@@ -2544,32 +2544,32 @@ module MxPlatformRuby
2544
2544
  return data, status_code, headers
2545
2545
  end
2546
2546
 
2547
- # List transaction rules by user
2547
+ # List transaction rules
2548
2548
  # Use this endpoint to read the attributes of all existing transaction rules belonging to the user.
2549
2549
  # @param user_guid [String] The unique id for a &#x60;user&#x60;.
2550
2550
  # @param [Hash] opts the optional parameters
2551
2551
  # @option opts [Integer] :page Specify current page.
2552
2552
  # @option opts [Integer] :records_per_page Specify records per page.
2553
2553
  # @return [TransactionRulesResponseBody]
2554
- def list_transaction_rules_by_user(user_guid, opts = {})
2555
- data, _status_code, _headers = list_transaction_rules_by_user_with_http_info(user_guid, opts)
2554
+ def list_transaction_rules(user_guid, opts = {})
2555
+ data, _status_code, _headers = list_transaction_rules_with_http_info(user_guid, opts)
2556
2556
  data
2557
2557
  end
2558
2558
 
2559
- # List transaction rules by user
2559
+ # List transaction rules
2560
2560
  # Use this endpoint to read the attributes of all existing transaction rules belonging to the user.
2561
2561
  # @param user_guid [String] The unique id for a &#x60;user&#x60;.
2562
2562
  # @param [Hash] opts the optional parameters
2563
2563
  # @option opts [Integer] :page Specify current page.
2564
2564
  # @option opts [Integer] :records_per_page Specify records per page.
2565
2565
  # @return [Array<(TransactionRulesResponseBody, Integer, Hash)>] TransactionRulesResponseBody data, response status code and response headers
2566
- def list_transaction_rules_by_user_with_http_info(user_guid, opts = {})
2566
+ def list_transaction_rules_with_http_info(user_guid, opts = {})
2567
2567
  if @api_client.config.debugging
2568
- @api_client.config.logger.debug 'Calling API: MxPlatformApi.list_transaction_rules_by_user ...'
2568
+ @api_client.config.logger.debug 'Calling API: MxPlatformApi.list_transaction_rules ...'
2569
2569
  end
2570
2570
  # verify the required parameter 'user_guid' is set
2571
2571
  if @api_client.config.client_side_validation && user_guid.nil?
2572
- fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.list_transaction_rules_by_user"
2572
+ fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.list_transaction_rules"
2573
2573
  end
2574
2574
  # resource path
2575
2575
  local_var_path = '/users/{user_guid}/transaction_rules'.sub('{' + 'user_guid' + '}', CGI.escape(user_guid.to_s))
@@ -2597,7 +2597,82 @@ module MxPlatformRuby
2597
2597
  auth_names = opts[:debug_auth_names] || ['basicAuth']
2598
2598
 
2599
2599
  new_options = opts.merge(
2600
- :operation => :"MxPlatformApi.list_transaction_rules_by_user",
2600
+ :operation => :"MxPlatformApi.list_transaction_rules",
2601
+ :header_params => header_params,
2602
+ :query_params => query_params,
2603
+ :form_params => form_params,
2604
+ :body => post_body,
2605
+ :auth_names => auth_names,
2606
+ :return_type => return_type
2607
+ )
2608
+
2609
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
2610
+ if @api_client.config.debugging
2611
+ @api_client.config.logger.debug "API called: MxPlatformApi#list_transaction_rules\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2612
+ end
2613
+ return data, status_code, headers
2614
+ end
2615
+
2616
+ # List transactions
2617
+ # Requests to this endpoint return a list of transactions associated with the specified `user`, accross all members and accounts associated with that `user`.
2618
+ # @param user_guid [String] The unique id for a &#x60;user&#x60;.
2619
+ # @param [Hash] opts the optional parameters
2620
+ # @option opts [String] :from_date Filter transactions from this date.
2621
+ # @option opts [Integer] :page Specify current page.
2622
+ # @option opts [Integer] :records_per_page Specify records per page.
2623
+ # @option opts [String] :to_date Filter transactions to this date.
2624
+ # @return [TransactionsResponseBody]
2625
+ def list_transactions(user_guid, opts = {})
2626
+ data, _status_code, _headers = list_transactions_with_http_info(user_guid, opts)
2627
+ data
2628
+ end
2629
+
2630
+ # List transactions
2631
+ # Requests to this endpoint return a list of transactions associated with the specified &#x60;user&#x60;, accross all members and accounts associated with that &#x60;user&#x60;.
2632
+ # @param user_guid [String] The unique id for a &#x60;user&#x60;.
2633
+ # @param [Hash] opts the optional parameters
2634
+ # @option opts [String] :from_date Filter transactions from this date.
2635
+ # @option opts [Integer] :page Specify current page.
2636
+ # @option opts [Integer] :records_per_page Specify records per page.
2637
+ # @option opts [String] :to_date Filter transactions to this date.
2638
+ # @return [Array<(TransactionsResponseBody, Integer, Hash)>] TransactionsResponseBody data, response status code and response headers
2639
+ def list_transactions_with_http_info(user_guid, opts = {})
2640
+ if @api_client.config.debugging
2641
+ @api_client.config.logger.debug 'Calling API: MxPlatformApi.list_transactions ...'
2642
+ end
2643
+ # verify the required parameter 'user_guid' is set
2644
+ if @api_client.config.client_side_validation && user_guid.nil?
2645
+ fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.list_transactions"
2646
+ end
2647
+ # resource path
2648
+ local_var_path = '/users/{user_guid}/transactions'.sub('{' + 'user_guid' + '}', CGI.escape(user_guid.to_s))
2649
+
2650
+ # query parameters
2651
+ query_params = opts[:query_params] || {}
2652
+ query_params[:'from_date'] = opts[:'from_date'] if !opts[:'from_date'].nil?
2653
+ query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
2654
+ query_params[:'records_per_page'] = opts[:'records_per_page'] if !opts[:'records_per_page'].nil?
2655
+ query_params[:'to_date'] = opts[:'to_date'] if !opts[:'to_date'].nil?
2656
+
2657
+ # header parameters
2658
+ header_params = opts[:header_params] || {}
2659
+ # HTTP header 'Accept' (if needed)
2660
+ header_params['Accept'] = @api_client.select_header_accept(['application/vnd.mx.api.v1+json'])
2661
+
2662
+ # form parameters
2663
+ form_params = opts[:form_params] || {}
2664
+
2665
+ # http body (model)
2666
+ post_body = opts[:debug_body]
2667
+
2668
+ # return_type
2669
+ return_type = opts[:debug_return_type] || 'TransactionsResponseBody'
2670
+
2671
+ # auth_names
2672
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
2673
+
2674
+ new_options = opts.merge(
2675
+ :operation => :"MxPlatformApi.list_transactions",
2601
2676
  :header_params => header_params,
2602
2677
  :query_params => query_params,
2603
2678
  :form_params => form_params,
@@ -2608,7 +2683,7 @@ module MxPlatformRuby
2608
2683
 
2609
2684
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
2610
2685
  if @api_client.config.debugging
2611
- @api_client.config.logger.debug "API called: MxPlatformApi#list_transaction_rules_by_user\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2686
+ @api_client.config.logger.debug "API called: MxPlatformApi#list_transactions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2612
2687
  end
2613
2688
  return data, status_code, headers
2614
2689
  end
@@ -2844,81 +2919,6 @@ module MxPlatformRuby
2844
2919
  return data, status_code, headers
2845
2920
  end
2846
2921
 
2847
- # List transactions by user
2848
- # Requests to this endpoint return a list of transactions associated with the specified `user`, accross all members and accounts associated with that `user`.
2849
- # @param user_guid [String] The unique id for a &#x60;user&#x60;.
2850
- # @param [Hash] opts the optional parameters
2851
- # @option opts [String] :from_date Filter transactions from this date.
2852
- # @option opts [Integer] :page Specify current page.
2853
- # @option opts [Integer] :records_per_page Specify records per page.
2854
- # @option opts [String] :to_date Filter transactions to this date.
2855
- # @return [TransactionsResponseBody]
2856
- def list_transactions_by_user(user_guid, opts = {})
2857
- data, _status_code, _headers = list_transactions_by_user_with_http_info(user_guid, opts)
2858
- data
2859
- end
2860
-
2861
- # List transactions by user
2862
- # Requests to this endpoint return a list of transactions associated with the specified &#x60;user&#x60;, accross all members and accounts associated with that &#x60;user&#x60;.
2863
- # @param user_guid [String] The unique id for a &#x60;user&#x60;.
2864
- # @param [Hash] opts the optional parameters
2865
- # @option opts [String] :from_date Filter transactions from this date.
2866
- # @option opts [Integer] :page Specify current page.
2867
- # @option opts [Integer] :records_per_page Specify records per page.
2868
- # @option opts [String] :to_date Filter transactions to this date.
2869
- # @return [Array<(TransactionsResponseBody, Integer, Hash)>] TransactionsResponseBody data, response status code and response headers
2870
- def list_transactions_by_user_with_http_info(user_guid, opts = {})
2871
- if @api_client.config.debugging
2872
- @api_client.config.logger.debug 'Calling API: MxPlatformApi.list_transactions_by_user ...'
2873
- end
2874
- # verify the required parameter 'user_guid' is set
2875
- if @api_client.config.client_side_validation && user_guid.nil?
2876
- fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.list_transactions_by_user"
2877
- end
2878
- # resource path
2879
- local_var_path = '/users/{user_guid}/transactions'.sub('{' + 'user_guid' + '}', CGI.escape(user_guid.to_s))
2880
-
2881
- # query parameters
2882
- query_params = opts[:query_params] || {}
2883
- query_params[:'from_date'] = opts[:'from_date'] if !opts[:'from_date'].nil?
2884
- query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
2885
- query_params[:'records_per_page'] = opts[:'records_per_page'] if !opts[:'records_per_page'].nil?
2886
- query_params[:'to_date'] = opts[:'to_date'] if !opts[:'to_date'].nil?
2887
-
2888
- # header parameters
2889
- header_params = opts[:header_params] || {}
2890
- # HTTP header 'Accept' (if needed)
2891
- header_params['Accept'] = @api_client.select_header_accept(['application/vnd.mx.api.v1+json'])
2892
-
2893
- # form parameters
2894
- form_params = opts[:form_params] || {}
2895
-
2896
- # http body (model)
2897
- post_body = opts[:debug_body]
2898
-
2899
- # return_type
2900
- return_type = opts[:debug_return_type] || 'TransactionsResponseBody'
2901
-
2902
- # auth_names
2903
- auth_names = opts[:debug_auth_names] || ['basicAuth']
2904
-
2905
- new_options = opts.merge(
2906
- :operation => :"MxPlatformApi.list_transactions_by_user",
2907
- :header_params => header_params,
2908
- :query_params => query_params,
2909
- :form_params => form_params,
2910
- :body => post_body,
2911
- :auth_names => auth_names,
2912
- :return_type => return_type
2913
- )
2914
-
2915
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
2916
- if @api_client.config.debugging
2917
- @api_client.config.logger.debug "API called: MxPlatformApi#list_transactions_by_user\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2918
- end
2919
- return data, status_code, headers
2920
- end
2921
-
2922
2922
  # List accounts
2923
2923
  # This endpoint returns a list of all the accounts associated with the specified `user`.
2924
2924
  # @param user_guid [String] The unique id for a &#x60;user&#x60;.
@@ -3936,7 +3936,7 @@ module MxPlatformRuby
3936
3936
  return data, status_code, headers
3937
3937
  end
3938
3938
 
3939
- # Request connect widget URL
3939
+ # Request connect widget url
3940
3940
  # This endpoint will return a URL for an embeddable version of MX Connect.
3941
3941
  # @param user_guid [String] The unique id for a &#x60;user&#x60;.
3942
3942
  # @param [Hash] opts the optional parameters
@@ -3947,7 +3947,7 @@ module MxPlatformRuby
3947
3947
  data
3948
3948
  end
3949
3949
 
3950
- # Request connect widget URL
3950
+ # Request connect widget url
3951
3951
  # This endpoint will return a URL for an embeddable version of MX Connect.
3952
3952
  # @param user_guid [String] The unique id for a &#x60;user&#x60;.
3953
3953
  # @param [Hash] opts the optional parameters
@@ -4003,7 +4003,7 @@ module MxPlatformRuby
4003
4003
  return data, status_code, headers
4004
4004
  end
4005
4005
 
4006
- # Read member
4006
+ # Request oauth window uri
4007
4007
  # This endpoint will generate an `oauth_window_uri` for the specified `member`.
4008
4008
  # @param member_guid [String] The unique id for a &#x60;member&#x60;.
4009
4009
  # @param user_guid [String] The unique id for a &#x60;user&#x60;.
@@ -4011,12 +4011,12 @@ module MxPlatformRuby
4011
4011
  # @option opts [String] :referral_source Must be either &#x60;BROWSER&#x60; or &#x60;APP&#x60; depending on the implementation. Defaults to &#x60;BROWSER&#x60;.
4012
4012
  # @option opts [String] :ui_message_webview_url_scheme A scheme for routing the user back to the application state they were previously in.
4013
4013
  # @return [OAuthWindowResponseBody]
4014
- def request_o_auth_window(member_guid, user_guid, opts = {})
4015
- data, _status_code, _headers = request_o_auth_window_with_http_info(member_guid, user_guid, opts)
4014
+ def request_o_auth_window_uri(member_guid, user_guid, opts = {})
4015
+ data, _status_code, _headers = request_o_auth_window_uri_with_http_info(member_guid, user_guid, opts)
4016
4016
  data
4017
4017
  end
4018
4018
 
4019
- # Read member
4019
+ # Request oauth window uri
4020
4020
  # This endpoint will generate an &#x60;oauth_window_uri&#x60; for the specified &#x60;member&#x60;.
4021
4021
  # @param member_guid [String] The unique id for a &#x60;member&#x60;.
4022
4022
  # @param user_guid [String] The unique id for a &#x60;user&#x60;.
@@ -4024,17 +4024,17 @@ module MxPlatformRuby
4024
4024
  # @option opts [String] :referral_source Must be either &#x60;BROWSER&#x60; or &#x60;APP&#x60; depending on the implementation. Defaults to &#x60;BROWSER&#x60;.
4025
4025
  # @option opts [String] :ui_message_webview_url_scheme A scheme for routing the user back to the application state they were previously in.
4026
4026
  # @return [Array<(OAuthWindowResponseBody, Integer, Hash)>] OAuthWindowResponseBody data, response status code and response headers
4027
- def request_o_auth_window_with_http_info(member_guid, user_guid, opts = {})
4027
+ def request_o_auth_window_uri_with_http_info(member_guid, user_guid, opts = {})
4028
4028
  if @api_client.config.debugging
4029
- @api_client.config.logger.debug 'Calling API: MxPlatformApi.request_o_auth_window ...'
4029
+ @api_client.config.logger.debug 'Calling API: MxPlatformApi.request_o_auth_window_uri ...'
4030
4030
  end
4031
4031
  # verify the required parameter 'member_guid' is set
4032
4032
  if @api_client.config.client_side_validation && member_guid.nil?
4033
- fail ArgumentError, "Missing the required parameter 'member_guid' when calling MxPlatformApi.request_o_auth_window"
4033
+ fail ArgumentError, "Missing the required parameter 'member_guid' when calling MxPlatformApi.request_o_auth_window_uri"
4034
4034
  end
4035
4035
  # verify the required parameter 'user_guid' is set
4036
4036
  if @api_client.config.client_side_validation && user_guid.nil?
4037
- fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.request_o_auth_window"
4037
+ fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.request_o_auth_window_uri"
4038
4038
  end
4039
4039
  # resource path
4040
4040
  local_var_path = '/users/{user_guid}/members/{member_guid}/oauth_window_uri'.sub('{' + 'member_guid' + '}', CGI.escape(member_guid.to_s)).sub('{' + 'user_guid' + '}', CGI.escape(user_guid.to_s))
@@ -4062,7 +4062,7 @@ module MxPlatformRuby
4062
4062
  auth_names = opts[:debug_auth_names] || ['basicAuth']
4063
4063
 
4064
4064
  new_options = opts.merge(
4065
- :operation => :"MxPlatformApi.request_o_auth_window",
4065
+ :operation => :"MxPlatformApi.request_o_auth_window_uri",
4066
4066
  :header_params => header_params,
4067
4067
  :query_params => query_params,
4068
4068
  :form_params => form_params,
@@ -4073,12 +4073,12 @@ module MxPlatformRuby
4073
4073
 
4074
4074
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
4075
4075
  if @api_client.config.debugging
4076
- @api_client.config.logger.debug "API called: MxPlatformApi#request_o_auth_window\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4076
+ @api_client.config.logger.debug "API called: MxPlatformApi#request_o_auth_window_uri\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4077
4077
  end
4078
4078
  return data, status_code, headers
4079
4079
  end
4080
4080
 
4081
- # Request a widget URL
4081
+ # Request widget url
4082
4082
  # This endpoint allows partners to get a URL by passing the `widget_type` in the request body, as well as configuring it in several different ways. In the case of Connect, that means setting the `widget_type` to `connect_widget`. Partners may also pass an optional `Accept-Language` header as well as a number of configuration options. Note that this is a `POST` request.
4083
4083
  # @param user_guid [String] The unique id for a &#x60;user&#x60;.
4084
4084
  # @param widget_request_body [WidgetRequestBody] The widget url configuration options.
@@ -4090,7 +4090,7 @@ module MxPlatformRuby
4090
4090
  data
4091
4091
  end
4092
4092
 
4093
- # Request a widget URL
4093
+ # Request widget url
4094
4094
  # This endpoint allows partners to get a URL by passing the &#x60;widget_type&#x60; in the request body, as well as configuring it in several different ways. In the case of Connect, that means setting the &#x60;widget_type&#x60; to &#x60;connect_widget&#x60;. Partners may also pass an optional &#x60;Accept-Language&#x60; header as well as a number of configuration options. Note that this is a &#x60;POST&#x60; request.
4095
4095
  # @param user_guid [String] The unique id for a &#x60;user&#x60;.
4096
4096
  # @param widget_request_body [WidgetRequestBody] The widget url configuration options.
@@ -4229,7 +4229,7 @@ module MxPlatformRuby
4229
4229
  return data, status_code, headers
4230
4230
  end
4231
4231
 
4232
- # Update account
4232
+ # Update account by member
4233
4233
  # This endpoint allows you to update certain attributes of an `account` resource.
4234
4234
  # @param user_guid [String] The unique id for a &#x60;user&#x60;.
4235
4235
  # @param member_guid [String] The unique id for a &#x60;member&#x60;.
@@ -4237,12 +4237,12 @@ module MxPlatformRuby
4237
4237
  # @param account_update_request_body [AccountUpdateRequestBody] Account object to be created with optional parameters (is_hidden)
4238
4238
  # @param [Hash] opts the optional parameters
4239
4239
  # @return [AccountResponseBody]
4240
- def update_account(user_guid, member_guid, account_guid, account_update_request_body, opts = {})
4241
- data, _status_code, _headers = update_account_with_http_info(user_guid, member_guid, account_guid, account_update_request_body, opts)
4240
+ def update_account_by_member(user_guid, member_guid, account_guid, account_update_request_body, opts = {})
4241
+ data, _status_code, _headers = update_account_by_member_with_http_info(user_guid, member_guid, account_guid, account_update_request_body, opts)
4242
4242
  data
4243
4243
  end
4244
4244
 
4245
- # Update account
4245
+ # Update account by member
4246
4246
  # This endpoint allows you to update certain attributes of an &#x60;account&#x60; resource.
4247
4247
  # @param user_guid [String] The unique id for a &#x60;user&#x60;.
4248
4248
  # @param member_guid [String] The unique id for a &#x60;member&#x60;.
@@ -4250,25 +4250,25 @@ module MxPlatformRuby
4250
4250
  # @param account_update_request_body [AccountUpdateRequestBody] Account object to be created with optional parameters (is_hidden)
4251
4251
  # @param [Hash] opts the optional parameters
4252
4252
  # @return [Array<(AccountResponseBody, Integer, Hash)>] AccountResponseBody data, response status code and response headers
4253
- def update_account_with_http_info(user_guid, member_guid, account_guid, account_update_request_body, opts = {})
4253
+ def update_account_by_member_with_http_info(user_guid, member_guid, account_guid, account_update_request_body, opts = {})
4254
4254
  if @api_client.config.debugging
4255
- @api_client.config.logger.debug 'Calling API: MxPlatformApi.update_account ...'
4255
+ @api_client.config.logger.debug 'Calling API: MxPlatformApi.update_account_by_member ...'
4256
4256
  end
4257
4257
  # verify the required parameter 'user_guid' is set
4258
4258
  if @api_client.config.client_side_validation && user_guid.nil?
4259
- fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.update_account"
4259
+ fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.update_account_by_member"
4260
4260
  end
4261
4261
  # verify the required parameter 'member_guid' is set
4262
4262
  if @api_client.config.client_side_validation && member_guid.nil?
4263
- fail ArgumentError, "Missing the required parameter 'member_guid' when calling MxPlatformApi.update_account"
4263
+ fail ArgumentError, "Missing the required parameter 'member_guid' when calling MxPlatformApi.update_account_by_member"
4264
4264
  end
4265
4265
  # verify the required parameter 'account_guid' is set
4266
4266
  if @api_client.config.client_side_validation && account_guid.nil?
4267
- fail ArgumentError, "Missing the required parameter 'account_guid' when calling MxPlatformApi.update_account"
4267
+ fail ArgumentError, "Missing the required parameter 'account_guid' when calling MxPlatformApi.update_account_by_member"
4268
4268
  end
4269
4269
  # verify the required parameter 'account_update_request_body' is set
4270
4270
  if @api_client.config.client_side_validation && account_update_request_body.nil?
4271
- fail ArgumentError, "Missing the required parameter 'account_update_request_body' when calling MxPlatformApi.update_account"
4271
+ fail ArgumentError, "Missing the required parameter 'account_update_request_body' when calling MxPlatformApi.update_account_by_member"
4272
4272
  end
4273
4273
  # resource path
4274
4274
  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))
@@ -4296,7 +4296,7 @@ module MxPlatformRuby
4296
4296
  auth_names = opts[:debug_auth_names] || ['basicAuth']
4297
4297
 
4298
4298
  new_options = opts.merge(
4299
- :operation => :"MxPlatformApi.update_account",
4299
+ :operation => :"MxPlatformApi.update_account_by_member",
4300
4300
  :header_params => header_params,
4301
4301
  :query_params => query_params,
4302
4302
  :form_params => form_params,
@@ -4307,7 +4307,7 @@ module MxPlatformRuby
4307
4307
 
4308
4308
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
4309
4309
  if @api_client.config.debugging
4310
- @api_client.config.logger.debug "API called: MxPlatformApi#update_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4310
+ @api_client.config.logger.debug "API called: MxPlatformApi#update_account_by_member\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4311
4311
  end
4312
4312
  return data, status_code, headers
4313
4313
  end
@@ -4472,7 +4472,7 @@ module MxPlatformRuby
4472
4472
  # @param user_guid [String] The unique id for a &#x60;user&#x60;.
4473
4473
  # @param tag_update_request_body [TagUpdateRequestBody] Tag object to be updated with required parameter (tag_guid)
4474
4474
  # @param [Hash] opts the optional parameters
4475
- # @return [InlineResponse200]
4475
+ # @return [TagResponseBody]
4476
4476
  def update_tag(tag_guid, user_guid, tag_update_request_body, opts = {})
4477
4477
  data, _status_code, _headers = update_tag_with_http_info(tag_guid, user_guid, tag_update_request_body, opts)
4478
4478
  data
@@ -4484,7 +4484,7 @@ module MxPlatformRuby
4484
4484
  # @param user_guid [String] The unique id for a &#x60;user&#x60;.
4485
4485
  # @param tag_update_request_body [TagUpdateRequestBody] Tag object to be updated with required parameter (tag_guid)
4486
4486
  # @param [Hash] opts the optional parameters
4487
- # @return [Array<(InlineResponse200, Integer, Hash)>] InlineResponse200 data, response status code and response headers
4487
+ # @return [Array<(TagResponseBody, Integer, Hash)>] TagResponseBody data, response status code and response headers
4488
4488
  def update_tag_with_http_info(tag_guid, user_guid, tag_update_request_body, opts = {})
4489
4489
  if @api_client.config.debugging
4490
4490
  @api_client.config.logger.debug 'Calling API: MxPlatformApi.update_tag ...'
@@ -4521,7 +4521,7 @@ module MxPlatformRuby
4521
4521
  post_body = opts[:debug_body] || @api_client.object_to_http_body(tag_update_request_body)
4522
4522
 
4523
4523
  # return_type
4524
- return_type = opts[:debug_return_type] || 'InlineResponse200'
4524
+ return_type = opts[:debug_return_type] || 'TagResponseBody'
4525
4525
 
4526
4526
  # auth_names
4527
4527
  auth_names = opts[:debug_auth_names] || ['basicAuth']