mx-platform-ruby 0.4.2 → 0.6.2

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 (251) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +6 -6
  3. data/README.md +4 -6
  4. data/docs/AccountResponse.md +15 -1
  5. data/docs/ManagedAccountCreateRequest.md +78 -0
  6. data/docs/ManagedAccountCreateRequestBody.md +18 -0
  7. data/docs/ManagedAccountUpdateRequest.md +78 -0
  8. data/docs/ManagedAccountUpdateRequestBody.md +18 -0
  9. data/docs/ManagedMemberCreateRequest.md +24 -0
  10. data/docs/ManagedMemberCreateRequestBody.md +18 -0
  11. data/docs/ManagedMemberUpdateRequest.md +22 -0
  12. data/docs/ManagedMemberUpdateRequestBody.md +18 -0
  13. data/docs/ManagedTransactionCreateRequest.md +56 -0
  14. data/docs/ManagedTransactionCreateRequestBody.md +18 -0
  15. data/docs/ManagedTransactionUpdateRequest.md +56 -0
  16. data/docs/ManagedTransactionUpdateRequestBody.md +18 -0
  17. data/docs/MemberResponse.md +5 -1
  18. data/docs/MerchantLocationResponse.md +40 -0
  19. data/docs/MerchantLocationResponseBody.md +18 -0
  20. data/docs/MxPlatformApi.md +1415 -117
  21. data/docs/TransactionResponse.md +11 -1
  22. data/lib/mx-platform-ruby/api/mx_platform_api.rb +1474 -124
  23. data/lib/mx-platform-ruby/api_client.rb +7 -9
  24. data/lib/mx-platform-ruby/api_error.rb +1 -1
  25. data/lib/mx-platform-ruby/configuration.rb +35 -2
  26. data/lib/mx-platform-ruby/models/account_number_response.rb +5 -1
  27. data/lib/mx-platform-ruby/models/account_numbers_response_body.rb +1 -1
  28. data/lib/mx-platform-ruby/models/account_owner_response.rb +9 -1
  29. data/lib/mx-platform-ruby/models/account_owners_response_body.rb +1 -1
  30. data/lib/mx-platform-ruby/models/account_response.rb +112 -5
  31. data/lib/mx-platform-ruby/models/account_response_body.rb +1 -1
  32. data/lib/mx-platform-ruby/models/account_update_request.rb +1 -1
  33. data/lib/mx-platform-ruby/models/account_update_request_body.rb +1 -1
  34. data/lib/mx-platform-ruby/models/accounts_response_body.rb +1 -1
  35. data/lib/mx-platform-ruby/models/categories_response_body.rb +1 -1
  36. data/lib/mx-platform-ruby/models/category_create_request.rb +1 -1
  37. data/lib/mx-platform-ruby/models/category_create_request_body.rb +1 -1
  38. data/lib/mx-platform-ruby/models/category_response.rb +7 -1
  39. data/lib/mx-platform-ruby/models/category_response_body.rb +1 -1
  40. data/lib/mx-platform-ruby/models/category_update_request.rb +1 -1
  41. data/lib/mx-platform-ruby/models/category_update_request_body.rb +1 -1
  42. data/lib/mx-platform-ruby/models/challenge_response.rb +5 -1
  43. data/lib/mx-platform-ruby/models/challenges_response_body.rb +1 -1
  44. data/lib/mx-platform-ruby/models/connect_widget_request.rb +1 -1
  45. data/lib/mx-platform-ruby/models/connect_widget_request_body.rb +1 -1
  46. data/lib/mx-platform-ruby/models/connect_widget_response.rb +2 -1
  47. data/lib/mx-platform-ruby/models/connect_widget_response_body.rb +1 -1
  48. data/lib/mx-platform-ruby/models/credential_request.rb +2 -1
  49. data/lib/mx-platform-ruby/models/credential_response.rb +4 -1
  50. data/lib/mx-platform-ruby/models/credentials_response_body.rb +1 -1
  51. data/lib/mx-platform-ruby/models/enhance_transaction_response.rb +16 -1
  52. data/lib/mx-platform-ruby/models/enhance_transactions_request.rb +1 -1
  53. data/lib/mx-platform-ruby/models/enhance_transactions_request_body.rb +1 -1
  54. data/lib/mx-platform-ruby/models/enhance_transactions_response_body.rb +1 -1
  55. data/lib/mx-platform-ruby/models/holding_response.rb +15 -1
  56. data/lib/mx-platform-ruby/models/holding_response_body.rb +1 -1
  57. data/lib/mx-platform-ruby/models/holdings_response_body.rb +1 -1
  58. data/lib/mx-platform-ruby/models/image_option_response.rb +4 -1
  59. data/lib/mx-platform-ruby/models/institution_response.rb +11 -1
  60. data/lib/mx-platform-ruby/models/institution_response_body.rb +1 -1
  61. data/lib/mx-platform-ruby/models/institutions_response_body.rb +1 -1
  62. data/lib/mx-platform-ruby/models/managed_account_create_request.rb +503 -0
  63. data/lib/mx-platform-ruby/models/managed_account_create_request_body.rb +218 -0
  64. data/lib/mx-platform-ruby/models/managed_account_update_request.rb +488 -0
  65. data/lib/mx-platform-ruby/models/managed_account_update_request_body.rb +218 -0
  66. data/lib/mx-platform-ruby/models/managed_member_create_request.rb +250 -0
  67. data/lib/mx-platform-ruby/models/managed_member_create_request_body.rb +218 -0
  68. data/lib/mx-platform-ruby/models/managed_member_update_request.rb +236 -0
  69. data/lib/mx-platform-ruby/models/managed_member_update_request_body.rb +218 -0
  70. data/lib/mx-platform-ruby/models/managed_transaction_create_request.rb +414 -0
  71. data/lib/mx-platform-ruby/models/managed_transaction_create_request_body.rb +218 -0
  72. data/lib/mx-platform-ruby/models/managed_transaction_update_request.rb +389 -0
  73. data/lib/mx-platform-ruby/models/managed_transaction_update_request_body.rb +218 -0
  74. data/lib/mx-platform-ruby/models/member_create_request.rb +1 -1
  75. data/lib/mx-platform-ruby/models/member_create_request_body.rb +1 -1
  76. data/lib/mx-platform-ruby/models/member_response.rb +35 -5
  77. data/lib/mx-platform-ruby/models/member_response_body.rb +1 -1
  78. data/lib/mx-platform-ruby/models/member_resume_request.rb +1 -1
  79. data/lib/mx-platform-ruby/models/member_resume_request_body.rb +1 -1
  80. data/lib/mx-platform-ruby/models/member_status_response.rb +8 -1
  81. data/lib/mx-platform-ruby/models/member_status_response_body.rb +1 -1
  82. data/lib/mx-platform-ruby/models/member_update_request.rb +1 -1
  83. data/lib/mx-platform-ruby/models/member_update_request_body.rb +1 -1
  84. data/lib/mx-platform-ruby/models/members_response_body.rb +1 -1
  85. data/lib/mx-platform-ruby/models/merchant_location_response.rb +327 -0
  86. data/lib/mx-platform-ruby/models/merchant_location_response_body.rb +218 -0
  87. data/lib/mx-platform-ruby/models/merchant_response.rb +6 -1
  88. data/lib/mx-platform-ruby/models/merchant_response_body.rb +1 -1
  89. data/lib/mx-platform-ruby/models/merchants_response_body.rb +1 -1
  90. data/lib/mx-platform-ruby/models/o_auth_window_response.rb +2 -1
  91. data/lib/mx-platform-ruby/models/o_auth_window_response_body.rb +1 -1
  92. data/lib/mx-platform-ruby/models/option_response.rb +3 -1
  93. data/lib/mx-platform-ruby/models/pagination_response.rb +1 -1
  94. data/lib/mx-platform-ruby/models/statement_response.rb +5 -1
  95. data/lib/mx-platform-ruby/models/statement_response_body.rb +1 -1
  96. data/lib/mx-platform-ruby/models/statements_response_body.rb +1 -1
  97. data/lib/mx-platform-ruby/models/tag_create_request.rb +1 -1
  98. data/lib/mx-platform-ruby/models/tag_create_request_body.rb +1 -1
  99. data/lib/mx-platform-ruby/models/tag_response.rb +2 -1
  100. data/lib/mx-platform-ruby/models/tag_response_body.rb +1 -1
  101. data/lib/mx-platform-ruby/models/tag_update_request.rb +1 -1
  102. data/lib/mx-platform-ruby/models/tag_update_request_body.rb +1 -1
  103. data/lib/mx-platform-ruby/models/tagging_create_request.rb +1 -1
  104. data/lib/mx-platform-ruby/models/tagging_create_request_body.rb +1 -1
  105. data/lib/mx-platform-ruby/models/tagging_response.rb +2 -1
  106. data/lib/mx-platform-ruby/models/tagging_response_body.rb +1 -1
  107. data/lib/mx-platform-ruby/models/tagging_update_request.rb +1 -1
  108. data/lib/mx-platform-ruby/models/tagging_update_request_body.rb +1 -1
  109. data/lib/mx-platform-ruby/models/taggings_response_body.rb +1 -1
  110. data/lib/mx-platform-ruby/models/tags_response_body.rb +1 -1
  111. data/lib/mx-platform-ruby/models/transaction_response.rb +85 -5
  112. data/lib/mx-platform-ruby/models/transaction_response_body.rb +1 -1
  113. data/lib/mx-platform-ruby/models/transaction_rule_create_request.rb +1 -1
  114. data/lib/mx-platform-ruby/models/transaction_rule_create_request_body.rb +1 -1
  115. data/lib/mx-platform-ruby/models/transaction_rule_response.rb +5 -1
  116. data/lib/mx-platform-ruby/models/transaction_rule_response_body.rb +1 -1
  117. data/lib/mx-platform-ruby/models/transaction_rule_update_request.rb +3 -1
  118. data/lib/mx-platform-ruby/models/transaction_rule_update_request_body.rb +1 -1
  119. data/lib/mx-platform-ruby/models/transaction_rules_response_body.rb +1 -1
  120. data/lib/mx-platform-ruby/models/transaction_update_request.rb +1 -1
  121. data/lib/mx-platform-ruby/models/transaction_update_request_body.rb +1 -1
  122. data/lib/mx-platform-ruby/models/transactions_response_body.rb +1 -1
  123. data/lib/mx-platform-ruby/models/user_create_request.rb +1 -1
  124. data/lib/mx-platform-ruby/models/user_create_request_body.rb +1 -1
  125. data/lib/mx-platform-ruby/models/user_response.rb +5 -1
  126. data/lib/mx-platform-ruby/models/user_response_body.rb +1 -1
  127. data/lib/mx-platform-ruby/models/user_update_request.rb +1 -1
  128. data/lib/mx-platform-ruby/models/user_update_request_body.rb +1 -1
  129. data/lib/mx-platform-ruby/models/users_response_body.rb +1 -1
  130. data/lib/mx-platform-ruby/models/widget_request.rb +1 -1
  131. data/lib/mx-platform-ruby/models/widget_request_body.rb +1 -1
  132. data/lib/mx-platform-ruby/models/widget_response.rb +4 -1
  133. data/lib/mx-platform-ruby/models/widget_response_body.rb +1 -1
  134. data/lib/mx-platform-ruby/version.rb +2 -2
  135. data/lib/mx-platform-ruby.rb +15 -1
  136. data/mx-platform-ruby.gemspec +1 -1
  137. data/openapi/config.yml +1 -1
  138. data/openapi/templates/README.mustache +4 -6
  139. data/spec/api/mx_platform_api_spec.rb +246 -1
  140. data/spec/api_client_spec.rb +3 -3
  141. data/spec/configuration_spec.rb +1 -1
  142. data/spec/models/account_number_response_spec.rb +1 -1
  143. data/spec/models/account_numbers_response_body_spec.rb +1 -1
  144. data/spec/models/account_owner_response_spec.rb +1 -1
  145. data/spec/models/account_owners_response_body_spec.rb +1 -1
  146. data/spec/models/account_response_body_spec.rb +1 -1
  147. data/spec/models/account_response_spec.rb +43 -1
  148. data/spec/models/account_update_request_body_spec.rb +1 -1
  149. data/spec/models/account_update_request_spec.rb +1 -1
  150. data/spec/models/accounts_response_body_spec.rb +1 -1
  151. data/spec/models/categories_response_body_spec.rb +1 -1
  152. data/spec/models/category_create_request_body_spec.rb +1 -1
  153. data/spec/models/category_create_request_spec.rb +1 -1
  154. data/spec/models/category_response_body_spec.rb +1 -1
  155. data/spec/models/category_response_spec.rb +1 -1
  156. data/spec/models/category_update_request_body_spec.rb +1 -1
  157. data/spec/models/category_update_request_spec.rb +1 -1
  158. data/spec/models/challenge_response_spec.rb +1 -1
  159. data/spec/models/challenges_response_body_spec.rb +1 -1
  160. data/spec/models/connect_widget_request_body_spec.rb +1 -1
  161. data/spec/models/connect_widget_request_spec.rb +1 -1
  162. data/spec/models/connect_widget_response_body_spec.rb +1 -1
  163. data/spec/models/connect_widget_response_spec.rb +1 -1
  164. data/spec/models/credential_request_spec.rb +1 -1
  165. data/spec/models/credential_response_spec.rb +1 -1
  166. data/spec/models/credentials_response_body_spec.rb +1 -1
  167. data/spec/models/enhance_transaction_response_spec.rb +1 -1
  168. data/spec/models/enhance_transactions_request_body_spec.rb +1 -1
  169. data/spec/models/enhance_transactions_request_spec.rb +1 -1
  170. data/spec/models/enhance_transactions_response_body_spec.rb +1 -1
  171. data/spec/models/holding_response_body_spec.rb +1 -1
  172. data/spec/models/holding_response_spec.rb +1 -1
  173. data/spec/models/holdings_response_body_spec.rb +1 -1
  174. data/spec/models/image_option_response_spec.rb +1 -1
  175. data/spec/models/institution_response_body_spec.rb +1 -1
  176. data/spec/models/institution_response_spec.rb +1 -1
  177. data/spec/models/institutions_response_body_spec.rb +1 -1
  178. data/spec/models/managed_account_create_request_body_spec.rb +34 -0
  179. data/spec/models/managed_account_create_request_spec.rb +214 -0
  180. data/spec/models/managed_account_update_request_body_spec.rb +34 -0
  181. data/spec/models/managed_account_update_request_spec.rb +214 -0
  182. data/spec/models/managed_member_create_request_body_spec.rb +34 -0
  183. data/spec/models/managed_member_create_request_spec.rb +52 -0
  184. data/spec/models/managed_member_update_request_body_spec.rb +34 -0
  185. data/spec/models/managed_member_update_request_spec.rb +46 -0
  186. data/spec/models/managed_transaction_create_request_body_spec.rb +34 -0
  187. data/spec/models/managed_transaction_create_request_spec.rb +148 -0
  188. data/spec/models/managed_transaction_update_request_body_spec.rb +34 -0
  189. data/spec/models/managed_transaction_update_request_spec.rb +148 -0
  190. data/spec/models/member_create_request_body_spec.rb +1 -1
  191. data/spec/models/member_create_request_spec.rb +1 -1
  192. data/spec/models/member_response_body_spec.rb +1 -1
  193. data/spec/models/member_response_spec.rb +13 -1
  194. data/spec/models/member_resume_request_body_spec.rb +1 -1
  195. data/spec/models/member_resume_request_spec.rb +1 -1
  196. data/spec/models/member_status_response_body_spec.rb +1 -1
  197. data/spec/models/member_status_response_spec.rb +1 -1
  198. data/spec/models/member_update_request_body_spec.rb +1 -1
  199. data/spec/models/member_update_request_spec.rb +1 -1
  200. data/spec/models/members_response_body_spec.rb +1 -1
  201. data/spec/models/merchant_location_response_body_spec.rb +34 -0
  202. data/spec/models/merchant_location_response_spec.rb +100 -0
  203. data/spec/models/merchant_response_body_spec.rb +1 -1
  204. data/spec/models/merchant_response_spec.rb +1 -1
  205. data/spec/models/merchants_response_body_spec.rb +1 -1
  206. data/spec/models/o_auth_window_response_body_spec.rb +1 -1
  207. data/spec/models/o_auth_window_response_spec.rb +1 -1
  208. data/spec/models/option_response_spec.rb +1 -1
  209. data/spec/models/pagination_response_spec.rb +1 -1
  210. data/spec/models/statement_response_body_spec.rb +1 -1
  211. data/spec/models/statement_response_spec.rb +1 -1
  212. data/spec/models/statements_response_body_spec.rb +1 -1
  213. data/spec/models/tag_create_request_body_spec.rb +1 -1
  214. data/spec/models/tag_create_request_spec.rb +1 -1
  215. data/spec/models/tag_response_body_spec.rb +1 -1
  216. data/spec/models/tag_response_spec.rb +1 -1
  217. data/spec/models/tag_update_request_body_spec.rb +1 -1
  218. data/spec/models/tag_update_request_spec.rb +1 -1
  219. data/spec/models/tagging_create_request_body_spec.rb +1 -1
  220. data/spec/models/tagging_create_request_spec.rb +1 -1
  221. data/spec/models/tagging_response_body_spec.rb +1 -1
  222. data/spec/models/tagging_response_spec.rb +1 -1
  223. data/spec/models/tagging_update_request_body_spec.rb +1 -1
  224. data/spec/models/tagging_update_request_spec.rb +1 -1
  225. data/spec/models/taggings_response_body_spec.rb +1 -1
  226. data/spec/models/tags_response_body_spec.rb +1 -1
  227. data/spec/models/transaction_response_body_spec.rb +1 -1
  228. data/spec/models/transaction_response_spec.rb +31 -1
  229. data/spec/models/transaction_rule_create_request_body_spec.rb +1 -1
  230. data/spec/models/transaction_rule_create_request_spec.rb +1 -1
  231. data/spec/models/transaction_rule_response_body_spec.rb +1 -1
  232. data/spec/models/transaction_rule_response_spec.rb +1 -1
  233. data/spec/models/transaction_rule_update_request_body_spec.rb +1 -1
  234. data/spec/models/transaction_rule_update_request_spec.rb +1 -1
  235. data/spec/models/transaction_rules_response_body_spec.rb +1 -1
  236. data/spec/models/transaction_update_request_body_spec.rb +1 -1
  237. data/spec/models/transaction_update_request_spec.rb +1 -1
  238. data/spec/models/transactions_response_body_spec.rb +1 -1
  239. data/spec/models/user_create_request_body_spec.rb +1 -1
  240. data/spec/models/user_create_request_spec.rb +1 -1
  241. data/spec/models/user_response_body_spec.rb +1 -1
  242. data/spec/models/user_response_spec.rb +1 -1
  243. data/spec/models/user_update_request_body_spec.rb +1 -1
  244. data/spec/models/user_update_request_spec.rb +1 -1
  245. data/spec/models/users_response_body_spec.rb +1 -1
  246. data/spec/models/widget_request_body_spec.rb +1 -1
  247. data/spec/models/widget_request_spec.rb +1 -1
  248. data/spec/models/widget_response_body_spec.rb +1 -1
  249. data/spec/models/widget_response_spec.rb +1 -1
  250. data/spec/spec_helper.rb +1 -1
  251. metadata +134 -78
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 0.1.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -71,6 +71,47 @@ describe 'MxPlatformApi' do
71
71
  end
