mx-platform-ruby 0.1.0 → 0.3.0

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 (380) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +9 -0
  3. data/Gemfile.lock +84 -0
  4. data/LICENSE +21 -0
  5. data/README.md +262 -0
  6. data/Rakefile +10 -0
  7. data/docs/Account.md +96 -0
  8. data/docs/AccountNumber.md +32 -0
  9. data/docs/AccountNumberResponse.md +32 -0
  10. data/docs/AccountNumbersResponseBody.md +20 -0
  11. data/docs/AccountOwner.md +40 -0
  12. data/docs/AccountOwnerResponse.md +40 -0
  13. data/docs/AccountOwnersResponseBody.md +20 -0
  14. data/docs/AccountResponse.md +96 -0
  15. data/docs/AccountResponseBody.md +18 -0
  16. data/docs/AccountUpdateRequest.md +18 -0
  17. data/docs/AccountUpdateRequestBody.md +18 -0
  18. data/docs/AccountsResponseBody.md +20 -0
  19. data/docs/CategoriesResponseBody.md +20 -0
  20. data/docs/Category.md +32 -0
  21. data/docs/CategoryCreateRequest.md +22 -0
  22. data/docs/CategoryCreateRequestBody.md +18 -0
  23. data/docs/CategoryResponse.md +32 -0
  24. data/docs/CategoryResponseBody.md +18 -0
  25. data/docs/CategoryUpdateRequest.md +20 -0
  26. data/docs/CategoryUpdateRequestBody.md +18 -0
  27. data/docs/Challenge.md +30 -0
  28. data/docs/ChallengeImageOptions.md +22 -0
  29. data/docs/ChallengeOptions.md +20 -0
  30. data/docs/ChallengeResponse.md +30 -0
  31. data/docs/ChallengeResponseImageOptions.md +22 -0
  32. data/docs/ChallengeResponseOptions.md +20 -0
  33. data/docs/ChallengesResponseBody.md +20 -0
  34. data/docs/ConnectWidget.md +20 -0
  35. data/docs/ConnectWidgetRequest.md +38 -0
  36. data/docs/ConnectWidgetRequestBody.md +18 -0
  37. data/docs/ConnectWidgetResponse.md +20 -0
  38. data/docs/ConnectWidgetResponseBody.md +18 -0
  39. data/docs/Credential.md +26 -0
  40. data/docs/CredentialRequest.md +20 -0
  41. data/docs/CredentialResponse.md +26 -0
  42. data/docs/CredentialsResponseBody.md +20 -0
  43. data/docs/EnhanceTransaction.md +48 -0
  44. data/docs/EnhanceTransactionResponse.md +48 -0
  45. data/docs/EnhanceTransactionsRequest.md +26 -0
  46. data/docs/EnhanceTransactionsRequestBody.md +18 -0
  47. data/docs/EnhanceTransactionsResponseBody.md +18 -0
  48. data/docs/Holding.md +52 -0
  49. data/docs/HoldingResponse.md +52 -0
  50. data/docs/HoldingResponseBody.md +18 -0
  51. data/docs/HoldingsResponseBody.md +20 -0
  52. data/docs/InlineResponse200.md +18 -0
  53. data/docs/Institution.md +36 -0
  54. data/docs/InstitutionResponse.md +36 -0
  55. data/docs/InstitutionResponseBody.md +18 -0
  56. data/docs/InstitutionsResponseBody.md +20 -0
  57. data/docs/Member.md +40 -0
  58. data/docs/MemberCreateRequest.md +30 -0
  59. data/docs/MemberCreateRequestBody.md +22 -0
  60. data/docs/MemberResponse.md +40 -0
  61. data/docs/MemberResponseBody.md +18 -0
  62. data/docs/MemberResumeRequest.md +18 -0
  63. data/docs/MemberResumeRequestBody.md +18 -0
  64. data/docs/MemberStatus.md +34 -0
  65. data/docs/MemberStatusResponse.md +34 -0
  66. data/docs/MemberStatusResponseBody.md +18 -0
  67. data/docs/MemberUpdateRequest.md +26 -0
  68. data/docs/MemberUpdateRequestBody.md +18 -0
  69. data/docs/MembersResponseBody.md +20 -0
  70. data/docs/Merchant.md +28 -0
  71. data/docs/MerchantResponse.md +28 -0
  72. data/docs/MerchantResponseBody.md +18 -0
  73. data/docs/MerchantsResponseBody.md +20 -0
  74. data/docs/MxPlatformApi.md +5182 -0
  75. data/docs/OAuthWindow.md +20 -0
  76. data/docs/OAuthWindowResponse.md +20 -0
  77. data/docs/OAuthWindowResponseBody.md +18 -0
  78. data/docs/Pagination.md +24 -0
  79. data/docs/PaginationResponse.md +24 -0
  80. data/docs/Statement.md +32 -0
  81. data/docs/StatementResponse.md +32 -0
  82. data/docs/StatementResponseBody.md +18 -0
  83. data/docs/StatementsResponseBody.md +20 -0
  84. data/docs/Tag.md +22 -0
  85. data/docs/TagCreateRequest.md +18 -0
  86. data/docs/TagCreateRequestBody.md +18 -0
  87. data/docs/TagResponse.md +22 -0
  88. data/docs/TagResponseBody.md +18 -0
  89. data/docs/TagUpdateRequest.md +18 -0
  90. data/docs/TagUpdateRequestBody.md +18 -0
  91. data/docs/Tagging.md +26 -0
  92. data/docs/TaggingCreateRequest.md +20 -0
  93. data/docs/TaggingCreateRequestBody.md +18 -0
  94. data/docs/TaggingResponse.md +26 -0
  95. data/docs/TaggingResponseBody.md +18 -0
  96. data/docs/TaggingUpdateRequest.md +18 -0
  97. data/docs/TaggingUpdateRequestBody.md +18 -0
  98. data/docs/TaggingsResponseBody.md +20 -0
  99. data/docs/TagsResponseBody.md +20 -0
  100. data/docs/Transaction.md +88 -0
  101. data/docs/TransactionResponse.md +88 -0
  102. data/docs/TransactionResponseBody.md +18 -0
  103. data/docs/TransactionRule.md +30 -0
  104. data/docs/TransactionRuleCreateRequest.md +22 -0
  105. data/docs/TransactionRuleCreateRequestBody.md +18 -0
  106. data/docs/TransactionRuleResponse.md +30 -0
  107. data/docs/TransactionRuleResponseBody.md +18 -0
  108. data/docs/TransactionRuleUpdateRequest.md +22 -0
  109. data/docs/TransactionRuleUpdateRequestBody.md +18 -0
  110. data/docs/TransactionRulesResponseBody.md +20 -0
  111. data/docs/TransactionUpdateRequest.md +18 -0
  112. data/docs/TransactionUpdateRequestBody.md +18 -0
  113. data/docs/TransactionsResponseBody.md +20 -0
  114. data/docs/User.md +26 -0
  115. data/docs/UserCreateRequest.md +24 -0
  116. data/docs/UserCreateRequestBody.md +18 -0
  117. data/docs/UserResponse.md +26 -0
  118. data/docs/UserResponseBody.md +18 -0
  119. data/docs/UserUpdateRequest.md +24 -0
  120. data/docs/UserUpdateRequestBody.md +18 -0
  121. data/docs/UsersResponseBody.md +20 -0
  122. data/docs/Widget.md +22 -0
  123. data/docs/WidgetRequest.md +42 -0
  124. data/docs/WidgetRequestBody.md +18 -0
  125. data/docs/WidgetResponse.md +22 -0
  126. data/docs/WidgetResponseBody.md +18 -0
  127. data/lib/mx-platform-ruby.rb +134 -0
  128. data/lib/mx-platform-ruby/api/mx_platform_api.rb +4917 -0
  129. data/lib/mx-platform-ruby/api_client.rb +395 -0
  130. data/lib/mx-platform-ruby/api_error.rb +57 -0
  131. data/lib/mx-platform-ruby/configuration.rb +276 -0
  132. data/lib/mx-platform-ruby/models/account.rb +569 -0
  133. data/lib/mx-platform-ruby/models/account_number.rb +281 -0
  134. data/lib/mx-platform-ruby/models/account_number_response.rb +281 -0
  135. data/lib/mx-platform-ruby/models/account_numbers_response_body.rb +229 -0
  136. data/lib/mx-platform-ruby/models/account_owner.rb +317 -0
  137. data/lib/mx-platform-ruby/models/account_owner_response.rb +317 -0
  138. data/lib/mx-platform-ruby/models/account_owners_response_body.rb +229 -0
  139. data/lib/mx-platform-ruby/models/account_response.rb +569 -0
  140. data/lib/mx-platform-ruby/models/account_response_body.rb +218 -0
  141. data/lib/mx-platform-ruby/models/account_update_request.rb +218 -0
  142. data/lib/mx-platform-ruby/models/account_update_request_body.rb +218 -0
  143. data/lib/mx-platform-ruby/models/accounts_response_body.rb +229 -0
  144. data/lib/mx-platform-ruby/models/categories_response_body.rb +229 -0
  145. data/lib/mx-platform-ruby/models/category.rb +281 -0
  146. data/lib/mx-platform-ruby/models/category_create_request.rb +241 -0
  147. data/lib/mx-platform-ruby/models/category_create_request_body.rb +218 -0
  148. data/lib/mx-platform-ruby/models/category_response.rb +281 -0
  149. data/lib/mx-platform-ruby/models/category_response_body.rb +218 -0
  150. data/lib/mx-platform-ruby/models/category_update_request.rb +227 -0
  151. data/lib/mx-platform-ruby/models/category_update_request_body.rb +218 -0
  152. data/lib/mx-platform-ruby/models/challenge.rb +276 -0
  153. data/lib/mx-platform-ruby/models/challenge_image_options.rb +236 -0
  154. data/lib/mx-platform-ruby/models/challenge_options.rb +227 -0
  155. data/lib/mx-platform-ruby/models/challenge_response.rb +276 -0
  156. data/lib/mx-platform-ruby/models/challenge_response_image_options.rb +236 -0
  157. data/lib/mx-platform-ruby/models/challenge_response_options.rb +227 -0
  158. data/lib/mx-platform-ruby/models/challenges_response_body.rb +229 -0
  159. data/lib/mx-platform-ruby/models/connect_widget.rb +227 -0
  160. data/lib/mx-platform-ruby/models/connect_widget_request.rb +308 -0
  161. data/lib/mx-platform-ruby/models/connect_widget_request_body.rb +218 -0
  162. data/lib/mx-platform-ruby/models/connect_widget_response.rb +227 -0
  163. data/lib/mx-platform-ruby/models/connect_widget_response_body.rb +218 -0
  164. data/lib/mx-platform-ruby/models/credential.rb +254 -0
  165. data/lib/mx-platform-ruby/models/credential_request.rb +227 -0
  166. data/lib/mx-platform-ruby/models/credential_response.rb +254 -0
  167. data/lib/mx-platform-ruby/models/credentials_response_body.rb +229 -0
  168. data/lib/mx-platform-ruby/models/enhance_transaction.rb +353 -0
  169. data/lib/mx-platform-ruby/models/enhance_transaction_response.rb +353 -0
  170. data/lib/mx-platform-ruby/models/enhance_transactions_request.rb +264 -0
  171. data/lib/mx-platform-ruby/models/enhance_transactions_request_body.rb +220 -0
  172. data/lib/mx-platform-ruby/models/enhance_transactions_response_body.rb +220 -0
  173. data/lib/mx-platform-ruby/models/holding.rb +371 -0
  174. data/lib/mx-platform-ruby/models/holding_response.rb +371 -0
  175. data/lib/mx-platform-ruby/models/holding_response_body.rb +218 -0
  176. data/lib/mx-platform-ruby/models/holdings_response_body.rb +229 -0
  177. data/lib/mx-platform-ruby/models/inline_response200.rb +218 -0
  178. data/lib/mx-platform-ruby/models/institution.rb +299 -0
  179. data/lib/mx-platform-ruby/models/institution_response.rb +299 -0
  180. data/lib/mx-platform-ruby/models/institution_response_body.rb +218 -0
  181. data/lib/mx-platform-ruby/models/institutions_response_body.rb +229 -0
  182. data/lib/mx-platform-ruby/models/member.rb +317 -0
  183. data/lib/mx-platform-ruby/models/member_create_request.rb +284 -0
  184. data/lib/mx-platform-ruby/models/member_create_request_body.rb +236 -0
  185. data/lib/mx-platform-ruby/models/member_response.rb +317 -0
  186. data/lib/mx-platform-ruby/models/member_response_body.rb +218 -0
  187. data/lib/mx-platform-ruby/models/member_resume_request.rb +220 -0
  188. data/lib/mx-platform-ruby/models/member_resume_request_body.rb +218 -0
  189. data/lib/mx-platform-ruby/models/member_status.rb +292 -0
  190. data/lib/mx-platform-ruby/models/member_status_response.rb +292 -0
  191. data/lib/mx-platform-ruby/models/member_status_response_body.rb +218 -0
  192. data/lib/mx-platform-ruby/models/member_update_request.rb +256 -0
  193. data/lib/mx-platform-ruby/models/member_update_request_body.rb +218 -0
  194. data/lib/mx-platform-ruby/models/members_response_body.rb +229 -0
  195. data/lib/mx-platform-ruby/models/merchant.rb +263 -0
  196. data/lib/mx-platform-ruby/models/merchant_response.rb +263 -0
  197. data/lib/mx-platform-ruby/models/merchant_response_body.rb +218 -0
  198. data/lib/mx-platform-ruby/models/merchants_response_body.rb +229 -0
  199. data/lib/mx-platform-ruby/models/o_auth_window.rb +227 -0
  200. data/lib/mx-platform-ruby/models/o_auth_window_response.rb +227 -0
  201. data/lib/mx-platform-ruby/models/o_auth_window_response_body.rb +218 -0
  202. data/lib/mx-platform-ruby/models/pagination.rb +245 -0
  203. data/lib/mx-platform-ruby/models/pagination_response.rb +245 -0
  204. data/lib/mx-platform-ruby/models/statement.rb +281 -0
  205. data/lib/mx-platform-ruby/models/statement_response.rb +281 -0
  206. data/lib/mx-platform-ruby/models/statement_response_body.rb +218 -0
  207. data/lib/mx-platform-ruby/models/statements_response_body.rb +229 -0
  208. data/lib/mx-platform-ruby/models/tag.rb +236 -0
  209. data/lib/mx-platform-ruby/models/tag_create_request.rb +223 -0
  210. data/lib/mx-platform-ruby/models/tag_create_request_body.rb +218 -0
  211. data/lib/mx-platform-ruby/models/tag_response.rb +236 -0
  212. data/lib/mx-platform-ruby/models/tag_response_body.rb +218 -0
  213. data/lib/mx-platform-ruby/models/tag_update_request.rb +223 -0
  214. data/lib/mx-platform-ruby/models/tag_update_request_body.rb +218 -0
  215. data/lib/mx-platform-ruby/models/tagging.rb +254 -0
  216. data/lib/mx-platform-ruby/models/tagging_create_request.rb +237 -0
  217. data/lib/mx-platform-ruby/models/tagging_create_request_body.rb +218 -0
  218. data/lib/mx-platform-ruby/models/tagging_response.rb +254 -0
  219. data/lib/mx-platform-ruby/models/tagging_response_body.rb +218 -0
  220. data/lib/mx-platform-ruby/models/tagging_update_request.rb +223 -0
  221. data/lib/mx-platform-ruby/models/tagging_update_request_body.rb +218 -0
  222. data/lib/mx-platform-ruby/models/taggings_response_body.rb +229 -0
  223. data/lib/mx-platform-ruby/models/tags_response_body.rb +229 -0
  224. data/lib/mx-platform-ruby/models/transaction.rb +533 -0
  225. data/lib/mx-platform-ruby/models/transaction_response.rb +533 -0
  226. data/lib/mx-platform-ruby/models/transaction_response_body.rb +218 -0
  227. data/lib/mx-platform-ruby/models/transaction_rule.rb +272 -0
  228. data/lib/mx-platform-ruby/models/transaction_rule_create_request.rb +246 -0
  229. data/lib/mx-platform-ruby/models/transaction_rule_create_request_body.rb +218 -0
  230. data/lib/mx-platform-ruby/models/transaction_rule_response.rb +272 -0
  231. data/lib/mx-platform-ruby/models/transaction_rule_response_body.rb +218 -0
  232. data/lib/mx-platform-ruby/models/transaction_rule_update_request.rb +236 -0
  233. data/lib/mx-platform-ruby/models/transaction_rule_update_request_body.rb +218 -0
  234. data/lib/mx-platform-ruby/models/transaction_rules_response_body.rb +229 -0
  235. data/lib/mx-platform-ruby/models/transaction_update_request.rb +223 -0
  236. data/lib/mx-platform-ruby/models/transaction_update_request_body.rb +218 -0
  237. data/lib/mx-platform-ruby/models/transactions_response_body.rb +229 -0
  238. data/lib/mx-platform-ruby/models/user.rb +254 -0
  239. data/lib/mx-platform-ruby/models/user_create_request.rb +245 -0
  240. data/lib/mx-platform-ruby/models/user_create_request_body.rb +218 -0
  241. data/lib/mx-platform-ruby/models/user_response.rb +254 -0
  242. data/lib/mx-platform-ruby/models/user_response_body.rb +218 -0
  243. data/lib/mx-platform-ruby/models/user_update_request.rb +245 -0
  244. data/lib/mx-platform-ruby/models/user_update_request_body.rb +218 -0
  245. data/lib/mx-platform-ruby/models/users_response_body.rb +229 -0
  246. data/lib/mx-platform-ruby/models/widget.rb +236 -0
  247. data/lib/mx-platform-ruby/models/widget_request.rb +331 -0
  248. data/lib/mx-platform-ruby/models/widget_request_body.rb +218 -0
  249. data/lib/mx-platform-ruby/models/widget_response.rb +236 -0
  250. data/lib/mx-platform-ruby/models/widget_response_body.rb +218 -0
  251. data/lib/mx-platform-ruby/version.rb +15 -0
  252. data/mx-platform-ruby.gemspec +38 -0
  253. data/openapi/config.yml +11 -0
  254. data/openapi/mx_platform_ruby.yml +11 -0
  255. data/pkg/mx-platform-ruby-0.2.0.gem +0 -0
  256. data/pkg/mx-platform-ruby-0.2.1.gem +0 -0
  257. data/spec/api/mx_platform_api_spec.rb +979 -0
  258. data/spec/api_client_spec.rb +188 -0
  259. data/spec/configuration_spec.rb +42 -0
  260. data/spec/models/account_number_response_spec.rb +76 -0
  261. data/spec/models/account_number_spec.rb +76 -0
  262. data/spec/models/account_numbers_response_body_spec.rb +40 -0
  263. data/spec/models/account_owner_response_spec.rb +100 -0
  264. data/spec/models/account_owner_spec.rb +100 -0
  265. data/spec/models/account_owners_response_body_spec.rb +40 -0
  266. data/spec/models/account_response_body_spec.rb +34 -0
  267. data/spec/models/account_response_spec.rb +268 -0
  268. data/spec/models/account_spec.rb +268 -0
  269. data/spec/models/account_update_request_body_spec.rb +34 -0
  270. data/spec/models/account_update_request_spec.rb +34 -0
  271. data/spec/models/accounts_response_body_spec.rb +40 -0
  272. data/spec/models/categories_response_body_spec.rb +40 -0
  273. data/spec/models/category_create_request_body_spec.rb +34 -0
  274. data/spec/models/category_create_request_spec.rb +46 -0
  275. data/spec/models/category_response_body_spec.rb +34 -0
  276. data/spec/models/category_response_spec.rb +76 -0
  277. data/spec/models/category_spec.rb +76 -0
  278. data/spec/models/category_update_request_body_spec.rb +34 -0
  279. data/spec/models/category_update_request_spec.rb +40 -0
  280. data/spec/models/challenge_image_options_spec.rb +46 -0
  281. data/spec/models/challenge_options_spec.rb +40 -0
  282. data/spec/models/challenge_response_image_options_spec.rb +46 -0
  283. data/spec/models/challenge_response_options_spec.rb +40 -0
  284. data/spec/models/challenge_response_spec.rb +70 -0
  285. data/spec/models/challenge_spec.rb +70 -0
  286. data/spec/models/challenges_response_body_spec.rb +40 -0
  287. data/spec/models/connect_widget_request_body_spec.rb +34 -0
  288. data/spec/models/connect_widget_request_spec.rb +94 -0
  289. data/spec/models/connect_widget_response_body_spec.rb +34 -0
  290. data/spec/models/connect_widget_response_spec.rb +40 -0
  291. data/spec/models/connect_widget_spec.rb +40 -0
  292. data/spec/models/credential_request_spec.rb +40 -0
  293. data/spec/models/credential_response_spec.rb +58 -0
  294. data/spec/models/credential_spec.rb +58 -0
  295. data/spec/models/credentials_response_body_spec.rb +40 -0
  296. data/spec/models/enhance_transaction_response_spec.rb +124 -0
  297. data/spec/models/enhance_transaction_spec.rb +124 -0
  298. data/spec/models/enhance_transactions_request_body_spec.rb +34 -0
  299. data/spec/models/enhance_transactions_request_spec.rb +58 -0
  300. data/spec/models/enhance_transactions_response_body_spec.rb +34 -0
  301. data/spec/models/holding_response_body_spec.rb +34 -0
  302. data/spec/models/holding_response_spec.rb +136 -0
  303. data/spec/models/holding_spec.rb +136 -0
  304. data/spec/models/holdings_response_body_spec.rb +40 -0
  305. data/spec/models/inline_response200_spec.rb +34 -0
  306. data/spec/models/institution_response_body_spec.rb +34 -0
  307. data/spec/models/institution_response_spec.rb +88 -0
  308. data/spec/models/institution_spec.rb +88 -0
  309. data/spec/models/institutions_response_body_spec.rb +40 -0
  310. data/spec/models/member_create_request_body_spec.rb +46 -0
  311. data/spec/models/member_create_request_spec.rb +70 -0
  312. data/spec/models/member_response_body_spec.rb +34 -0
  313. data/spec/models/member_response_spec.rb +100 -0
  314. data/spec/models/member_resume_request_body_spec.rb +34 -0
  315. data/spec/models/member_resume_request_spec.rb +34 -0
  316. data/spec/models/member_spec.rb +100 -0
  317. data/spec/models/member_status_response_body_spec.rb +34 -0
  318. data/spec/models/member_status_response_spec.rb +82 -0
  319. data/spec/models/member_status_spec.rb +82 -0
  320. data/spec/models/member_update_request_body_spec.rb +34 -0
  321. data/spec/models/member_update_request_spec.rb +58 -0
  322. data/spec/models/members_response_body_spec.rb +40 -0
  323. data/spec/models/merchant_response_body_spec.rb +34 -0
  324. data/spec/models/merchant_response_spec.rb +64 -0
  325. data/spec/models/merchant_spec.rb +64 -0
  326. data/spec/models/merchants_response_body_spec.rb +40 -0
  327. data/spec/models/o_auth_window_response_body_spec.rb +34 -0
  328. data/spec/models/o_auth_window_response_spec.rb +40 -0
  329. data/spec/models/o_auth_window_spec.rb +40 -0
  330. data/spec/models/pagination_response_spec.rb +52 -0
  331. data/spec/models/pagination_spec.rb +52 -0
  332. data/spec/models/statement_response_body_spec.rb +34 -0
  333. data/spec/models/statement_response_spec.rb +76 -0
  334. data/spec/models/statement_spec.rb +76 -0
  335. data/spec/models/statements_response_body_spec.rb +40 -0
  336. data/spec/models/tag_create_request_body_spec.rb +34 -0
  337. data/spec/models/tag_create_request_spec.rb +34 -0
  338. data/spec/models/tag_response_body_spec.rb +34 -0
  339. data/spec/models/tag_response_spec.rb +46 -0
  340. data/spec/models/tag_spec.rb +46 -0
  341. data/spec/models/tag_update_request_body_spec.rb +34 -0
  342. data/spec/models/tag_update_request_spec.rb +34 -0
  343. data/spec/models/tagging_create_request_body_spec.rb +34 -0
  344. data/spec/models/tagging_create_request_spec.rb +40 -0
  345. data/spec/models/tagging_response_body_spec.rb +34 -0
  346. data/spec/models/tagging_response_spec.rb +58 -0
  347. data/spec/models/tagging_spec.rb +58 -0
  348. data/spec/models/tagging_update_request_body_spec.rb +34 -0
  349. data/spec/models/tagging_update_request_spec.rb +34 -0
  350. data/spec/models/taggings_response_body_spec.rb +40 -0
  351. data/spec/models/tags_response_body_spec.rb +40 -0
  352. data/spec/models/transaction_response_body_spec.rb +34 -0
  353. data/spec/models/transaction_response_spec.rb +244 -0
  354. data/spec/models/transaction_rule_create_request_body_spec.rb +34 -0
  355. data/spec/models/transaction_rule_create_request_spec.rb +46 -0
  356. data/spec/models/transaction_rule_response_body_spec.rb +34 -0
  357. data/spec/models/transaction_rule_response_spec.rb +70 -0
  358. data/spec/models/transaction_rule_spec.rb +70 -0
  359. data/spec/models/transaction_rule_update_request_body_spec.rb +34 -0
  360. data/spec/models/transaction_rule_update_request_spec.rb +46 -0
  361. data/spec/models/transaction_rules_response_body_spec.rb +40 -0
  362. data/spec/models/transaction_spec.rb +244 -0
  363. data/spec/models/transaction_update_request_body_spec.rb +34 -0
  364. data/spec/models/transaction_update_request_spec.rb +34 -0
  365. data/spec/models/transactions_response_body_spec.rb +40 -0
  366. data/spec/models/user_create_request_body_spec.rb +34 -0
  367. data/spec/models/user_create_request_spec.rb +52 -0
  368. data/spec/models/user_response_body_spec.rb +34 -0
  369. data/spec/models/user_response_spec.rb +58 -0
  370. data/spec/models/user_spec.rb +58 -0
  371. data/spec/models/user_update_request_body_spec.rb +34 -0
  372. data/spec/models/user_update_request_spec.rb +52 -0
  373. data/spec/models/users_response_body_spec.rb +40 -0
  374. data/spec/models/widget_request_body_spec.rb +34 -0
  375. data/spec/models/widget_request_spec.rb +106 -0
  376. data/spec/models/widget_response_body_spec.rb +34 -0
  377. data/spec/models/widget_response_spec.rb +46 -0
  378. data/spec/models/widget_spec.rb +46 -0
  379. data/spec/spec_helper.rb +111 -0
  380. metadata +522 -94
