mx-platform-ruby 0.5.0 → 0.6.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (237) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +4 -4
  3. data/README.md +30 -19
  4. data/docs/EnhanceTransactionResponse.md +18 -4
  5. data/docs/EnhanceTransactionsRequest.md +5 -1
  6. data/docs/MxPlatformApi.md +28 -8
  7. data/docs/TransactionResponse.md +4 -0
  8. data/lib/mx-platform-ruby/api/mx_platform_api.rb +121 -25
  9. data/lib/mx-platform-ruby/api_client.rb +7 -9
  10. data/lib/mx-platform-ruby/api_error.rb +1 -1
  11. data/lib/mx-platform-ruby/configuration.rb +35 -2
  12. data/lib/mx-platform-ruby/models/account_number_response.rb +5 -1
  13. data/lib/mx-platform-ruby/models/account_numbers_response_body.rb +1 -1
  14. data/lib/mx-platform-ruby/models/account_owner_response.rb +9 -1
  15. data/lib/mx-platform-ruby/models/account_owners_response_body.rb +1 -1
  16. data/lib/mx-platform-ruby/models/account_response.rb +45 -1
  17. data/lib/mx-platform-ruby/models/account_response_body.rb +1 -1
  18. data/lib/mx-platform-ruby/models/account_update_request.rb +1 -1
  19. data/lib/mx-platform-ruby/models/account_update_request_body.rb +1 -1
  20. data/lib/mx-platform-ruby/models/accounts_response_body.rb +1 -1
  21. data/lib/mx-platform-ruby/models/categories_response_body.rb +1 -1
  22. data/lib/mx-platform-ruby/models/category_create_request.rb +1 -1
  23. data/lib/mx-platform-ruby/models/category_create_request_body.rb +1 -1
  24. data/lib/mx-platform-ruby/models/category_response.rb +7 -1
  25. data/lib/mx-platform-ruby/models/category_response_body.rb +1 -1
  26. data/lib/mx-platform-ruby/models/category_update_request.rb +1 -1
  27. data/lib/mx-platform-ruby/models/category_update_request_body.rb +1 -1
  28. data/lib/mx-platform-ruby/models/challenge_response.rb +5 -1
  29. data/lib/mx-platform-ruby/models/challenges_response_body.rb +1 -1
  30. data/lib/mx-platform-ruby/models/connect_widget_request.rb +1 -1
  31. data/lib/mx-platform-ruby/models/connect_widget_request_body.rb +1 -1
  32. data/lib/mx-platform-ruby/models/connect_widget_response.rb +2 -1
  33. data/lib/mx-platform-ruby/models/connect_widget_response_body.rb +1 -1
  34. data/lib/mx-platform-ruby/models/credential_request.rb +2 -1
  35. data/lib/mx-platform-ruby/models/credential_response.rb +4 -1
  36. data/lib/mx-platform-ruby/models/credentials_response_body.rb +1 -1
  37. data/lib/mx-platform-ruby/models/enhance_transaction_response.rb +87 -2
  38. data/lib/mx-platform-ruby/models/enhance_transactions_request.rb +20 -2
  39. data/lib/mx-platform-ruby/models/enhance_transactions_request_body.rb +1 -1
  40. data/lib/mx-platform-ruby/models/enhance_transactions_response_body.rb +1 -1
  41. data/lib/mx-platform-ruby/models/holding_response.rb +15 -1
  42. data/lib/mx-platform-ruby/models/holding_response_body.rb +1 -1
  43. data/lib/mx-platform-ruby/models/holdings_response_body.rb +1 -1
  44. data/lib/mx-platform-ruby/models/image_option_response.rb +4 -1
  45. data/lib/mx-platform-ruby/models/institution_response.rb +11 -1
  46. data/lib/mx-platform-ruby/models/institution_response_body.rb +1 -1
  47. data/lib/mx-platform-ruby/models/institutions_response_body.rb +1 -1
  48. data/lib/mx-platform-ruby/models/managed_account_create_request.rb +1 -1
  49. data/lib/mx-platform-ruby/models/managed_account_create_request_body.rb +1 -1
  50. data/lib/mx-platform-ruby/models/managed_account_update_request.rb +1 -1
  51. data/lib/mx-platform-ruby/models/managed_account_update_request_body.rb +1 -1
  52. data/lib/mx-platform-ruby/models/managed_member_create_request.rb +1 -1
  53. data/lib/mx-platform-ruby/models/managed_member_create_request_body.rb +1 -1
  54. data/lib/mx-platform-ruby/models/managed_member_update_request.rb +1 -1
  55. data/lib/mx-platform-ruby/models/managed_member_update_request_body.rb +1 -1
  56. data/lib/mx-platform-ruby/models/managed_transaction_create_request.rb +1 -1
  57. data/lib/mx-platform-ruby/models/managed_transaction_create_request_body.rb +1 -1
  58. data/lib/mx-platform-ruby/models/managed_transaction_update_request.rb +1 -1
  59. data/lib/mx-platform-ruby/models/managed_transaction_update_request_body.rb +1 -1
  60. data/lib/mx-platform-ruby/models/member_create_request.rb +1 -1
  61. data/lib/mx-platform-ruby/models/member_create_request_body.rb +1 -1
  62. data/lib/mx-platform-ruby/models/member_response.rb +13 -1
  63. data/lib/mx-platform-ruby/models/member_response_body.rb +1 -1
  64. data/lib/mx-platform-ruby/models/member_resume_request.rb +1 -1
  65. data/lib/mx-platform-ruby/models/member_resume_request_body.rb +1 -1
  66. data/lib/mx-platform-ruby/models/member_status_response.rb +8 -1
  67. data/lib/mx-platform-ruby/models/member_status_response_body.rb +1 -1
  68. data/lib/mx-platform-ruby/models/member_update_request.rb +1 -1
  69. data/lib/mx-platform-ruby/models/member_update_request_body.rb +1 -1
  70. data/lib/mx-platform-ruby/models/members_response_body.rb +1 -1
  71. data/lib/mx-platform-ruby/models/merchant_location_response.rb +11 -1
  72. data/lib/mx-platform-ruby/models/merchant_location_response_body.rb +1 -1
  73. data/lib/mx-platform-ruby/models/merchant_response.rb +6 -1
  74. data/lib/mx-platform-ruby/models/merchant_response_body.rb +1 -1
  75. data/lib/mx-platform-ruby/models/merchants_response_body.rb +1 -1
  76. data/lib/mx-platform-ruby/models/o_auth_window_response.rb +2 -1
  77. data/lib/mx-platform-ruby/models/o_auth_window_response_body.rb +1 -1
  78. data/lib/mx-platform-ruby/models/option_response.rb +3 -1
  79. data/lib/mx-platform-ruby/models/pagination_response.rb +1 -1
  80. data/lib/mx-platform-ruby/models/statement_response.rb +5 -1
  81. data/lib/mx-platform-ruby/models/statement_response_body.rb +1 -1
  82. data/lib/mx-platform-ruby/models/statements_response_body.rb +1 -1
  83. data/lib/mx-platform-ruby/models/tag_create_request.rb +1 -1
  84. data/lib/mx-platform-ruby/models/tag_create_request_body.rb +1 -1
  85. data/lib/mx-platform-ruby/models/tag_response.rb +2 -1
  86. data/lib/mx-platform-ruby/models/tag_response_body.rb +1 -1
  87. data/lib/mx-platform-ruby/models/tag_update_request.rb +1 -1
  88. data/lib/mx-platform-ruby/models/tag_update_request_body.rb +1 -1
  89. data/lib/mx-platform-ruby/models/tagging_create_request.rb +1 -1
  90. data/lib/mx-platform-ruby/models/tagging_create_request_body.rb +1 -1
  91. data/lib/mx-platform-ruby/models/tagging_response.rb +2 -1
  92. data/lib/mx-platform-ruby/models/tagging_response_body.rb +1 -1
  93. data/lib/mx-platform-ruby/models/tagging_update_request.rb +1 -1
  94. data/lib/mx-platform-ruby/models/tagging_update_request_body.rb +1 -1
  95. data/lib/mx-platform-ruby/models/taggings_response_body.rb +1 -1
  96. data/lib/mx-platform-ruby/models/tags_response_body.rb +1 -1
  97. data/lib/mx-platform-ruby/models/transaction_response.rb +57 -2
  98. data/lib/mx-platform-ruby/models/transaction_response_body.rb +1 -1
  99. data/lib/mx-platform-ruby/models/transaction_rule_create_request.rb +1 -1
  100. data/lib/mx-platform-ruby/models/transaction_rule_create_request_body.rb +1 -1
  101. data/lib/mx-platform-ruby/models/transaction_rule_response.rb +5 -1
  102. data/lib/mx-platform-ruby/models/transaction_rule_response_body.rb +1 -1
  103. data/lib/mx-platform-ruby/models/transaction_rule_update_request.rb +3 -1
  104. data/lib/mx-platform-ruby/models/transaction_rule_update_request_body.rb +1 -1
  105. data/lib/mx-platform-ruby/models/transaction_rules_response_body.rb +1 -1
  106. data/lib/mx-platform-ruby/models/transaction_update_request.rb +1 -1
  107. data/lib/mx-platform-ruby/models/transaction_update_request_body.rb +1 -1
  108. data/lib/mx-platform-ruby/models/transactions_response_body.rb +1 -1
  109. data/lib/mx-platform-ruby/models/user_create_request.rb +1 -1
  110. data/lib/mx-platform-ruby/models/user_create_request_body.rb +1 -1
  111. data/lib/mx-platform-ruby/models/user_response.rb +5 -1
  112. data/lib/mx-platform-ruby/models/user_response_body.rb +1 -1
  113. data/lib/mx-platform-ruby/models/user_update_request.rb +1 -1
  114. data/lib/mx-platform-ruby/models/user_update_request_body.rb +1 -1
  115. data/lib/mx-platform-ruby/models/users_response_body.rb +1 -1
  116. data/lib/mx-platform-ruby/models/widget_request.rb +1 -1
  117. data/lib/mx-platform-ruby/models/widget_request_body.rb +1 -1
  118. data/lib/mx-platform-ruby/models/widget_response.rb +4 -1
  119. data/lib/mx-platform-ruby/models/widget_response_body.rb +1 -1
  120. data/lib/mx-platform-ruby/version.rb +2 -2
  121. data/lib/mx-platform-ruby.rb +1 -1
  122. data/mx-platform-ruby.gemspec +1 -1
  123. data/openapi/config.yml +1 -1
  124. data/openapi/templates/README.mustache +30 -21
  125. data/spec/api/mx_platform_api_spec.rb +9 -1
  126. data/spec/api_client_spec.rb +3 -3
  127. data/spec/configuration_spec.rb +1 -1
  128. data/spec/models/account_number_response_spec.rb +1 -1
  129. data/spec/models/account_numbers_response_body_spec.rb +1 -1
  130. data/spec/models/account_owner_response_spec.rb +1 -1
  131. data/spec/models/account_owners_response_body_spec.rb +1 -1
  132. data/spec/models/account_response_body_spec.rb +1 -1
  133. data/spec/models/account_response_spec.rb +1 -1
  134. data/spec/models/account_update_request_body_spec.rb +1 -1
  135. data/spec/models/account_update_request_spec.rb +1 -1
  136. data/spec/models/accounts_response_body_spec.rb +1 -1
  137. data/spec/models/categories_response_body_spec.rb +1 -1
  138. data/spec/models/category_create_request_body_spec.rb +1 -1
  139. data/spec/models/category_create_request_spec.rb +1 -1
  140. data/spec/models/category_response_body_spec.rb +1 -1
  141. data/spec/models/category_response_spec.rb +1 -1
  142. data/spec/models/category_update_request_body_spec.rb +1 -1
  143. data/spec/models/category_update_request_spec.rb +1 -1
  144. data/spec/models/challenge_response_spec.rb +1 -1
  145. data/spec/models/challenges_response_body_spec.rb +1 -1
  146. data/spec/models/connect_widget_request_body_spec.rb +1 -1
  147. data/spec/models/connect_widget_request_spec.rb +1 -1
  148. data/spec/models/connect_widget_response_body_spec.rb +1 -1
  149. data/spec/models/connect_widget_response_spec.rb +1 -1
  150. data/spec/models/credential_request_spec.rb +1 -1
  151. data/spec/models/credential_response_spec.rb +1 -1
  152. data/spec/models/credentials_response_body_spec.rb +1 -1
  153. data/spec/models/enhance_transaction_response_spec.rb +43 -1
  154. data/spec/models/enhance_transactions_request_body_spec.rb +1 -1
  155. data/spec/models/enhance_transactions_request_spec.rb +13 -1
  156. data/spec/models/enhance_transactions_response_body_spec.rb +1 -1
  157. data/spec/models/holding_response_body_spec.rb +1 -1
  158. data/spec/models/holding_response_spec.rb +1 -1
  159. data/spec/models/holdings_response_body_spec.rb +1 -1
  160. data/spec/models/image_option_response_spec.rb +1 -1
  161. data/spec/models/institution_response_body_spec.rb +1 -1
  162. data/spec/models/institution_response_spec.rb +1 -1
  163. data/spec/models/institutions_response_body_spec.rb +1 -1
  164. data/spec/models/managed_account_create_request_body_spec.rb +1 -1
  165. data/spec/models/managed_account_create_request_spec.rb +1 -1
  166. data/spec/models/managed_account_update_request_body_spec.rb +1 -1
  167. data/spec/models/managed_account_update_request_spec.rb +1 -1
  168. data/spec/models/managed_member_create_request_body_spec.rb +1 -1
  169. data/spec/models/managed_member_create_request_spec.rb +1 -1
  170. data/spec/models/managed_member_update_request_body_spec.rb +1 -1
  171. data/spec/models/managed_member_update_request_spec.rb +1 -1
  172. data/spec/models/managed_transaction_create_request_body_spec.rb +1 -1
  173. data/spec/models/managed_transaction_create_request_spec.rb +1 -1
  174. data/spec/models/managed_transaction_update_request_body_spec.rb +1 -1
  175. data/spec/models/managed_transaction_update_request_spec.rb +1 -1
  176. data/spec/models/member_create_request_body_spec.rb +1 -1
  177. data/spec/models/member_create_request_spec.rb +1 -1
  178. data/spec/models/member_response_body_spec.rb +1 -1
  179. data/spec/models/member_response_spec.rb +1 -1
  180. data/spec/models/member_resume_request_body_spec.rb +1 -1
  181. data/spec/models/member_resume_request_spec.rb +1 -1
  182. data/spec/models/member_status_response_body_spec.rb +1 -1
  183. data/spec/models/member_status_response_spec.rb +1 -1
  184. data/spec/models/member_update_request_body_spec.rb +1 -1
  185. data/spec/models/member_update_request_spec.rb +1 -1
  186. data/spec/models/members_response_body_spec.rb +1 -1
  187. data/spec/models/merchant_location_response_body_spec.rb +1 -1
  188. data/spec/models/merchant_location_response_spec.rb +1 -1
  189. data/spec/models/merchant_response_body_spec.rb +1 -1
  190. data/spec/models/merchant_response_spec.rb +1 -1
  191. data/spec/models/merchants_response_body_spec.rb +1 -1
  192. data/spec/models/o_auth_window_response_body_spec.rb +1 -1
  193. data/spec/models/o_auth_window_response_spec.rb +1 -1
  194. data/spec/models/option_response_spec.rb +1 -1
  195. data/spec/models/pagination_response_spec.rb +1 -1
  196. data/spec/models/statement_response_body_spec.rb +1 -1
  197. data/spec/models/statement_response_spec.rb +1 -1
  198. data/spec/models/statements_response_body_spec.rb +1 -1
  199. data/spec/models/tag_create_request_body_spec.rb +1 -1
  200. data/spec/models/tag_create_request_spec.rb +1 -1
  201. data/spec/models/tag_response_body_spec.rb +1 -1
  202. data/spec/models/tag_response_spec.rb +1 -1
  203. data/spec/models/tag_update_request_body_spec.rb +1 -1
  204. data/spec/models/tag_update_request_spec.rb +1 -1
  205. data/spec/models/tagging_create_request_body_spec.rb +1 -1
  206. data/spec/models/tagging_create_request_spec.rb +1 -1
  207. data/spec/models/tagging_response_body_spec.rb +1 -1
  208. data/spec/models/tagging_response_spec.rb +1 -1
  209. data/spec/models/tagging_update_request_body_spec.rb +1 -1
  210. data/spec/models/tagging_update_request_spec.rb +1 -1
  211. data/spec/models/taggings_response_body_spec.rb +1 -1
  212. data/spec/models/tags_response_body_spec.rb +1 -1
  213. data/spec/models/transaction_response_body_spec.rb +1 -1
  214. data/spec/models/transaction_response_spec.rb +13 -1
  215. data/spec/models/transaction_rule_create_request_body_spec.rb +1 -1
  216. data/spec/models/transaction_rule_create_request_spec.rb +1 -1
  217. data/spec/models/transaction_rule_response_body_spec.rb +1 -1
  218. data/spec/models/transaction_rule_response_spec.rb +1 -1
  219. data/spec/models/transaction_rule_update_request_body_spec.rb +1 -1
  220. data/spec/models/transaction_rule_update_request_spec.rb +1 -1
  221. data/spec/models/transaction_rules_response_body_spec.rb +1 -1
  222. data/spec/models/transaction_update_request_body_spec.rb +1 -1
  223. data/spec/models/transaction_update_request_spec.rb +1 -1
  224. data/spec/models/transactions_response_body_spec.rb +1 -1
  225. data/spec/models/user_create_request_body_spec.rb +1 -1
  226. data/spec/models/user_create_request_spec.rb +1 -1
  227. data/spec/models/user_response_body_spec.rb +1 -1
  228. data/spec/models/user_response_spec.rb +1 -1
  229. data/spec/models/user_update_request_body_spec.rb +1 -1
  230. data/spec/models/user_update_request_spec.rb +1 -1
  231. data/spec/models/users_response_body_spec.rb +1 -1
  232. data/spec/models/widget_request_body_spec.rb +1 -1
  233. data/spec/models/widget_request_spec.rb +1 -1
  234. data/spec/models/widget_response_body_spec.rb +1 -1
  235. data/spec/models/widget_response_spec.rb +1 -1
  236. data/spec/spec_helper.rb +1 -1
  237. metadata +95 -95
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 523780181f868c8c9ff0ac8fb2bff613f2cea7d66698884915564f0d5df1ec5e
4
- data.tar.gz: b8eeb78719c9f1ede5f426ff550d5354080c961b4fba94e9ac8bb0bc6a56e1b5
3
+ metadata.gz: 262c6362945060899351feb3aa49356bbfa5a234f917b2efa099f39188f4cc55
4
+ data.tar.gz: 3dfa97a2aa14f65c8f048f8c9e6a5bbc199bc3fef5c0ccbe58e7f11e38737aad
5
5
  SHA512:
