mx-platform-ruby 0.44.0 → 0.44.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (380) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +3 -1
  3. data/lib/mx-platform-ruby/api/budgets_api.rb +6 -6
  4. data/lib/mx-platform-ruby/api/goals_api.rb +6 -6
  5. data/lib/mx-platform-ruby/api/insights_api.rb +10 -10
  6. data/lib/mx-platform-ruby/api/microdeposits_api.rb +5 -5
  7. data/lib/mx-platform-ruby/api/mx_platform_api.rb +97 -97
  8. data/lib/mx-platform-ruby/api/spending_plan_api.rb +12 -12
  9. data/lib/mx-platform-ruby/api/transactions_api.rb +2 -2
  10. data/lib/mx-platform-ruby/api_client.rb +50 -41
  11. data/lib/mx-platform-ruby/api_error.rb +1 -1
  12. data/lib/mx-platform-ruby/configuration.rb +12 -1
  13. data/lib/mx-platform-ruby/models/account_create_request.rb +2 -2
  14. data/lib/mx-platform-ruby/models/account_create_request_body.rb +2 -2
  15. data/lib/mx-platform-ruby/models/account_number_response.rb +2 -2
  16. data/lib/mx-platform-ruby/models/account_numbers_response_body.rb +2 -2
  17. data/lib/mx-platform-ruby/models/account_owner_response.rb +2 -2
  18. data/lib/mx-platform-ruby/models/account_owners_response_body.rb +2 -2
  19. data/lib/mx-platform-ruby/models/account_response.rb +2 -2
  20. data/lib/mx-platform-ruby/models/account_response_body.rb +2 -2
  21. data/lib/mx-platform-ruby/models/account_update_request.rb +2 -2
  22. data/lib/mx-platform-ruby/models/account_update_request_body.rb +2 -2
  23. data/lib/mx-platform-ruby/models/accounts_response_body.rb +2 -2
  24. data/lib/mx-platform-ruby/models/authorization_code_request.rb +2 -2
  25. data/lib/mx-platform-ruby/models/authorization_code_request_body.rb +2 -2
  26. data/lib/mx-platform-ruby/models/authorization_code_response.rb +2 -2
  27. data/lib/mx-platform-ruby/models/authorization_code_response_body.rb +2 -2
  28. data/lib/mx-platform-ruby/models/budget_create_request.rb +2 -2
  29. data/lib/mx-platform-ruby/models/budget_create_request_body.rb +2 -2
  30. data/lib/mx-platform-ruby/models/budget_response.rb +2 -2
  31. data/lib/mx-platform-ruby/models/budget_response_body.rb +2 -2
  32. data/lib/mx-platform-ruby/models/budget_update_request.rb +2 -2
  33. data/lib/mx-platform-ruby/models/budget_update_request_body.rb +2 -2
  34. data/lib/mx-platform-ruby/models/categories_response_body.rb +2 -2
  35. data/lib/mx-platform-ruby/models/category_create_request.rb +2 -2
  36. data/lib/mx-platform-ruby/models/category_create_request_body.rb +2 -2
  37. data/lib/mx-platform-ruby/models/category_response.rb +2 -2
  38. data/lib/mx-platform-ruby/models/category_response_body.rb +2 -2
  39. data/lib/mx-platform-ruby/models/category_update_request.rb +2 -2
  40. data/lib/mx-platform-ruby/models/category_update_request_body.rb +2 -2
  41. data/lib/mx-platform-ruby/models/challenge_response.rb +2 -2
  42. data/lib/mx-platform-ruby/models/challenges_response_body.rb +2 -2
  43. data/lib/mx-platform-ruby/models/connect_widget_request.rb +2 -2
  44. data/lib/mx-platform-ruby/models/connect_widget_request_body.rb +2 -2
  45. data/lib/mx-platform-ruby/models/connect_widget_response.rb +2 -2
  46. data/lib/mx-platform-ruby/models/connect_widget_response_body.rb +2 -2
  47. data/lib/mx-platform-ruby/models/credential_request.rb +2 -2
  48. data/lib/mx-platform-ruby/models/credential_response.rb +2 -2
  49. data/lib/mx-platform-ruby/models/credentials_response_body.rb +2 -2
  50. data/lib/mx-platform-ruby/models/credit_card_product.rb +2 -2
  51. data/lib/mx-platform-ruby/models/credit_card_product_response.rb +2 -2
  52. data/lib/mx-platform-ruby/models/enhance_transaction_response.rb +2 -2
  53. data/lib/mx-platform-ruby/models/enhance_transactions_request.rb +2 -2
  54. data/lib/mx-platform-ruby/models/enhance_transactions_request_body.rb +2 -2
  55. data/lib/mx-platform-ruby/models/enhance_transactions_response_body.rb +2 -2
  56. data/lib/mx-platform-ruby/models/goal_request.rb +2 -2
  57. data/lib/mx-platform-ruby/models/goal_request_body.rb +2 -2
  58. data/lib/mx-platform-ruby/models/goal_response.rb +2 -2
  59. data/lib/mx-platform-ruby/models/goal_response_body.rb +2 -2
  60. data/lib/mx-platform-ruby/models/goals_response.rb +2 -2
  61. data/lib/mx-platform-ruby/models/goals_response_body.rb +2 -2
  62. data/lib/mx-platform-ruby/models/holding_response.rb +2 -2
  63. data/lib/mx-platform-ruby/models/holding_response_body.rb +2 -2
  64. data/lib/mx-platform-ruby/models/holdings_response_body.rb +2 -2
  65. data/lib/mx-platform-ruby/models/image_option_response.rb +2 -2
  66. data/lib/mx-platform-ruby/models/insight_response.rb +2 -2
  67. data/lib/mx-platform-ruby/models/insight_response_body.rb +2 -2
  68. data/lib/mx-platform-ruby/models/insight_update_request.rb +2 -2
  69. data/lib/mx-platform-ruby/models/insights_response_body.rb +2 -2
  70. data/lib/mx-platform-ruby/models/institution_response.rb +2 -2
  71. data/lib/mx-platform-ruby/models/institution_response_body.rb +2 -2
  72. data/lib/mx-platform-ruby/models/institutions_response_body.rb +2 -2
  73. data/lib/mx-platform-ruby/models/managed_account_create_request.rb +2 -2
  74. data/lib/mx-platform-ruby/models/managed_account_create_request_body.rb +2 -2
  75. data/lib/mx-platform-ruby/models/managed_account_update_request.rb +2 -2
  76. data/lib/mx-platform-ruby/models/managed_account_update_request_body.rb +2 -2
  77. data/lib/mx-platform-ruby/models/managed_member_create_request.rb +2 -2
  78. data/lib/mx-platform-ruby/models/managed_member_create_request_body.rb +2 -2
  79. data/lib/mx-platform-ruby/models/managed_member_update_request.rb +2 -2
  80. data/lib/mx-platform-ruby/models/managed_member_update_request_body.rb +2 -2
  81. data/lib/mx-platform-ruby/models/managed_transaction_create_request.rb +2 -2
  82. data/lib/mx-platform-ruby/models/managed_transaction_create_request_body.rb +2 -2
  83. data/lib/mx-platform-ruby/models/managed_transaction_update_request.rb +2 -2
  84. data/lib/mx-platform-ruby/models/managed_transaction_update_request_body.rb +2 -2
  85. data/lib/mx-platform-ruby/models/member_create_request.rb +2 -2
  86. data/lib/mx-platform-ruby/models/member_create_request_body.rb +2 -2
  87. data/lib/mx-platform-ruby/models/member_response.rb +2 -2
  88. data/lib/mx-platform-ruby/models/member_response_body.rb +2 -2
  89. data/lib/mx-platform-ruby/models/member_resume_request.rb +2 -2
  90. data/lib/mx-platform-ruby/models/member_resume_request_body.rb +2 -2
  91. data/lib/mx-platform-ruby/models/member_status_response.rb +2 -2
  92. data/lib/mx-platform-ruby/models/member_status_response_body.rb +2 -2
  93. data/lib/mx-platform-ruby/models/member_update_request.rb +2 -2
  94. data/lib/mx-platform-ruby/models/member_update_request_body.rb +2 -2
  95. data/lib/mx-platform-ruby/models/members_response_body.rb +2 -2
  96. data/lib/mx-platform-ruby/models/merchant_location_response.rb +2 -2
  97. data/lib/mx-platform-ruby/models/merchant_location_response_body.rb +2 -2
  98. data/lib/mx-platform-ruby/models/merchant_response.rb +2 -2
  99. data/lib/mx-platform-ruby/models/merchant_response_body.rb +2 -2
  100. data/lib/mx-platform-ruby/models/merchants_response_body.rb +2 -2
  101. data/lib/mx-platform-ruby/models/microdeposit_request.rb +2 -2
  102. data/lib/mx-platform-ruby/models/microdeposit_request_body.rb +2 -2
  103. data/lib/mx-platform-ruby/models/microdeposit_response.rb +2 -2
  104. data/lib/mx-platform-ruby/models/microdeposit_response_body.rb +2 -2
  105. data/lib/mx-platform-ruby/models/microdeposit_verify_request.rb +2 -2
  106. data/lib/mx-platform-ruby/models/microdeposit_verify_request_body.rb +2 -2
  107. data/lib/mx-platform-ruby/models/microdeposits_response_body.rb +2 -2
  108. data/lib/mx-platform-ruby/models/monthly_cash_flow_profile_request.rb +2 -2
  109. data/lib/mx-platform-ruby/models/monthly_cash_flow_profile_request_body.rb +2 -2
  110. data/lib/mx-platform-ruby/models/monthly_cash_flow_response.rb +2 -2
  111. data/lib/mx-platform-ruby/models/monthly_cash_flow_response_body.rb +2 -2
  112. data/lib/mx-platform-ruby/models/o_auth_window_response.rb +2 -2
  113. data/lib/mx-platform-ruby/models/o_auth_window_response_body.rb +2 -2
  114. data/lib/mx-platform-ruby/models/option_response.rb +2 -2
  115. data/lib/mx-platform-ruby/models/pagination_response.rb +2 -2
  116. data/lib/mx-platform-ruby/models/payment_processor_authorization_code_request.rb +2 -2
  117. data/lib/mx-platform-ruby/models/payment_processor_authorization_code_request_body.rb +2 -2
  118. data/lib/mx-platform-ruby/models/payment_processor_authorization_code_response.rb +2 -2
  119. data/lib/mx-platform-ruby/models/payment_processor_authorization_code_response_body.rb +2 -2
  120. data/lib/mx-platform-ruby/models/reposition_request.rb +2 -2
  121. data/lib/mx-platform-ruby/models/reposition_request_body.rb +2 -2
  122. data/lib/mx-platform-ruby/models/reposition_response_body.rb +2 -2
  123. data/lib/mx-platform-ruby/models/reward_response.rb +2 -2
  124. data/lib/mx-platform-ruby/models/reward_response_body.rb +2 -2
  125. data/lib/mx-platform-ruby/models/rewards_response.rb +2 -2
  126. data/lib/mx-platform-ruby/models/rewards_response_body.rb +2 -2
  127. data/lib/mx-platform-ruby/models/scheduled_payment_response.rb +2 -2
  128. data/lib/mx-platform-ruby/models/scheduled_payments_response_body.rb +2 -2
  129. data/lib/mx-platform-ruby/models/spending_plan_account_response.rb +2 -2
  130. data/lib/mx-platform-ruby/models/spending_plan_accounts_response.rb +2 -2
  131. data/lib/mx-platform-ruby/models/spending_plan_iteration_item_create_request_body.rb +2 -2
  132. data/lib/mx-platform-ruby/models/spending_plan_iteration_item_response.rb +2 -2
  133. data/lib/mx-platform-ruby/models/spending_plan_iteration_items_response_body.rb +2 -2
  134. data/lib/mx-platform-ruby/models/spending_plan_iteration_response.rb +2 -2
  135. data/lib/mx-platform-ruby/models/spending_plan_iterations_response.rb +2 -2
  136. data/lib/mx-platform-ruby/models/spending_plan_response.rb +2 -2
  137. data/lib/mx-platform-ruby/models/spending_plans_response_body.rb +2 -2
  138. data/lib/mx-platform-ruby/models/split_transaction_request.rb +2 -2
  139. data/lib/mx-platform-ruby/models/split_transaction_request_body.rb +2 -2
  140. data/lib/mx-platform-ruby/models/split_transactions_response_body.rb +2 -2
  141. data/lib/mx-platform-ruby/models/statement_response.rb +2 -2
  142. data/lib/mx-platform-ruby/models/statement_response_body.rb +2 -2
  143. data/lib/mx-platform-ruby/models/statements_response_body.rb +2 -2
  144. data/lib/mx-platform-ruby/models/tag_create_request.rb +2 -2
  145. data/lib/mx-platform-ruby/models/tag_create_request_body.rb +2 -2
  146. data/lib/mx-platform-ruby/models/tag_response.rb +2 -2
  147. data/lib/mx-platform-ruby/models/tag_response_body.rb +2 -2
  148. data/lib/mx-platform-ruby/models/tag_update_request.rb +2 -2
  149. data/lib/mx-platform-ruby/models/tag_update_request_body.rb +2 -2
  150. data/lib/mx-platform-ruby/models/tagging_create_request.rb +2 -2
  151. data/lib/mx-platform-ruby/models/tagging_create_request_body.rb +2 -2
  152. data/lib/mx-platform-ruby/models/tagging_response.rb +2 -2
  153. data/lib/mx-platform-ruby/models/tagging_response_body.rb +2 -2
  154. data/lib/mx-platform-ruby/models/tagging_update_request.rb +2 -2
  155. data/lib/mx-platform-ruby/models/tagging_update_request_body.rb +2 -2
  156. data/lib/mx-platform-ruby/models/taggings_response_body.rb +2 -2
  157. data/lib/mx-platform-ruby/models/tags_response_body.rb +2 -2
  158. data/lib/mx-platform-ruby/models/tax_document_response.rb +2 -2
  159. data/lib/mx-platform-ruby/models/tax_document_response_body.rb +2 -2
  160. data/lib/mx-platform-ruby/models/tax_documents_response_body.rb +2 -2
  161. data/lib/mx-platform-ruby/models/transaction_create_request.rb +2 -2
  162. data/lib/mx-platform-ruby/models/transaction_create_request_body.rb +2 -2
  163. data/lib/mx-platform-ruby/models/transaction_create_response_body.rb +2 -2
  164. data/lib/mx-platform-ruby/models/transaction_response.rb +2 -2
  165. data/lib/mx-platform-ruby/models/transaction_response_body.rb +2 -2
  166. data/lib/mx-platform-ruby/models/transaction_rule_create_request.rb +2 -2
  167. data/lib/mx-platform-ruby/models/transaction_rule_create_request_body.rb +2 -2
  168. data/lib/mx-platform-ruby/models/transaction_rule_response.rb +2 -2
  169. data/lib/mx-platform-ruby/models/transaction_rule_response_body.rb +2 -2
  170. data/lib/mx-platform-ruby/models/transaction_rule_update_request.rb +2 -2
  171. data/lib/mx-platform-ruby/models/transaction_rule_update_request_body.rb +2 -2
  172. data/lib/mx-platform-ruby/models/transaction_rules_response_body.rb +2 -2
  173. data/lib/mx-platform-ruby/models/transaction_update_request.rb +2 -2
  174. data/lib/mx-platform-ruby/models/transaction_update_request_body.rb +2 -2
  175. data/lib/mx-platform-ruby/models/transactions_response_body.rb +2 -2
  176. data/lib/mx-platform-ruby/models/update_goal_request.rb +2 -2
  177. data/lib/mx-platform-ruby/models/update_goal_request_body.rb +2 -2
  178. data/lib/mx-platform-ruby/models/user_create_request.rb +2 -2
  179. data/lib/mx-platform-ruby/models/user_create_request_body.rb +2 -2
  180. data/lib/mx-platform-ruby/models/user_response.rb +2 -2
  181. data/lib/mx-platform-ruby/models/user_response_body.rb +2 -2
  182. data/lib/mx-platform-ruby/models/user_update_request.rb +2 -2
  183. data/lib/mx-platform-ruby/models/user_update_request_body.rb +2 -2
  184. data/lib/mx-platform-ruby/models/users_response_body.rb +2 -2
  185. data/lib/mx-platform-ruby/models/widget_request.rb +2 -2
  186. data/lib/mx-platform-ruby/models/widget_request_body.rb +2 -2
  187. data/lib/mx-platform-ruby/models/widget_response.rb +2 -2
  188. data/lib/mx-platform-ruby/models/widget_response_body.rb +2 -2
  189. data/lib/mx-platform-ruby/version.rb +2 -2
  190. data/lib/mx-platform-ruby.rb +1 -1
  191. data/mx-platform-ruby.gemspec +3 -1
  192. data/openapi/config.yml +1 -1
  193. data/openapitools.json +1 -1
  194. data/spec/api/budgets_api_spec.rb +1 -1
  195. data/spec/api/goals_api_spec.rb +1 -1
  196. data/spec/api/insights_api_spec.rb +1 -1
  197. data/spec/api/microdeposits_api_spec.rb +1 -1
  198. data/spec/api/mx_platform_api_spec.rb +1 -1
  199. data/spec/api/spending_plan_api_spec.rb +1 -1
  200. data/spec/api/transactions_api_spec.rb +1 -1
  201. data/spec/models/account_create_request_body_spec.rb +4 -2
  202. data/spec/models/account_create_request_spec.rb +4 -2
  203. data/spec/models/account_number_response_spec.rb +4 -2
  204. data/spec/models/account_numbers_response_body_spec.rb +4 -2
  205. data/spec/models/account_owner_response_spec.rb +4 -2
  206. data/spec/models/account_owners_response_body_spec.rb +4 -2
  207. data/spec/models/account_response_body_spec.rb +4 -2
  208. data/spec/models/account_response_spec.rb +4 -2
  209. data/spec/models/account_update_request_body_spec.rb +4 -2
  210. data/spec/models/account_update_request_spec.rb +4 -2
  211. data/spec/models/accounts_response_body_spec.rb +4 -2
  212. data/spec/models/authorization_code_request_body_spec.rb +4 -2
  213. data/spec/models/authorization_code_request_spec.rb +4 -2
  214. data/spec/models/authorization_code_response_body_spec.rb +4 -2
  215. data/spec/models/authorization_code_response_spec.rb +4 -2
  216. data/spec/models/budget_create_request_body_spec.rb +4 -2
  217. data/spec/models/budget_create_request_spec.rb +4 -2
  218. data/spec/models/budget_response_body_spec.rb +4 -2
  219. data/spec/models/budget_response_spec.rb +4 -2
  220. data/spec/models/budget_update_request_body_spec.rb +4 -2
  221. data/spec/models/budget_update_request_spec.rb +4 -2
  222. data/spec/models/categories_response_body_spec.rb +4 -2
  223. data/spec/models/category_create_request_body_spec.rb +4 -2
  224. data/spec/models/category_create_request_spec.rb +4 -2
  225. data/spec/models/category_response_body_spec.rb +4 -2
  226. data/spec/models/category_response_spec.rb +4 -2
  227. data/spec/models/category_update_request_body_spec.rb +4 -2
  228. data/spec/models/category_update_request_spec.rb +4 -2
  229. data/spec/models/challenge_response_spec.rb +4 -2
  230. data/spec/models/challenges_response_body_spec.rb +4 -2
  231. data/spec/models/connect_widget_request_body_spec.rb +4 -2
  232. data/spec/models/connect_widget_request_spec.rb +4 -2
  233. data/spec/models/connect_widget_response_body_spec.rb +4 -2
  234. data/spec/models/connect_widget_response_spec.rb +4 -2
  235. data/spec/models/credential_request_spec.rb +4 -2
  236. data/spec/models/credential_response_spec.rb +4 -2
  237. data/spec/models/credentials_response_body_spec.rb +4 -2
  238. data/spec/models/credit_card_product_response_spec.rb +4 -2
  239. data/spec/models/credit_card_product_spec.rb +4 -2
  240. data/spec/models/enhance_transaction_response_spec.rb +4 -2
  241. data/spec/models/enhance_transactions_request_body_spec.rb +4 -2
  242. data/spec/models/enhance_transactions_request_spec.rb +4 -2
  243. data/spec/models/enhance_transactions_response_body_spec.rb +4 -2
  244. data/spec/models/goal_request_body_spec.rb +4 -2
  245. data/spec/models/goal_request_spec.rb +4 -2
  246. data/spec/models/goal_response_body_spec.rb +4 -2
  247. data/spec/models/goal_response_spec.rb +4 -2
  248. data/spec/models/goals_response_body_spec.rb +4 -2
  249. data/spec/models/goals_response_spec.rb +4 -2
  250. data/spec/models/holding_response_body_spec.rb +4 -2
  251. data/spec/models/holding_response_spec.rb +4 -2
  252. data/spec/models/holdings_response_body_spec.rb +4 -2
  253. data/spec/models/image_option_response_spec.rb +4 -2
  254. data/spec/models/insight_response_body_spec.rb +4 -2
  255. data/spec/models/insight_response_spec.rb +4 -2
  256. data/spec/models/insight_update_request_spec.rb +4 -2
  257. data/spec/models/insights_response_body_spec.rb +4 -2
  258. data/spec/models/institution_response_body_spec.rb +4 -2
  259. data/spec/models/institution_response_spec.rb +4 -2
  260. data/spec/models/institutions_response_body_spec.rb +4 -2
  261. data/spec/models/managed_account_create_request_body_spec.rb +4 -2
  262. data/spec/models/managed_account_create_request_spec.rb +4 -2
  263. data/spec/models/managed_account_update_request_body_spec.rb +4 -2
  264. data/spec/models/managed_account_update_request_spec.rb +4 -2
  265. data/spec/models/managed_member_create_request_body_spec.rb +4 -2
  266. data/spec/models/managed_member_create_request_spec.rb +4 -2
  267. data/spec/models/managed_member_update_request_body_spec.rb +4 -2
  268. data/spec/models/managed_member_update_request_spec.rb +4 -2
  269. data/spec/models/managed_transaction_create_request_body_spec.rb +4 -2
  270. data/spec/models/managed_transaction_create_request_spec.rb +4 -2
  271. data/spec/models/managed_transaction_update_request_body_spec.rb +4 -2
  272. data/spec/models/managed_transaction_update_request_spec.rb +4 -2
  273. data/spec/models/member_create_request_body_spec.rb +4 -2
  274. data/spec/models/member_create_request_spec.rb +4 -2
  275. data/spec/models/member_response_body_spec.rb +4 -2
  276. data/spec/models/member_response_spec.rb +4 -2
  277. data/spec/models/member_resume_request_body_spec.rb +4 -2
  278. data/spec/models/member_resume_request_spec.rb +4 -2
  279. data/spec/models/member_status_response_body_spec.rb +4 -2
  280. data/spec/models/member_status_response_spec.rb +4 -2
  281. data/spec/models/member_update_request_body_spec.rb +4 -2
  282. data/spec/models/member_update_request_spec.rb +4 -2
  283. data/spec/models/members_response_body_spec.rb +4 -2
  284. data/spec/models/merchant_location_response_body_spec.rb +4 -2
  285. data/spec/models/merchant_location_response_spec.rb +4 -2
  286. data/spec/models/merchant_response_body_spec.rb +4 -2
  287. data/spec/models/merchant_response_spec.rb +4 -2
  288. data/spec/models/merchants_response_body_spec.rb +4 -2
  289. data/spec/models/microdeposit_request_body_spec.rb +4 -2
  290. data/spec/models/microdeposit_request_spec.rb +4 -2
  291. data/spec/models/microdeposit_response_body_spec.rb +4 -2
  292. data/spec/models/microdeposit_response_spec.rb +4 -2
  293. data/spec/models/microdeposit_verify_request_body_spec.rb +4 -2
  294. data/spec/models/microdeposit_verify_request_spec.rb +4 -2
  295. data/spec/models/microdeposits_response_body_spec.rb +4 -2
  296. data/spec/models/monthly_cash_flow_profile_request_body_spec.rb +4 -2
  297. data/spec/models/monthly_cash_flow_profile_request_spec.rb +4 -2
  298. data/spec/models/monthly_cash_flow_response_body_spec.rb +4 -2
  299. data/spec/models/monthly_cash_flow_response_spec.rb +4 -2
  300. data/spec/models/o_auth_window_response_body_spec.rb +4 -2
  301. data/spec/models/o_auth_window_response_spec.rb +4 -2
  302. data/spec/models/option_response_spec.rb +4 -2
  303. data/spec/models/pagination_response_spec.rb +4 -2
  304. data/spec/models/payment_processor_authorization_code_request_body_spec.rb +4 -2
  305. data/spec/models/payment_processor_authorization_code_request_spec.rb +4 -2
  306. data/spec/models/payment_processor_authorization_code_response_body_spec.rb +4 -2
  307. data/spec/models/payment_processor_authorization_code_response_spec.rb +4 -2
  308. data/spec/models/reposition_request_body_spec.rb +4 -2
  309. data/spec/models/reposition_request_spec.rb +4 -2
  310. data/spec/models/reposition_response_body_spec.rb +4 -2
  311. data/spec/models/reward_response_body_spec.rb +4 -2
  312. data/spec/models/reward_response_spec.rb +4 -2
  313. data/spec/models/rewards_response_body_spec.rb +4 -2
  314. data/spec/models/rewards_response_spec.rb +4 -2
  315. data/spec/models/scheduled_payment_response_spec.rb +4 -2
  316. data/spec/models/scheduled_payments_response_body_spec.rb +4 -2
  317. data/spec/models/spending_plan_account_response_spec.rb +4 -2
  318. data/spec/models/spending_plan_accounts_response_spec.rb +4 -2
  319. data/spec/models/spending_plan_iteration_item_create_request_body_spec.rb +4 -2
  320. data/spec/models/spending_plan_iteration_item_response_spec.rb +4 -2
  321. data/spec/models/spending_plan_iteration_items_response_body_spec.rb +4 -2
  322. data/spec/models/spending_plan_iteration_response_spec.rb +4 -2
  323. data/spec/models/spending_plan_iterations_response_spec.rb +4 -2
  324. data/spec/models/spending_plan_response_spec.rb +4 -2
  325. data/spec/models/spending_plans_response_body_spec.rb +4 -2
  326. data/spec/models/split_transaction_request_body_spec.rb +4 -2
  327. data/spec/models/split_transaction_request_spec.rb +4 -2
  328. data/spec/models/split_transactions_response_body_spec.rb +4 -2
  329. data/spec/models/statement_response_body_spec.rb +4 -2
  330. data/spec/models/statement_response_spec.rb +4 -2
  331. data/spec/models/statements_response_body_spec.rb +4 -2
  332. data/spec/models/tag_create_request_body_spec.rb +4 -2
  333. data/spec/models/tag_create_request_spec.rb +4 -2
  334. data/spec/models/tag_response_body_spec.rb +4 -2
  335. data/spec/models/tag_response_spec.rb +4 -2
  336. data/spec/models/tag_update_request_body_spec.rb +4 -2
  337. data/spec/models/tag_update_request_spec.rb +4 -2
  338. data/spec/models/tagging_create_request_body_spec.rb +4 -2
  339. data/spec/models/tagging_create_request_spec.rb +4 -2
  340. data/spec/models/tagging_response_body_spec.rb +4 -2
  341. data/spec/models/tagging_response_spec.rb +4 -2
  342. data/spec/models/tagging_update_request_body_spec.rb +4 -2
  343. data/spec/models/tagging_update_request_spec.rb +4 -2
  344. data/spec/models/taggings_response_body_spec.rb +4 -2
  345. data/spec/models/tags_response_body_spec.rb +4 -2
  346. data/spec/models/tax_document_response_body_spec.rb +4 -2
  347. data/spec/models/tax_document_response_spec.rb +4 -2
  348. data/spec/models/tax_documents_response_body_spec.rb +4 -2
  349. data/spec/models/transaction_create_request_body_spec.rb +4 -2
  350. data/spec/models/transaction_create_request_spec.rb +4 -2
  351. data/spec/models/transaction_create_response_body_spec.rb +4 -2
  352. data/spec/models/transaction_response_body_spec.rb +4 -2
  353. data/spec/models/transaction_response_spec.rb +4 -2
  354. data/spec/models/transaction_rule_create_request_body_spec.rb +4 -2
  355. data/spec/models/transaction_rule_create_request_spec.rb +4 -2
  356. data/spec/models/transaction_rule_response_body_spec.rb +4 -2
  357. data/spec/models/transaction_rule_response_spec.rb +4 -2
  358. data/spec/models/transaction_rule_update_request_body_spec.rb +4 -2
  359. data/spec/models/transaction_rule_update_request_spec.rb +4 -2
  360. data/spec/models/transaction_rules_response_body_spec.rb +4 -2
  361. data/spec/models/transaction_update_request_body_spec.rb +4 -2
  362. data/spec/models/transaction_update_request_spec.rb +4 -2
  363. data/spec/models/transactions_response_body_spec.rb +4 -2
  364. data/spec/models/update_goal_request_body_spec.rb +4 -2
  365. data/spec/models/update_goal_request_spec.rb +4 -2
  366. data/spec/models/user_create_request_body_spec.rb +4 -2
  367. data/spec/models/user_create_request_spec.rb +4 -2
  368. data/spec/models/user_response_body_spec.rb +4 -2
  369. data/spec/models/user_response_spec.rb +4 -2
  370. data/spec/models/user_update_request_body_spec.rb +4 -2
  371. data/spec/models/user_update_request_spec.rb +4 -2
  372. data/spec/models/users_response_body_spec.rb +4 -2
  373. data/spec/models/widget_request_body_spec.rb +4 -2
  374. data/spec/models/widget_request_spec.rb +4 -2
  375. data/spec/models/widget_response_body_spec.rb +4 -2
  376. data/spec/models/widget_response_spec.rb +4 -2
  377. data/spec/spec_helper.rb +1 -1
  378. metadata +173 -163
  379. data/spec/api_client_spec.rb +0 -223
  380. data/spec/configuration_spec.rb +0 -82
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mx-platform-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.44.0
4
+ version: 0.44.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - MX
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-17 00:00:00.000000000 Z
11
+ date: 2024-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -44,6 +44,20 @@ dependencies:
44
44
  - - ">="