72
72
  end
73
73
 
74
+ # unit tests for create_managed_account
75
+ # Create managed account
76
+ # Use this endpoint to create a partner-managed account.
77
+ # @param user_guid The unique id for a `user`.
78
+ # @param member_guid The unique id for a `member`.
79
+ # @param managed_account_create_request_body Managed account to be created.
80
+ # @param [Hash] opts the optional parameters
81
+ # @return [AccountResponseBody]
82
+ describe 'create_managed_account test' do
83
+ it 'should work' do
84
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
85
+ end
86
+ end
87
+
88
+ # unit tests for create_managed_member
89
+ # Create managed member
90
+ # Use this endpoint to create a new partner-managed `member`.
91
+ # @param user_guid The unique id for a `user`.
92
+ # @param managed_member_create_request_body Managed member to be created.
93
+ # @param [Hash] opts the optional parameters
94
+ # @return [MemberResponseBody]
95
+ describe 'create_managed_member test' do
96
+ it 'should work' do
97
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
98
+ end
99
+ end
100
+
101
+ # unit tests for create_managed_transaction
102
+ # Create managed transaction
103
+ # Use this endpoint to create a new partner-managed `transaction`.
104
+ # @param user_guid The unique id for a `user`.
105
+ # @param member_guid The unique id for a `member`.
106
+ # @param managed_transaction_create_request_body Managed transaction to be created.
107
+ # @param [Hash] opts the optional parameters
108
+ # @return [TransactionResponseBody]
109
+ describe 'create_managed_transaction test' do
110
+ it 'should work' do
111
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
112
+ end
113
+ end
114
+
74
115
  # unit tests for create_member