@@ -0,0 +1,34 @@
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: 5.2.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MxPlatformRuby::InlineResponse200
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MxPlatformRuby::InlineResponse200 do
21
+ let(:instance) { MxPlatformRuby::InlineResponse200.new }
22
+
23
+ describe 'test an instance of InlineResponse200' do
24
+ it 'should create an instance of InlineResponse200' do
25
+ expect(instance).to be_instance_of(MxPlatformRuby::InlineResponse200)
26
+ end
27
+ end
28
+ describe 'test attribute "tag"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ end
@@ -0,0 +1,34 @@
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: 5.2.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MxPlatformRuby::InstitutionResponseBody
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MxPlatformRuby::InstitutionResponseBody do
21
+ let(:instance) { MxPlatformRuby::InstitutionResponseBody.new }
22
+
23
+ describe 'test an instance of InstitutionResponseBody' do
24
+ it 'should create an instance of InstitutionResponseBody' do
25
+ expect(instance).to be_instance_of(MxPlatformRuby::InstitutionResponseBody)
26
+ end
27
+ end
28
+ describe 'test attribute "institution"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ end
@@ -0,0 +1,88 @@
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: 5.2.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MxPlatformRuby::InstitutionResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MxPlatformRuby::InstitutionResponse do
21
+ let(:instance) { MxPlatformRuby::InstitutionResponse.new }
22
+
23
+ describe 'test an instance of InstitutionResponse' do
24
+ it 'should create an instance of InstitutionResponse' do
25
+ expect(instance).to be_instance_of(MxPlatformRuby::InstitutionResponse)
26
+ end
27
+ end
28
+ describe 'test attribute "code"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "medium_logo_url"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "name"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ describe 'test attribute "small_logo_url"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ describe 'test attribute "supports_account_identification"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ end
56
+ end
57
+
58
+ describe 'test attribute "supports_account_statement"' do
59
+ it 'should work' do
60
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
+ end
62
+ end
63
+
64
+ describe 'test attribute "supports_account_verification"' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
+ end
68
+ end
69
+
70
+ describe 'test attribute "supports_oauth"' do
71
+ it 'should work' do
72
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
73
+ end
74
+ end
75
+
76
+ describe 'test attribute "supports_transaction_history"' do
77
+ it 'should work' do
78
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
79
+ end
80
+ end
81
+
82
+ describe 'test attribute "url"' do
83
+ it 'should work' do
84
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
85
+ end
86
+ end
87
+
88
+ end
@@ -0,0 +1,88 @@
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: 5.2.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MxPlatformRuby::Institution
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MxPlatformRuby::Institution do
21
+ let(:instance) { MxPlatformRuby::Institution.new }
22
+
23
+ describe 'test an instance of Institution' do
24
+ it 'should create an instance of Institution' do
25
+ expect(instance).to be_instance_of(MxPlatformRuby::Institution)
26
+ end
27
+ end
28
+ describe 'test attribute "code"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "medium_logo_url"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "name"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ describe 'test attribute "small_logo_url"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ describe 'test attribute "supports_account_identification"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ end
56
+ end
57
+
58
+ describe 'test attribute "supports_account_statement"' do
59
+ it 'should work' do
60
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
+ end
62
+ end
63
+
64
+ describe 'test attribute "supports_account_verification"' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
+ end
68
+ end
69
+
70
+ describe 'test attribute "supports_oauth"' do
71
+ it 'should work' do
72
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
73
+ end
74
+ end
75
+
76
+ describe 'test attribute "supports_transaction_history"' do
77
+ it 'should work' do
78
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
79
+ end
80
+ end
81
+
82
+ describe 'test attribute "url"' do
83
+ it 'should work' do
84
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
85
+ end
86
+ end
87
+
88
+ end
@@ -0,0 +1,40 @@
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: 5.2.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MxPlatformRuby::InstitutionsResponseBody
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MxPlatformRuby::InstitutionsResponseBody do
21
+ let(:instance) { MxPlatformRuby::InstitutionsResponseBody.new }
22
+
23
+ describe 'test an instance of InstitutionsResponseBody' do
24
+ it 'should create an instance of InstitutionsResponseBody' do
25
+ expect(instance).to be_instance_of(MxPlatformRuby::InstitutionsResponseBody)
26
+ end
27
+ end
28
+ describe 'test attribute "institutions"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "pagination"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ end
@@ -0,0 +1,46 @@
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: 5.2.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MxPlatformRuby::MemberCreateRequestBody
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MxPlatformRuby::MemberCreateRequestBody do
21
+ let(:instance) { MxPlatformRuby::MemberCreateRequestBody.new }
22
+
23
+ describe 'test an instance of MemberCreateRequestBody' do
24
+ it 'should create an instance of MemberCreateRequestBody' do
25
+ expect(instance).to be_instance_of(MxPlatformRuby::MemberCreateRequestBody)
26
+ end
27
+ end
28
+ describe 'test attribute "member"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "referral_source"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "ui_message_webview_url_scheme"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ end
@@ -0,0 +1,70 @@
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: 5.2.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MxPlatformRuby::MemberCreateRequest
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MxPlatformRuby::MemberCreateRequest do
21
+ let(:instance) { MxPlatformRuby::MemberCreateRequest.new }
22
+
23
+ describe 'test an instance of MemberCreateRequest' do
24
+ it 'should create an instance of MemberCreateRequest' do
25
+ expect(instance).to be_instance_of(MxPlatformRuby::MemberCreateRequest)
26
+ end
27
+ end
28
+ describe 'test attribute "background_aggregation_is_disabled"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "credentials"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "id"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ describe 'test attribute "institution_code"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ describe 'test attribute "is_oauth"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ end
56
+ end
57
+
58
+ describe 'test attribute "metadata"' do
59
+ it 'should work' do
60
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
+ end
62
+ end
63
+
64
+ describe 'test attribute "skip_aggregation"' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
+ end
68
+ end
69
+
70
+ end
@@ -0,0 +1,34 @@
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: 5.2.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MxPlatformRuby::MemberResponseBody
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MxPlatformRuby::MemberResponseBody do
21
+ let(:instance) { MxPlatformRuby::MemberResponseBody.new }
22
+
23
+ describe 'test an instance of MemberResponseBody' do
24
+ it 'should create an instance of MemberResponseBody' do
25
+ expect(instance).to be_instance_of(MxPlatformRuby::MemberResponseBody)
26
+ end
27
+ end
28
+ describe 'test attribute "member"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ end
@@ -0,0 +1,100 @@
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: 5.2.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MxPlatformRuby::MemberResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MxPlatformRuby::MemberResponse do
21
+ let(:instance) { MxPlatformRuby::MemberResponse.new }
22
+
23
+ describe 'test an instance of MemberResponse' do
24
+ it 'should create an instance of MemberResponse' do
25
+ expect(instance).to be_instance_of(MxPlatformRuby::MemberResponse)
26
+ end
27
+ end
28
+ describe 'test attribute "aggregated_at"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "connection_status"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "guid"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ describe 'test attribute "id"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ describe 'test attribute "institution_code"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ end
56
+ end
57
+
58
+ describe 'test attribute "is_being_aggregated"' do
59
+ it 'should work' do
60
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
+ end
62
+ end
63
+
64
+ describe 'test attribute "is_oauth"' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
+ end
68
+ end
69
+
70
+ describe 'test attribute "metadata"' do
71
+ it 'should work' do
72
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
73
+ end
74
+ end
75
+
76
+ describe 'test attribute "name"' do
77
+ it 'should work' do
78
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
79
+ end
80
+ end
81
+
82
+ describe 'test attribute "oauth_window_uri"' do
83
+ it 'should work' do
84
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
85
+ end
86
+ end
87
+
88
+ describe 'test attribute "successfully_aggregated_at"' do
89
+ it 'should work' do
90
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
91
+ end
92
+ end
93
+
94
+ describe 'test attribute "user_guid"' do
95
+ it 'should work' do
96
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
97
+ end
98
+ end
99
+
100
+ end