45
45
  - !ruby/object:Gem::Version
46
46
  version: '0'
47
+ - !ruby/object:Gem::Dependency
48
+ name: marcel
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
47
61
  - !ruby/object:Gem::Dependency
48
62
  name: rspec
49
63
  requirement: !ruby/object:Gem::Requirement
@@ -458,8 +472,6 @@ files:
458
472
  - spec/api/mx_platform_api_spec.rb
459
473
  - spec/api/spending_plan_api_spec.rb
460
474
  - spec/api/transactions_api_spec.rb
461
- - spec/api_client_spec.rb
462
- - spec/configuration_spec.rb
463
475
  - spec/models/account_create_request_body_spec.rb
464
476
  - spec/models/account_create_request_spec.rb
465
477
  - spec/models/account_number_response_spec.rb
@@ -661,189 +673,187 @@ signing_key:
661
673
  specification_version: 4
662
674
  summary: MX Platform API Ruby Gem
663
675
  test_files:
664
- - spec/api/goals_api_spec.rb
665
676
  - spec/api/spending_plan_api_spec.rb
666
- - spec/api/microdeposits_api_spec.rb
667
- - spec/api/insights_api_spec.rb
668
677
  - spec/api/budgets_api_spec.rb
678
+ - spec/api/insights_api_spec.rb
669
679
  - spec/api/mx_platform_api_spec.rb