75
116
  # Create member
76
117
  # This endpoint allows you to create a new member. Members are created with the required parameters credentials and institution_code, and the optional parameters id and metadata. When creating a member, youll need to include the correct type of credential required by the financial institution and provided by the user. You can find out which credential type is required with the `/institutions/{institution_code}/credentials` endpoint. If successful, the MX Platform API will respond with the newly-created member object. Once you successfully create a member, MX will immediately validate the provided credentials and attempt to aggregate data for accounts and transactions.
@@ -148,6 +189,47 @@ describe 'MxPlatformApi' do
148
189
  end
149
190
  end
150
191
 
192
+ # unit tests for delete_managed_account
193
+ # Delete managed account
194
+ # Use this endpoint to delete a partner-managed account according to its unique GUID. If successful, the API will respond with a status of `204 No Content`.
195
+ # @param member_guid The unique id for a `member`.
196
+ # @param user_guid The unique id for a `user`.
197
+ # @param account_guid The unique id for an `account`.
198
+ # @param [Hash] opts the optional parameters
199
+ # @return [nil]
200
+ describe 'delete_managed_account test' do
201
+ it 'should work' do
202
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
203
+ end
204
+ end
205
+
206
+ # unit tests for delete_managed_member
207
+ # Delete managed member
208
+ # Use this endpoint to delete the specified partner-managed `member`. The endpoint will respond with a status of `204 No Content` without a resource.
209
+ # @param member_guid The unique id for a `member`.
210
+ # @param user_guid The unique id for a `user`.
211
+ # @param [Hash] opts the optional parameters
212
+ # @return [nil]
213
+ describe 'delete_managed_member test' do
214
+ it 'should work' do
215
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
216
+ end
217
+ end
218
+
219
+ # unit tests for delete_managed_transaction
220
+ # Delete managed transaction
221
+ # Use this endpoint to delete the specified partner-managed `transaction`. The endpoint will respond with a status of `204 No Content` without a resource.
222
+ # @param member_guid The unique id for a `member`.
223
+ # @param user_guid The unique id for a `user`.
224
+ # @param transaction_guid The unique id for a `transaction`.
225
+ # @param [Hash] opts the optional parameters
226
+ # @return [nil]
227
+ describe 'delete_managed_transaction test' do
228
+ it 'should work' do
229
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
230
+ end
231
+ end
232
+
151
233
  # unit tests for delete_member
