apimatic-mx-apis-sdk 0.0.1

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 (287) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +28 -0
  3. data/README.md +207 -0
  4. data/bin/console +15 -0
  5. data/lib/mx_platform_api/api_helper.rb +10 -0
  6. data/lib/mx_platform_api/apis/accounts_api.rb +619 -0
  7. data/lib/mx_platform_api/apis/ach_return_api.rb +115 -0
  8. data/lib/mx_platform_api/apis/base_api.rb +67 -0
  9. data/lib/mx_platform_api/apis/budgets_api.rb +212 -0
  10. data/lib/mx_platform_api/apis/categories_api.rb +377 -0
  11. data/lib/mx_platform_api/apis/goals_api.rb +223 -0
  12. data/lib/mx_platform_api/apis/insights_api.rb +415 -0
  13. data/lib/mx_platform_api/apis/institutions_api.rb +159 -0
  14. data/lib/mx_platform_api/apis/investment_holdings_api.rb +191 -0
  15. data/lib/mx_platform_api/apis/jobs_api.rb +48 -0
  16. data/lib/mx_platform_api/apis/managed_data_deprecated_api.rb +773 -0
  17. data/lib/mx_platform_api/apis/members_api.rb +639 -0
  18. data/lib/mx_platform_api/apis/merchants_api.rb +98 -0
  19. data/lib/mx_platform_api/apis/microdeposits_api.rb +219 -0
  20. data/lib/mx_platform_api/apis/monthly_cash_flow_profile_api.rb +75 -0
  21. data/lib/mx_platform_api/apis/notifications_api.rb +115 -0
  22. data/lib/mx_platform_api/apis/processor_token_api.rb +141 -0
  23. data/lib/mx_platform_api/apis/rewards_api.rb +149 -0
  24. data/lib/mx_platform_api/apis/spending_plan_api.rb +621 -0
  25. data/lib/mx_platform_api/apis/statements_api.rb +165 -0
  26. data/lib/mx_platform_api/apis/taggings_api.rb +184 -0
  27. data/lib/mx_platform_api/apis/tags_api.rb +185 -0
  28. data/lib/mx_platform_api/apis/transaction_rules_api.rb +163 -0
  29. data/lib/mx_platform_api/apis/transactions_api.rb +1223 -0
  30. data/lib/mx_platform_api/apis/users_api.rb +188 -0
  31. data/lib/mx_platform_api/apis/verifiable_credentials_api.rb +114 -0
  32. data/lib/mx_platform_api/apis/widgets_api.rb +135 -0
  33. data/lib/mx_platform_api/client.rb +225 -0
  34. data/lib/mx_platform_api/configuration.rb +182 -0
  35. data/lib/mx_platform_api/exceptions/api_exception.rb +21 -0
  36. data/lib/mx_platform_api/http/api_response.rb +19 -0
  37. data/lib/mx_platform_api/http/auth/basic_auth.rb +62 -0
  38. data/lib/mx_platform_api/http/auth/bearer_auth.rb +53 -0
  39. data/lib/mx_platform_api/http/http_call_back.rb +10 -0
  40. data/lib/mx_platform_api/http/http_method_enum.rb +10 -0
  41. data/lib/mx_platform_api/http/http_request.rb +10 -0
  42. data/lib/mx_platform_api/http/http_response.rb +10 -0
  43. data/lib/mx_platform_api/http/proxy_settings.rb +22 -0
  44. data/lib/mx_platform_api/logging/configuration/api_logging_configuration.rb +186 -0
  45. data/lib/mx_platform_api/logging/sdk_logger.rb +17 -0
  46. data/lib/mx_platform_api/models/account_create_request.rb +309 -0
  47. data/lib/mx_platform_api/models/account_create_request_body.rb +75 -0
  48. data/lib/mx_platform_api/models/account_number.rb +199 -0
  49. data/lib/mx_platform_api/models/account_number_response.rb +215 -0
  50. data/lib/mx_platform_api/models/account_numbers_response_body.rb +95 -0
  51. data/lib/mx_platform_api/models/account_owner.rb +186 -0
  52. data/lib/mx_platform_api/models/account_owner_response.rb +219 -0
  53. data/lib/mx_platform_api/models/account_owners_response_body.rb +95 -0
  54. data/lib/mx_platform_api/models/account_ownership.rb +45 -0
  55. data/lib/mx_platform_api/models/account_response.rb +814 -0
  56. data/lib/mx_platform_api/models/account_response_body.rb +75 -0
  57. data/lib/mx_platform_api/models/account_type.rb +80 -0
  58. data/lib/mx_platform_api/models/account_type1.rb +80 -0
  59. data/lib/mx_platform_api/models/account_update_request.rb +301 -0
  60. data/lib/mx_platform_api/models/account_update_request_body.rb +75 -0
  61. data/lib/mx_platform_api/models/accounts_merge_request.rb +75 -0
  62. data/lib/mx_platform_api/models/accounts_merge_request_body.rb +75 -0
  63. data/lib/mx_platform_api/models/accounts_response_body.rb +94 -0
  64. data/lib/mx_platform_api/models/ach_response.rb +424 -0
  65. data/lib/mx_platform_api/models/ach_return_create_request.rb +256 -0
  66. data/lib/mx_platform_api/models/ach_return_create_request_body.rb +76 -0
  67. data/lib/mx_platform_api/models/ach_return_response_body.rb +76 -0
  68. data/lib/mx_platform_api/models/ach_returns_response_body.rb +95 -0
  69. data/lib/mx_platform_api/models/authorization_code_request.rb +77 -0
  70. data/lib/mx_platform_api/models/authorization_code_request_body.rb +77 -0
  71. data/lib/mx_platform_api/models/authorization_code_response.rb +76 -0
  72. data/lib/mx_platform_api/models/authorization_code_response_body.rb +77 -0
  73. data/lib/mx_platform_api/models/base_model.rb +110 -0
  74. data/lib/mx_platform_api/models/budget_create_request.rb +115 -0
  75. data/lib/mx_platform_api/models/budget_create_request_body.rb +75 -0
  76. data/lib/mx_platform_api/models/budget_response.rb +246 -0
  77. data/lib/mx_platform_api/models/budget_response_body.rb +75 -0
  78. data/lib/mx_platform_api/models/budget_update_request.rb +96 -0
  79. data/lib/mx_platform_api/models/budget_update_request_body.rb +75 -0
  80. data/lib/mx_platform_api/models/categories_response_body.rb +95 -0
  81. data/lib/mx_platform_api/models/category_create_request.rb +93 -0
  82. data/lib/mx_platform_api/models/category_create_request_body.rb +75 -0
  83. data/lib/mx_platform_api/models/category_response.rb +160 -0
  84. data/lib/mx_platform_api/models/category_response_body.rb +75 -0
  85. data/lib/mx_platform_api/models/category_update_request.rb +85 -0
  86. data/lib/mx_platform_api/models/category_update_request_body.rb +75 -0
  87. data/lib/mx_platform_api/models/challenge_response.rb +159 -0
  88. data/lib/mx_platform_api/models/challenges_response_body.rb +95 -0
  89. data/lib/mx_platform_api/models/channel.rb +47 -0
  90. data/lib/mx_platform_api/models/classification.rb +85 -0
  91. data/lib/mx_platform_api/models/color_scheme.rb +43 -0
  92. data/lib/mx_platform_api/models/connection_status.rb +118 -0
  93. data/lib/mx_platform_api/models/credential_request.rb +85 -0
  94. data/lib/mx_platform_api/models/credential_response.rb +133 -0
  95. data/lib/mx_platform_api/models/credentials_response_body.rb +95 -0
  96. data/lib/mx_platform_api/models/credit_card_product.rb +276 -0
  97. data/lib/mx_platform_api/models/credit_card_product_response.rb +77 -0
  98. data/lib/mx_platform_api/models/data_request.rb +76 -0
  99. data/lib/mx_platform_api/models/date_range.rb +87 -0
  100. data/lib/mx_platform_api/models/date_range_category_totals_response.rb +115 -0
  101. data/lib/mx_platform_api/models/date_range_category_totals_response_body.rb +88 -0
  102. data/lib/mx_platform_api/models/deep_link_params.rb +131 -0
  103. data/lib/mx_platform_api/models/enhance_transaction_response.rb +371 -0
  104. data/lib/mx_platform_api/models/enhance_transactions_request.rb +143 -0
  105. data/lib/mx_platform_api/models/enhance_transactions_request_body.rb +85 -0
  106. data/lib/mx_platform_api/models/enhance_transactions_response_body.rb +85 -0
  107. data/lib/mx_platform_api/models/error.rb +106 -0
  108. data/lib/mx_platform_api/models/federal_insurance_status.rb +42 -0
  109. data/lib/mx_platform_api/models/geolocation.rb +108 -0
  110. data/lib/mx_platform_api/models/goal_request.rb +179 -0
  111. data/lib/mx_platform_api/models/goal_request_body.rb +74 -0
  112. data/lib/mx_platform_api/models/goal_response.rb +241 -0
  113. data/lib/mx_platform_api/models/goal_response_body.rb +74 -0
  114. data/lib/mx_platform_api/models/goal_type_name.rb +36 -0
  115. data/lib/mx_platform_api/models/goals_response.rb +241 -0
  116. data/lib/mx_platform_api/models/goals_response_body.rb +94 -0
  117. data/lib/mx_platform_api/models/image_option_response.rb +110 -0
  118. data/lib/mx_platform_api/models/insight_response.rb +338 -0
  119. data/lib/mx_platform_api/models/insight_response_body.rb +75 -0
  120. data/lib/mx_platform_api/models/insight_update_request.rb +87 -0
  121. data/lib/mx_platform_api/models/insight_update_request_body.rb +75 -0
  122. data/lib/mx_platform_api/models/insights_response_body.rb +94 -0
  123. data/lib/mx_platform_api/models/institution_response.rb +290 -0
  124. data/lib/mx_platform_api/models/institution_response_body.rb +76 -0
  125. data/lib/mx_platform_api/models/institutions_response_body.rb +95 -0
  126. data/lib/mx_platform_api/models/investment_holding_response.rb +513 -0
  127. data/lib/mx_platform_api/models/investment_holding_response_body.rb +77 -0
  128. data/lib/mx_platform_api/models/investment_holdings_deactivation.rb +85 -0
  129. data/lib/mx_platform_api/models/investment_holdings_response_body.rb +95 -0
  130. data/lib/mx_platform_api/models/iso_country_code.rb +36 -0
  131. data/lib/mx_platform_api/models/item_type.rb +52 -0
  132. data/lib/mx_platform_api/models/job_response.rb +203 -0
  133. data/lib/mx_platform_api/models/job_response_body.rb +74 -0
  134. data/lib/mx_platform_api/models/managed_account_create_request.rb +422 -0
  135. data/lib/mx_platform_api/models/managed_account_create_request_body.rb +75 -0
  136. data/lib/mx_platform_api/models/managed_account_update_request.rb +428 -0
  137. data/lib/mx_platform_api/models/managed_account_update_request_body.rb +75 -0
  138. data/lib/mx_platform_api/models/managed_member_create_request.rb +105 -0
  139. data/lib/mx_platform_api/models/managed_member_create_request_body.rb +75 -0
  140. data/lib/mx_platform_api/models/managed_member_update_request.rb +95 -0
  141. data/lib/mx_platform_api/models/managed_member_update_request_body.rb +75 -0
  142. data/lib/mx_platform_api/models/managed_transaction_create_request.rb +282 -0
  143. data/lib/mx_platform_api/models/managed_transaction_create_request_body.rb +77 -0
  144. data/lib/mx_platform_api/models/managed_transaction_update_request.rb +289 -0
  145. data/lib/mx_platform_api/models/managed_transaction_update_request_body.rb +77 -0
  146. data/lib/mx_platform_api/models/member_create_request.rb +154 -0
  147. data/lib/mx_platform_api/models/member_create_request_body.rb +152 -0
  148. data/lib/mx_platform_api/models/member_elements.rb +96 -0
  149. data/lib/mx_platform_api/models/member_response.rb +406 -0
  150. data/lib/mx_platform_api/models/member_response_body.rb +75 -0
  151. data/lib/mx_platform_api/models/member_response_with_job_error.rb +406 -0
  152. data/lib/mx_platform_api/models/member_response_with_job_error_body.rb +75 -0
  153. data/lib/mx_platform_api/models/member_resume_request.rb +85 -0
  154. data/lib/mx_platform_api/models/member_resume_request_body.rb +75 -0
  155. data/lib/mx_platform_api/models/member_status_response.rb +236 -0
  156. data/lib/mx_platform_api/models/member_status_response_body.rb +75 -0
  157. data/lib/mx_platform_api/models/member_update_request.rb +133 -0
  158. data/lib/mx_platform_api/models/member_update_request_body.rb +75 -0
  159. data/lib/mx_platform_api/models/members_response_body.rb +94 -0
  160. data/lib/mx_platform_api/models/merchant.rb +105 -0
  161. data/lib/mx_platform_api/models/merchant_location_response.rb +208 -0
  162. data/lib/mx_platform_api/models/merchant_location_response_body.rb +77 -0
  163. data/lib/mx_platform_api/models/merchant_response.rb +136 -0
  164. data/lib/mx_platform_api/models/merchant_response_body.rb +75 -0
  165. data/lib/mx_platform_api/models/merchants_response_body.rb +95 -0
  166. data/lib/mx_platform_api/models/micro_deposit.rb +223 -0
  167. data/lib/mx_platform_api/models/microdeposit_elements.rb +141 -0
  168. data/lib/mx_platform_api/models/microdeposit_request_body.rb +77 -0
  169. data/lib/mx_platform_api/models/microdeposit_response.rb +149 -0
  170. data/lib/mx_platform_api/models/microdeposit_response_body.rb +85 -0
  171. data/lib/mx_platform_api/models/microdeposit_verify_request.rb +88 -0
  172. data/lib/mx_platform_api/models/microdeposit_verify_request_body.rb +77 -0
  173. data/lib/mx_platform_api/models/microdeposits_response_body.rb +95 -0
  174. data/lib/mx_platform_api/models/monthly_account_balance.rb +123 -0
  175. data/lib/mx_platform_api/models/monthly_account_balances_response_body.rb +85 -0
  176. data/lib/mx_platform_api/models/monthly_cash_flow_profile_request.rb +95 -0
  177. data/lib/mx_platform_api/models/monthly_cash_flow_profile_request_body.rb +81 -0
  178. data/lib/mx_platform_api/models/monthly_cash_flow_response.rb +157 -0
  179. data/lib/mx_platform_api/models/monthly_cash_flow_response_body.rb +81 -0
  180. data/lib/mx_platform_api/models/notification_request.rb +83 -0
  181. data/lib/mx_platform_api/models/notification_request_body.rb +76 -0
  182. data/lib/mx_platform_api/models/notification_response.rb +204 -0
  183. data/lib/mx_platform_api/models/notification_response_body.rb +76 -0
  184. data/lib/mx_platform_api/models/notifications_response_body.rb +85 -0
  185. data/lib/mx_platform_api/models/oauth_window_response.rb +91 -0
  186. data/lib/mx_platform_api/models/oauth_window_response_body.rb +75 -0
  187. data/lib/mx_platform_api/models/option_response.rb +99 -0
  188. data/lib/mx_platform_api/models/pagination_response.rb +106 -0
  189. data/lib/mx_platform_api/models/parent_class.rb +84 -0
  190. data/lib/mx_platform_api/models/payment_account.rb +183 -0
  191. data/lib/mx_platform_api/models/payment_account1.rb +213 -0
  192. data/lib/mx_platform_api/models/payment_account_body.rb +77 -0
  193. data/lib/mx_platform_api/models/processor_account_number.rb +168 -0
  194. data/lib/mx_platform_api/models/processor_account_number_body.rb +85 -0
  195. data/lib/mx_platform_api/models/processor_owner.rb +155 -0
  196. data/lib/mx_platform_api/models/processor_owner_body.rb +95 -0
  197. data/lib/mx_platform_api/models/property_type.rb +69 -0
  198. data/lib/mx_platform_api/models/recurrence_type.rb +26 -0
  199. data/lib/mx_platform_api/models/repeating_transaction.rb +102 -0
  200. data/lib/mx_platform_api/models/repeating_transaction_response.rb +203 -0
  201. data/lib/mx_platform_api/models/repeating_transaction_type.rb +44 -0
  202. data/lib/mx_platform_api/models/repeating_transactions_response_body.rb +85 -0
  203. data/lib/mx_platform_api/models/reposition_request.rb +82 -0
  204. data/lib/mx_platform_api/models/reposition_request_body.rb +84 -0
  205. data/lib/mx_platform_api/models/reposition_response_body.rb +84 -0
  206. data/lib/mx_platform_api/models/reward.rb +187 -0
  207. data/lib/mx_platform_api/models/reward_elements.rb +156 -0
  208. data/lib/mx_platform_api/models/reward_response_body.rb +75 -0
  209. data/lib/mx_platform_api/models/rewards_response_body.rb +94 -0
  210. data/lib/mx_platform_api/models/scheduled_payment_response.rb +208 -0
  211. data/lib/mx_platform_api/models/scheduled_payments_response_body.rb +95 -0
  212. data/lib/mx_platform_api/models/spending_plan_account_response.rb +142 -0
  213. data/lib/mx_platform_api/models/spending_plan_accounts_response.rb +95 -0
  214. data/lib/mx_platform_api/models/spending_plan_iteration_item_create_request_body.rb +124 -0
  215. data/lib/mx_platform_api/models/spending_plan_iteration_item_response.rb +224 -0
  216. data/lib/mx_platform_api/models/spending_plan_iteration_items_response_body.rb +95 -0
  217. data/lib/mx_platform_api/models/spending_plan_iteration_response.rb +162 -0
  218. data/lib/mx_platform_api/models/spending_plan_iterations_response.rb +95 -0
  219. data/lib/mx_platform_api/models/spending_plan_response.rb +129 -0
  220. data/lib/mx_platform_api/models/spending_plans_response_body.rb +95 -0
  221. data/lib/mx_platform_api/models/split_transaction_request.rb +106 -0
  222. data/lib/mx_platform_api/models/split_transaction_request_body.rb +75 -0
  223. data/lib/mx_platform_api/models/split_transactions_response_body.rb +85 -0
  224. data/lib/mx_platform_api/models/statement_response.rb +157 -0
  225. data/lib/mx_platform_api/models/statement_response_body.rb +76 -0
  226. data/lib/mx_platform_api/models/statements_response_body.rb +95 -0
  227. data/lib/mx_platform_api/models/status.rb +36 -0
  228. data/lib/mx_platform_api/models/style.rb +74 -0
  229. data/lib/mx_platform_api/models/supported_product.rb +56 -0
  230. data/lib/mx_platform_api/models/supported_product1.rb +52 -0
  231. data/lib/mx_platform_api/models/tag_create_request.rb +72 -0
  232. data/lib/mx_platform_api/models/tag_create_request_body.rb +74 -0
  233. data/lib/mx_platform_api/models/tag_response.rb +99 -0
  234. data/lib/mx_platform_api/models/tag_response_body.rb +74 -0
  235. data/lib/mx_platform_api/models/tag_update_request.rb +72 -0
  236. data/lib/mx_platform_api/models/tag_update_request_body.rb +74 -0
  237. data/lib/mx_platform_api/models/tagging_create_request.rb +83 -0
  238. data/lib/mx_platform_api/models/tagging_create_request_body.rb +75 -0
  239. data/lib/mx_platform_api/models/tagging_response.rb +130 -0
  240. data/lib/mx_platform_api/models/tagging_response_body.rb +75 -0
  241. data/lib/mx_platform_api/models/tagging_update_request.rb +73 -0
  242. data/lib/mx_platform_api/models/tagging_update_request_body.rb +75 -0
  243. data/lib/mx_platform_api/models/taggings_response_body.rb +94 -0
  244. data/lib/mx_platform_api/models/tags_response_body.rb +94 -0
  245. data/lib/mx_platform_api/models/token_request_body.rb +75 -0
  246. data/lib/mx_platform_api/models/token_response.rb +114 -0
  247. data/lib/mx_platform_api/models/token_response_body.rb +84 -0
  248. data/lib/mx_platform_api/models/track_type_name.rb +44 -0
  249. data/lib/mx_platform_api/models/transaction_create_request.rb +192 -0
  250. data/lib/mx_platform_api/models/transaction_create_request_body.rb +76 -0
  251. data/lib/mx_platform_api/models/transaction_create_response_body.rb +595 -0
  252. data/lib/mx_platform_api/models/transaction_includes_response.rb +643 -0
  253. data/lib/mx_platform_api/models/transaction_response.rb +597 -0
  254. data/lib/mx_platform_api/models/transaction_response_body.rb +76 -0
  255. data/lib/mx_platform_api/models/transaction_rule_create_request.rb +98 -0
  256. data/lib/mx_platform_api/models/transaction_rule_create_request_body.rb +77 -0
  257. data/lib/mx_platform_api/models/transaction_rule_response.rb +152 -0
  258. data/lib/mx_platform_api/models/transaction_rule_response_body.rb +77 -0
  259. data/lib/mx_platform_api/models/transaction_rule_update_request.rb +103 -0
  260. data/lib/mx_platform_api/models/transaction_rule_update_request_body.rb +77 -0
  261. data/lib/mx_platform_api/models/transaction_rules_response_body.rb +95 -0
  262. data/lib/mx_platform_api/models/transaction_type.rb +36 -0
  263. data/lib/mx_platform_api/models/transaction_update_request.rb +74 -0
  264. data/lib/mx_platform_api/models/transaction_update_request_body.rb +76 -0
  265. data/lib/mx_platform_api/models/transactions_response_body.rb +95 -0
  266. data/lib/mx_platform_api/models/transactions_response_body_includes.rb +95 -0
  267. data/lib/mx_platform_api/models/type.rb +36 -0
  268. data/lib/mx_platform_api/models/update_goal_request.rb +185 -0
  269. data/lib/mx_platform_api/models/update_goal_request_body.rb +74 -0
  270. data/lib/mx_platform_api/models/use_case.rb +36 -0
  271. data/lib/mx_platform_api/models/user_create_request.rb +105 -0
  272. data/lib/mx_platform_api/models/user_create_request_body.rb +74 -0
  273. data/lib/mx_platform_api/models/user_response.rb +119 -0
  274. data/lib/mx_platform_api/models/user_response_body.rb +74 -0
  275. data/lib/mx_platform_api/models/user_update_request.rb +105 -0
  276. data/lib/mx_platform_api/models/user_update_request_body.rb +74 -0
  277. data/lib/mx_platform_api/models/users_response_body.rb +94 -0
  278. data/lib/mx_platform_api/models/users_widget_urls_request.rb +76 -0
  279. data/lib/mx_platform_api/models/vc_response.rb +77 -0
  280. data/lib/mx_platform_api/models/widget_request.rb +466 -0
  281. data/lib/mx_platform_api/models/widget_response.rb +100 -0
  282. data/lib/mx_platform_api/models/widget_response_body.rb +76 -0
  283. data/lib/mx_platform_api/models/widget_type.rb +149 -0
  284. data/lib/mx_platform_api/utilities/date_time_helper.rb +11 -0
  285. data/lib/mx_platform_api/utilities/file_wrapper.rb +28 -0
  286. data/lib/mx_platform_api.rb +313 -0
  287. metadata +370 -0