680
+ - spec/api/goals_api_spec.rb
681
+ - spec/api/microdeposits_api_spec.rb
670
682
  - spec/api/transactions_api_spec.rb
671
- - spec/api_client_spec.rb
672
- - spec/configuration_spec.rb
673
- - spec/models/monthly_cash_flow_response_body_spec.rb
674
- - spec/models/transaction_response_spec.rb
675
- - spec/models/budget_create_request_body_spec.rb
676
- - spec/models/statement_response_body_spec.rb
677
- - spec/models/managed_transaction_update_request_body_spec.rb
678
- - spec/models/tagging_response_spec.rb
679
- - spec/models/microdeposit_response_spec.rb
680
- - spec/models/budget_update_request_spec.rb
681
- - spec/models/account_owners_response_body_spec.rb
682
- - spec/models/spending_plan_iteration_item_create_request_body_spec.rb
683
- - spec/models/user_create_request_body_spec.rb
684
- - spec/models/member_response_spec.rb
685
- - spec/models/budget_response_spec.rb
686
- - spec/models/managed_account_create_request_spec.rb
687
- - spec/models/account_number_response_spec.rb
688
- - spec/models/account_response_body_spec.rb
689
- - spec/models/reposition_request_spec.rb
690
- - spec/models/managed_member_update_request_spec.rb
691
- - spec/models/managed_transaction_create_request_body_spec.rb
683
+ - spec/models/category_response_spec.rb
684
+ - spec/models/enhance_transactions_request_spec.rb
685
+ - spec/models/managed_account_update_request_body_spec.rb
686
+ - spec/models/merchant_response_spec.rb
687
+ - spec/models/widget_response_spec.rb
688
+ - spec/models/holdings_response_body_spec.rb
692
689
  - spec/models/institution_response_spec.rb