152
234
  # Delete member
153
235
  # Accessing this endpoint will permanently delete a member.
@@ -341,6 +423,8 @@ describe 'MxPlatformApi' do
341
423
  # Use this endpoint to read the attributes of a specific user.
342
424
  # @param user_guid The unique id for a `user`.
343
425
  # @param [Hash] opts the optional parameters
426
+ # @option opts [Integer] :page Specify current page.
427
+ # @option opts [Integer] :records_per_page Specify records per page.
344
428
  # @return [CategoriesResponseBody]
345
429
  describe 'list_default_categories test' do
346
430
  it 'should work' do
@@ -413,6 +497,8 @@ describe 'MxPlatformApi' do
413
497
  # This endpoint returns a list of institutions based on the specified search term or parameter.
414
498
  # @param [Hash] opts the optional parameters
415
499
  # @option opts [String] :name This will list only institutions in which the appended string appears.
500
+ # @option opts [Integer] :page Specify current page.
501
+ # @option opts [Integer] :records_per_page Specify records per page.
416
502
  # @option opts [Boolean] :supports_account_identification Filter only institutions which support account identification.
417
503
  # @option opts [Boolean] :supports_account_statement Filter only institutions which support account statements.
418
504
  # @option opts [Boolean] :supports_account_verification Filter only institutions which support account verification.
