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.
- checksums.yaml +7 -0
- data/LICENSE +28 -0
- data/README.md +207 -0
- data/bin/console +15 -0
- data/lib/mx_platform_api/api_helper.rb +10 -0
- data/lib/mx_platform_api/apis/accounts_api.rb +619 -0
- data/lib/mx_platform_api/apis/ach_return_api.rb +115 -0
- data/lib/mx_platform_api/apis/base_api.rb +67 -0
- data/lib/mx_platform_api/apis/budgets_api.rb +212 -0
- data/lib/mx_platform_api/apis/categories_api.rb +377 -0
- data/lib/mx_platform_api/apis/goals_api.rb +223 -0
- data/lib/mx_platform_api/apis/insights_api.rb +415 -0
- data/lib/mx_platform_api/apis/institutions_api.rb +159 -0
- data/lib/mx_platform_api/apis/investment_holdings_api.rb +191 -0
- data/lib/mx_platform_api/apis/jobs_api.rb +48 -0
- data/lib/mx_platform_api/apis/managed_data_deprecated_api.rb +773 -0
- data/lib/mx_platform_api/apis/members_api.rb +639 -0
- data/lib/mx_platform_api/apis/merchants_api.rb +98 -0
- data/lib/mx_platform_api/apis/microdeposits_api.rb +219 -0
- data/lib/mx_platform_api/apis/monthly_cash_flow_profile_api.rb +75 -0
- data/lib/mx_platform_api/apis/notifications_api.rb +115 -0
- data/lib/mx_platform_api/apis/processor_token_api.rb +141 -0
- data/lib/mx_platform_api/apis/rewards_api.rb +149 -0
- data/lib/mx_platform_api/apis/spending_plan_api.rb +621 -0
- data/lib/mx_platform_api/apis/statements_api.rb +165 -0
- data/lib/mx_platform_api/apis/taggings_api.rb +184 -0
- data/lib/mx_platform_api/apis/tags_api.rb +185 -0
- data/lib/mx_platform_api/apis/transaction_rules_api.rb +163 -0
- data/lib/mx_platform_api/apis/transactions_api.rb +1223 -0
- data/lib/mx_platform_api/apis/users_api.rb +188 -0
- data/lib/mx_platform_api/apis/verifiable_credentials_api.rb +114 -0
- data/lib/mx_platform_api/apis/widgets_api.rb +135 -0
- data/lib/mx_platform_api/client.rb +225 -0
- data/lib/mx_platform_api/configuration.rb +182 -0
- data/lib/mx_platform_api/exceptions/api_exception.rb +21 -0
- data/lib/mx_platform_api/http/api_response.rb +19 -0
- data/lib/mx_platform_api/http/auth/basic_auth.rb +62 -0
- data/lib/mx_platform_api/http/auth/bearer_auth.rb +53 -0
- data/lib/mx_platform_api/http/http_call_back.rb +10 -0
- data/lib/mx_platform_api/http/http_method_enum.rb +10 -0
- data/lib/mx_platform_api/http/http_request.rb +10 -0
- data/lib/mx_platform_api/http/http_response.rb +10 -0
- data/lib/mx_platform_api/http/proxy_settings.rb +22 -0
- data/lib/mx_platform_api/logging/configuration/api_logging_configuration.rb +186 -0
- data/lib/mx_platform_api/logging/sdk_logger.rb +17 -0
- data/lib/mx_platform_api/models/account_create_request.rb +309 -0
- data/lib/mx_platform_api/models/account_create_request_body.rb +75 -0
- data/lib/mx_platform_api/models/account_number.rb +199 -0
- data/lib/mx_platform_api/models/account_number_response.rb +215 -0
- data/lib/mx_platform_api/models/account_numbers_response_body.rb +95 -0
- data/lib/mx_platform_api/models/account_owner.rb +186 -0
- data/lib/mx_platform_api/models/account_owner_response.rb +219 -0
- data/lib/mx_platform_api/models/account_owners_response_body.rb +95 -0
- data/lib/mx_platform_api/models/account_ownership.rb +45 -0
- data/lib/mx_platform_api/models/account_response.rb +814 -0
- data/lib/mx_platform_api/models/account_response_body.rb +75 -0
- data/lib/mx_platform_api/models/account_type.rb +80 -0
- data/lib/mx_platform_api/models/account_type1.rb +80 -0
- data/lib/mx_platform_api/models/account_update_request.rb +301 -0
- data/lib/mx_platform_api/models/account_update_request_body.rb +75 -0
- data/lib/mx_platform_api/models/accounts_merge_request.rb +75 -0
- data/lib/mx_platform_api/models/accounts_merge_request_body.rb +75 -0
- data/lib/mx_platform_api/models/accounts_response_body.rb +94 -0
- data/lib/mx_platform_api/models/ach_response.rb +424 -0
- data/lib/mx_platform_api/models/ach_return_create_request.rb +256 -0
- data/lib/mx_platform_api/models/ach_return_create_request_body.rb +76 -0
- data/lib/mx_platform_api/models/ach_return_response_body.rb +76 -0
- data/lib/mx_platform_api/models/ach_returns_response_body.rb +95 -0
- data/lib/mx_platform_api/models/authorization_code_request.rb +77 -0
- data/lib/mx_platform_api/models/authorization_code_request_body.rb +77 -0
- data/lib/mx_platform_api/models/authorization_code_response.rb +76 -0
- data/lib/mx_platform_api/models/authorization_code_response_body.rb +77 -0
- data/lib/mx_platform_api/models/base_model.rb +110 -0
- data/lib/mx_platform_api/models/budget_create_request.rb +115 -0
- data/lib/mx_platform_api/models/budget_create_request_body.rb +75 -0
- data/lib/mx_platform_api/models/budget_response.rb +246 -0
- data/lib/mx_platform_api/models/budget_response_body.rb +75 -0
- data/lib/mx_platform_api/models/budget_update_request.rb +96 -0
- data/lib/mx_platform_api/models/budget_update_request_body.rb +75 -0
- data/lib/mx_platform_api/models/categories_response_body.rb +95 -0
- data/lib/mx_platform_api/models/category_create_request.rb +93 -0
- data/lib/mx_platform_api/models/category_create_request_body.rb +75 -0
- data/lib/mx_platform_api/models/category_response.rb +160 -0
- data/lib/mx_platform_api/models/category_response_body.rb +75 -0
- data/lib/mx_platform_api/models/category_update_request.rb +85 -0
- data/lib/mx_platform_api/models/category_update_request_body.rb +75 -0
- data/lib/mx_platform_api/models/challenge_response.rb +159 -0
- data/lib/mx_platform_api/models/challenges_response_body.rb +95 -0
- data/lib/mx_platform_api/models/channel.rb +47 -0
- data/lib/mx_platform_api/models/classification.rb +85 -0
- data/lib/mx_platform_api/models/color_scheme.rb +43 -0
- data/lib/mx_platform_api/models/connection_status.rb +118 -0
- data/lib/mx_platform_api/models/credential_request.rb +85 -0
- data/lib/mx_platform_api/models/credential_response.rb +133 -0
- data/lib/mx_platform_api/models/credentials_response_body.rb +95 -0
- data/lib/mx_platform_api/models/credit_card_product.rb +276 -0
- data/lib/mx_platform_api/models/credit_card_product_response.rb +77 -0
- data/lib/mx_platform_api/models/data_request.rb +76 -0
- data/lib/mx_platform_api/models/date_range.rb +87 -0
- data/lib/mx_platform_api/models/date_range_category_totals_response.rb +115 -0
- data/lib/mx_platform_api/models/date_range_category_totals_response_body.rb +88 -0
- data/lib/mx_platform_api/models/deep_link_params.rb +131 -0
- data/lib/mx_platform_api/models/enhance_transaction_response.rb +371 -0
- data/lib/mx_platform_api/models/enhance_transactions_request.rb +143 -0
- data/lib/mx_platform_api/models/enhance_transactions_request_body.rb +85 -0
- data/lib/mx_platform_api/models/enhance_transactions_response_body.rb +85 -0
- data/lib/mx_platform_api/models/error.rb +106 -0
- data/lib/mx_platform_api/models/federal_insurance_status.rb +42 -0
- data/lib/mx_platform_api/models/geolocation.rb +108 -0
- data/lib/mx_platform_api/models/goal_request.rb +179 -0
- data/lib/mx_platform_api/models/goal_request_body.rb +74 -0
- data/lib/mx_platform_api/models/goal_response.rb +241 -0
- data/lib/mx_platform_api/models/goal_response_body.rb +74 -0
- data/lib/mx_platform_api/models/goal_type_name.rb +36 -0
- data/lib/mx_platform_api/models/goals_response.rb +241 -0
- data/lib/mx_platform_api/models/goals_response_body.rb +94 -0
- data/lib/mx_platform_api/models/image_option_response.rb +110 -0
- data/lib/mx_platform_api/models/insight_response.rb +338 -0
- data/lib/mx_platform_api/models/insight_response_body.rb +75 -0
- data/lib/mx_platform_api/models/insight_update_request.rb +87 -0
- data/lib/mx_platform_api/models/insight_update_request_body.rb +75 -0
- data/lib/mx_platform_api/models/insights_response_body.rb +94 -0
- data/lib/mx_platform_api/models/institution_response.rb +290 -0
- data/lib/mx_platform_api/models/institution_response_body.rb +76 -0
- data/lib/mx_platform_api/models/institutions_response_body.rb +95 -0
- data/lib/mx_platform_api/models/investment_holding_response.rb +513 -0
- data/lib/mx_platform_api/models/investment_holding_response_body.rb +77 -0
- data/lib/mx_platform_api/models/investment_holdings_deactivation.rb +85 -0
- data/lib/mx_platform_api/models/investment_holdings_response_body.rb +95 -0
- data/lib/mx_platform_api/models/iso_country_code.rb +36 -0
- data/lib/mx_platform_api/models/item_type.rb +52 -0
- data/lib/mx_platform_api/models/job_response.rb +203 -0
- data/lib/mx_platform_api/models/job_response_body.rb +74 -0
- data/lib/mx_platform_api/models/managed_account_create_request.rb +422 -0
- data/lib/mx_platform_api/models/managed_account_create_request_body.rb +75 -0
- data/lib/mx_platform_api/models/managed_account_update_request.rb +428 -0
- data/lib/mx_platform_api/models/managed_account_update_request_body.rb +75 -0
- data/lib/mx_platform_api/models/managed_member_create_request.rb +105 -0
- data/lib/mx_platform_api/models/managed_member_create_request_body.rb +75 -0
- data/lib/mx_platform_api/models/managed_member_update_request.rb +95 -0
- data/lib/mx_platform_api/models/managed_member_update_request_body.rb +75 -0
- data/lib/mx_platform_api/models/managed_transaction_create_request.rb +282 -0
- data/lib/mx_platform_api/models/managed_transaction_create_request_body.rb +77 -0
- data/lib/mx_platform_api/models/managed_transaction_update_request.rb +289 -0
- data/lib/mx_platform_api/models/managed_transaction_update_request_body.rb +77 -0
- data/lib/mx_platform_api/models/member_create_request.rb +154 -0
- data/lib/mx_platform_api/models/member_create_request_body.rb +152 -0
- data/lib/mx_platform_api/models/member_elements.rb +96 -0
- data/lib/mx_platform_api/models/member_response.rb +406 -0
- data/lib/mx_platform_api/models/member_response_body.rb +75 -0
- data/lib/mx_platform_api/models/member_response_with_job_error.rb +406 -0
- data/lib/mx_platform_api/models/member_response_with_job_error_body.rb +75 -0
- data/lib/mx_platform_api/models/member_resume_request.rb +85 -0
- data/lib/mx_platform_api/models/member_resume_request_body.rb +75 -0
- data/lib/mx_platform_api/models/member_status_response.rb +236 -0
- data/lib/mx_platform_api/models/member_status_response_body.rb +75 -0
- data/lib/mx_platform_api/models/member_update_request.rb +133 -0
- data/lib/mx_platform_api/models/member_update_request_body.rb +75 -0
- data/lib/mx_platform_api/models/members_response_body.rb +94 -0
- data/lib/mx_platform_api/models/merchant.rb +105 -0
- data/lib/mx_platform_api/models/merchant_location_response.rb +208 -0
- data/lib/mx_platform_api/models/merchant_location_response_body.rb +77 -0
- data/lib/mx_platform_api/models/merchant_response.rb +136 -0
- data/lib/mx_platform_api/models/merchant_response_body.rb +75 -0
- data/lib/mx_platform_api/models/merchants_response_body.rb +95 -0
- data/lib/mx_platform_api/models/micro_deposit.rb +223 -0
- data/lib/mx_platform_api/models/microdeposit_elements.rb +141 -0
- data/lib/mx_platform_api/models/microdeposit_request_body.rb +77 -0
- data/lib/mx_platform_api/models/microdeposit_response.rb +149 -0
- data/lib/mx_platform_api/models/microdeposit_response_body.rb +85 -0
- data/lib/mx_platform_api/models/microdeposit_verify_request.rb +88 -0
- data/lib/mx_platform_api/models/microdeposit_verify_request_body.rb +77 -0
- data/lib/mx_platform_api/models/microdeposits_response_body.rb +95 -0
- data/lib/mx_platform_api/models/monthly_account_balance.rb +123 -0
- data/lib/mx_platform_api/models/monthly_account_balances_response_body.rb +85 -0
- data/lib/mx_platform_api/models/monthly_cash_flow_profile_request.rb +95 -0
- data/lib/mx_platform_api/models/monthly_cash_flow_profile_request_body.rb +81 -0
- data/lib/mx_platform_api/models/monthly_cash_flow_response.rb +157 -0
- data/lib/mx_platform_api/models/monthly_cash_flow_response_body.rb +81 -0
- data/lib/mx_platform_api/models/notification_request.rb +83 -0
- data/lib/mx_platform_api/models/notification_request_body.rb +76 -0
- data/lib/mx_platform_api/models/notification_response.rb +204 -0
- data/lib/mx_platform_api/models/notification_response_body.rb +76 -0
- data/lib/mx_platform_api/models/notifications_response_body.rb +85 -0
- data/lib/mx_platform_api/models/oauth_window_response.rb +91 -0
- data/lib/mx_platform_api/models/oauth_window_response_body.rb +75 -0
- data/lib/mx_platform_api/models/option_response.rb +99 -0
- data/lib/mx_platform_api/models/pagination_response.rb +106 -0
- data/lib/mx_platform_api/models/parent_class.rb +84 -0
- data/lib/mx_platform_api/models/payment_account.rb +183 -0
- data/lib/mx_platform_api/models/payment_account1.rb +213 -0
- data/lib/mx_platform_api/models/payment_account_body.rb +77 -0
- data/lib/mx_platform_api/models/processor_account_number.rb +168 -0
- data/lib/mx_platform_api/models/processor_account_number_body.rb +85 -0
- data/lib/mx_platform_api/models/processor_owner.rb +155 -0
- data/lib/mx_platform_api/models/processor_owner_body.rb +95 -0
- data/lib/mx_platform_api/models/property_type.rb +69 -0
- data/lib/mx_platform_api/models/recurrence_type.rb +26 -0
- data/lib/mx_platform_api/models/repeating_transaction.rb +102 -0
- data/lib/mx_platform_api/models/repeating_transaction_response.rb +203 -0
- data/lib/mx_platform_api/models/repeating_transaction_type.rb +44 -0
- data/lib/mx_platform_api/models/repeating_transactions_response_body.rb +85 -0
- data/lib/mx_platform_api/models/reposition_request.rb +82 -0
- data/lib/mx_platform_api/models/reposition_request_body.rb +84 -0
- data/lib/mx_platform_api/models/reposition_response_body.rb +84 -0
- data/lib/mx_platform_api/models/reward.rb +187 -0
- data/lib/mx_platform_api/models/reward_elements.rb +156 -0
- data/lib/mx_platform_api/models/reward_response_body.rb +75 -0
- data/lib/mx_platform_api/models/rewards_response_body.rb +94 -0
- data/lib/mx_platform_api/models/scheduled_payment_response.rb +208 -0
- data/lib/mx_platform_api/models/scheduled_payments_response_body.rb +95 -0
- data/lib/mx_platform_api/models/spending_plan_account_response.rb +142 -0
- data/lib/mx_platform_api/models/spending_plan_accounts_response.rb +95 -0
- data/lib/mx_platform_api/models/spending_plan_iteration_item_create_request_body.rb +124 -0
- data/lib/mx_platform_api/models/spending_plan_iteration_item_response.rb +224 -0
- data/lib/mx_platform_api/models/spending_plan_iteration_items_response_body.rb +95 -0
- data/lib/mx_platform_api/models/spending_plan_iteration_response.rb +162 -0
- data/lib/mx_platform_api/models/spending_plan_iterations_response.rb +95 -0
- data/lib/mx_platform_api/models/spending_plan_response.rb +129 -0
- data/lib/mx_platform_api/models/spending_plans_response_body.rb +95 -0
- data/lib/mx_platform_api/models/split_transaction_request.rb +106 -0
- data/lib/mx_platform_api/models/split_transaction_request_body.rb +75 -0
- data/lib/mx_platform_api/models/split_transactions_response_body.rb +85 -0
- data/lib/mx_platform_api/models/statement_response.rb +157 -0
- data/lib/mx_platform_api/models/statement_response_body.rb +76 -0
- data/lib/mx_platform_api/models/statements_response_body.rb +95 -0
- data/lib/mx_platform_api/models/status.rb +36 -0
- data/lib/mx_platform_api/models/style.rb +74 -0
- data/lib/mx_platform_api/models/supported_product.rb +56 -0
- data/lib/mx_platform_api/models/supported_product1.rb +52 -0
- data/lib/mx_platform_api/models/tag_create_request.rb +72 -0
- data/lib/mx_platform_api/models/tag_create_request_body.rb +74 -0
- data/lib/mx_platform_api/models/tag_response.rb +99 -0
- data/lib/mx_platform_api/models/tag_response_body.rb +74 -0
- data/lib/mx_platform_api/models/tag_update_request.rb +72 -0
- data/lib/mx_platform_api/models/tag_update_request_body.rb +74 -0
- data/lib/mx_platform_api/models/tagging_create_request.rb +83 -0
- data/lib/mx_platform_api/models/tagging_create_request_body.rb +75 -0
- data/lib/mx_platform_api/models/tagging_response.rb +130 -0
- data/lib/mx_platform_api/models/tagging_response_body.rb +75 -0
- data/lib/mx_platform_api/models/tagging_update_request.rb +73 -0
- data/lib/mx_platform_api/models/tagging_update_request_body.rb +75 -0
- data/lib/mx_platform_api/models/taggings_response_body.rb +94 -0
- data/lib/mx_platform_api/models/tags_response_body.rb +94 -0
- data/lib/mx_platform_api/models/token_request_body.rb +75 -0
- data/lib/mx_platform_api/models/token_response.rb +114 -0
- data/lib/mx_platform_api/models/token_response_body.rb +84 -0
- data/lib/mx_platform_api/models/track_type_name.rb +44 -0
- data/lib/mx_platform_api/models/transaction_create_request.rb +192 -0
- data/lib/mx_platform_api/models/transaction_create_request_body.rb +76 -0
- data/lib/mx_platform_api/models/transaction_create_response_body.rb +595 -0
- data/lib/mx_platform_api/models/transaction_includes_response.rb +643 -0
- data/lib/mx_platform_api/models/transaction_response.rb +597 -0
- data/lib/mx_platform_api/models/transaction_response_body.rb +76 -0
- data/lib/mx_platform_api/models/transaction_rule_create_request.rb +98 -0
- data/lib/mx_platform_api/models/transaction_rule_create_request_body.rb +77 -0
- data/lib/mx_platform_api/models/transaction_rule_response.rb +152 -0
- data/lib/mx_platform_api/models/transaction_rule_response_body.rb +77 -0
- data/lib/mx_platform_api/models/transaction_rule_update_request.rb +103 -0
- data/lib/mx_platform_api/models/transaction_rule_update_request_body.rb +77 -0
- data/lib/mx_platform_api/models/transaction_rules_response_body.rb +95 -0
- data/lib/mx_platform_api/models/transaction_type.rb +36 -0
- data/lib/mx_platform_api/models/transaction_update_request.rb +74 -0
- data/lib/mx_platform_api/models/transaction_update_request_body.rb +76 -0
- data/lib/mx_platform_api/models/transactions_response_body.rb +95 -0
- data/lib/mx_platform_api/models/transactions_response_body_includes.rb +95 -0
- data/lib/mx_platform_api/models/type.rb +36 -0
- data/lib/mx_platform_api/models/update_goal_request.rb +185 -0
- data/lib/mx_platform_api/models/update_goal_request_body.rb +74 -0
- data/lib/mx_platform_api/models/use_case.rb +36 -0
- data/lib/mx_platform_api/models/user_create_request.rb +105 -0
- data/lib/mx_platform_api/models/user_create_request_body.rb +74 -0
- data/lib/mx_platform_api/models/user_response.rb +119 -0
- data/lib/mx_platform_api/models/user_response_body.rb +74 -0
- data/lib/mx_platform_api/models/user_update_request.rb +105 -0
- data/lib/mx_platform_api/models/user_update_request_body.rb +74 -0
- data/lib/mx_platform_api/models/users_response_body.rb +94 -0
- data/lib/mx_platform_api/models/users_widget_urls_request.rb +76 -0
- data/lib/mx_platform_api/models/vc_response.rb +77 -0
- data/lib/mx_platform_api/models/widget_request.rb +466 -0
- data/lib/mx_platform_api/models/widget_response.rb +100 -0
- data/lib/mx_platform_api/models/widget_response_body.rb +76 -0
- data/lib/mx_platform_api/models/widget_type.rb +149 -0
- data/lib/mx_platform_api/utilities/date_time_helper.rb +11 -0
- data/lib/mx_platform_api/utilities/file_wrapper.rb +28 -0
- data/lib/mx_platform_api.rb +313 -0
- metadata +370 -0
|
@@ -0,0 +1,290 @@
|
|
|
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
|
+
# InstitutionResponse Model.
|
|
8
|
+
class InstitutionResponse < BaseModel
|
|
9
|
+
SKIP = Object.new
|
|
10
|
+
private_constant :SKIP
|
|
11
|
+
|
|
12
|
+
# The code identifying a financial institution.
|
|
13
|
+
# @return [String]
|
|
14
|
+
attr_accessor :code
|
|
15
|
+
|
|
16
|
+
# The date and time the institution was created, represented in ISO 8601
|
|
17
|
+
# format with a timestamp.
|
|
18
|
+
# @return [String]
|
|
19
|
+
attr_accessor :created_at
|
|
20
|
+
|
|
21
|
+
# URL for the forgot password page of the institution.
|
|
22
|
+
# @return [String]
|
|
23
|
+
attr_accessor :forgot_password_url
|
|
24
|
+
|
|
25
|
+
# URL for the forgot username page of the institution.
|
|
26
|
+
# @return [String]
|
|
27
|
+
attr_accessor :forgot_username_url
|
|
28
|
+
|
|
29
|
+
# The unique identifier for the institution. Defined by MX.
|
|
30
|
+
# @return [String]
|
|
31
|
+
attr_accessor :guid
|
|
32
|
+
|
|
33
|
+
# Render this text when end users are asked for their credentials, as it
|
|
34
|
+
# helps end users provide the correct credentials when creating a new
|
|
35
|
+
# member. May contain `<a></a>` tags to link to explanatory material.
|
|
36
|
+
# @return [String]
|
|
37
|
+
attr_accessor :instructional_text
|
|
38
|
+
|
|
39
|
+
# An array of instructional steps that may contain html elements.
|
|
40
|
+
# @return [Array[String]]
|
|
41
|
+
attr_accessor :instructional_text_steps
|
|
42
|
+
|
|
43
|
+
# Indicates whether the institution is disabled by the client.
|
|
44
|
+
# @return [TrueClass | FalseClass]
|
|
45
|
+
attr_accessor :is_disabled_by_client
|
|
46
|
+
|
|
47
|
+
# If the institution is available for creating new member connections, this
|
|
48
|
+
# field will be `false`. Otherwise, this field will be `true`.
|
|
49
|
+
# @return [TrueClass | FalseClass]
|
|
50
|
+
attr_accessor :is_hidden
|
|
51
|
+
|
|
52
|
+
# The ISO country code associated with the institution.
|
|
53
|
+
# @return [IsoCountryCode]
|
|
54
|
+
attr_accessor :iso_country_code
|
|
55
|
+
|
|
56
|
+
# The URL for a 100px X 100px logo for each `institution`. A generic logo is
|
|
57
|
+
# returned for institutions that don't have one.
|
|
58
|
+
# @return [String]
|
|
59
|
+
attr_accessor :medium_logo_url
|
|
60
|
+
|
|
61
|
+
# The name of the institution.
|
|
62
|
+
# @return [String]
|
|
63
|
+
attr_accessor :name
|
|
64
|
+
|
|
65
|
+
# The URL for a 50px X 50px logo for each `institution`. A generic logo is
|
|
66
|
+
# returned for institutions that don't have one.
|
|
67
|
+
# @return [String]
|
|
68
|
+
attr_accessor :small_logo_url
|
|
69
|
+
|
|
70
|
+
# The URL for a 50px X 50px logo for each `institution`. A generic logo is
|
|
71
|
+
# returned for institutions that don't have one.
|
|
72
|
+
# @return [Array[SupportedProduct]]
|
|
73
|
+
attr_accessor :supported_products
|
|
74
|
+
|
|
75
|
+
# If true, this indicates that the institution supports OAuth and that you
|
|
76
|
+
# have been properly registered for OAuth with that institution.
|
|
77
|
+
# @return [TrueClass | FalseClass]
|
|
78
|
+
attr_accessor :supports_oauth
|
|
79
|
+
|
|
80
|
+
# This indicates whether the institution supports tax documents.
|
|
81
|
+
# @return [TrueClass | FalseClass]
|
|
82
|
+
attr_accessor :supports_tax_document
|
|
83
|
+
|
|
84
|
+
# The URL of the institution for helping users troubleshoot any other
|
|
85
|
+
# sign-in issue.
|
|
86
|
+
# @return [String]
|
|
87
|
+
attr_accessor :trouble_signing_in_url
|
|
88
|
+
|
|
89
|
+
# The URL for an institution's website.
|
|
90
|
+
# @return [String]
|
|
91
|
+
attr_accessor :url
|
|
92
|
+
|
|
93
|
+
# A mapping from model property names to API property names.
|
|
94
|
+
def self.names
|
|
95
|
+
@_hash = {} if @_hash.nil?
|
|
96
|
+
@_hash['code'] = 'code'
|
|
97
|
+
@_hash['created_at'] = 'created_at'
|
|
98
|
+
@_hash['forgot_password_url'] = 'forgot_password_url'
|
|
99
|
+
@_hash['forgot_username_url'] = 'forgot_username_url'
|
|
100
|
+
@_hash['guid'] = 'guid'
|
|
101
|
+
@_hash['instructional_text'] = 'instructional_text'
|
|
102
|
+
@_hash['instructional_text_steps'] = 'instructional_text_steps'
|
|
103
|
+
@_hash['is_disabled_by_client'] = 'is_disabled_by_client'
|
|
104
|
+
@_hash['is_hidden'] = 'is_hidden'
|
|
105
|
+
@_hash['iso_country_code'] = 'iso_country_code'
|
|
106
|
+
@_hash['medium_logo_url'] = 'medium_logo_url'
|
|
107
|
+
@_hash['name'] = 'name'
|
|
108
|
+
@_hash['small_logo_url'] = 'small_logo_url'
|
|
109
|
+
@_hash['supported_products'] = 'supported_products'
|
|
110
|
+
@_hash['supports_oauth'] = 'supports_oauth'
|
|
111
|
+
@_hash['supports_tax_document'] = 'supports_tax_document'
|
|
112
|
+
@_hash['trouble_signing_in_url'] = 'trouble_signing_in_url'
|
|
113
|
+
@_hash['url'] = 'url'
|
|
114
|
+
@_hash
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
# An array for optional fields
|
|
118
|
+
def self.optionals
|
|
119
|
+
%w[
|
|
120
|
+
code
|
|
121
|
+
created_at
|
|
122
|
+
forgot_password_url
|
|
123
|
+
forgot_username_url
|
|
124
|
+
guid
|
|
125
|
+
instructional_text
|
|
126
|
+
instructional_text_steps
|
|
127
|
+
is_disabled_by_client
|
|
128
|
+
is_hidden
|
|
129
|
+
iso_country_code
|
|
130
|
+
medium_logo_url
|
|
131
|
+
name
|
|
132
|
+
small_logo_url
|
|
133
|
+
supported_products
|
|
134
|
+
supports_oauth
|
|
135
|
+
supports_tax_document
|
|
136
|
+
trouble_signing_in_url
|
|
137
|
+
url
|
|
138
|
+
]
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
# An array for nullable fields
|
|
142
|
+
def self.nullables
|
|
143
|
+
%w[
|
|
144
|
+
code
|
|
145
|
+
forgot_password_url
|
|
146
|
+
forgot_username_url
|
|
147
|
+
instructional_text
|
|
148
|
+
instructional_text_steps
|
|
149
|
+
is_disabled_by_client
|
|
150
|
+
medium_logo_url
|
|
151
|
+
name
|
|
152
|
+
small_logo_url
|
|
153
|
+
supports_oauth
|
|
154
|
+
supports_tax_document
|
|
155
|
+
trouble_signing_in_url
|
|
156
|
+
url
|
|
157
|
+
]
|
|
158
|
+
end
|
|
159
|
+
|
|
160
|
+
def initialize(code: SKIP, created_at: SKIP, forgot_password_url: SKIP,
|
|
161
|
+
forgot_username_url: SKIP, guid: SKIP,
|
|
162
|
+
instructional_text: SKIP, instructional_text_steps: SKIP,
|
|
163
|
+
is_disabled_by_client: SKIP, is_hidden: SKIP,
|
|
164
|
+
iso_country_code: SKIP, medium_logo_url: SKIP, name: SKIP,
|
|
165
|
+
small_logo_url: SKIP, supported_products: SKIP,
|
|
166
|
+
supports_oauth: SKIP, supports_tax_document: SKIP,
|
|
167
|
+
trouble_signing_in_url: SKIP, url: SKIP,
|
|
168
|
+
additional_properties: nil)
|
|
169
|
+
# Add additional model properties to the instance
|
|
170
|
+
additional_properties = {} if additional_properties.nil?
|
|
171
|
+
|
|
172
|
+
@code = code unless code == SKIP
|
|
173
|
+
@created_at = created_at unless created_at == SKIP
|
|
174
|
+
@forgot_password_url = forgot_password_url unless forgot_password_url == SKIP
|
|
175
|
+
@forgot_username_url = forgot_username_url unless forgot_username_url == SKIP
|
|
176
|
+
@guid = guid unless guid == SKIP
|
|
177
|
+
@instructional_text = instructional_text unless instructional_text == SKIP
|
|
178
|
+
@instructional_text_steps = instructional_text_steps unless instructional_text_steps == SKIP
|
|
179
|
+
@is_disabled_by_client = is_disabled_by_client unless is_disabled_by_client == SKIP
|
|
180
|
+
@is_hidden = is_hidden unless is_hidden == SKIP
|
|
181
|
+
@iso_country_code = iso_country_code unless iso_country_code == SKIP
|
|
182
|
+
@medium_logo_url = medium_logo_url unless medium_logo_url == SKIP
|
|
183
|
+
@name = name unless name == SKIP
|
|
184
|
+
@small_logo_url = small_logo_url unless small_logo_url == SKIP
|
|
185
|
+
@supported_products = supported_products unless supported_products == SKIP
|
|
186
|
+
@supports_oauth = supports_oauth unless supports_oauth == SKIP
|
|
187
|
+
@supports_tax_document = supports_tax_document unless supports_tax_document == SKIP
|
|
188
|
+
@trouble_signing_in_url = trouble_signing_in_url unless trouble_signing_in_url == SKIP
|
|
189
|
+
@url = url unless url == SKIP
|
|
190
|
+
@additional_properties = additional_properties
|
|
191
|
+
end
|
|
192
|
+
|
|
193
|
+
# Creates an instance of the object from a hash.
|
|
194
|
+
def self.from_hash(hash)
|
|
195
|
+
return nil unless hash
|
|
196
|
+
|
|
197
|
+
# Extract variables from the hash.
|
|
198
|
+
code = hash.key?('code') ? hash['code'] : SKIP
|
|
199
|
+
created_at = hash.key?('created_at') ? hash['created_at'] : SKIP
|
|
200
|
+
forgot_password_url =
|
|
201
|
+
hash.key?('forgot_password_url') ? hash['forgot_password_url'] : SKIP
|
|
202
|
+
forgot_username_url =
|
|
203
|
+
hash.key?('forgot_username_url') ? hash['forgot_username_url'] : SKIP
|
|
204
|
+
guid = hash.key?('guid') ? hash['guid'] : SKIP
|
|
205
|
+
instructional_text =
|
|
206
|
+
hash.key?('instructional_text') ? hash['instructional_text'] : SKIP
|
|
207
|
+
instructional_text_steps =
|
|
208
|
+
hash.key?('instructional_text_steps') ? hash['instructional_text_steps'] : SKIP
|
|
209
|
+
is_disabled_by_client =
|
|
210
|
+
hash.key?('is_disabled_by_client') ? hash['is_disabled_by_client'] : SKIP
|
|
211
|
+
is_hidden = hash.key?('is_hidden') ? hash['is_hidden'] : SKIP
|
|
212
|
+
iso_country_code =
|
|
213
|
+
hash.key?('iso_country_code') ? hash['iso_country_code'] : SKIP
|
|
214
|
+
medium_logo_url =
|
|
215
|
+
hash.key?('medium_logo_url') ? hash['medium_logo_url'] : SKIP
|
|
216
|
+
name = hash.key?('name') ? hash['name'] : SKIP
|
|
217
|
+
small_logo_url =
|
|
218
|
+
hash.key?('small_logo_url') ? hash['small_logo_url'] : SKIP
|
|
219
|
+
supported_products =
|
|
220
|
+
hash.key?('supported_products') ? hash['supported_products'] : SKIP
|
|
221
|
+
supports_oauth =
|
|
222
|
+
hash.key?('supports_oauth') ? hash['supports_oauth'] : SKIP
|
|
223
|
+
supports_tax_document =
|
|
224
|
+
hash.key?('supports_tax_document') ? hash['supports_tax_document'] : SKIP
|
|
225
|
+
trouble_signing_in_url =
|
|
226
|
+
hash.key?('trouble_signing_in_url') ? hash['trouble_signing_in_url'] : SKIP
|
|
227
|
+
url = hash.key?('url') ? hash['url'] : SKIP
|
|
228
|
+
|
|
229
|
+
# Create a new hash for additional properties, removing known properties.
|
|
230
|
+
new_hash = hash.reject { |k, _| names.value?(k) }
|
|
231
|
+
|
|
232
|
+
additional_properties = APIHelper.get_additional_properties(
|
|
233
|
+
new_hash, proc { |value| value }
|
|
234
|
+
)
|
|
235
|
+
|
|
236
|
+
# Create object from extracted values.
|
|
237
|
+
InstitutionResponse.new(code: code,
|
|
238
|
+
created_at: created_at,
|
|
239
|
+
forgot_password_url: forgot_password_url,
|
|
240
|
+
forgot_username_url: forgot_username_url,
|
|
241
|
+
guid: guid,
|
|
242
|
+
instructional_text: instructional_text,
|
|
243
|
+
instructional_text_steps: instructional_text_steps,
|
|
244
|
+
is_disabled_by_client: is_disabled_by_client,
|
|
245
|
+
is_hidden: is_hidden,
|
|
246
|
+
iso_country_code: iso_country_code,
|
|
247
|
+
medium_logo_url: medium_logo_url,
|
|
248
|
+
name: name,
|
|
249
|
+
small_logo_url: small_logo_url,
|
|
250
|
+
supported_products: supported_products,
|
|
251
|
+
supports_oauth: supports_oauth,
|
|
252
|
+
supports_tax_document: supports_tax_document,
|
|
253
|
+
trouble_signing_in_url: trouble_signing_in_url,
|
|
254
|
+
url: url,
|
|
255
|
+
additional_properties: additional_properties)
|
|
256
|
+
end
|
|
257
|
+
|
|
258
|
+
# Provides a human-readable string representation of the object.
|
|
259
|
+
def to_s
|
|
260
|
+
class_name = self.class.name.split('::').last
|
|
261
|
+
"<#{class_name} code: #{@code}, created_at: #{@created_at}, forgot_password_url:"\
|
|
262
|
+
" #{@forgot_password_url}, forgot_username_url: #{@forgot_username_url}, guid: #{@guid},"\
|
|
263
|
+
" instructional_text: #{@instructional_text}, instructional_text_steps:"\
|
|
264
|
+
" #{@instructional_text_steps}, is_disabled_by_client: #{@is_disabled_by_client}, is_hidden:"\
|
|
265
|
+
" #{@is_hidden}, iso_country_code: #{@iso_country_code}, medium_logo_url:"\
|
|
266
|
+
" #{@medium_logo_url}, name: #{@name}, small_logo_url: #{@small_logo_url},"\
|
|
267
|
+
" supported_products: #{@supported_products}, supports_oauth: #{@supports_oauth},"\
|
|
268
|
+
" supports_tax_document: #{@supports_tax_document}, trouble_signing_in_url:"\
|
|
269
|
+
" #{@trouble_signing_in_url}, url: #{@url}, additional_properties:"\
|
|
270
|
+
" #{@additional_properties}>"
|
|
271
|
+
end
|
|
272
|
+
|
|
273
|
+
# Provides a debugging-friendly string with detailed object information.
|
|
274
|
+
def inspect
|
|
275
|
+
class_name = self.class.name.split('::').last
|
|
276
|
+
"<#{class_name} code: #{@code.inspect}, created_at: #{@created_at.inspect},"\
|
|
277
|
+
" forgot_password_url: #{@forgot_password_url.inspect}, forgot_username_url:"\
|
|
278
|
+
" #{@forgot_username_url.inspect}, guid: #{@guid.inspect}, instructional_text:"\
|
|
279
|
+
" #{@instructional_text.inspect}, instructional_text_steps:"\
|
|
280
|
+
" #{@instructional_text_steps.inspect}, is_disabled_by_client:"\
|
|
281
|
+
" #{@is_disabled_by_client.inspect}, is_hidden: #{@is_hidden.inspect}, iso_country_code:"\
|
|
282
|
+
" #{@iso_country_code.inspect}, medium_logo_url: #{@medium_logo_url.inspect}, name:"\
|
|
283
|
+
" #{@name.inspect}, small_logo_url: #{@small_logo_url.inspect}, supported_products:"\
|
|
284
|
+
" #{@supported_products.inspect}, supports_oauth: #{@supports_oauth.inspect},"\
|
|
285
|
+
" supports_tax_document: #{@supports_tax_document.inspect}, trouble_signing_in_url:"\
|
|
286
|
+
" #{@trouble_signing_in_url.inspect}, url: #{@url.inspect}, additional_properties:"\
|
|
287
|
+
" #{@additional_properties}>"
|
|
288
|
+
end
|
|
289
|
+
end
|
|
290
|
+
end
|
|
@@ -0,0 +1,76 @@
|
|
|
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
|
+
# InstitutionResponseBody Model.
|
|
8
|
+
class InstitutionResponseBody < BaseModel
|
|
9
|
+
SKIP = Object.new
|
|
10
|
+
private_constant :SKIP
|
|
11
|
+
|
|
12
|
+
# TODO: Write general description for this method
|
|
13
|
+
# @return [InstitutionResponse]
|
|
14
|
+
attr_accessor :institution
|
|
15
|
+
|
|
16
|
+
# A mapping from model property names to API property names.
|
|
17
|
+
def self.names
|
|
18
|
+
@_hash = {} if @_hash.nil?
|
|
19
|
+
@_hash['institution'] = 'institution'
|
|
20
|
+
@_hash
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
# An array for optional fields
|
|
24
|
+
def self.optionals
|
|
25
|
+
%w[
|
|
26
|
+
institution
|
|
27
|
+
]
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
# An array for nullable fields
|
|
31
|
+
def self.nullables
|
|
32
|
+
[]
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
def initialize(institution: SKIP, additional_properties: nil)
|
|
36
|
+
# Add additional model properties to the instance
|
|
37
|
+
additional_properties = {} if additional_properties.nil?
|
|
38
|
+
|
|
39
|
+
@institution = institution unless institution == 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
|
+
institution = InstitutionResponse.from_hash(hash['institution']) if hash['institution']
|
|
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
|
+
InstitutionResponseBody.new(institution: institution,
|
|
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} institution: #{@institution}, additional_properties:"\
|
|
66
|
+
" #{@additional_properties}>"
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
# Provides a debugging-friendly string with detailed object information.
|
|
70
|
+
def inspect
|
|
71
|
+
class_name = self.class.name.split('::').last
|
|
72
|
+
"<#{class_name} institution: #{@institution.inspect}, additional_properties:"\
|
|
73
|
+
" #{@additional_properties}>"
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
end
|
|
@@ -0,0 +1,95 @@
|
|
|
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
|
+
# InstitutionsResponseBody Model.
|
|
8
|
+
class InstitutionsResponseBody < BaseModel
|
|
9
|
+
SKIP = Object.new
|
|
10
|
+
private_constant :SKIP
|
|
11
|
+
|
|
12
|
+
# TODO: Write general description for this method
|
|
13
|
+
# @return [Array[InstitutionResponse]]
|
|
14
|
+
attr_accessor :institutions
|
|
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['institutions'] = 'institutions'
|
|
24
|
+
@_hash['pagination'] = 'pagination'
|
|
25
|
+
@_hash
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
# An array for optional fields
|
|
29
|
+
def self.optionals
|
|
30
|
+
%w[
|
|
31
|
+
institutions
|
|
32
|
+
pagination
|
|
33
|
+
]
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
# An array for nullable fields
|
|
37
|
+
def self.nullables
|
|
38
|
+
[]
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
def initialize(institutions: SKIP, pagination: SKIP,
|
|
42
|
+
additional_properties: nil)
|
|
43
|
+
# Add additional model properties to the instance
|
|
44
|
+
additional_properties = {} if additional_properties.nil?
|
|
45
|
+
|
|
46
|
+
@institutions = institutions unless institutions == SKIP
|
|
47
|
+
@pagination = pagination unless pagination == SKIP
|
|
48
|
+
@additional_properties = additional_properties
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
# Creates an instance of the object from a hash.
|
|
52
|
+
def self.from_hash(hash)
|
|
53
|
+
return nil unless hash
|
|
54
|
+
|
|
55
|
+
# Extract variables from the hash.
|
|
56
|
+
# Parameter is an array, so we need to iterate through it
|
|
57
|
+
institutions = nil
|
|
58
|
+
unless hash['institutions'].nil?
|
|
59
|
+
institutions = []
|
|
60
|
+
hash['institutions'].each do |structure|
|
|
61
|
+
institutions << (InstitutionResponse.from_hash(structure) if structure)
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
institutions = SKIP unless hash.key?('institutions')
|
|
66
|
+
pagination = PaginationResponse.from_hash(hash['pagination']) if hash['pagination']
|
|
67
|
+
|
|
68
|
+
# Create a new hash for additional properties, removing known properties.
|
|
69
|
+
new_hash = hash.reject { |k, _| names.value?(k) }
|
|
70
|
+
|
|
71
|
+
additional_properties = APIHelper.get_additional_properties(
|
|
72
|
+
new_hash, proc { |value| value }
|
|
73
|
+
)
|
|
74
|
+
|
|
75
|
+
# Create object from extracted values.
|
|
76
|
+
InstitutionsResponseBody.new(institutions: institutions,
|
|
77
|
+
pagination: pagination,
|
|
78
|
+
additional_properties: additional_properties)
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
# Provides a human-readable string representation of the object.
|
|
82
|
+
def to_s
|
|
83
|
+
class_name = self.class.name.split('::').last
|
|
84
|
+
"<#{class_name} institutions: #{@institutions}, pagination: #{@pagination},"\
|
|
85
|
+
" additional_properties: #{@additional_properties}>"
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
# Provides a debugging-friendly string with detailed object information.
|
|
89
|
+
def inspect
|
|
90
|
+
class_name = self.class.name.split('::').last
|
|
91
|
+
"<#{class_name} institutions: #{@institutions.inspect}, pagination: #{@pagination.inspect},"\
|
|
92
|
+
" additional_properties: #{@additional_properties}>"
|
|
93
|
+
end
|
|
94
|
+
end
|
|
95
|
+
end
|