693
- - spec/models/enhance_transactions_response_body_spec.rb
694
- - spec/models/account_numbers_response_body_spec.rb
695
- - spec/models/holding_response_body_spec.rb
696
- - spec/models/reposition_response_body_spec.rb
697
- - spec/models/payment_processor_authorization_code_response_spec.rb
698
- - spec/models/category_create_request_body_spec.rb
699
- - spec/models/spending_plan_iteration_items_response_body_spec.rb
700
- - spec/models/account_update_request_spec.rb
701
- - spec/models/category_response_body_spec.rb
702
- - spec/models/account_owner_response_spec.rb
703
- - spec/models/rewards_response_body_spec.rb
704
- - spec/models/connect_widget_request_spec.rb
705
- - spec/models/tags_response_body_spec.rb
706
- - spec/models/managed_member_update_request_body_spec.rb
707
- - spec/models/goal_response_spec.rb
690
+ - spec/models/tagging_response_body_spec.rb
691
+ - spec/models/managed_member_create_request_spec.rb
692
+ - spec/models/microdeposit_verify_request_spec.rb
693
+ - spec/models/scheduled_payments_response_body_spec.rb
694
+ - spec/models/budget_update_request_spec.rb
708
695
  - spec/models/challenge_response_spec.rb
709
- - spec/models/holding_response_spec.rb
710
- - spec/models/goal_request_body_spec.rb
711
- - spec/models/microdeposit_verify_request_body_spec.rb
712
- - spec/models/managed_member_create_request_body_spec.rb
713
- - spec/models/spending_plan_accounts_response_spec.rb
714
- - spec/models/connect_widget_request_body_spec.rb
715
- - spec/models/payment_processor_authorization_code_request_body_spec.rb
716
- - spec/models/budget_update_request_body_spec.rb
717
- - spec/models/enhance_transactions_request_body_spec.rb
718
- - spec/models/insight_response_spec.rb
719
- - spec/models/members_response_body_spec.rb
720
- - spec/models/transaction_rule_response_spec.rb
721
- - spec/models/tag_create_request_spec.rb
722
- - spec/models/budget_response_body_spec.rb
723
- - spec/models/merchants_response_body_spec.rb
724
- - spec/models/enhance_transaction_response_spec.rb
725
- - spec/models/institution_response_body_spec.rb
726
- - spec/models/managed_transaction_update_request_spec.rb
727
- - spec/models/user_update_request_spec.rb
728
- - spec/models/spending_plan_response_spec.rb
729
- - spec/models/transaction_rule_update_request_spec.rb
730
- - spec/models/widget_response_spec.rb
731
- - spec/models/widget_request_spec.rb
732
- - spec/models/authorization_code_response_spec.rb
733
- - spec/models/enhance_transactions_request_spec.rb
696
+ - spec/models/spending_plans_response_body_spec.rb
734
697
  - spec/models/tag_create_request_body_spec.rb