@@ -424,6 +510,63 @@ describe 'MxPlatformApi' do
424
510
  end
425
511
  end
426
512
 
513
+ # unit tests for list_managed_accounts
514
+ # List managed accounts
515
+ # Use this endpoint to retrieve a list of all the partner-managed accounts associated with the given partner-manage member.
516
+ # @param user_guid The unique id for a `user`.
517
+ # @param member_guid The unique id for a `member`.
518
+ # @param [Hash] opts the optional parameters
519
+ # @option opts [Integer] :page Specify current page.
520
+ # @option opts [Integer] :records_per_page Specify records per page.
521
+ # @return [AccountsResponseBody]
522
+ describe 'list_managed_accounts test' do
523
+ it 'should work' do
524
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
525
+ end
526
+ end
527
+
528
+ # unit tests for list_managed_institutions
529
+ # List managed institutions
530
+ # This endpoint returns a list of institutions which can be used to create partner-managed members.
531
+ # @param [Hash] opts the optional parameters
532
+ # @option opts [Integer] :page Specify current page.
533
+ # @option opts [Integer] :records_per_page Specify records per page.
534
+ # @return [InstitutionsResponseBody]
535
+ describe 'list_managed_institutions test' do
536
+ it 'should work' do
537
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
538
+ end
539
+ end
540
+
541
+ # unit tests for list_managed_members
542
+ # List managed members
543
+ # This endpoint returns a list of all the partner-managed members associated with the specified `user`.
544
+ # @param user_guid The unique id for a `user`.
545
+ # @param [Hash] opts the optional parameters
546
+ # @option opts [Integer] :page Specify current page.
547
+ # @option opts [Integer] :records_per_page Specify records per page.
548
+ # @return [MembersResponseBody]
549
+ describe 'list_managed_members test' do
550
+ it 'should work' do
551
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
552
+ end
553
+ end
554
+
555
+ # unit tests for list_managed_transactions
556
+ # List managed transactions
557
+ # This endpoint returns a list of all the partner-managed transactions associated with the specified `account`, scoped through a `user` and a `member`.
558
+ # @param user_guid The unique id for a `user`.
559
+ # @param member_guid The unique id for a `member`.
560
+ # @param [Hash] opts the optional parameters
561
+ # @option opts [Integer] :page Specify current page.
562
+ # @option opts [Integer] :records_per_page Specify records per page.
563
+ # @return [TransactionsResponseBody]
564
+ describe 'list_managed_transactions test' do
565
+ it 'should work' do
566
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
567
+ end
568
+ end
569
+
427
570
  # unit tests for list_member_challenges
