mx-platform-ruby 0.5.0 → 0.6.3

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 (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
@@ -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
 
@@ -23,6 +23,8 @@ module MxPlatformRuby
23
23
 
24
24
  attr_accessor :category
25
25
 
26
+ attr_accessor :category_guid
27
+
26
28
  attr_accessor :check_number_string
27
29
 
28
30
  attr_accessor :created_at
@@ -33,6 +35,8 @@ module MxPlatformRuby
33
35
 
34
36
  attr_accessor :description
35
37
 
38
+ attr_accessor :extended_transaction_type
39
+
36
40
  attr_accessor :guid
37
41
 
38
42
  attr_accessor :id
@@ -104,11 +108,13 @@ module MxPlatformRuby
104
108
  :'account_id' => :'account_id',
105
109
  :'amount' => :'amount',
106
110
  :'category' => :'category',
111
+ :'category_guid' => :'category_guid',
107
112
  :'check_number_string' => :'check_number_string',
108
113
  :'created_at' => :'created_at',
109
114
  :'currency_code' => :'currency_code',
110
115
  :'date' => :'date',
111
116
  :'description' => :'description',
117
+ :'extended_transaction_type' => :'extended_transaction_type',
112
118
  :'guid' => :'guid',
113
119
  :'id' => :'id',
114
120
  :'is_bill_pay' => :'is_bill_pay',
@@ -156,11 +162,13 @@ module MxPlatformRuby
156
162
  :'account_id' => :'String',
157
163
  :'amount' => :'Float',
158
164
  :'category' => :'String',
165
+ :'category_guid' => :'String',
159
166
  :'check_number_string' => :'String',
160
167
  :'created_at' => :'String',
161
168
  :'currency_code' => :'String',
162
169
  :'date' => :'String',
163
170
  :'description' => :'String',
171
+ :'extended_transaction_type' => :'String',
164
172
  :'guid' => :'String',
165
173
  :'id' => :'String',
166
174
  :'is_bill_pay' => :'Boolean',
@@ -199,6 +207,43 @@ module MxPlatformRuby
199
207
  # List of attributes with nullable: true
200
208
  def self.openapi_nullable
201
209
  Set.new([
210
+ :'account_id',
211
+ :'amount',
212
+ :'category',
213
+ :'category_guid',
214
+ :'check_number_string',
215
+ :'created_at',
216
+ :'currency_code',
217
+ :'date',
218
+ :'description',
219
+ :'extended_transaction_type',
220
+ :'id',
221
+ :'is_bill_pay',
222
+ :'is_direct_deposit',
223
+ :'is_expense',
224
+ :'is_fee',
225
+ :'is_income',
226
+ :'is_international',
227
+ :'is_overdraft_fee',
228
+ :'is_payroll_advance',
229
+ :'is_recurring',
230
+ :'is_subscription',
231
+ :'latitude',
232
+ :'localized_description',
233
+ :'localized_memo',
234
+ :'longitude',
235
+ :'member_is_managed_by_user',
236
+ :'memo',
237
+ :'merchant_category_code',
238
+ :'metadata',
239
+ :'original_description',
240
+ :'posted_at',
241
+ :'status',
242
+ :'top_level_category',
243
+ :'transacted_at',
244
+ :'type',
245
+ :'updated_at',
246
+ :'user_id'
202
247
  ])
203
248
  end
204
249
 
@@ -233,6 +278,10 @@ module MxPlatformRuby
233
278
  self.category = attributes[:'category']
234
279
  end
235
280
 
281
+ if attributes.key?(:'category_guid')
282
+ self.category_guid = attributes[:'category_guid']
283
+ end
284
+
236
285
  if attributes.key?(:'check_number_string')
237
286
  self.check_number_string = attributes[:'check_number_string']
238
287
  end
@@ -253,6 +302,10 @@ module MxPlatformRuby
253
302
  self.description = attributes[:'description']
254
303
  end
255
304
 
305
+ if attributes.key?(:'extended_transaction_type')
306
+ self.extended_transaction_type = attributes[:'extended_transaction_type']
307
+ end
308
+
256
309
  if attributes.key?(:'guid')
257
310
  self.guid = attributes[:'guid']
258
311
  end
@@ -404,11 +457,13 @@ module MxPlatformRuby
404
457
  account_id == o.account_id &&
405
458
  amount == o.amount &&
406
459
  category == o.category &&
460
+ category_guid == o.category_guid &&
407
461
  check_number_string == o.check_number_string &&
408
462
  created_at == o.created_at &&
409
463
  currency_code == o.currency_code &&
410
464
  date == o.date &&
411
465
  description == o.description &&
466
+ extended_transaction_type == o.extended_transaction_type &&
412
467
  guid == o.guid &&
413
468
  id == o.id &&
414
469
  is_bill_pay == o.is_bill_pay &&
@@ -452,7 +507,7 @@ module MxPlatformRuby
452
507
  # Calculates hash code according to all attributes.
453
508
  # @return [Integer] Hash code
454
509
  def hash
455
- [account_guid, account_id, amount, category, check_number_string, created_at, currency_code, date, description, guid, id, is_bill_pay, is_direct_deposit, is_expense, is_fee, is_income, is_international, is_overdraft_fee, is_payroll_advance, is_recurring, is_subscription, latitude, localized_description, localized_memo, longitude, member_guid, member_is_managed_by_user, memo, merchant_category_code, merchant_guid, merchant_location_guid, metadata, original_description, posted_at, status, top_level_category, transacted_at, type, updated_at, user_guid, user_id].hash
510
+ [account_guid, account_id, amount, category, category_guid, check_number_string, created_at, currency_code, date, description, extended_transaction_type, guid, id, is_bill_pay, is_direct_deposit, is_expense, is_fee, is_income, is_international, is_overdraft_fee, is_payroll_advance, is_recurring, is_subscription, latitude, localized_description, localized_memo, longitude, member_guid, member_is_managed_by_user, memo, merchant_category_code, merchant_guid, merchant_location_guid, metadata, original_description, posted_at, status, top_level_category, transacted_at, type, updated_at, user_guid, user_id].hash
456
511
  end
457
512
 
458
513
  # Builds the object from hash
@@ -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
 
@@ -63,6 +63,10 @@ module MxPlatformRuby
63
63
  # List of attributes with nullable: true
64
64
  def self.openapi_nullable
65
65
  Set.new([
66
+ :'created_at',
67
+ :'description',
68
+ :'match_description',
69
+ :'updated_at',
66
70
  ])
67
71
  end
68
72
 
@@ -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
 
@@ -47,6 +47,8 @@ module MxPlatformRuby
47
47
  # List of attributes with nullable: true
48
48
  def self.openapi_nullable
49
49
  Set.new([
50
+ :'description',
51
+ :'match_description'
50
52
  ])
51
53
  end
52
54
 
@@ -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
 
@@ -55,6 +55,10 @@ module MxPlatformRuby
55
55
  # List of attributes with nullable: true
56
56
  def self.openapi_nullable
57
57
  Set.new([
58
+ :'email',
59
+ :'id',
60
+ :'is_disabled',
61
+ :'metadata'
58
62
  ])
59
63
  end
60
64
 
@@ -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
 
@@ -47,6 +47,9 @@ module MxPlatformRuby
47
47
  # List of attributes with nullable: true
48
48
  def self.openapi_nullable
49
49
  Set.new([
50
+ :'type',
51
+ :'url',
52
+ :'user_id'
50
53
  ])
51
54
  end
52
55
 
@@ -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,10 +6,10 @@
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
 
13
13
  module MxPlatformRuby
14
- VERSION = '0.5.0'
14
+ VERSION = '0.6.3'
15
15
  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
 
@@ -8,7 +8,7 @@
8
8
  The version of the OpenAPI document: 0.1.0
9
9
 
10
10
  Generated by: https://openapi-generator.tech
11
- OpenAPI Generator version: 5.2.1
11
+ OpenAPI Generator version: 5.3.0
12
12
 
13
13
  =end
14
14
 
data/openapi/config.yml CHANGED
@@ -6,6 +6,6 @@ gemHomepage: "https://github.com/mxenabled/mx-platform-ruby"
6
6
  gemLicense: "MIT"
7
7
  gemName: "mx-platform-ruby"
8
8
  gemRequiredRubyVersion: ">= 2.6"
9
- gemVersion: "0.5.0"
9
+ gemVersion: "0.6.3"
10
10
  library: "faraday"
11
11
  moduleName: "MxPlatformRuby"
@@ -1,16 +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
- # {{gemName}}
3
+ # MX Platform Ruby
4
4
 
5
- {{moduleName}} - the Ruby gem for the {{appName}}
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
- {{#appDescriptionWithNewLines}}
8
- {{{.}}}
9
- {{/appDescriptionWithNewLines}}
7
+ ## Documentation
8
+
9
+ Examples for the API endpoints can be found [here.](https://docs.mx.com/api)
10
10
 
11
- This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
11
+ ## Requirements
12
12
 
13
- - Package version: {{gemVersion}}
13
+ - Ruby >= 2.6
14
14
 
15
15
  ## Installation
16
16
 
@@ -22,31 +22,28 @@ gem 'mx-platform-ruby'
22
22
 
23
23
  And then execute:
24
24
  ```shell
25
- $ bundle
25
+ bundle
26
26
  ```
27
27
 
28
28
  Or install it yourself with:
29
29
  ```shell
30
- $ gem install mx-platform-ruby
30
+ gem install mx-platform-ruby
31
31
  ```
32
32
 
33
33
  ## Getting Started
34
34
 
35
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`.
36
36
 
37
- Please follow the [installation](#installation) procedure and then run the following code:
38
-
37
+ Please follow the [installation](#installation) procedure and then run the following code to create your first User:
39
38
  ```ruby
40
- # Load the gem
41
39
  require 'mx-platform-ruby'
42
40
 
43
- # setup authorization
44
41
  MxPlatformRuby.configure do |config|
45
- # Configure HTTP basic authorization
46
- config.username = 'Your Client ID from https://dashboard.mx.com'
47
- 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'
48
45
 
49
- # Configure server. 0 for production, 1 for development
46
+ # Configure environment. 0 for production, 1 for development
50
47
  config.server_index = 1
51
48
  end
52
49
 
@@ -58,7 +55,6 @@ user_create_request_body = MxPlatformRuby::UserCreateRequestBody.new(
58
55
  )
59
56
 
60
57
  begin
61
- # Create user
62
58
  result = api_instance.create_user(user_create_request_body)
63
59
  p result
64
60
  rescue MxPlatformRuby::ApiError => e
@@ -66,6 +62,19 @@ rescue MxPlatformRuby::ApiError => e
66
62
  end
67
63
  ```
68
64
 
69
- ## 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
70
79
 
71
- 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)
@@ -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
 
@@ -423,6 +423,8 @@ describe 'MxPlatformApi' do
423
423
  # Use this endpoint to read the attributes of a specific user.
424
424
  # @param user_guid The unique id for a `user`.
425
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.
426
428
  # @return [CategoriesResponseBody]
427
429
  describe 'list_default_categories test' do
428
430
  it 'should work' do
@@ -495,6 +497,8 @@ describe 'MxPlatformApi' do
495
497
  # This endpoint returns a list of institutions based on the specified search term or parameter.
496
498
  # @param [Hash] opts the optional parameters
497
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.
498
502
  # @option opts [Boolean] :supports_account_identification Filter only institutions which support account identification.
499
503
  # @option opts [Boolean] :supports_account_statement Filter only institutions which support account statements.
500
504
  # @option opts [Boolean] :supports_account_verification Filter only institutions which support account verification.
@@ -733,6 +737,10 @@ describe 'MxPlatformApi' do
733
737
  # @param tag_guid The unique id for a `tag`.
734
738
  # @param user_guid The unique id for a `user`.
735
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.
736
744
  # @return [TransactionsResponseBody]
737
745
  describe 'list_transactions_by_tag test' do
738
746
  it 'should work' do
@@ -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