735
- - spec/models/monthly_cash_flow_profile_request_body_spec.rb
736
- - spec/models/rewards_response_spec.rb
737
- - spec/models/reward_response_spec.rb
738
- - spec/models/tagging_update_request_body_spec.rb
739
- - spec/models/taggings_response_body_spec.rb
740
- - spec/models/payment_processor_authorization_code_request_spec.rb
741
- - spec/models/challenges_response_body_spec.rb
742
- - spec/models/tax_document_response_spec.rb
743
- - spec/models/insights_response_body_spec.rb
744
- - spec/models/microdeposit_request_body_spec.rb
745
- - spec/models/transaction_rule_create_request_body_spec.rb
746
- - spec/models/goal_request_spec.rb
747
- - spec/models/update_goal_request_body_spec.rb
748
- - spec/models/account_create_request_body_spec.rb
749
- - spec/models/payment_processor_authorization_code_response_body_spec.rb
750
- - spec/models/tag_response_spec.rb
751
- - spec/models/tagging_update_request_spec.rb
752
- - spec/models/split_transaction_request_spec.rb
753
- - spec/models/pagination_response_spec.rb
754
- - spec/models/tax_documents_response_body_spec.rb
755
- - spec/models/scheduled_payment_response_spec.rb
756
- - spec/models/credentials_response_body_spec.rb
757
- - spec/models/member_update_request_body_spec.rb
758
- - spec/models/credit_card_product_spec.rb
759
- - spec/models/merchant_location_response_spec.rb
760
- - spec/models/merchant_response_spec.rb
761
- - spec/models/transaction_rule_update_request_body_spec.rb
762
- - spec/models/account_response_spec.rb
763
- - spec/models/merchant_response_body_spec.rb
764
- - spec/models/category_update_request_spec.rb
765
- - spec/models/member_status_response_body_spec.rb
766
- - spec/models/user_response_body_spec.rb
767
698
  - spec/models/credential_response_spec.rb