428
571
  # List member challenges
429
572
  # Use this endpoint for information on what multi-factor authentication challenges need to be answered in order to aggregate a member. If the aggregation is not challenged, i.e., the member does not have a connection status of `CHALLENGED`, then code `204 No Content` will be returned. If the aggregation has been challenged, i.e., the member does have a connection status of `CHALLENGED`, then code `200 OK` will be returned - along with the corresponding credentials.
@@ -594,6 +737,10 @@ describe 'MxPlatformApi' do
594
737
  # @param tag_guid The unique id for a `tag`.
595
738
  # @param user_guid The unique id for a `user`.
596
739
  # @param [Hash] opts the optional parameters
740
+ # @option opts [String] :from_date Filter transactions from this date.
741
+ # @option opts [Integer] :page Specify current page.
742
+ # @option opts [Integer] :records_per_page Specify records per page.
743
+ # @option opts [String] :to_date Filter transactions to this date.
597
744
  # @return [TransactionsResponseBody]
598
745
  describe 'list_transactions_by_tag test' do
599
746
  it 'should work' do
@@ -679,6 +826,47 @@ describe 'MxPlatformApi' do
679
826
  end
680
827
  end
681
828
 
829
+ # unit tests for read_managed_account
830
+ # Read managed account
831
+ # Use this endpoint to read the attributes of a partner-managed account according to its unique guid.
832
+ # @param member_guid The unique id for a `member`.
833
+ # @param user_guid The unique id for a `user`.
834
+ # @param account_guid The unique id for an `account`.
835
+ # @param [Hash] opts the optional parameters
836
+ # @return [AccountResponseBody]
837
+ describe 'read_managed_account test' do
838
+ it 'should work' do
839
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
840
+ end
841
+ end
842
+
843
+ # unit tests for read_managed_member
844
+ # Read managed member
845
+ # This endpoint returns the attributes of the specified partner-managed `member`.
846
+ # @param member_guid The unique id for a `member`.
847
+ # @param user_guid The unique id for a `user`.
848
+ # @param [Hash] opts the optional parameters
849
+ # @return [MemberResponseBody]
850
+ describe 'read_managed_member test' do
851
+ it 'should work' do
852
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
853
+ end
854
+ end
855
+
856
+ # unit tests for read_managed_transaction
857
+ # Read managed transaction
858
+ # Requests to this endpoint will return the attributes of the specified partner-managed `transaction`.
859
+ # @param member_guid The unique id for a `member`.
860
+ # @param user_guid The unique id for a `user`.
861
+ # @param transaction_guid The unique id for a `transaction`.
862
+ # @param [Hash] opts the optional parameters
863
+ # @return [TransactionResponseBody]
864
+ describe 'read_managed_transaction test' do
865
+ it 'should work' do
866
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
867
+ end
868
+ end
869
+
682
870
  # unit tests for read_member