6
- metadata.gz: 15c7498cbd50b0a6bb24dd12160af3e24f7e60efd85d8277dddaa730ca1ff0d2cc9a01905104127dff5ad7809c89bbc5ed596e76697ab96682fcdb22cf6581a2
7
- data.tar.gz: 7fb874e999254793c2a1cb92799ccdf55c022e143d1b5df5ce0e8937fe9468492df0a5c31fd6ba707c352874631fb295e6f16e81cd5c1bcd21b226b00e2cd6a6
6
+ metadata.gz: 986214ba1b32b491894c84294f03c7413a62b8fe145c485ac9965bd90285981fac989e1e8607ba48f32ecfc08e54ea8d01fe34d62be775143f43eeaa10036627
7
+ data.tar.gz: a0e99f8388aea551610df4241e34c57a0c4c035d6b3fd3a8da6edb5c37c1422a379846ef6ec411cb8e9ba67d3e9ca22cd74c6c99125dc5f9569a2af3fec3e2ab
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mx-platform-ruby (0.5.0)
4
+ mx-platform-ruby (0.6.3)
5
5
  faraday (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
@@ -34,7 +34,7 @@ GEM
34
34
  method_source (1.0.0)
35
35
  multipart-post (2.1.1)
36
36
  parallel (1.21.0)
37
- parser (3.0.2.0)
37
+ parser (3.0.3.1)
38
38
  ast (~> 2.4.1)
39
39
  pry (0.13.1)
40
40
  coderay (~> 1.1)
@@ -57,7 +57,7 @@ GEM
57
57
  rspec-mocks (3.10.2)
58
58
  diff-lcs (>= 1.2.0, < 2.0)
59
59
  rspec-support (~> 3.10.0)
60
- rspec-support (3.10.2)
60
+ rspec-support (3.10.3)
61
61
  rubocop (0.66.0)
62
62
  jaro_winkler (~> 1.5.1)
63
63
  parallel (~> 1.10)
@@ -81,4 +81,4 @@ DEPENDENCIES
81
81
  rubocop (~> 0.66.0)
82
82
 
83
83
  BUNDLED WITH
84
- 2.2.29
84
+ 2.2.32
data/README.md CHANGED
@@ -1,14 +1,16 @@
1
- *This project is currently in **Beta**. Please open up an issue [here](https://github.com/mxenabled/mx-platform-ruby/issues) to report issues using the MX Platform API Ruby Library.*
1
+ *This project is currently in **Beta**. Please open up an issue [here](https://github.com/mxenabled/mx-platform-ruby/issues) to report issues using the MX Platform Ruby library.*
2
2
 
3
- # mx-platform-ruby
3
+ # MX Platform Ruby
4
4
 
5
- MxPlatformRuby - the Ruby gem for the MX Platform API
5
+ The [MX Platform API](https://www.mx.com/products/platform-api) is a powerful, fully-featured API designed to make aggregating and enhancing financial data easy and reliable. It can seamlessly connect your app or website to tens of thousands of financial institutions.
6
6
 
7
- The MX Platform API is a powerful, fully-featured API designed to make aggregating and enhancing financial data easy and reliable. It can seamlessly connect your app or website to tens of thousands of financial institutions.
7
+ ## Documentation
8
+
9
+ Examples for the API endpoints can be found [here.](https://docs.mx.com/api)
8
10
 
9
- This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
11
+ ## Requirements
10
12
 
11
- - Package version: 0.5.0
13
+ - Ruby >= 2.6
12
14
 
13
15
  ## Installation
14
16
 
@@ -20,31 +22,28 @@ gem 'mx-platform-ruby'
20
22
 
21
23
  And then execute:
22
24
  ```shell
23
- $ bundle
25
+ bundle
24
26
  ```
25
27
 
26
28
  Or install it yourself with:
27
29
  ```shell
28
- $ gem install mx-platform-ruby
30
+ gem install mx-platform-ruby
29
31
  ```
30
32
 
31
33
  ## Getting Started
32
34
 
33
35
  In order to make requests, you will need to [sign up](https://dashboard.mx.com/sign_up) for the MX Platform API and get a `Client ID` and `API Key`.
34
36
 
35
- Please follow the [installation](#installation) procedure and then run the following code:
36
-
37
+ Please follow the [installation](#installation) procedure and then run the following code to create your first User:
37
38
  ```ruby
38
- # Load the gem
39
39
  require 'mx-platform-ruby'
40
40
 
41
- # setup authorization
42
41
  MxPlatformRuby.configure do |config|
43
- # Configure HTTP basic authorization
44
- config.username = 'Your Client ID from https://dashboard.mx.com'
45
- config.password = 'Your API Key from https://dashboard.mx.com'
42
+ # Configure with your Client ID/API Key from https://dashboard.mx.com
43
+ config.username = 'Your Client ID'
44
+ config.password = 'Your API Key'
46
45
 
47
- # Configure server. 0 for production, 1 for development
46
+ # Configure environment. 0 for production, 1 for development
48
47
  config.server_index = 1
49
48
  end
50
49
 
@@ -56,7 +55,6 @@ user_create_request_body = MxPlatformRuby::UserCreateRequestBody.new(
56
55
  )
57
56
 
58
57
  begin
59
- # Create user
60
58
  result = api_instance.create_user(user_create_request_body)
61
59
  p result
62
60
  rescue MxPlatformRuby::ApiError => e
@@ -64,6 +62,19 @@ rescue MxPlatformRuby::ApiError => e
64
62
  end
65
63
  ```
66
64
 
67
- ## Documentation
65
+ ## Development
66
+
67
+ This project was generated by the [OpenAPI Generator](https://openapi-generator.tech). To generate this library, verify you have the latest version of the `openapi-generator-cli` found [here.](https://github.com/OpenAPITools/openapi-generator#17---npm)
68
+
69
+ Running the following command in this repo's directory will generate this library using the [MX Platform API OpenAPI spec](https://github.com/mxenabled/openapi/blob/master/openapi/mx_platform_api_beta.yml) with our [configuration and templates.](https://github.com/mxenabled/mx-platform-ruby/tree/master/openapi)
70
+ ```shell
71
+ openapi-generator-cli generate \
72
+ -i https://raw.githubusercontent.com/mxenabled/openapi/master/openapi/mx_platform_api_beta.yml \
73
+ -g ruby \
74
+ -c ./openapi/config.yml \
75
+ -t ./openapi/templates
76
+ ```
77
+
78
+ ## Contributing
68
79
 
69
- Additional examples for the API endpoints can be found [here](docs/MxPlatformApi.md).
80
+ Please [open an issue](https://github.com/mxenabled/mx-platform-java/issues) or [submit a pull request.](https://github.com/mxenabled/mx-platform-java/pulls)
@@ -5,8 +5,12 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **amount** | **Float** | | [optional] |
8
+ | **categorized_by** | **Integer** | | [optional] |
8
9
  | **category** | **String** | | [optional] |
10
+ | **category_guid** | **String** | | [optional] |
11
+ | **described_by** | **Integer** | | [optional] |
9
12
  | **description** | **String** | | [optional] |
13
+ | **extended_transaction_type** | **String** | | [optional] |
10
14
  | **id** | **String** | | [optional] |
11
15
  | **is_bill_pay** | **Boolean** | | [optional] |
12
16
  | **is_direct_deposit** | **Boolean** | | [optional] |
@@ -16,8 +20,11 @@
16
20
  | **is_international** | **Boolean** | | [optional] |
17
21
  | **is_overdraft_fee** | **Boolean** | | [optional] |
18
22
  | **is_payroll_advance** | **Boolean** | | [optional] |
23
+ | **is_subscription** | **Boolean** | | [optional] |
24
+ | **memo** | **String** | | [optional] |
19
25
  | **merchant_category_code** | **Integer** | | [optional] |
20
26
  | **merchant_guid** | **String** | | [optional] |
27
+ | **merchant_location_guid** | **String** | | [optional] |
21
28
  | **original_description** | **String** | | [optional] |
22
29
  | **type** | **String** | | [optional] |
23
30
 
@@ -28,8 +35,12 @@ require 'mx-platform-ruby'
28
35
 
29
36
  instance = MxPlatformRuby::EnhanceTransactionResponse.new(
30
37
  amount: 21.33,
31
- category: Fast Food,
32
- description: IN-N-OUT BURGER,
38
+ categorized_by: 13,
39
+ category: Rental Car &amp; Taxi,
40
+ category_guid: CAT-9588eaad-90a4-bb5c-66c8-1812503d0db8,
41
+ described_by: 6,
42
+ description: Uber,
43
+ extended_transaction_type: partner_transaction_type,
33
44
  id: ID-123,
34
45
  is_bill_pay: false,
35
46
  is_direct_deposit: false,
@@ -39,9 +50,12 @@ instance = MxPlatformRuby::EnhanceTransactionResponse.new(
39
50
  is_international: false,
40
51
  is_overdraft_fee: false,
41
52
  is_payroll_advance: false,
53
+ is_subscription: false,
54
+ memo: Additional-information*on_transaction,
42
55
  merchant_category_code: 5411,
43
- merchant_guid: MCH-7ed79542-884d-2b1b-dd74-501c5cc9d25b,
44
- original_description: IN-N-OUT BURGER,
56
+ merchant_guid: MCH-14f25b63-ef47-a38e-b2b6-d02b280b6e4e,
57
+ merchant_location_guid: MCL-00024e59-18b5-4d79-b879-2a7896726fea,
58
+ original_description: ubr* pending.uber.com,
45
59
  type: DEBIT
46
60
  )
47
61
  ```
@@ -6,7 +6,9 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **amount** | **Float** | | [optional] |
8
8
  | **description** | **String** | | |
9
+ | **extended_transaction_type** | **String** | | [optional] |
9
10
  | **id** | **String** | | |
11
+ | **memo** | **String** | | [optional] |
10
12
  | **merchant_category_code** | **Integer** | | [optional] |
11
13
  | **type** | **String** | | [optional] |
12
14
 
@@ -17,8 +19,10 @@ require 'mx-platform-ruby'
17
19
 
18
20
  instance = MxPlatformRuby::EnhanceTransactionsRequest.new(
19
21
  amount: 21.33,
20
- description: IN-N-OUT BURGER,
22
+ description: ubr* pending.uber.com,
23
+ extended_transaction_type: partner_transaction_type,
21
24
  id: ID-123,
25
+ memo: Additional-information*on_transaction,
22
26
  merchant_category_code: 123,
23
27
  type: DEBIT
24
28
  )
@@ -2199,7 +2199,7 @@ end
2199
2199
 
2200
2200
  ## list_default_categories
2201
2201
 
2202
- > <CategoriesResponseBody> list_default_categories(user_guid)
2202
+ > <CategoriesResponseBody> list_default_categories(user_guid, opts)
2203
2203
 
2204
2204
  List default categories
2205
2205
 
@@ -2219,10 +2219,14 @@ end
2219
2219
 
2220
2220
  api_instance = MxPlatformRuby::MxPlatformApi.new
2221
2221
  user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique id for a `user`.
2222
+ opts = {
2223
+ page: 1, # Integer | Specify current page.
2224
+ records_per_page: 10 # Integer | Specify records per page.
2225
+ }
2222
2226
 
2223
2227
  begin
2224
2228
  # List default categories
2225
- result = api_instance.list_default_categories(user_guid)
2229
+ result = api_instance.list_default_categories(user_guid, opts)
2226
2230
  p result
2227
2231
  rescue MxPlatformRuby::ApiError => e
2228
2232
  puts "Error when calling MxPlatformApi->list_default_categories: #{e}"
@@ -2233,12 +2237,12 @@ end
2233
2237
 
2234
2238
  This returns an Array which contains the response data, status code and headers.
2235
2239
 
2236
- > <Array(<CategoriesResponseBody>, Integer, Hash)> list_default_categories_with_http_info(user_guid)
2240
+ > <Array(<CategoriesResponseBody>, Integer, Hash)> list_default_categories_with_http_info(user_guid, opts)
2237
2241
 
2238
2242
  ```ruby
2239
2243
  begin
2240
2244
  # List default categories
2241
- data, status_code, headers = api_instance.list_default_categories_with_http_info(user_guid)
2245
+ data, status_code, headers = api_instance.list_default_categories_with_http_info(user_guid, opts)
2242
2246
  p status_code # => 2xx
2243
2247
  p headers # => { ... }
2244
2248
  p data # => <CategoriesResponseBody>
@@ -2252,6 +2256,8 @@ end
2252
2256
  | Name | Type | Description | Notes |
2253
2257
  | ---- | ---- | ----------- | ----- |
2254
2258
  | **user_guid** | **String** | The unique id for a &#x60;user&#x60;. | |
2259
+ | **page** | **Integer** | Specify current page. | [optional] |
2260
+ | **records_per_page** | **Integer** | Specify records per page. | [optional] |
2255
2261
 
2256
2262
  ### Return type
2257
2263
 
@@ -2602,6 +2608,8 @@ end
2602
2608
  api_instance = MxPlatformRuby::MxPlatformApi.new
2603
2609
  opts = {
2604
2610
  name: 'chase', # String | This will list only institutions in which the appended string appears.
2611
+ page: 1, # Integer | Specify current page.
2612
+ records_per_page: 10, # Integer | Specify records per page.
2605
2613
  supports_account_identification: true, # Boolean | Filter only institutions which support account identification.
2606
2614
  supports_account_statement: true, # Boolean | Filter only institutions which support account statements.
2607
2615
  supports_account_verification: true, # Boolean | Filter only institutions which support account verification.
@@ -2640,6 +2648,8 @@ end
2640
2648
  | Name | Type | Description | Notes |
2641
2649
  | ---- | ---- | ----------- | ----- |
2642
2650
  | **name** | **String** | This will list only institutions in which the appended string appears. | [optional] |
2651
+ | **page** | **Integer** | Specify current page. | [optional] |
2652
+ | **records_per_page** | **Integer** | Specify records per page. | [optional] |
2643
2653
  | **supports_account_identification** | **Boolean** | Filter only institutions which support account identification. | [optional] |
2644
2654
  | **supports_account_statement** | **Boolean** | Filter only institutions which support account statements. | [optional] |
2645
2655
  | **supports_account_verification** | **Boolean** | Filter only institutions which support account verification. | [optional] |
@@ -3823,7 +3833,7 @@ end
3823
3833
 
3824
3834
  ## list_transactions_by_tag
3825
3835
 
3826
- > <TransactionsResponseBody> list_transactions_by_tag(tag_guid, user_guid)
3836
+ > <TransactionsResponseBody> list_transactions_by_tag(tag_guid, user_guid, opts)
3827
3837
 
3828
3838
  List transactions by tag
3829
3839
 
@@ -3844,10 +3854,16 @@ end
3844
3854
  api_instance = MxPlatformRuby::MxPlatformApi.new
3845
3855
  tag_guid = 'TAG-aef36e72-6294-4c38-844d-e573e80aed52' # String | The unique id for a `tag`.
3846
3856
  user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique id for a `user`.
3857
+ opts = {
3858
+ from_date: '2015-09-20', # String | Filter transactions from this date.
3859
+ page: 1, # Integer | Specify current page.
3860
+ records_per_page: 10, # Integer | Specify records per page.
3861
+ to_date: '2019-10-20' # String | Filter transactions to this date.
3862
+ }
3847
3863
 
3848
3864
  begin
3849
3865
  # List transactions by tag
3850
- result = api_instance.list_transactions_by_tag(tag_guid, user_guid)
3866
+ result = api_instance.list_transactions_by_tag(tag_guid, user_guid, opts)
3851
3867
  p result
3852
3868
  rescue MxPlatformRuby::ApiError => e
3853
3869
  puts "Error when calling MxPlatformApi->list_transactions_by_tag: #{e}"
@@ -3858,12 +3874,12 @@ end
3858
3874
 
3859
3875
  This returns an Array which contains the response data, status code and headers.
3860
3876
 
3861
- > <Array(<TransactionsResponseBody>, Integer, Hash)> list_transactions_by_tag_with_http_info(tag_guid, user_guid)
3877
+ > <Array(<TransactionsResponseBody>, Integer, Hash)> list_transactions_by_tag_with_http_info(tag_guid, user_guid, opts)
3862
3878
 
3863
3879
  ```ruby
3864
3880
  begin
3865
3881
  # List transactions by tag
3866
- data, status_code, headers = api_instance.list_transactions_by_tag_with_http_info(tag_guid, user_guid)
3882
+ data, status_code, headers = api_instance.list_transactions_by_tag_with_http_info(tag_guid, user_guid, opts)
3867
3883
  p status_code # => 2xx
3868
3884
  p headers # => { ... }
3869
3885
  p data # => <TransactionsResponseBody>
@@ -3878,6 +3894,10 @@ end
3878
3894
  | ---- | ---- | ----------- | ----- |
3879
3895
  | **tag_guid** | **String** | The unique id for a &#x60;tag&#x60;. | |
3880
3896
  | **user_guid** | **String** | The unique id for a &#x60;user&#x60;. | |
3897
+ | **from_date** | **String** | Filter transactions from this date. | [optional] |
3898
+ | **page** | **Integer** | Specify current page. | [optional] |
3899
+ | **records_per_page** | **Integer** | Specify records per page. | [optional] |
3900
+ | **to_date** | **String** | Filter transactions to this date. | [optional] |
3881
3901
 
3882
3902
  ### Return type
3883
3903
 
@@ -8,11 +8,13 @@
8
8
  | **account_id** | **String** | | [optional] |
9
9
  | **amount** | **Float** | | [optional] |
10
10
  | **category** | **String** | | [optional] |
11
+ | **category_guid** | **String** | | [optional] |
11
12
  | **check_number_string** | **String** | | [optional] |
12
13
  | **created_at** | **String** | | [optional] |
13
14
  | **currency_code** | **String** | | [optional] |
14
15
  | **date** | **String** | | [optional] |
15
16
  | **description** | **String** | | [optional] |
17
+ | **extended_transaction_type** | **String** | | [optional] |
16
18
  | **guid** | **String** | | [optional] |
17
19
  | **id** | **String** | | [optional] |
18
20
  | **is_bill_pay** | **Boolean** | | [optional] |
@@ -56,11 +58,13 @@ instance = MxPlatformRuby::TransactionResponse.new(
56
58
  account_id: account123,
57
59
  amount: 61.11,
58
60
  category: Groceries,
61
+ category_guid: CAT-9588eaad-90a4-bb5c-66c8-1812503d0db8,
59
62
  check_number_string: 6812,
60
63
  created_at: 2016-10-06T09:43:42.000Z,
61
64
  currency_code: USD,
62
65
  date: 2013-09-23T00:00:00.000Z,
63
66
  description: Whole foods,
67
+ extended_transaction_type: partner_transaction_type,
64
68
  guid: TRN-265abee9-889b-af6a-c69b-25157db2bdd9,
65
69
  id: transaction-265abee9-889b-af6a-c69b-25157db2bdd9,
66
70
  is_bill_pay: false,