768
- - spec/models/tagging_create_request_spec.rb
769
- - spec/models/tagging_response_body_spec.rb
770
- - spec/models/tag_update_request_spec.rb
771
- - spec/models/monthly_cash_flow_profile_request_spec.rb
772
- - spec/models/credential_request_spec.rb
773
- - spec/models/transaction_response_body_spec.rb
774
- - spec/models/user_response_spec.rb
775
- - spec/models/authorization_code_request_body_spec.rb
776
- - spec/models/transaction_rule_response_body_spec.rb
777
- - spec/models/budget_create_request_spec.rb
699
+ - spec/models/connect_widget_response_body_spec.rb
778
700
  - spec/models/o_auth_window_response_body_spec.rb
779
- - spec/models/widget_request_body_spec.rb
780
- - spec/models/transaction_create_request_body_spec.rb
781
- - spec/models/goals_response_spec.rb
782
- - spec/models/tag_update_request_body_spec.rb
783
- - spec/models/update_goal_request_spec.rb
701
+ - spec/models/tag_response_body_spec.rb
702
+ - spec/models/user_update_request_spec.rb
703
+ - spec/models/tag_response_spec.rb
704
+ - spec/models/transaction_update_request_body_spec.rb
784
705
  - spec/models/transaction_create_request_spec.rb
706
+ - spec/models/spending_plan_account_response_spec.rb
707
+ - spec/models/reposition_request_body_spec.rb
708
+ - spec/models/reward_response_spec.rb
785
709
  - spec/models/users_response_body_spec.rb
786
- - spec/models/insight_update_request_spec.rb
710
+ - spec/models/user_response_body_spec.rb
787
711
  - spec/models/widget_response_body_spec.rb
788
- - spec/models/connect_widget_response_body_spec.rb
789
- - spec/models/member_response_body_spec.rb
712
+ - spec/models/credential_request_spec.rb
790
713
  - spec/models/tax_document_response_body_spec.rb
791
- - spec/models/transaction_rule_create_request_spec.rb
792
- - spec/models/member_resume_request_body_spec.rb
793
- - spec/models/managed_account_create_request_body_spec.rb
794
- - spec/models/goals_response_body_spec.rb
714
+ - spec/models/reposition_response_body_spec.rb
715
+ - spec/models/transaction_rules_response_body_spec.rb
716
+ - spec/models/rewards_response_spec.rb
717
+ - spec/models/transaction_rule_update_request_body_spec.rb
718
+ - spec/models/goal_response_spec.rb
719
+ - spec/models/tags_response_body_spec.rb
720
+ - spec/models/managed_transaction_update_request_body_spec.rb
721
+ - spec/models/tagging_update_request_body_spec.rb
722
+ - spec/models/budget_update_request_body_spec.rb
723
+ - spec/models/connect_widget_request_spec.rb
724
+ - spec/models/user_create_request_body_spec.rb
795
725
  - spec/models/spending_plan_iterations_response_spec.rb
796
- - spec/models/monthly_cash_flow_response_spec.rb
726
+ - spec/models/credentials_response_body_spec.rb
727
+ - spec/models/transaction_rule_response_body_spec.rb
728
+ - spec/models/managed_member_create_request_body_spec.rb
729
+ - spec/models/transaction_create_request_body_spec.rb
730
+ - spec/models/tagging_update_request_spec.rb
731
+ - spec/models/update_goal_request_spec.rb
732
+ - spec/models/tag_update_request_body_spec.rb
797
733
  - spec/models/managed_account_update_request_spec.rb
798
- - spec/models/credit_card_product_response_spec.rb
799
- - spec/models/transaction_create_response_body_spec.rb
800
- - spec/models/transaction_update_request_spec.rb
801
- - spec/models/authorization_code_response_body_spec.rb
734
+ - spec/models/microdeposit_request_body_spec.rb
735
+ - spec/models/authorization_code_request_spec.rb
736
+ - spec/models/payment_processor_authorization_code_response_spec.rb
802
737
  - spec/models/account_create_request_spec.rb
803
- - spec/models/transaction_update_request_body_spec.rb
804
- - spec/models/split_transaction_request_body_spec.rb
805
- - spec/models/spending_plan_account_response_spec.rb
806
- - spec/models/category_create_request_spec.rb
807
- - spec/models/spending_plans_response_body_spec.rb
808
- - spec/models/member_status_response_spec.rb
738
+ - spec/models/transaction_rule_response_spec.rb
809
739
  - spec/models/statements_response_body_spec.rb
810
- - spec/models/user_create_request_spec.rb
811
- - spec/models/member_resume_request_spec.rb
812
- - spec/models/reward_response_body_spec.rb
813
- - spec/models/microdeposit_verify_request_spec.rb
740
+ - spec/models/scheduled_payment_response_spec.rb
741
+ - spec/models/credit_card_product_response_spec.rb
742
+ - spec/models/account_numbers_response_body_spec.rb
743
+ - spec/models/budget_response_body_spec.rb
744
+ - spec/models/managed_transaction_create_request_body_spec.rb
745
+ - spec/models/holding_response_spec.rb
746
+ - spec/models/goal_request_body_spec.rb
747
+ - spec/models/enhance_transaction_response_spec.rb
748
+ - spec/models/enhance_transactions_response_body_spec.rb
749
+ - spec/models/credit_card_product_spec.rb
750
+ - spec/models/pagination_response_spec.rb
751
+ - spec/models/account_update_request_spec.rb
752
+ - spec/models/goal_response_body_spec.rb
753
+ - spec/models/transaction_rule_create_request_spec.rb
754
+ - spec/models/managed_member_update_request_body_spec.rb
755
+ - spec/models/managed_transaction_create_request_spec.rb
756
+ - spec/models/member_status_response_spec.rb
757
+ - spec/models/category_update_request_body_spec.rb
758
+ - spec/models/user_update_request_body_spec.rb
759
+ - spec/models/tagging_create_request_body_spec.rb
814
760
  - spec/models/member_create_request_spec.rb
815
- - spec/models/member_create_request_body_spec.rb
761
+ - spec/models/enhance_transactions_request_body_spec.rb
762
+ - spec/models/spending_plan_iteration_item_create_request_body_spec.rb
763
+ - spec/models/widget_request_body_spec.rb
764
+ - spec/models/image_option_response_spec.rb
816
765
  - spec/models/spending_plan_iteration_item_response_spec.rb
817
- - spec/models/managed_account_update_request_body_spec.rb
818
- - spec/models/user_update_request_body_spec.rb
766
+ - spec/models/rewards_response_body_spec.rb
767
+ - spec/models/monthly_cash_flow_profile_request_body_spec.rb
768
+ - spec/models/managed_account_create_request_body_spec.rb
769
+ - spec/models/authorization_code_response_spec.rb
770
+ - spec/models/microdeposits_response_body_spec.rb
771
+ - spec/models/transaction_rule_update_request_spec.rb
772
+ - spec/models/monthly_cash_flow_response_spec.rb
773
+ - spec/models/challenges_response_body_spec.rb
774
+ - spec/models/spending_plan_accounts_response_spec.rb
775
+ - spec/models/insight_update_request_spec.rb
819
776
  - spec/models/o_auth_window_response_spec.rb
820
- - spec/models/microdeposit_request_spec.rb
821
- - spec/models/reposition_request_body_spec.rb
822
- - spec/models/category_update_request_body_spec.rb
823
- - spec/models/holdings_response_body_spec.rb
824
- - spec/models/spending_plan_iteration_response_spec.rb
825
- - spec/models/goal_response_body_spec.rb
826
- - spec/models/categories_response_body_spec.rb
827
- - spec/models/statement_response_spec.rb
777
+ - spec/models/microdeposit_verify_request_body_spec.rb
778
+ - spec/models/account_response_body_spec.rb
779
+ - spec/models/split_transaction_request_spec.rb
780
+ - spec/models/transaction_response_spec.rb
781
+ - spec/models/widget_request_spec.rb
782
+ - spec/models/tag_create_request_spec.rb
828
783
  - spec/models/member_update_request_spec.rb