683
871
  # Read member
684
872
  # Use this endpoint to read the attributes of a specific member.
@@ -717,6 +905,18 @@ describe 'MxPlatformApi' do
717
905
  end
718
906
  end
719
907
 
908
+ # unit tests for read_merchant_location
909
+ # Read merchant location
910
+ # This endpoint returns the specified merchant_location resource.
911
+ # @param merchant_location_guid The unique id for a `merchant_location`.
912
+ # @param [Hash] opts the optional parameters
913
+ # @return [MerchantLocationResponseBody]
914
+ describe 'read_merchant_location test' do
915
+ it 'should work' do
916
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
917
+ end
918
+ end
919
+
720
920
  # unit tests for read_statement_by_member
721
921
  # Read statement by member
722
922
  # Use this endpoint to read a JSON representation of the statement.
@@ -816,6 +1016,7 @@ describe 'MxPlatformApi' do
816
1016
  # @param [Hash] opts the optional parameters
817
1017
  # @option opts [String] :referral_source Must be either `BROWSER` or `APP` depending on the implementation. Defaults to `BROWSER`.
818
1018
  # @option opts [String] :ui_message_webview_url_scheme A scheme for routing the user back to the application state they were previously in.
1019
+ # @option opts [Boolean] :skip_aggregation Setting this parameter to `true` will prevent the member from automatically aggregating after being redirected from the authorization page.
819
1020
  # @return [OAuthWindowResponseBody]
820
1021
  describe 'request_o_auth_window_uri test' do
821
1022
  it 'should work' do
@@ -880,6 +1081,50 @@ describe 'MxPlatformApi' do
880
1081
  end
881
1082
  end
882
1083
 