@@ -0,0 +1,236 @@
1
+ # mx_platform_api
2
+ #
3
+ # This file was automatically generated by APIMATIC v3.0 (
4
+ # https://www.apimatic.io ).
5
+
6
+ module MxPlatformApi
7
+ # MemberStatusResponse Model.
8
+ class MemberStatusResponse < BaseModel
9
+ SKIP = Object.new
10
+ private_constant :SKIP
11
+
12
+ # The date and time the most recent aggregation-type job was started, given
13
+ # in ISO 8601 format with a time component.
14
+ # A job will automatically be started when a member is created or its
15
+ # credentials are updated, unless the `skip_aggregation` parameter is used.
16
+ # Jobs can also be started via manual aggregations, background aggregations,
17
+ # API endpoints, or when opening an MX widget.
18
+ # A job can be a normal aggregation, or a premium job such as
19
+ # identification, verification, fetching statements, or fetching an extended
20
+ # transaction history.
21
+ # If a member is deleted and then re-created with the `skip_aggregation`
22
+ # parameter set to `true` or if it is re-created within the throttle window
23
+ # (typically three hours), the previous value will be returned.
24
+ # @return [String]
25
+ attr_accessor :aggregated_at
26
+
27
+ # The date and time the most recent aggregation-type job was started, given
28
+ # in ISO 8601 format with a time component.
29
+ # A job will automatically be started when a member is created or its
30
+ # credentials are updated, unless the `skip_aggregation` parameter is used.
31
+ # Jobs can also be started via manual aggregations, background aggregations,
32
+ # API endpoints, or when opening an MX widget.
33
+ # A job can be a normal aggregation, or a premium job such as
34
+ # identification, verification, fetching statements, or fetching an extended
35
+ # transaction history.
36
+ # If a member is deleted and then re-created with the `skip_aggregation`
37
+ # parameter set to `true` or if it is re-created within the throttle window
38
+ # (typically three hours), the previous value will be returned.
39
+ # @return [Array[ChallengeResponse]]
40
+ attr_accessor :challenges
41
+
42
+ # The status of a user's connection to an institution. See [Member
43
+ # Connection
44
+ # Status](/api-reference/platform-api/reference/members#member-connection-st
45
+ # atuses).
46
+ # @return [ConnectionStatus]
47
+ attr_accessor :connection_status
48
+
49
+ # The unique identifier for the member. Defined by MX.
50
+ # @return [String]
51
+ attr_accessor :guid
52
+
53
+ # Indicates whether the member has processed account numbers.
54
+ # @return [TrueClass | FalseClass]
55
+ attr_accessor :has_processed_account_numbers
56
+
57
+ # Indicates whether the member has processed accounts.
58
+ # @return [TrueClass | FalseClass]
59
+ attr_accessor :has_processed_accounts
60
+
61
+ # Indicates whether the member has processed transactions.
62
+ # @return [TrueClass | FalseClass]
63
+ attr_accessor :has_processed_transactions
64
+
65
+ # Indicates whether the member has processed transactions.
66
+ # @return [TrueClass | FalseClass]
67
+ attr_accessor :is_authenticated
68
+
69
+ # Indicates whether the member has processed transactions.
70
+ # @return [TrueClass | FalseClass]
71
+ attr_accessor :is_being_aggregated
72
+
73
+ # The date and time when the member was last successfully aggregated,
74
+ # represented in ISO 8601 format with a timestamp.
75
+ # @return [String]
76
+ attr_accessor :successfully_aggregated_at
77
+
78
+ # A mapping from model property names to API property names.
79
+ def self.names
80
+ @_hash = {} if @_hash.nil?
81
+ @_hash['aggregated_at'] = 'aggregated_at'
82
+ @_hash['challenges'] = 'challenges'
83
+ @_hash['connection_status'] = 'connection_status'
84
+ @_hash['guid'] = 'guid'
85
+ @_hash['has_processed_account_numbers'] =
86
+ 'has_processed_account_numbers'
87
+ @_hash['has_processed_accounts'] = 'has_processed_accounts'
88
+ @_hash['has_processed_transactions'] = 'has_processed_transactions'
89
+ @_hash['is_authenticated'] = 'is_authenticated'
90
+ @_hash['is_being_aggregated'] = 'is_being_aggregated'
91
+ @_hash['successfully_aggregated_at'] = 'successfully_aggregated_at'
92
+ @_hash
93
+ end
94
+
95
+ # An array for optional fields
96
+ def self.optionals
97
+ %w[
98
+ aggregated_at
99
+ challenges
100
+ connection_status
101
+ guid
102
+ has_processed_account_numbers
103
+ has_processed_accounts
104
+ has_processed_transactions
105
+ is_authenticated
106
+ is_being_aggregated
107
+ successfully_aggregated_at
108
+ ]
109
+ end
110
+
111
+ # An array for nullable fields
112
+ def self.nullables
113
+ %w[
114
+ aggregated_at
115
+ connection_status
116
+ guid
117
+ has_processed_account_numbers
118
+ has_processed_accounts
119
+ has_processed_transactions
120
+ is_authenticated
121
+ is_being_aggregated
122
+ successfully_aggregated_at
123
+ ]
124
+ end
125
+
126
+ def initialize(aggregated_at: SKIP, challenges: SKIP,
127
+ connection_status: SKIP, guid: SKIP,
128
+ has_processed_account_numbers: SKIP,
129
+ has_processed_accounts: SKIP,
130
+ has_processed_transactions: SKIP, is_authenticated: SKIP,
131
+ is_being_aggregated: SKIP, successfully_aggregated_at: SKIP,
132
+ additional_properties: nil)
133
+ # Add additional model properties to the instance
134
+ additional_properties = {} if additional_properties.nil?
135
+
136
+ @aggregated_at = aggregated_at unless aggregated_at == SKIP
137
+ @challenges = challenges unless challenges == SKIP
138
+ @connection_status = connection_status unless connection_status == SKIP
139
+ @guid = guid unless guid == SKIP
140
+ unless has_processed_account_numbers == SKIP
141
+ @has_processed_account_numbers =
142
+ has_processed_account_numbers
143
+ end
144
+ @has_processed_accounts = has_processed_accounts unless has_processed_accounts == SKIP
145
+ unless has_processed_transactions == SKIP
146
+ @has_processed_transactions =
147
+ has_processed_transactions
148
+ end
149
+ @is_authenticated = is_authenticated unless is_authenticated == SKIP
150
+ @is_being_aggregated = is_being_aggregated unless is_being_aggregated == SKIP
151
+ unless successfully_aggregated_at == SKIP
152
+ @successfully_aggregated_at =
153
+ successfully_aggregated_at
154
+ end
155
+ @additional_properties = additional_properties
156
+ end
157
+
158
+ # Creates an instance of the object from a hash.
159
+ def self.from_hash(hash)
160
+ return nil unless hash
161
+
162
+ # Extract variables from the hash.
163
+ aggregated_at = hash.key?('aggregated_at') ? hash['aggregated_at'] : SKIP
164
+ # Parameter is an array, so we need to iterate through it
165
+ challenges = nil
166
+ unless hash['challenges'].nil?
167
+ challenges = []
168
+ hash['challenges'].each do |structure|
169
+ challenges << (ChallengeResponse.from_hash(structure) if structure)
170
+ end
171
+ end
172
+
173
+ challenges = SKIP unless hash.key?('challenges')
174
+ connection_status =
175
+ hash.key?('connection_status') ? hash['connection_status'] : SKIP
176
+ guid = hash.key?('guid') ? hash['guid'] : SKIP
177
+ has_processed_account_numbers =
178
+ hash.key?('has_processed_account_numbers') ? hash['has_processed_account_numbers'] : SKIP
179
+ has_processed_accounts =
180
+ hash.key?('has_processed_accounts') ? hash['has_processed_accounts'] : SKIP
181
+ has_processed_transactions =
182
+ hash.key?('has_processed_transactions') ? hash['has_processed_transactions'] : SKIP
183
+ is_authenticated =
184
+ hash.key?('is_authenticated') ? hash['is_authenticated'] : SKIP
185
+ is_being_aggregated =
186
+ hash.key?('is_being_aggregated') ? hash['is_being_aggregated'] : SKIP
187
+ successfully_aggregated_at =
188
+ hash.key?('successfully_aggregated_at') ? hash['successfully_aggregated_at'] : SKIP
189
+
190
+ # Create a new hash for additional properties, removing known properties.
191
+ new_hash = hash.reject { |k, _| names.value?(k) }
192
+
193
+ additional_properties = APIHelper.get_additional_properties(
194
+ new_hash, proc { |value| value }
195
+ )
196
+
197
+ # Create object from extracted values.
198
+ MemberStatusResponse.new(aggregated_at: aggregated_at,
199
+ challenges: challenges,
200
+ connection_status: connection_status,
201
+ guid: guid,
202
+ has_processed_account_numbers: has_processed_account_numbers,
203
+ has_processed_accounts: has_processed_accounts,
204
+ has_processed_transactions: has_processed_transactions,
205
+ is_authenticated: is_authenticated,
206
+ is_being_aggregated: is_being_aggregated,
207
+ successfully_aggregated_at: successfully_aggregated_at,
208
+ additional_properties: additional_properties)
209
+ end
210
+
211
+ # Provides a human-readable string representation of the object.
212
+ def to_s
213
+ class_name = self.class.name.split('::').last
214
+ "<#{class_name} aggregated_at: #{@aggregated_at}, challenges: #{@challenges},"\
215
+ " connection_status: #{@connection_status}, guid: #{@guid}, has_processed_account_numbers:"\
216
+ " #{@has_processed_account_numbers}, has_processed_accounts: #{@has_processed_accounts},"\
217
+ " has_processed_transactions: #{@has_processed_transactions}, is_authenticated:"\
218
+ " #{@is_authenticated}, is_being_aggregated: #{@is_being_aggregated},"\
219
+ " successfully_aggregated_at: #{@successfully_aggregated_at}, additional_properties:"\
220
+ " #{@additional_properties}>"
221
+ end
222
+
223
+ # Provides a debugging-friendly string with detailed object information.
224
+ def inspect
225
+ class_name = self.class.name.split('::').last
226
+ "<#{class_name} aggregated_at: #{@aggregated_at.inspect}, challenges:"\
227
+ " #{@challenges.inspect}, connection_status: #{@connection_status.inspect}, guid:"\
228
+ " #{@guid.inspect}, has_processed_account_numbers:"\
229
+ " #{@has_processed_account_numbers.inspect}, has_processed_accounts:"\
230
+ " #{@has_processed_accounts.inspect}, has_processed_transactions:"\
231
+ " #{@has_processed_transactions.inspect}, is_authenticated: #{@is_authenticated.inspect},"\
232
+ " is_being_aggregated: #{@is_being_aggregated.inspect}, successfully_aggregated_at:"\
233
+ " #{@successfully_aggregated_at.inspect}, additional_properties: #{@additional_properties}>"
234
+ end
235
+ end
236
+ end
@@ -0,0 +1,75 @@
1
+ # mx_platform_api
2
+ #
3
+ # This file was automatically generated by APIMATIC v3.0 (
4
+ # https://www.apimatic.io ).
5
+
6
+ module MxPlatformApi
7
+ # MemberStatusResponseBody Model.
8
+ class MemberStatusResponseBody < BaseModel
9
+ SKIP = Object.new
10
+ private_constant :SKIP
11
+
12
+ # TODO: Write general description for this method
13
+ # @return [MemberStatusResponse]
14
+ attr_accessor :member
15
+
16
+ # A mapping from model property names to API property names.
17
+ def self.names
18
+ @_hash = {} if @_hash.nil?
19
+ @_hash['member'] = 'member'
20
+ @_hash
21
+ end
22
+
23
+ # An array for optional fields
24
+ def self.optionals
25
+ %w[
26
+ member
27
+ ]
28
+ end
29
+
30
+ # An array for nullable fields
31
+ def self.nullables
32
+ []
33
+ end
34
+
35
+ def initialize(member: SKIP, additional_properties: nil)
36
+ # Add additional model properties to the instance
37
+ additional_properties = {} if additional_properties.nil?
38
+
39
+ @member = member unless member == SKIP
40
+ @additional_properties = additional_properties
41
+ end
42
+
43
+ # Creates an instance of the object from a hash.
44
+ def self.from_hash(hash)
45
+ return nil unless hash
46
+
47
+ # Extract variables from the hash.
48
+ member = MemberStatusResponse.from_hash(hash['member']) if hash['member']
49
+
50
+ # Create a new hash for additional properties, removing known properties.
51
+ new_hash = hash.reject { |k, _| names.value?(k) }
52
+
53
+ additional_properties = APIHelper.get_additional_properties(
54
+ new_hash, proc { |value| value }
55
+ )
56
+
57
+ # Create object from extracted values.
58
+ MemberStatusResponseBody.new(member: member,
59
+ additional_properties: additional_properties)
60
+ end
61
+
62
+ # Provides a human-readable string representation of the object.
63
+ def to_s
64
+ class_name = self.class.name.split('::').last
65
+ "<#{class_name} member: #{@member}, additional_properties: #{@additional_properties}>"
66
+ end
67
+
68
+ # Provides a debugging-friendly string with detailed object information.
69
+ def inspect
70
+ class_name = self.class.name.split('::').last
71
+ "<#{class_name} member: #{@member.inspect}, additional_properties:"\
72
+ " #{@additional_properties}>"
73
+ end
74
+ end
75
+ end
@@ -0,0 +1,133 @@
1
+ # mx_platform_api
2
+ #
3
+ # This file was automatically generated by APIMATIC v3.0 (
4
+ # https://www.apimatic.io ).
5
+
6
+ module MxPlatformApi
7
+ # MemberUpdateRequest Model.
8
+ class MemberUpdateRequest < BaseModel
9
+ SKIP = Object.new
10
+ private_constant :SKIP
11
+
12
+ # Indicates whether background aggregation is disabled for the `member`.
13
+ # @return [TrueClass | FalseClass]
14
+ attr_accessor :background_aggregation_is_disabled
15
+
16
+ # Indicates whether background aggregation is disabled for the `member`.
17
+ # @return [Array[CredentialRequest]]
18
+ attr_accessor :credentials
19
+
20
+ # The unique partner-defined identifier for the member.
21
+ # @return [String]
22
+ attr_accessor :id
23
+
24
+ # Additional information you can store about the `member`.
25
+ # @return [String]
26
+ attr_accessor :metadata
27
+
28
+ # The use case associated with the member. Valid values are `PFM` and/or
29
+ # `MONEY_MOVEMENT`. Only set this if you've met with MX and have opted in to
30
+ # using this field.
31
+ # @return [Array[UseCase]]
32
+ attr_accessor :use_cases
33
+
34
+ # A mapping from model property names to API property names.
35
+ def self.names
36
+ @_hash = {} if @_hash.nil?
37
+ @_hash['background_aggregation_is_disabled'] =
38
+ 'background_aggregation_is_disabled'
39
+ @_hash['credentials'] = 'credentials'
40
+ @_hash['id'] = 'id'
41
+ @_hash['metadata'] = 'metadata'
42
+ @_hash['use_cases'] = 'use_cases'
43
+ @_hash
44
+ end
45
+
46
+ # An array for optional fields
47
+ def self.optionals
48
+ %w[
49
+ background_aggregation_is_disabled
50
+ credentials
51
+ id
52
+ metadata
53
+ use_cases
54
+ ]
55
+ end
56
+
57
+ # An array for nullable fields
58
+ def self.nullables
59
+ []
60
+ end
61
+
62
+ def initialize(background_aggregation_is_disabled: SKIP, credentials: SKIP,
63
+ id: SKIP, metadata: SKIP, use_cases: SKIP,
64
+ additional_properties: nil)
65
+ # Add additional model properties to the instance
66
+ additional_properties = {} if additional_properties.nil?
67
+
68
+ unless background_aggregation_is_disabled == SKIP
69
+ @background_aggregation_is_disabled =
70
+ background_aggregation_is_disabled
71
+ end
72
+ @credentials = credentials unless credentials == SKIP
73
+ @id = id unless id == SKIP
74
+ @metadata = metadata unless metadata == SKIP
75
+ @use_cases = use_cases unless use_cases == SKIP
76
+ @additional_properties = additional_properties
77
+ end
78
+
79
+ # Creates an instance of the object from a hash.
80
+ def self.from_hash(hash)
81
+ return nil unless hash
82
+
83
+ # Extract variables from the hash.
84
+ background_aggregation_is_disabled =
85
+ hash.key?('background_aggregation_is_disabled') ? hash['background_aggregation_is_disabled'] : SKIP
86
+ # Parameter is an array, so we need to iterate through it
87
+ credentials = nil
88
+ unless hash['credentials'].nil?
89
+ credentials = []
90
+ hash['credentials'].each do |structure|
91
+ credentials << (CredentialRequest.from_hash(structure) if structure)
92
+ end
93
+ end
94
+
95
+ credentials = SKIP unless hash.key?('credentials')
96
+ id = hash.key?('id') ? hash['id'] : SKIP
97
+ metadata = hash.key?('metadata') ? hash['metadata'] : SKIP
98
+ use_cases = hash.key?('use_cases') ? hash['use_cases'] : SKIP
99
+
100
+ # Create a new hash for additional properties, removing known properties.
101
+ new_hash = hash.reject { |k, _| names.value?(k) }
102
+
103
+ additional_properties = APIHelper.get_additional_properties(
104
+ new_hash, proc { |value| value }
105
+ )
106
+
107
+ # Create object from extracted values.
108
+ MemberUpdateRequest.new(background_aggregation_is_disabled: background_aggregation_is_disabled,
109
+ credentials: credentials,
110
+ id: id,
111
+ metadata: metadata,
112
+ use_cases: use_cases,
113
+ additional_properties: additional_properties)
114
+ end
115
+
116
+ # Provides a human-readable string representation of the object.
117
+ def to_s
118
+ class_name = self.class.name.split('::').last
119
+ "<#{class_name} background_aggregation_is_disabled: #{@background_aggregation_is_disabled},"\
120
+ " credentials: #{@credentials}, id: #{@id}, metadata: #{@metadata}, use_cases:"\
121
+ " #{@use_cases}, additional_properties: #{@additional_properties}>"
122
+ end
123
+
124
+ # Provides a debugging-friendly string with detailed object information.
125
+ def inspect
126
+ class_name = self.class.name.split('::').last
127
+ "<#{class_name} background_aggregation_is_disabled:"\
128
+ " #{@background_aggregation_is_disabled.inspect}, credentials: #{@credentials.inspect}, id:"\
129
+ " #{@id.inspect}, metadata: #{@metadata.inspect}, use_cases: #{@use_cases.inspect},"\
130
+ " additional_properties: #{@additional_properties}>"
131
+ end
132
+ end
133
+ end
@@ -0,0 +1,75 @@
1
+ # mx_platform_api
2
+ #
3
+ # This file was automatically generated by APIMATIC v3.0 (
4
+ # https://www.apimatic.io ).
5
+
6
+ module MxPlatformApi
7
+ # MemberUpdateRequestBody Model.
8
+ class MemberUpdateRequestBody < BaseModel
9
+ SKIP = Object.new
10
+ private_constant :SKIP
11
+
12
+ # TODO: Write general description for this method
13
+ # @return [MemberUpdateRequest]
14
+ attr_accessor :member
15
+
16
+ # A mapping from model property names to API property names.
17
+ def self.names
18
+ @_hash = {} if @_hash.nil?
19
+ @_hash['member'] = 'member'
20
+ @_hash
21
+ end
22
+
23
+ # An array for optional fields
24
+ def self.optionals
25
+ %w[
26
+ member
27
+ ]
28
+ end
29
+
30
+ # An array for nullable fields
31
+ def self.nullables
32
+ []
33
+ end
34
+
35
+ def initialize(member: SKIP, additional_properties: nil)
36
+ # Add additional model properties to the instance
37
+ additional_properties = {} if additional_properties.nil?
38
+
39
+ @member = member unless member == SKIP
40
+ @additional_properties = additional_properties
41
+ end
42
+
43
+ # Creates an instance of the object from a hash.
44
+ def self.from_hash(hash)
45
+ return nil unless hash
46
+
47
+ # Extract variables from the hash.
48
+ member = MemberUpdateRequest.from_hash(hash['member']) if hash['member']
49
+
50
+ # Create a new hash for additional properties, removing known properties.
51
+ new_hash = hash.reject { |k, _| names.value?(k) }
52
+
53
+ additional_properties = APIHelper.get_additional_properties(
54
+ new_hash, proc { |value| value }
55
+ )
56
+
57
+ # Create object from extracted values.
58
+ MemberUpdateRequestBody.new(member: member,
59
+ additional_properties: additional_properties)
60
+ end
61
+
62
+ # Provides a human-readable string representation of the object.
63
+ def to_s
64
+ class_name = self.class.name.split('::').last
65
+ "<#{class_name} member: #{@member}, additional_properties: #{@additional_properties}>"
66
+ end
67
+
68
+ # Provides a debugging-friendly string with detailed object information.
69
+ def inspect
70
+ class_name = self.class.name.split('::').last
71
+ "<#{class_name} member: #{@member.inspect}, additional_properties:"\
72
+ " #{@additional_properties}>"
73
+ end
74
+ end
75
+ end
@@ -0,0 +1,94 @@
1
+ # mx_platform_api
2
+ #
3
+ # This file was automatically generated by APIMATIC v3.0 (
4
+ # https://www.apimatic.io ).
5
+
6
+ module MxPlatformApi
7
+ # MembersResponseBody Model.
8
+ class MembersResponseBody < BaseModel
9
+ SKIP = Object.new
10
+ private_constant :SKIP
11
+
12
+ # TODO: Write general description for this method
13
+ # @return [Array[MemberResponse]]
14
+ attr_accessor :members
15
+
16
+ # TODO: Write general description for this method
17
+ # @return [PaginationResponse]
18
+ attr_accessor :pagination
19
+
20
+ # A mapping from model property names to API property names.
21
+ def self.names
22
+ @_hash = {} if @_hash.nil?
23
+ @_hash['members'] = 'members'
24
+ @_hash['pagination'] = 'pagination'
25
+ @_hash
26
+ end
27
+
28
+ # An array for optional fields
29
+ def self.optionals
30
+ %w[
31
+ members
32
+ pagination
33
+ ]
34
+ end
35
+
36
+ # An array for nullable fields
37
+ def self.nullables
38
+ []
39
+ end
40
+
41
+ def initialize(members: SKIP, pagination: SKIP, additional_properties: nil)
42
+ # Add additional model properties to the instance
43
+ additional_properties = {} if additional_properties.nil?
44
+
45
+ @members = members unless members == SKIP
46
+ @pagination = pagination unless pagination == SKIP
47
+ @additional_properties = additional_properties
48
+ end
49
+
50
+ # Creates an instance of the object from a hash.
51
+ def self.from_hash(hash)
52
+ return nil unless hash
53
+
54
+ # Extract variables from the hash.
55
+ # Parameter is an array, so we need to iterate through it
56
+ members = nil
57
+ unless hash['members'].nil?
58
+ members = []
59
+ hash['members'].each do |structure|
60
+ members << (MemberResponse.from_hash(structure) if structure)
61
+ end
62
+ end
63
+
64
+ members = SKIP unless hash.key?('members')
65
+ pagination = PaginationResponse.from_hash(hash['pagination']) if hash['pagination']
66
+
67
+ # Create a new hash for additional properties, removing known properties.
68
+ new_hash = hash.reject { |k, _| names.value?(k) }
69
+
70
+ additional_properties = APIHelper.get_additional_properties(
71
+ new_hash, proc { |value| value }
72
+ )
73
+
74
+ # Create object from extracted values.
75
+ MembersResponseBody.new(members: members,
76
+ pagination: pagination,
77
+ additional_properties: additional_properties)
78
+ end
79
+
80
+ # Provides a human-readable string representation of the object.
81
+ def to_s
82
+ class_name = self.class.name.split('::').last
83
+ "<#{class_name} members: #{@members}, pagination: #{@pagination}, additional_properties:"\
84
+ " #{@additional_properties}>"
85
+ end
86
+
87
+ # Provides a debugging-friendly string with detailed object information.
88
+ def inspect
89
+ class_name = self.class.name.split('::').last
90
+ "<#{class_name} members: #{@members.inspect}, pagination: #{@pagination.inspect},"\
91
+ " additional_properties: #{@additional_properties}>"
92
+ end
93
+ end
94
+ end