829
- - spec/models/authorization_code_request_spec.rb
830
- - spec/models/category_response_spec.rb
784
+ - spec/models/category_create_request_spec.rb
785
+ - spec/models/goals_response_spec.rb
786
+ - spec/models/institutions_response_body_spec.rb
787
+ - spec/models/institution_response_body_spec.rb
788
+ - spec/models/account_update_request_body_spec.rb
789
+ - spec/models/transaction_update_request_spec.rb
790
+ - spec/models/payment_processor_authorization_code_request_body_spec.rb
791
+ - spec/models/member_response_spec.rb
792
+ - spec/models/statement_response_body_spec.rb
793
+ - spec/models/monthly_cash_flow_response_body_spec.rb
794
+ - spec/models/authorization_code_response_body_spec.rb
795
+ - spec/models/category_update_request_spec.rb
796
+ - spec/models/member_resume_request_spec.rb
831
797
  - spec/models/accounts_response_body_spec.rb
832
- - spec/models/tag_response_body_spec.rb
798
+ - spec/models/categories_response_body_spec.rb
799
+ - spec/models/insight_response_body_spec.rb
800
+ - spec/models/monthly_cash_flow_profile_request_spec.rb
801
+ - spec/models/authorization_code_request_body_spec.rb
802
+ - spec/models/managed_member_update_request_spec.rb
803
+ - spec/models/reposition_request_spec.rb
804
+ - spec/models/managed_account_create_request_spec.rb
805
+ - spec/models/budget_create_request_spec.rb
806
+ - spec/models/insight_response_spec.rb
807
+ - spec/models/account_number_response_spec.rb
808
+ - spec/models/insights_response_body_spec.rb
809
+ - spec/models/goals_response_body_spec.rb
810
+ - spec/models/merchants_response_body_spec.rb
811
+ - spec/models/microdeposit_response_spec.rb
812
+ - spec/models/spending_plan_response_spec.rb
813
+ - spec/models/microdeposit_request_spec.rb
814
+ - spec/models/merchant_location_response_spec.rb
815
+ - spec/models/category_create_request_body_spec.rb
816
+ - spec/models/member_resume_request_body_spec.rb
817
+ - spec/models/transaction_response_body_spec.rb
818
+ - spec/models/microdeposit_response_body_spec.rb
819
+ - spec/models/tax_documents_response_body_spec.rb
820
+ - spec/models/user_response_spec.rb
821
+ - spec/models/member_status_response_body_spec.rb
822
+ - spec/models/connect_widget_request_body_spec.rb
833
823
  - spec/models/connect_widget_response_spec.rb
834
- - spec/models/split_transactions_response_body_spec.rb
835
- - spec/models/scheduled_payments_response_body_spec.rb
836
824
  - spec/models/transactions_response_body_spec.rb
837
- - spec/models/managed_transaction_create_request_spec.rb
838
- - spec/models/managed_member_create_request_spec.rb
839
- - spec/models/account_update_request_body_spec.rb
840
- - spec/models/institutions_response_body_spec.rb
825
+ - spec/models/account_response_spec.rb
826
+ - spec/models/tagging_create_request_spec.rb
827
+ - spec/models/budget_response_spec.rb
828
+ - spec/models/members_response_body_spec.rb
829
+ - spec/models/statement_response_spec.rb
830
+ - spec/models/spending_plan_iteration_response_spec.rb
831
+ - spec/models/member_update_request_body_spec.rb
832
+ - spec/models/account_owner_response_spec.rb
833
+ - spec/models/user_create_request_spec.rb
834
+ - spec/models/payment_processor_authorization_code_request_spec.rb
835
+ - spec/models/holding_response_body_spec.rb
841
836
  - spec/models/option_response_spec.rb
842
- - spec/models/image_option_response_spec.rb
843
- - spec/models/tagging_create_request_body_spec.rb
844
837
  - spec/models/merchant_location_response_body_spec.rb
845
- - spec/models/microdeposit_response_body_spec.rb
846
- - spec/models/transaction_rules_response_body_spec.rb
847
- - spec/models/microdeposits_response_body_spec.rb
848
- - spec/models/insight_response_body_spec.rb
838
+ - spec/models/transaction_rule_create_request_body_spec.rb
839
+ - spec/models/goal_request_spec.rb
840
+ - spec/models/split_transactions_response_body_spec.rb
841
+ - spec/models/category_response_body_spec.rb
842
+ - spec/models/account_create_request_body_spec.rb
843
+ - spec/models/payment_processor_authorization_code_response_body_spec.rb
844
+ - spec/models/transaction_create_response_body_spec.rb
845
+ - spec/models/update_goal_request_body_spec.rb
846
+ - spec/models/split_transaction_request_body_spec.rb
847
+ - spec/models/taggings_response_body_spec.rb
848
+ - spec/models/tag_update_request_spec.rb
849
+ - spec/models/managed_transaction_update_request_spec.rb
850
+ - spec/models/tax_document_response_spec.rb
851
+ - spec/models/reward_response_body_spec.rb
852
+ - spec/models/member_response_body_spec.rb
853
+ - spec/models/account_owners_response_body_spec.rb
854
+ - spec/models/tagging_response_spec.rb
855
+ - spec/models/spending_plan_iteration_items_response_body_spec.rb
856
+ - spec/models/merchant_response_body_spec.rb
857
+ - spec/models/member_create_request_body_spec.rb
858
+ - spec/models/budget_create_request_body_spec.rb
849
859
  - spec/spec_helper.rb