1084
+ # unit tests for update_managed_account
1085
+ # Update managed account
1086
+ # Use this endpoint to update the attributes of a partner-managed account according to its unique GUID.
1087
+ # @param member_guid The unique id for a `member`.
1088
+ # @param user_guid The unique id for a `user`.
1089
+ # @param account_guid The unique id for an `account`.
1090
+ # @param managed_account_update_request_body Managed account object to be updated (While no single parameter is required, the request body can't be empty)
1091
+ # @param [Hash] opts the optional parameters
1092
+ # @return [AccountResponseBody]
1093
+ describe 'update_managed_account test' do
1094
+ it 'should work' do
1095
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1096
+ end
1097
+ end
1098
+
1099
+ # unit tests for update_managed_member
1100
+ # Update managed member
1101
+ # Use this endpoint to update the attributes of the specified partner_managed `member`.
1102
+ # @param member_guid The unique id for a `member`.
1103
+ # @param user_guid The unique id for a `user`.
1104
+ # @param managed_member_update_request_body Managed member object to be updated (While no single parameter is required, the request body can't be empty)
1105
+ # @param [Hash] opts the optional parameters
1106
+ # @return [MemberResponseBody]
1107
+ describe 'update_managed_member test' do
1108
+ it 'should work' do
1109
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1110
+ end
1111
+ end
1112
+
1113
+ # unit tests for update_managed_transaction
1114
+ # Update managed transaction
1115
+ # Use this endpoint to update the attributes of the specified partner_managed `transaction`.
1116
+ # @param member_guid The unique id for a `member`.
1117
+ # @param user_guid The unique id for a `user`.
1118
+ # @param transaction_guid The unique id for a `transaction`.
1119
+ # @param managed_transaction_update_request_body Managed transaction object to be updated (While no single parameter is required, the request body can't be empty)
1120
+ # @param [Hash] opts the optional parameters
1121
+ # @return [TransactionResponseBody]
1122
+ describe 'update_managed_transaction test' do
1123
+ it 'should work' do
1124
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1125
+ end
1126
+ end
1127
+
883
1128
  # unit tests for update_member
884
1129
  # Update member
885
1130
  # Use this endpoint to update a members attributes. Only the credentials, id, and metadata parameters can be updated. To get a list of the required credentials for the member, use the list member credentials endpoint.
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 0.1.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -159,8 +159,8 @@ describe MxPlatformRuby::ApiClient do
159
159
  let(:api_client) { MxPlatformRuby::ApiClient.new }
160
160
 
161
161
  it 'works' do
162
- expect(api_client.select_header_content_type(nil)).to eq('application/json')
163
- expect(api_client.select_header_content_type([])).to eq('application/json')
162
+ expect(api_client.select_header_content_type(nil)).to be_nil
163
+ expect(api_client.select_header_content_type([])).to be_nil
164
164
 
165
165
  expect(api_client.select_header_content_type(['application/json'])).to eq('application/json')
166
166
  expect(api_client.select_header_content_type(['application/xml', 'application/json; charset=UTF8'])).to eq('application/json; charset=UTF8')
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 0.1.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 0.1.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 0.1.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 0.1.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 0.1.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 0.1.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 0.1.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -121,6 +121,12 @@ describe MxPlatformRuby::AccountResponse do
121
121
  end
122
122
  end
123
123
 
124
+ describe 'test attribute "imported_at"' do
125
+ it 'should work' do
126
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
127
+ end
128
+ end
129
+
124
130
  describe 'test attribute "institution_code"' do
125
131
  it 'should work' do
126
132
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -181,6 +187,24 @@ describe MxPlatformRuby::AccountResponse do
181
187
  end
182
188
  end
183
189
 
190
+ describe 'test attribute "member_id"' do
191
+ it 'should work' do
192
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
193
+ end
194
+ end
195
+
196
+ describe 'test attribute "member_is_managed_by_user"' do
197
+ it 'should work' do
198
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
199
+ end
200
+ end
201
+
202
+ describe 'test attribute "metadata"' do
203
+ it 'should work' do
204
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
205
+ end
206
+ end
207
+
184
208
  describe 'test attribute "minimum_balance"' do
185
209
  it 'should work' do
186
210
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -199,6 +223,12 @@ describe MxPlatformRuby::AccountResponse do
199
223
  end
200
224
  end
201
225
 
226
+ describe 'test attribute "nickname"' do
227
+ it 'should work' do
228
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
229
+ end
230
+ end
231
+
202
232
  describe 'test attribute "original_balance"' do
203
233
  it 'should work' do
204
234
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -229,6 +259,12 @@ describe MxPlatformRuby::AccountResponse do
229
259
  end
230
260
  end
231
261
 
262
+ describe 'test attribute "routing_number"' do
263
+ it 'should work' do
264
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
265
+ end
266
+ end
267
+
232
268
  describe 'test attribute "started_on"' do
233
269
  it 'should work' do
234
270
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -265,4 +301,10 @@ describe MxPlatformRuby::AccountResponse do
265
301
  end
266
302
  end
267
303
 
304
+ describe 'test attribute "user_id"' do
305
+ it 'should work' do
306
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
307
+ end
308
+ end
309
+
268
310
  end
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 0.1.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 0.1.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 0.1.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 0.1.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 0.1.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 0.1.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 0.1.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 0.1.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 0.1.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 0.1.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 0.1.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 0.1.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 0.1.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 0.1.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 0.1.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 0.1.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 0.1.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 0.1.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12