@@ -1,223 +0,0 @@
1
- =begin
2
- #MX Platform API
3
-
4
- #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.
5
-
6
- The version of the OpenAPI document: 0.1.0
7
-
8
- Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 7.0.1
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
-
15
- describe MxPlatformRuby::ApiClient do
16
- context 'initialization' do
17
- context 'URL stuff' do
18
- context 'host' do
19
- it 'removes http from host' do
20
- MxPlatformRuby.configure { |c| c.host = 'http://example.com' }
21
- expect(MxPlatformRuby::Configuration.default.host).to eq('example.com')
22
- end
23
-
24
- it 'removes https from host' do
25
- MxPlatformRuby.configure { |c| c.host = 'https://wookiee.com' }
26
- expect(MxPlatformRuby::ApiClient.default.config.host).to eq('wookiee.com')
27
- end
28
-
29
- it 'removes trailing path from host' do
30
- MxPlatformRuby.configure { |c| c.host = 'hobo.com/v4' }
31
- expect(MxPlatformRuby::Configuration.default.host).to eq('hobo.com')
32
- end
33
- end
34
-
35
- context 'base_path' do
36
- it "prepends a slash to base_path" do
37
- MxPlatformRuby.configure { |c| c.base_path = 'v4/dog' }
38
- expect(MxPlatformRuby::Configuration.default.base_path).to eq('/v4/dog')
39
- end
40
-
41
- it "doesn't prepend a slash if one is already there" do
42
- MxPlatformRuby.configure { |c| c.base_path = '/v4/dog' }
43
- expect(MxPlatformRuby::Configuration.default.base_path).to eq('/v4/dog')
44
- end
45
-
46
- it "ends up as a blank string if nil" do
47
- MxPlatformRuby.configure { |c| c.base_path = nil }
48
- expect(MxPlatformRuby::Configuration.default.base_path).to eq('')
49
- end
50
- end
51
- end
52
- end
53
-
54
-
55
- describe 'proxy in #build_connection' do
56
- let(:config) { MxPlatformRuby::Configuration.new }
57
- let(:api_client) { MxPlatformRuby::ApiClient.new(config) }
58
- let(:proxy_uri) { URI('http://example.org:8080') }
59
-
60
- it 'defaults to nil' do
61
- expect(MxPlatformRuby::Configuration.default.proxy).to be_nil
62
- expect(config.proxy).to be_nil
63
-
64
- connection = api_client.build_connection
65
- expect(connection.proxy_for_request('/test')).to be_nil
66
- end
67
-
68
- it 'can be customized with a string' do
69
- config.proxy = proxy_uri.to_s
70
-
71
- connection = api_client.build_connection
72
- configured_proxy = connection.proxy_for_request('/test')
73
-
74
- expect(configured_proxy).not_to be_nil
75
- expect(configured_proxy.uri.to_s).to eq proxy_uri.to_s
76
- end
77
-
78
- it 'can be customized with a hash' do
79
- config.proxy = { uri: proxy_uri }
80
-
81
- connection = api_client.build_connection
82
- configured_proxy = connection.proxy_for_request('/test')
83
-
84
- expect(configured_proxy).not_to be_nil
85
- expect(configured_proxy.uri).to eq proxy_uri
86
- end
87
- end
88
-
89
- describe '#deserialize' do
90
- it "handles Array<Integer>" do
91
- api_client = MxPlatformRuby::ApiClient.new
92
- headers = { 'Content-Type' => 'application/json' }
93
- response = double('response', headers: headers, body: '[12, 34]')
94
- data = api_client.deserialize(response, 'Array<Integer>')
95
- expect(data).to be_instance_of(Array)
96
- expect(data).to eq([12, 34])
97
- end
98
-
99
- it 'handles Array<Array<Integer>>' do
100
- api_client = MxPlatformRuby::ApiClient.new
101
- headers = { 'Content-Type' => 'application/json' }
102
- response = double('response', headers: headers, body: '[[12, 34], [56]]')
103
- data = api_client.deserialize(response, 'Array<Array<Integer>>')
104
- expect(data).to be_instance_of(Array)
105
- expect(data).to eq([[12, 34], [56]])
106
- end
107
-
108
- it 'handles Hash<String, String>' do
109
- api_client = MxPlatformRuby::ApiClient.new
110
- headers = { 'Content-Type' => 'application/json' }
111
- response = double('response', headers: headers, body: '{"message": "Hello"}')
112
- data = api_client.deserialize(response, 'Hash<String, String>')
113
- expect(data).to be_instance_of(Hash)
114
- expect(data).to eq(:message => 'Hello')
115
- end
116
- end
117
-
118
- describe "#object_to_hash" do
119
- it 'ignores nils and includes empty arrays' do
120
- # uncomment below to test object_to_hash for model
121
- # api_client = MxPlatformRuby::ApiClient.new
122
- # _model = MxPlatformRuby::ModelName.new
123
- # update the model attribute below
124
- # _model.id = 1
125
- # update the expected value (hash) below
126
- # expected = {id: 1, name: '', tags: []}
127
- # expect(api_client.object_to_hash(_model)).to eq(expected)
128
- end
129
- end
130
-
131
- describe '#build_collection_param' do
132
- let(:param) { ['aa', 'bb', 'cc'] }
133
- let(:api_client) { MxPlatformRuby::ApiClient.new }
134
-
135
- it 'works for csv' do
136
- expect(api_client.build_collection_param(param, :csv)).to eq('aa,bb,cc')
137
- end
138
-
139
- it 'works for ssv' do
140
- expect(api_client.build_collection_param(param, :ssv)).to eq('aa bb cc')
141
- end
142
-
143
- it 'works for tsv' do
144
- expect(api_client.build_collection_param(param, :tsv)).to eq("aa\tbb\tcc")
145
- end
146
-
147
- it 'works for pipes' do
148
- expect(api_client.build_collection_param(param, :pipes)).to eq('aa|bb|cc')
149
- end
150
-
151
- it 'works for multi' do
152
- expect(api_client.build_collection_param(param, :multi)).to eq(['aa', 'bb', 'cc'])
153
- end
154
-
155
- it 'fails for invalid collection format' do
156
- expect { api_client.build_collection_param(param, :INVALID) }.to raise_error(RuntimeError, 'unknown collection format: :INVALID')
157
- end
158
- end
159
-
160
- describe '#json_mime?' do
161
- let(:api_client) { MxPlatformRuby::ApiClient.new }
162
-
163
- it 'works' do
164
- expect(api_client.json_mime?(nil)).to eq false
165
- expect(api_client.json_mime?('')).to eq false
166
-
167
- expect(api_client.json_mime?('application/json')).to eq true
168
- expect(api_client.json_mime?('application/json; charset=UTF8')).to eq true
169
- expect(api_client.json_mime?('APPLICATION/JSON')).to eq true
170
-
171
- expect(api_client.json_mime?('application/xml')).to eq false
172
- expect(api_client.json_mime?('text/plain')).to eq false
173
- expect(api_client.json_mime?('application/jsonp')).to eq false
174
- end
175
- end
176
-
177
- describe '#select_header_accept' do
178
- let(:api_client) { MxPlatformRuby::ApiClient.new }
179
-
180
- it 'works' do
181
- expect(api_client.select_header_accept(nil)).to be_nil
182
- expect(api_client.select_header_accept([])).to be_nil
183
-
184
- expect(api_client.select_header_accept(['application/json'])).to eq('application/json')
185
- expect(api_client.select_header_accept(['application/xml', 'application/json; charset=UTF8'])).to eq('application/json; charset=UTF8')
186
- expect(api_client.select_header_accept(['APPLICATION/JSON', 'text/html'])).to eq('APPLICATION/JSON')
187
-
188
- expect(api_client.select_header_accept(['application/xml'])).to eq('application/xml')
189
- expect(api_client.select_header_accept(['text/html', 'application/xml'])).to eq('text/html,application/xml')
190
- end
191
- end
192
-
193
- describe '#select_header_content_type' do
194
- let(:api_client) { MxPlatformRuby::ApiClient.new }
195
-
196
- it 'works' do
197
- expect(api_client.select_header_content_type(nil)).to be_nil
198
- expect(api_client.select_header_content_type([])).to be_nil
199
-
200
- expect(api_client.select_header_content_type(['application/json'])).to eq('application/json')
201
- expect(api_client.select_header_content_type(['application/xml', 'application/json; charset=UTF8'])).to eq('application/json; charset=UTF8')
202
- expect(api_client.select_header_content_type(['APPLICATION/JSON', 'text/html'])).to eq('APPLICATION/JSON')
203
- expect(api_client.select_header_content_type(['application/xml'])).to eq('application/xml')
204
- expect(api_client.select_header_content_type(['text/plain', 'application/xml'])).to eq('text/plain')
205
- end
206
- end
207
-
208
- describe '#sanitize_filename' do
209
- let(:api_client) { MxPlatformRuby::ApiClient.new }
210
-
211
- it 'works' do
212
- expect(api_client.sanitize_filename('sun')).to eq('sun')
213
- expect(api_client.sanitize_filename('sun.gif')).to eq('sun.gif')
214
- expect(api_client.sanitize_filename('../sun.gif')).to eq('sun.gif')
215
- expect(api_client.sanitize_filename('/var/tmp/sun.gif')).to eq('sun.gif')
216
- expect(api_client.sanitize_filename('./sun.gif')).to eq('sun.gif')
217
- expect(api_client.sanitize_filename('..\sun.gif')).to eq('sun.gif')
218
- expect(api_client.sanitize_filename('\var\tmp\sun.gif')).to eq('sun.gif')
219
- expect(api_client.sanitize_filename('c:\var\tmp\sun.gif')).to eq('sun.gif')
220
- expect(api_client.sanitize_filename('.\sun.gif')).to eq('sun.gif')
221
- end
222
- end
223
- end