mx-platform-ruby 1.10.0 → 1.10.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 +4 -4
- data/Gemfile.lock +1 -1
- data/docs/ACHResponse.md +74 -0
- data/docs/ACHReturnCreateRequest.md +48 -0
- data/docs/ACHReturnCreateRequestBody.md +18 -0
- data/docs/ACHReturnResponseBody.md +18 -0
- data/docs/{HoldingsResponseBody.md → ACHReturnsResponseBody.md} +4 -4
- data/docs/AccountCreateRequest.md +9 -9
- data/docs/AccountNumberResponse.md +3 -3
- data/docs/AccountResponse.md +37 -37
- data/docs/AccountUpdateRequest.md +30 -30
- data/docs/AccountsApi.md +780 -0
- data/docs/AchReturnApi.md +234 -0
- data/docs/AuthorizationCodeResponseBody.md +1 -1
- data/docs/BudgetResponse.md +1 -1
- data/docs/BudgetsApi.md +115 -115
- data/docs/CategoriesApi.md +600 -0
- data/docs/CategoryCreateRequest.md +1 -1
- data/docs/CategoryResponse.md +1 -1
- data/docs/ConnectWidgetRequest.md +5 -3
- data/docs/CreditCardProduct.md +1 -1
- data/docs/GoalResponse.md +1 -1
- data/docs/GoalsApi.md +117 -113
- data/docs/GoalsResponse.md +1 -1
- data/docs/ImageOptionResponse.md +0 -2
- data/docs/InsightResponse.md +3 -1
- data/docs/InsightResponseBody.md +1 -1
- data/docs/InsightUpdateRequestBody.md +18 -0
- data/docs/InsightsApi.md +170 -91
- data/docs/InstitutionResponse.md +15 -7
- data/docs/InstitutionsApi.md +319 -0
- data/docs/InvestmentHoldingResponse.md +90 -0
- data/docs/InvestmentHoldingResponseBody.md +18 -0
- data/docs/InvestmentHoldingsApi.md +386 -0
- data/docs/InvestmentHoldingsDeactivation.md +20 -0
- data/docs/InvestmentHoldingsResponseBody.md +20 -0
- data/docs/ManagedAccountCreateRequest.md +15 -15
- data/docs/ManagedAccountUpdateRequest.md +14 -14
- data/docs/ManagedDataApi.md +1228 -0
- data/docs/ManagedTransactionCreateRequest.md +1 -1
- data/docs/MemberCreateRequest.md +5 -3
- data/docs/MemberCreateRequestBody.md +3 -3
- data/docs/MemberElements.md +22 -0
- data/docs/MemberResponse.md +1 -3
- data/docs/MemberStatusResponse.md +2 -2
- data/docs/MemberUpdateRequest.md +4 -2
- data/docs/MembersApi.md +997 -0
- data/docs/MerchantsApi.md +226 -0
- data/docs/{MicrodepositRequest.md → MicrodepositElements.md} +7 -7
- data/docs/MicrodepositRequestBody.md +1 -1
- data/docs/MicrodepositResponse.md +0 -14
- data/docs/MicrodepositResponseBody.md +1 -1
- data/docs/MicrodepositResponseBodyMicroDepositInner.md +44 -0
- data/docs/MicrodepositVerifyRequest.md +4 -4
- data/docs/MicrodepositsApi.md +153 -82
- data/docs/MonthlyCashFlowProfileApi.md +151 -0
- data/docs/MonthlyCashFlowResponse.md +3 -3
- data/docs/NotificationResponse.md +36 -0
- data/docs/NotificationResponseBody.md +18 -0
- data/docs/NotificationsApi.md +236 -0
- data/docs/NotificationsResponseBody.md +18 -0
- data/docs/OptionResponse.md +0 -2
- data/docs/PaymentAccount.md +34 -0
- data/docs/PaymentAccountBody.md +18 -0
- data/docs/PaymentAccountBodyPaymentAccount.md +40 -0
- data/docs/PaymentProcessorAuthorizationCodeRequest.md +3 -3
- data/docs/ProcessorAccountNumber.md +34 -0
- data/docs/ProcessorAccountNumberBody.md +18 -0
- data/docs/ProcessorAccountNumberBodyAccountNumbersInner.md +40 -0
- data/docs/ProcessorOwner.md +34 -0
- data/docs/ProcessorOwnerBody.md +20 -0
- data/docs/ProcessorOwnerBodyAccountOwnersInner.md +40 -0
- data/docs/ProcessorTokenApi.md +490 -0
- data/docs/RepeatingTransactionResponse.md +40 -0
- data/docs/RepeatingTransactionsResponseBody.md +18 -0
- data/docs/{RewardsResponse.md → RewardElements.md} +3 -9
- data/docs/RewardResponseBody.md +1 -1
- data/docs/RewardsApi.md +299 -0
- data/docs/RewardsResponseBody.md +1 -1
- data/docs/{RewardResponse.md → RewardsResponseBodyRewardsInner.md} +8 -8
- data/docs/ScheduledPaymentsResponseBody.md +3 -3
- data/docs/SpendingPlanApi.md +142 -63
- data/docs/SpendingPlanIterationItemResponse.md +5 -5
- data/docs/StatementsApi.md +309 -0
- data/docs/StatementsResponseBody.md +3 -3
- data/docs/TaggingsApi.md +377 -0
- data/docs/TaggingsResponseBody.md +3 -3
- data/docs/TagsApi.md +379 -0
- data/docs/TagsResponseBody.md +3 -3
- data/docs/TokenRequestBody.md +18 -0
- data/docs/TokenResponse.md +24 -0
- data/docs/TokenResponseBody.md +18 -0
- data/docs/TransactionIncludesResponse.md +112 -0
- data/docs/TransactionIncludesResponseAllOfClassification.md +20 -0
- data/docs/TransactionIncludesResponseAllOfGeolocation.md +24 -0
- data/docs/TransactionIncludesResponseAllOfMerchant.md +24 -0
- data/docs/TransactionIncludesResponseAllOfRepeatingTransaction.md +22 -0
- data/docs/TransactionResponse.md +38 -36
- data/docs/TransactionRulesApi.md +305 -0
- data/docs/TransactionRulesResponseBody.md +3 -3
- data/docs/TransactionUpdateRequest.md +7 -1
- data/docs/TransactionsApi.md +1232 -14
- data/docs/TransactionsResponseBody.md +3 -3
- data/docs/TransactionsResponseBodyIncludes.md +20 -0
- data/docs/UsersApi.md +375 -0
- data/docs/UsersResponseBody.md +3 -3
- data/docs/VCResponse.md +18 -0
- data/docs/VerifiableCredentialsApi.md +232 -0
- data/docs/WidgetRequest.md +31 -23
- data/docs/WidgetsApi.md +244 -0
- data/lib/mx-platform-ruby/api/accounts_api.rb +781 -0
- data/lib/mx-platform-ruby/api/ach_return_api.rb +231 -0
- data/lib/mx-platform-ruby/api/budgets_api.rb +131 -131
- data/lib/mx-platform-ruby/api/categories_api.rb +576 -0
- data/lib/mx-platform-ruby/api/goals_api.rb +148 -134
- data/lib/mx-platform-ruby/api/insights_api.rb +162 -87
- data/lib/mx-platform-ruby/api/institutions_api.rb +301 -0
- data/lib/mx-platform-ruby/api/investment_holdings_api.rb +373 -0
- data/lib/mx-platform-ruby/api/managed_data_api.rb +1265 -0
- data/lib/mx-platform-ruby/api/members_api.rb +977 -0
- data/lib/mx-platform-ruby/api/merchants_api.rb +214 -0
- data/lib/mx-platform-ruby/api/microdeposits_api.rb +159 -96
- data/lib/mx-platform-ruby/api/monthly_cash_flow_profile_api.rb +159 -0
- data/lib/mx-platform-ruby/api/notifications_api.rb +243 -0
- data/lib/mx-platform-ruby/api/processor_token_api.rb +450 -0
- data/lib/mx-platform-ruby/api/rewards_api.rb +298 -0
- data/lib/mx-platform-ruby/api/spending_plan_api.rb +139 -64
- data/lib/mx-platform-ruby/api/statements_api.rb +316 -0
- data/lib/mx-platform-ruby/api/taggings_api.rb +381 -0
- data/lib/mx-platform-ruby/api/tags_api.rb +388 -0
- data/lib/mx-platform-ruby/api/transaction_rules_api.rb +314 -0
- data/lib/mx-platform-ruby/api/transactions_api.rb +1237 -15
- data/lib/mx-platform-ruby/api/users_api.rb +367 -0
- data/lib/mx-platform-ruby/api/verifiable_credentials_api.rb +235 -0
- data/lib/mx-platform-ruby/api/widgets_api.rb +260 -0
- data/lib/mx-platform-ruby/api_client.rb +2 -2
- data/lib/mx-platform-ruby/api_error.rb +2 -2
- data/lib/mx-platform-ruby/configuration.rb +12 -5
- data/lib/mx-platform-ruby/models/account_create_request.rb +2 -2
- data/lib/mx-platform-ruby/models/account_create_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/account_number_response.rb +13 -13
- data/lib/mx-platform-ruby/models/account_numbers_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/account_owner_response.rb +2 -2
- data/lib/mx-platform-ruby/models/account_owners_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/account_response.rb +2 -2
- data/lib/mx-platform-ruby/models/account_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/account_update_request.rb +23 -2
- data/lib/mx-platform-ruby/models/account_update_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/accounts_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/ach_response.rb +485 -0
- data/lib/mx-platform-ruby/models/ach_return_create_request.rb +400 -0
- data/lib/mx-platform-ruby/models/ach_return_create_request_body.rb +214 -0
- data/lib/mx-platform-ruby/models/ach_return_response_body.rb +214 -0
- data/lib/mx-platform-ruby/models/{holdings_response_body.rb → ach_returns_response_body.rb} +13 -13
- data/lib/mx-platform-ruby/models/authorization_code_request.rb +2 -2
- data/lib/mx-platform-ruby/models/authorization_code_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/authorization_code_response.rb +2 -2
- data/lib/mx-platform-ruby/models/authorization_code_response_body.rb +4 -6
- data/lib/mx-platform-ruby/models/budget_create_request.rb +2 -2
- data/lib/mx-platform-ruby/models/budget_create_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/budget_response.rb +2 -2
- data/lib/mx-platform-ruby/models/budget_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/budget_update_request.rb +2 -2
- data/lib/mx-platform-ruby/models/budget_update_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/categories_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/category_create_request.rb +9 -2
- data/lib/mx-platform-ruby/models/category_create_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/category_response.rb +3 -2
- data/lib/mx-platform-ruby/models/category_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/category_update_request.rb +2 -2
- data/lib/mx-platform-ruby/models/category_update_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/challenge_response.rb +2 -2
- data/lib/mx-platform-ruby/models/challenges_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/connect_widget_request.rb +13 -3
- data/lib/mx-platform-ruby/models/connect_widget_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/connect_widget_response.rb +2 -2
- data/lib/mx-platform-ruby/models/connect_widget_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/credential_request.rb +2 -2
- data/lib/mx-platform-ruby/models/credential_response.rb +2 -2
- data/lib/mx-platform-ruby/models/credentials_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/credit_card_product.rb +4 -2
- data/lib/mx-platform-ruby/models/credit_card_product_response.rb +2 -2
- data/lib/mx-platform-ruby/models/enhance_transaction_response.rb +2 -2
- data/lib/mx-platform-ruby/models/enhance_transactions_request.rb +2 -2
- data/lib/mx-platform-ruby/models/enhance_transactions_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/enhance_transactions_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/goal_request.rb +2 -2
- data/lib/mx-platform-ruby/models/goal_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/goal_response.rb +2 -2
- data/lib/mx-platform-ruby/models/goal_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/goals_response.rb +2 -2
- data/lib/mx-platform-ruby/models/goals_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/image_option_response.rb +3 -13
- data/lib/mx-platform-ruby/models/insight_response.rb +13 -3
- data/lib/mx-platform-ruby/models/insight_response_body.rb +4 -6
- data/lib/mx-platform-ruby/models/insight_update_request.rb +2 -2
- data/lib/mx-platform-ruby/models/{tax_document_response_body.rb → insight_update_request_body.rb} +12 -12
- data/lib/mx-platform-ruby/models/insights_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/institution_response.rb +35 -3
- data/lib/mx-platform-ruby/models/institution_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/institutions_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/investment_holding_response.rb +575 -0
- data/lib/mx-platform-ruby/models/investment_holding_response_body.rb +214 -0
- data/lib/mx-platform-ruby/models/investment_holdings_deactivation.rb +225 -0
- data/lib/mx-platform-ruby/models/investment_holdings_response_body.rb +225 -0
- data/lib/mx-platform-ruby/models/managed_account_create_request.rb +9 -2
- data/lib/mx-platform-ruby/models/managed_account_create_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/managed_account_update_request.rb +2 -2
- data/lib/mx-platform-ruby/models/managed_account_update_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/managed_member_create_request.rb +2 -2
- data/lib/mx-platform-ruby/models/managed_member_create_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/managed_member_update_request.rb +2 -2
- data/lib/mx-platform-ruby/models/managed_member_update_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/managed_transaction_create_request.rb +9 -2
- data/lib/mx-platform-ruby/models/managed_transaction_create_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/managed_transaction_update_request.rb +2 -2
- data/lib/mx-platform-ruby/models/managed_transaction_update_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/member_create_request.rb +40 -6
- data/lib/mx-platform-ruby/models/member_create_request_body.rb +3 -2
- data/lib/mx-platform-ruby/models/member_elements.rb +232 -0
- data/lib/mx-platform-ruby/models/member_response.rb +3 -13
- data/lib/mx-platform-ruby/models/member_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/member_resume_request.rb +2 -2
- data/lib/mx-platform-ruby/models/member_resume_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/member_status_response.rb +13 -13
- data/lib/mx-platform-ruby/models/member_status_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/member_update_request.rb +40 -6
- data/lib/mx-platform-ruby/models/member_update_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/members_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/merchant_location_response.rb +2 -2
- data/lib/mx-platform-ruby/models/merchant_location_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/merchant_response.rb +2 -2
- data/lib/mx-platform-ruby/models/merchant_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/merchants_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/{microdeposit_request.rb → microdeposit_elements.rb} +29 -29
- data/lib/mx-platform-ruby/models/microdeposit_request_body.rb +3 -3
- data/lib/mx-platform-ruby/models/microdeposit_response.rb +5 -66
- data/lib/mx-platform-ruby/models/microdeposit_response_body.rb +6 -4
- data/lib/mx-platform-ruby/models/microdeposit_response_body_micro_deposit_inner.rb +362 -0
- data/lib/mx-platform-ruby/models/microdeposit_verify_request.rb +4 -4
- data/lib/mx-platform-ruby/models/microdeposit_verify_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/microdeposits_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/monthly_cash_flow_profile_request.rb +2 -2
- data/lib/mx-platform-ruby/models/monthly_cash_flow_profile_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/monthly_cash_flow_response.rb +4 -3
- data/lib/mx-platform-ruby/models/monthly_cash_flow_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/notification_response.rb +305 -0
- data/lib/mx-platform-ruby/models/{tax_documents_response_body.rb → notification_response_body.rb} +12 -23
- data/lib/mx-platform-ruby/models/notifications_response_body.rb +216 -0
- data/lib/mx-platform-ruby/models/o_auth_window_response.rb +2 -2
- data/lib/mx-platform-ruby/models/o_auth_window_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/option_response.rb +3 -13
- data/lib/mx-platform-ruby/models/pagination_response.rb +2 -2
- data/lib/mx-platform-ruby/models/{tax_document_response.rb → payment_account.rb} +66 -76
- data/lib/mx-platform-ruby/models/payment_account_body.rb +214 -0
- data/lib/mx-platform-ruby/models/payment_account_body_payment_account.rb +330 -0
- data/lib/mx-platform-ruby/models/payment_processor_authorization_code_request.rb +23 -5
- data/lib/mx-platform-ruby/models/payment_processor_authorization_code_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/payment_processor_authorization_code_response.rb +2 -2
- data/lib/mx-platform-ruby/models/payment_processor_authorization_code_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/processor_account_number.rb +292 -0
- data/lib/mx-platform-ruby/models/processor_account_number_body.rb +216 -0
- data/lib/mx-platform-ruby/models/processor_account_number_body_account_numbers_inner.rb +327 -0
- data/lib/mx-platform-ruby/models/processor_owner.rb +295 -0
- data/lib/mx-platform-ruby/models/processor_owner_body.rb +225 -0
- data/lib/mx-platform-ruby/models/processor_owner_body_account_owners_inner.rb +330 -0
- data/lib/mx-platform-ruby/models/{holding_response.rb → repeating_transaction_response.rb} +100 -135
- data/lib/mx-platform-ruby/models/repeating_transactions_response_body.rb +216 -0
- data/lib/mx-platform-ruby/models/reposition_request.rb +2 -2
- data/lib/mx-platform-ruby/models/reposition_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/reposition_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/{rewards_response.rb → reward_elements.rb} +9 -36
- data/lib/mx-platform-ruby/models/reward_response_body.rb +3 -3
- data/lib/mx-platform-ruby/models/rewards_response_body.rb +3 -3
- data/lib/mx-platform-ruby/models/{reward_response.rb → rewards_response_body_rewards_inner.rb} +35 -27
- data/lib/mx-platform-ruby/models/scheduled_payment_response.rb +2 -2
- data/lib/mx-platform-ruby/models/scheduled_payments_response_body.rb +15 -15
- data/lib/mx-platform-ruby/models/spending_plan_account_response.rb +2 -2
- data/lib/mx-platform-ruby/models/spending_plan_accounts_response.rb +2 -2
- data/lib/mx-platform-ruby/models/spending_plan_iteration_item_create_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/spending_plan_iteration_item_response.rb +2 -2
- data/lib/mx-platform-ruby/models/spending_plan_iteration_items_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/spending_plan_iteration_response.rb +2 -2
- data/lib/mx-platform-ruby/models/spending_plan_iterations_response.rb +2 -2
- data/lib/mx-platform-ruby/models/spending_plan_response.rb +2 -2
- data/lib/mx-platform-ruby/models/spending_plans_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/split_transaction_request.rb +2 -2
- data/lib/mx-platform-ruby/models/split_transaction_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/split_transactions_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/statement_response.rb +2 -2
- data/lib/mx-platform-ruby/models/statement_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/statements_response_body.rb +15 -15
- data/lib/mx-platform-ruby/models/tag_create_request.rb +2 -2
- data/lib/mx-platform-ruby/models/tag_create_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/tag_response.rb +2 -2
- data/lib/mx-platform-ruby/models/tag_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/tag_update_request.rb +2 -2
- data/lib/mx-platform-ruby/models/tag_update_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/tagging_create_request.rb +2 -2
- data/lib/mx-platform-ruby/models/tagging_create_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/tagging_response.rb +2 -2
- data/lib/mx-platform-ruby/models/tagging_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/tagging_update_request.rb +2 -2
- data/lib/mx-platform-ruby/models/tagging_update_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/taggings_response_body.rb +15 -15
- data/lib/mx-platform-ruby/models/tags_response_body.rb +15 -15
- data/lib/mx-platform-ruby/models/{holding_response_body.rb → token_request_body.rb} +12 -12
- data/lib/mx-platform-ruby/models/token_response.rb +241 -0
- data/lib/mx-platform-ruby/models/token_response_body.rb +216 -0
- data/lib/mx-platform-ruby/models/transaction_create_request.rb +2 -2
- data/lib/mx-platform-ruby/models/transaction_create_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/transaction_create_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/transaction_includes_response.rb +692 -0
- data/lib/mx-platform-ruby/models/transaction_includes_response_all_of_classification.rb +257 -0
- data/lib/mx-platform-ruby/models/transaction_includes_response_all_of_geolocation.rb +241 -0
- data/lib/mx-platform-ruby/models/transaction_includes_response_all_of_merchant.rb +241 -0
- data/lib/mx-platform-ruby/models/transaction_includes_response_all_of_repeating_transaction.rb +278 -0
- data/lib/mx-platform-ruby/models/transaction_response.rb +13 -3
- data/lib/mx-platform-ruby/models/transaction_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/transaction_rule_create_request.rb +2 -2
- data/lib/mx-platform-ruby/models/transaction_rule_create_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/transaction_rule_response.rb +2 -2
- data/lib/mx-platform-ruby/models/transaction_rule_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/transaction_rule_update_request.rb +2 -2
- data/lib/mx-platform-ruby/models/transaction_rule_update_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/transaction_rules_response_body.rb +15 -15
- data/lib/mx-platform-ruby/models/transaction_update_request.rb +30 -10
- data/lib/mx-platform-ruby/models/transaction_update_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/transactions_response_body.rb +15 -15
- data/lib/mx-platform-ruby/models/transactions_response_body_includes.rb +225 -0
- data/lib/mx-platform-ruby/models/update_goal_request.rb +2 -2
- data/lib/mx-platform-ruby/models/update_goal_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/user_create_request.rb +2 -2
- data/lib/mx-platform-ruby/models/user_create_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/user_response.rb +2 -2
- data/lib/mx-platform-ruby/models/user_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/user_update_request.rb +2 -2
- data/lib/mx-platform-ruby/models/user_update_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/users_response_body.rb +15 -15
- data/lib/mx-platform-ruby/models/vc_response.rb +214 -0
- data/lib/mx-platform-ruby/models/widget_request.rb +89 -3
- data/lib/mx-platform-ruby/models/widget_request_body.rb +2 -2
- data/lib/mx-platform-ruby/models/widget_response.rb +2 -2
- data/lib/mx-platform-ruby/models/widget_response_body.rb +2 -2
- data/lib/mx-platform-ruby/version.rb +3 -3
- data/lib/mx-platform-ruby.rb +60 -12
- data/mx-platform-ruby.gemspec +2 -2
- data/openapi/config.yml +1 -1
- data/spec/api/accounts_api_spec.rb +182 -0
- data/spec/api/ach_return_api_spec.rb +77 -0
- data/spec/api/budgets_api_spec.rb +38 -38
- data/spec/api/categories_api_spec.rb +141 -0
- data/spec/api/goals_api_spec.rb +42 -40
- data/spec/api/insights_api_spec.rb +53 -38
- data/spec/api/institutions_api_spec.rb +94 -0
- data/spec/api/investment_holdings_api_spec.rb +104 -0
- data/spec/api/managed_data_api_spec.rb +267 -0
- data/spec/api/members_api_spec.rb +218 -0
- data/spec/api/merchants_api_spec.rb +73 -0
- data/spec/api/microdeposits_api_spec.rb +40 -28
- data/spec/api/monthly_cash_flow_profile_api_spec.rb +60 -0
- data/spec/api/notifications_api_spec.rb +78 -0
- data/spec/api/processor_token_api_spec.rb +115 -0
- data/spec/api/rewards_api_spec.rb +87 -0
- data/spec/api/spending_plan_api_spec.rb +48 -33
- data/spec/api/statements_api_spec.rb +91 -0
- data/spec/api/taggings_api_spec.rb +102 -0
- data/spec/api/tags_api_spec.rb +103 -0
- data/spec/api/transaction_rules_api_spec.rb +89 -0
- data/spec/api/transactions_api_spec.rb +258 -6
- data/spec/api/users_api_spec.rb +101 -0
- data/spec/api/verifiable_credentials_api_spec.rb +76 -0
- data/spec/api/widgets_api_spec.rb +81 -0
- data/spec/models/account_create_request_body_spec.rb +2 -2
- data/spec/models/account_create_request_spec.rb +2 -2
- data/spec/models/account_number_response_spec.rb +5 -5
- data/spec/models/account_numbers_response_body_spec.rb +2 -2
- data/spec/models/account_owner_response_spec.rb +2 -2
- data/spec/models/account_owners_response_body_spec.rb +2 -2
- data/spec/models/account_response_body_spec.rb +2 -2
- data/spec/models/account_response_spec.rb +2 -2
- data/spec/models/account_update_request_body_spec.rb +2 -2
- data/spec/models/account_update_request_spec.rb +2 -2
- data/spec/models/accounts_response_body_spec.rb +2 -2
- data/spec/models/ach_response_spec.rb +204 -0
- data/spec/models/ach_return_create_request_body_spec.rb +36 -0
- data/spec/models/{holding_response_spec.rb → ach_return_create_request_spec.rb} +22 -40
- data/spec/models/ach_return_response_body_spec.rb +36 -0
- data/spec/models/{tax_documents_response_body_spec.rb → ach_returns_response_body_spec.rb} +10 -10
- data/spec/models/authorization_code_request_body_spec.rb +2 -2
- data/spec/models/authorization_code_request_spec.rb +2 -2
- data/spec/models/authorization_code_response_body_spec.rb +2 -2
- data/spec/models/authorization_code_response_spec.rb +2 -2
- data/spec/models/budget_create_request_body_spec.rb +2 -2
- data/spec/models/budget_create_request_spec.rb +2 -2
- data/spec/models/budget_response_body_spec.rb +2 -2
- data/spec/models/budget_response_spec.rb +2 -2
- data/spec/models/budget_update_request_body_spec.rb +2 -2
- data/spec/models/budget_update_request_spec.rb +2 -2
- data/spec/models/categories_response_body_spec.rb +2 -2
- data/spec/models/category_create_request_body_spec.rb +2 -2
- data/spec/models/category_create_request_spec.rb +2 -2
- data/spec/models/category_response_body_spec.rb +2 -2
- data/spec/models/category_response_spec.rb +2 -2
- data/spec/models/category_update_request_body_spec.rb +2 -2
- data/spec/models/category_update_request_spec.rb +2 -2
- data/spec/models/challenge_response_spec.rb +2 -2
- data/spec/models/challenges_response_body_spec.rb +2 -2
- data/spec/models/connect_widget_request_body_spec.rb +2 -2
- data/spec/models/connect_widget_request_spec.rb +8 -2
- data/spec/models/connect_widget_response_body_spec.rb +2 -2
- data/spec/models/connect_widget_response_spec.rb +2 -2
- data/spec/models/credential_request_spec.rb +2 -2
- data/spec/models/credential_response_spec.rb +2 -2
- data/spec/models/credentials_response_body_spec.rb +2 -2
- data/spec/models/credit_card_product_response_spec.rb +2 -2
- data/spec/models/credit_card_product_spec.rb +2 -2
- data/spec/models/enhance_transaction_response_spec.rb +2 -2
- data/spec/models/enhance_transactions_request_body_spec.rb +2 -2
- data/spec/models/enhance_transactions_request_spec.rb +2 -2
- data/spec/models/enhance_transactions_response_body_spec.rb +2 -2
- data/spec/models/goal_request_body_spec.rb +2 -2
- data/spec/models/goal_request_spec.rb +2 -2
- data/spec/models/goal_response_body_spec.rb +2 -2
- data/spec/models/goal_response_spec.rb +2 -2
- data/spec/models/goals_response_body_spec.rb +2 -2
- data/spec/models/goals_response_spec.rb +2 -2
- data/spec/models/image_option_response_spec.rb +2 -8
- data/spec/models/insight_response_body_spec.rb +2 -2
- data/spec/models/insight_response_spec.rb +8 -2
- data/spec/models/insight_update_request_body_spec.rb +36 -0
- data/spec/models/insight_update_request_spec.rb +2 -2
- data/spec/models/insights_response_body_spec.rb +2 -2
- data/spec/models/institution_response_body_spec.rb +2 -2
- data/spec/models/institution_response_spec.rb +20 -2
- data/spec/models/institutions_response_body_spec.rb +2 -2
- data/spec/models/investment_holding_response_body_spec.rb +36 -0
- data/spec/models/investment_holding_response_spec.rb +252 -0
- data/spec/models/investment_holdings_deactivation_spec.rb +42 -0
- data/spec/models/investment_holdings_response_body_spec.rb +42 -0
- data/spec/models/managed_account_create_request_body_spec.rb +2 -2
- data/spec/models/managed_account_create_request_spec.rb +2 -2
- data/spec/models/managed_account_update_request_body_spec.rb +2 -2
- data/spec/models/managed_account_update_request_spec.rb +2 -2
- data/spec/models/managed_member_create_request_body_spec.rb +2 -2
- data/spec/models/managed_member_create_request_spec.rb +2 -2
- data/spec/models/managed_member_update_request_body_spec.rb +2 -2
- data/spec/models/managed_member_update_request_spec.rb +2 -2
- data/spec/models/managed_transaction_create_request_body_spec.rb +2 -2
- data/spec/models/managed_transaction_create_request_spec.rb +2 -2
- data/spec/models/managed_transaction_update_request_body_spec.rb +2 -2
- data/spec/models/managed_transaction_update_request_spec.rb +2 -2
- data/spec/models/member_create_request_body_spec.rb +2 -2
- data/spec/models/member_create_request_spec.rb +12 -2
- data/spec/models/member_elements_spec.rb +48 -0
- data/spec/models/member_response_body_spec.rb +2 -2
- data/spec/models/member_response_spec.rb +2 -8
- data/spec/models/member_resume_request_body_spec.rb +2 -2
- data/spec/models/member_resume_request_spec.rb +2 -2
- data/spec/models/member_status_response_body_spec.rb +2 -2
- data/spec/models/member_status_response_spec.rb +4 -4
- data/spec/models/member_update_request_body_spec.rb +2 -2
- data/spec/models/member_update_request_spec.rb +12 -2
- data/spec/models/members_response_body_spec.rb +2 -2
- data/spec/models/merchant_location_response_body_spec.rb +2 -2
- data/spec/models/merchant_location_response_spec.rb +2 -2
- data/spec/models/merchant_response_body_spec.rb +2 -2
- data/spec/models/merchant_response_spec.rb +2 -2
- data/spec/models/merchants_response_body_spec.rb +2 -2
- data/spec/models/{microdeposit_request_spec.rb → microdeposit_elements_spec.rb} +15 -15
- data/spec/models/microdeposit_request_body_spec.rb +2 -2
- data/spec/models/microdeposit_response_body_micro_deposit_inner_spec.rb +114 -0
- data/spec/models/microdeposit_response_body_spec.rb +2 -2
- data/spec/models/microdeposit_response_spec.rb +2 -44
- data/spec/models/microdeposit_verify_request_body_spec.rb +2 -2
- data/spec/models/microdeposit_verify_request_spec.rb +2 -2
- data/spec/models/microdeposits_response_body_spec.rb +2 -2
- data/spec/models/monthly_cash_flow_profile_request_body_spec.rb +2 -2
- data/spec/models/monthly_cash_flow_profile_request_spec.rb +2 -2
- data/spec/models/monthly_cash_flow_response_body_spec.rb +2 -2
- data/spec/models/monthly_cash_flow_response_spec.rb +2 -2
- data/spec/models/notification_response_body_spec.rb +36 -0
- data/spec/models/{tax_document_response_spec.rb → notification_response_spec.rb} +18 -18
- data/spec/models/notifications_response_body_spec.rb +36 -0
- data/spec/models/o_auth_window_response_body_spec.rb +2 -2
- data/spec/models/o_auth_window_response_spec.rb +2 -2
- data/spec/models/option_response_spec.rb +2 -8
- data/spec/models/pagination_response_spec.rb +2 -2
- data/spec/models/{reward_response_spec.rb → payment_account_body_payment_account_spec.rb} +24 -18
- data/spec/models/payment_account_body_spec.rb +36 -0
- data/spec/models/payment_account_spec.rb +84 -0
- data/spec/models/payment_processor_authorization_code_request_body_spec.rb +2 -2
- data/spec/models/payment_processor_authorization_code_request_spec.rb +2 -2
- data/spec/models/payment_processor_authorization_code_response_body_spec.rb +2 -2
- data/spec/models/payment_processor_authorization_code_response_spec.rb +2 -2
- data/spec/models/processor_account_number_body_account_numbers_inner_spec.rb +102 -0
- data/spec/models/processor_account_number_body_spec.rb +36 -0
- data/spec/models/processor_account_number_spec.rb +84 -0
- data/spec/models/processor_owner_body_account_owners_inner_spec.rb +102 -0
- data/spec/models/{holdings_response_body_spec.rb → processor_owner_body_spec.rb} +9 -9
- data/spec/models/processor_owner_spec.rb +84 -0
- data/spec/models/repeating_transaction_response_spec.rb +110 -0
- data/spec/models/repeating_transactions_response_body_spec.rb +36 -0
- data/spec/models/reposition_request_body_spec.rb +2 -2
- data/spec/models/reposition_request_spec.rb +2 -2
- data/spec/models/reposition_response_body_spec.rb +2 -2
- data/spec/models/reward_elements_spec.rb +78 -0
- data/spec/models/reward_response_body_spec.rb +2 -2
- data/spec/models/{rewards_response_spec.rb → rewards_response_body_rewards_inner_spec.rb} +18 -18
- data/spec/models/rewards_response_body_spec.rb +2 -2
- data/spec/models/scheduled_payment_response_spec.rb +2 -2
- data/spec/models/scheduled_payments_response_body_spec.rb +4 -4
- data/spec/models/spending_plan_account_response_spec.rb +2 -2
- data/spec/models/spending_plan_accounts_response_spec.rb +2 -2
- data/spec/models/spending_plan_iteration_item_create_request_body_spec.rb +2 -2
- data/spec/models/spending_plan_iteration_item_response_spec.rb +2 -2
- data/spec/models/spending_plan_iteration_items_response_body_spec.rb +2 -2
- data/spec/models/spending_plan_iteration_response_spec.rb +2 -2
- data/spec/models/spending_plan_iterations_response_spec.rb +2 -2
- data/spec/models/spending_plan_response_spec.rb +2 -2
- data/spec/models/spending_plans_response_body_spec.rb +2 -2
- data/spec/models/split_transaction_request_body_spec.rb +2 -2
- data/spec/models/split_transaction_request_spec.rb +2 -2
- data/spec/models/split_transactions_response_body_spec.rb +2 -2
- data/spec/models/statement_response_body_spec.rb +2 -2
- data/spec/models/statement_response_spec.rb +2 -2
- data/spec/models/statements_response_body_spec.rb +4 -4
- data/spec/models/tag_create_request_body_spec.rb +2 -2
- data/spec/models/tag_create_request_spec.rb +2 -2
- data/spec/models/tag_response_body_spec.rb +2 -2
- data/spec/models/tag_response_spec.rb +2 -2
- data/spec/models/tag_update_request_body_spec.rb +2 -2
- data/spec/models/tag_update_request_spec.rb +2 -2
- data/spec/models/tagging_create_request_body_spec.rb +2 -2
- data/spec/models/tagging_create_request_spec.rb +2 -2
- data/spec/models/tagging_response_body_spec.rb +2 -2
- data/spec/models/tagging_response_spec.rb +2 -2
- data/spec/models/tagging_update_request_body_spec.rb +2 -2
- data/spec/models/tagging_update_request_spec.rb +2 -2
- data/spec/models/taggings_response_body_spec.rb +4 -4
- data/spec/models/tags_response_body_spec.rb +4 -4
- data/spec/models/{tax_document_response_body_spec.rb → token_request_body_spec.rb} +9 -9
- data/spec/models/token_response_body_spec.rb +36 -0
- data/spec/models/token_response_spec.rb +54 -0
- data/spec/models/transaction_create_request_body_spec.rb +2 -2
- data/spec/models/transaction_create_request_spec.rb +2 -2
- data/spec/models/transaction_create_response_body_spec.rb +2 -2
- data/spec/models/transaction_includes_response_all_of_classification_spec.rb +46 -0
- data/spec/models/transaction_includes_response_all_of_geolocation_spec.rb +54 -0
- data/spec/models/transaction_includes_response_all_of_merchant_spec.rb +54 -0
- data/spec/models/transaction_includes_response_all_of_repeating_transaction_spec.rb +56 -0
- data/spec/models/transaction_includes_response_spec.rb +318 -0
- data/spec/models/transaction_response_body_spec.rb +2 -2
- data/spec/models/transaction_response_spec.rb +8 -2
- data/spec/models/transaction_rule_create_request_body_spec.rb +2 -2
- data/spec/models/transaction_rule_create_request_spec.rb +2 -2
- data/spec/models/transaction_rule_response_body_spec.rb +2 -2
- data/spec/models/transaction_rule_response_spec.rb +2 -2
- data/spec/models/transaction_rule_update_request_body_spec.rb +2 -2
- data/spec/models/transaction_rule_update_request_spec.rb +2 -2
- data/spec/models/transaction_rules_response_body_spec.rb +4 -4
- data/spec/models/transaction_update_request_body_spec.rb +2 -2
- data/spec/models/transaction_update_request_spec.rb +20 -2
- data/spec/models/transactions_response_body_includes_spec.rb +42 -0
- data/spec/models/transactions_response_body_spec.rb +4 -4
- data/spec/models/update_goal_request_body_spec.rb +2 -2
- data/spec/models/update_goal_request_spec.rb +2 -2
- data/spec/models/user_create_request_body_spec.rb +2 -2
- data/spec/models/user_create_request_spec.rb +2 -2
- data/spec/models/user_response_body_spec.rb +2 -2
- data/spec/models/user_response_spec.rb +2 -2
- data/spec/models/user_update_request_body_spec.rb +2 -2
- data/spec/models/user_update_request_spec.rb +2 -2
- data/spec/models/users_response_body_spec.rb +4 -4
- data/spec/models/{holding_response_body_spec.rb → vc_response_spec.rb} +9 -9
- data/spec/models/widget_request_body_spec.rb +2 -2
- data/spec/models/widget_request_spec.rb +30 -2
- data/spec/models/widget_response_body_spec.rb +2 -2
- data/spec/models/widget_response_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- metadata +233 -41
- data/docs/HoldingResponse.md +0 -54
- data/docs/HoldingResponseBody.md +0 -18
- data/docs/MxPlatformApi.md +0 -8065
- data/docs/TaxDocumentResponse.md +0 -36
- data/docs/TaxDocumentResponseBody.md +0 -18
- data/docs/TaxDocumentsResponseBody.md +0 -20
- data/lib/mx-platform-ruby/api/mx_platform_api.rb +0 -7795
- data/spec/api/mx_platform_api_spec.rb +0 -1519
data/docs/InsightsApi.md
CHANGED
|
@@ -1,25 +1,26 @@
|
|
|
1
1
|
# MxPlatformRuby::InsightsApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *https://api.mx.com*
|
|
3
|
+
All URIs are relative to *https://int-api.mx.com*
|
|
4
4
|
|
|
5
5
|
| Method | HTTP request | Description |
|
|
6
6
|
| ------ | ------------ | ----------- |
|
|
7
|
-
| [**list_accounts_insight**](InsightsApi.md#list_accounts_insight) | **GET** /users/{user_guid}/insights/{insight_guid}/accounts | List all accounts associated with an insight
|
|
8
|
-
| [**list_categories_insight**](InsightsApi.md#list_categories_insight) | **GET** /users/{user_guid}/insights/{insight_guid}/categories | List all categories associated with an insight
|
|
7
|
+
| [**list_accounts_insight**](InsightsApi.md#list_accounts_insight) | **GET** /users/{user_guid}/insights/{insight_guid}/accounts | List all accounts associated with an insight |
|
|
8
|
+
| [**list_categories_insight**](InsightsApi.md#list_categories_insight) | **GET** /users/{user_guid}/insights/{insight_guid}/categories | List all categories associated with an insight |
|
|
9
9
|
| [**list_insights_by_account**](InsightsApi.md#list_insights_by_account) | **GET** /users/{user_guid}/accounts/{account_guid}/insights | List insights by account |
|
|
10
|
-
| [**
|
|
11
|
-
| [**
|
|
10
|
+
| [**list_insights_by_transaction**](InsightsApi.md#list_insights_by_transaction) | **GET** /users/{user_guid}/transactions/{transaction_guid}/insights | List insights by transaction |
|
|
11
|
+
| [**list_insights_user**](InsightsApi.md#list_insights_user) | **GET** /users/{user_guid}/insights | List all insights for a user |
|
|
12
|
+
| [**list_merchants_insight**](InsightsApi.md#list_merchants_insight) | **GET** /users/{user_guid}/insights/{insight_guid}/merchants | List all merchants associated with an insight |
|
|
12
13
|
| [**list_scheduled_payments_insight**](InsightsApi.md#list_scheduled_payments_insight) | **GET** /users/{user_guid}/insights/{insight_guid}/scheduled_payments | List all scheduled payments associated with an insight |
|
|
13
|
-
| [**list_transactions_insight**](InsightsApi.md#list_transactions_insight) | **GET** /users/{user_guid}/insights/{insight_guid}/transactions | List all transactions associated with an insight
|
|
14
|
-
| [**
|
|
15
|
-
| [**update_insight**](InsightsApi.md#update_insight) | **PUT** /users/{user_guid}/insights{insight_guid} | Update insight |
|
|
14
|
+
| [**list_transactions_insight**](InsightsApi.md#list_transactions_insight) | **GET** /users/{user_guid}/insights/{insight_guid}/transactions | List all transactions associated with an insight |
|
|
15
|
+
| [**read_insight_user**](InsightsApi.md#read_insight_user) | **GET** /users/{user_guid}/insights/{insight_guid} | Read insight |
|
|
16
|
+
| [**update_insight**](InsightsApi.md#update_insight) | **PUT** /users/{user_guid}/insights/{insight_guid} | Update insight |
|
|
16
17
|
|
|
17
18
|
|
|
18
19
|
## list_accounts_insight
|
|
19
20
|
|
|
20
21
|
> <AccountsResponseBody> list_accounts_insight(user_guid, insight_guid, opts)
|
|
21
22
|
|
|
22
|
-
List all accounts associated with an insight
|
|
23
|
+
List all accounts associated with an insight
|
|
23
24
|
|
|
24
25
|
Use this endpoint to list all the accounts associated with the insight.
|
|
25
26
|
|
|
@@ -36,15 +37,15 @@ MxPlatformRuby.configure do |config|
|
|
|
36
37
|
end
|
|
37
38
|
|
|
38
39
|
api_instance = MxPlatformRuby::InsightsApi.new
|
|
39
|
-
user_guid = 'USR-
|
|
40
|
+
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique identifier for a `user`, beginning with the prefix `USR-`.
|
|
40
41
|
insight_guid = 'BET-1234-abcd' # String | The unique identifier for the insight. Defined by MX.
|
|
41
42
|
opts = {
|
|
42
|
-
page: 1, # Integer | Specify current page.
|
|
43
|
-
records_per_page: 10 # Integer |
|
|
43
|
+
page: 1, # Integer | Results are paginated. Specify current page.
|
|
44
|
+
records_per_page: 10 # Integer | This specifies the number of records to be returned on each page. Defaults to `25`. The valid range is from `10` to `100`. If the value exceeds `100`, the default value of `25` will be used instead.
|
|
44
45
|
}
|
|
45
46
|
|
|
46
47
|
begin
|
|
47
|
-
# List all accounts associated with an insight
|
|
48
|
+
# List all accounts associated with an insight
|
|
48
49
|
result = api_instance.list_accounts_insight(user_guid, insight_guid, opts)
|
|
49
50
|
p result
|
|
50
51
|
rescue MxPlatformRuby::ApiError => e
|
|
@@ -60,7 +61,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
|
60
61
|
|
|
61
62
|
```ruby
|
|
62
63
|
begin
|
|
63
|
-
# List all accounts associated with an insight
|
|
64
|
+
# List all accounts associated with an insight
|
|
64
65
|
data, status_code, headers = api_instance.list_accounts_insight_with_http_info(user_guid, insight_guid, opts)
|
|
65
66
|
p status_code # => 2xx
|
|
66
67
|
p headers # => { ... }
|
|
@@ -74,10 +75,10 @@ end
|
|
|
74
75
|
|
|
75
76
|
| Name | Type | Description | Notes |
|
|
76
77
|
| ---- | ---- | ----------- | ----- |
|
|
77
|
-
| **user_guid** | **String** | The unique identifier for
|
|
78
|
+
| **user_guid** | **String** | The unique identifier for a `user`, beginning with the prefix `USR-`. | |
|
|
78
79
|
| **insight_guid** | **String** | The unique identifier for the insight. Defined by MX. | |
|
|
79
|
-
| **page** | **Integer** | Specify current page. | [optional] |
|
|
80
|
-
| **records_per_page** | **Integer** |
|
|
80
|
+
| **page** | **Integer** | Results are paginated. Specify current page. | [optional] |
|
|
81
|
+
| **records_per_page** | **Integer** | This specifies the number of records to be returned on each page. Defaults to `25`. The valid range is from `10` to `100`. If the value exceeds `100`, the default value of `25` will be used instead. | [optional] |
|
|
81
82
|
|
|
82
83
|
### Return type
|
|
83
84
|
|
|
@@ -97,7 +98,7 @@ end
|
|
|
97
98
|
|
|
98
99
|
> <CategoriesResponseBody> list_categories_insight(user_guid, insight_guid, opts)
|
|
99
100
|
|
|
100
|
-
List all categories associated with an insight
|
|
101
|
+
List all categories associated with an insight
|
|
101
102
|
|
|
102
103
|
Use this endpoint to list all the categories associated with the insight.
|
|
103
104
|
|
|
@@ -114,15 +115,15 @@ MxPlatformRuby.configure do |config|
|
|
|
114
115
|
end
|
|
115
116
|
|
|
116
117
|
api_instance = MxPlatformRuby::InsightsApi.new
|
|
117
|
-
user_guid = 'USR-
|
|
118
|
+
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique identifier for a `user`, beginning with the prefix `USR-`.
|
|
118
119
|
insight_guid = 'BET-1234-abcd' # String | The unique identifier for the insight. Defined by MX.
|
|
119
120
|
opts = {
|
|
120
|
-
page: 1, # Integer | Specify current page.
|
|
121
|
-
records_per_page: 10 # Integer |
|
|
121
|
+
page: 1, # Integer | Results are paginated. Specify current page.
|
|
122
|
+
records_per_page: 10 # Integer | This specifies the number of records to be returned on each page. Defaults to `25`. The valid range is from `10` to `100`. If the value exceeds `100`, the default value of `25` will be used instead.
|
|
122
123
|
}
|
|
123
124
|
|
|
124
125
|
begin
|
|
125
|
-
# List all categories associated with an insight
|
|
126
|
+
# List all categories associated with an insight
|
|
126
127
|
result = api_instance.list_categories_insight(user_guid, insight_guid, opts)
|
|
127
128
|
p result
|
|
128
129
|
rescue MxPlatformRuby::ApiError => e
|
|
@@ -138,7 +139,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
|
138
139
|
|
|
139
140
|
```ruby
|
|
140
141
|
begin
|
|
141
|
-
# List all categories associated with an insight
|
|
142
|
+
# List all categories associated with an insight
|
|
142
143
|
data, status_code, headers = api_instance.list_categories_insight_with_http_info(user_guid, insight_guid, opts)
|
|
143
144
|
p status_code # => 2xx
|
|
144
145
|
p headers # => { ... }
|
|
@@ -152,10 +153,10 @@ end
|
|
|
152
153
|
|
|
153
154
|
| Name | Type | Description | Notes |
|
|
154
155
|
| ---- | ---- | ----------- | ----- |
|
|
155
|
-
| **user_guid** | **String** | The unique identifier for
|
|
156
|
+
| **user_guid** | **String** | The unique identifier for a `user`, beginning with the prefix `USR-`. | |
|
|
156
157
|
| **insight_guid** | **String** | The unique identifier for the insight. Defined by MX. | |
|
|
157
|
-
| **page** | **Integer** | Specify current page. | [optional] |
|
|
158
|
-
| **records_per_page** | **Integer** |
|
|
158
|
+
| **page** | **Integer** | Results are paginated. Specify current page. | [optional] |
|
|
159
|
+
| **records_per_page** | **Integer** | This specifies the number of records to be returned on each page. Defaults to `25`. The valid range is from `10` to `100`. If the value exceeds `100`, the default value of `25` will be used instead. | [optional] |
|
|
159
160
|
|
|
160
161
|
### Return type
|
|
161
162
|
|
|
@@ -177,7 +178,7 @@ end
|
|
|
177
178
|
|
|
178
179
|
List insights by account
|
|
179
180
|
|
|
180
|
-
Use this endpoint to list all insights associated with
|
|
181
|
+
Use this endpoint to list all insights associated with an account GUID.
|
|
181
182
|
|
|
182
183
|
### Examples
|
|
183
184
|
|
|
@@ -192,11 +193,11 @@ MxPlatformRuby.configure do |config|
|
|
|
192
193
|
end
|
|
193
194
|
|
|
194
195
|
api_instance = MxPlatformRuby::InsightsApi.new
|
|
195
|
-
account_guid = 'ACT-
|
|
196
|
-
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique
|
|
196
|
+
account_guid = 'ACT-06d7f44b-caae-0f6e-1384-01f52e75dcb1' # String | The unique id for an `account`.
|
|
197
|
+
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique identifier for a `user`, beginning with the prefix `USR-`.
|
|
197
198
|
opts = {
|
|
198
|
-
page: 1, # Integer | Specify current page.
|
|
199
|
-
records_per_page: 10 # Integer |
|
|
199
|
+
page: 1, # Integer | Results are paginated. Specify current page.
|
|
200
|
+
records_per_page: 10 # Integer | This specifies the number of records to be returned on each page. Defaults to `25`. The valid range is from `10` to `100`. If the value exceeds `100`, the default value of `25` will be used instead.
|
|
200
201
|
}
|
|
201
202
|
|
|
202
203
|
begin
|
|
@@ -230,10 +231,88 @@ end
|
|
|
230
231
|
|
|
231
232
|
| Name | Type | Description | Notes |
|
|
232
233
|
| ---- | ---- | ----------- | ----- |
|
|
233
|
-
| **account_guid** | **String** | The unique id for
|
|
234
|
-
| **user_guid** | **String** | The unique
|
|
235
|
-
| **page** | **Integer** | Specify current page. | [optional] |
|
|
236
|
-
| **records_per_page** | **Integer** |
|
|
234
|
+
| **account_guid** | **String** | The unique id for an `account`. | |
|
|
235
|
+
| **user_guid** | **String** | The unique identifier for a `user`, beginning with the prefix `USR-`. | |
|
|
236
|
+
| **page** | **Integer** | Results are paginated. Specify current page. | [optional] |
|
|
237
|
+
| **records_per_page** | **Integer** | This specifies the number of records to be returned on each page. Defaults to `25`. The valid range is from `10` to `100`. If the value exceeds `100`, the default value of `25` will be used instead. | [optional] |
|
|
238
|
+
|
|
239
|
+
### Return type
|
|
240
|
+
|
|
241
|
+
[**InsightsResponseBody**](InsightsResponseBody.md)
|
|
242
|
+
|
|
243
|
+
### Authorization
|
|
244
|
+
|
|
245
|
+
[basicAuth](../README.md#basicAuth)
|
|
246
|
+
|
|
247
|
+
### HTTP request headers
|
|
248
|
+
|
|
249
|
+
- **Content-Type**: Not defined
|
|
250
|
+
- **Accept**: application/vnd.mx.api.v1+json
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
## list_insights_by_transaction
|
|
254
|
+
|
|
255
|
+
> <InsightsResponseBody> list_insights_by_transaction(transaction_guid, user_guid, opts)
|
|
256
|
+
|
|
257
|
+
List insights by transaction
|
|
258
|
+
|
|
259
|
+
Use this endpoint to list all insights associated with a transaction GUID.
|
|
260
|
+
|
|
261
|
+
### Examples
|
|
262
|
+
|
|
263
|
+
```ruby
|
|
264
|
+
require 'time'
|
|
265
|
+
require 'mx-platform-ruby'
|
|
266
|
+
# setup authorization
|
|
267
|
+
MxPlatformRuby.configure do |config|
|
|
268
|
+
# Configure HTTP basic authorization: basicAuth
|
|
269
|
+
config.username = 'YOUR USERNAME'
|
|
270
|
+
config.password = 'YOUR PASSWORD'
|
|
271
|
+
end
|
|
272
|
+
|
|
273
|
+
api_instance = MxPlatformRuby::InsightsApi.new
|
|
274
|
+
transaction_guid = 'TRN-810828b0-5210-4878-9bd3-f4ce514f90c4' # String | The unique id for a `transaction`.
|
|
275
|
+
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique identifier for a `user`, beginning with the prefix `USR-`.
|
|
276
|
+
opts = {
|
|
277
|
+
page: 1, # Integer | Results are paginated. Specify current page.
|
|
278
|
+
records_per_page: 10 # Integer | This specifies the number of records to be returned on each page. Defaults to `25`. The valid range is from `10` to `100`. If the value exceeds `100`, the default value of `25` will be used instead.
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
begin
|
|
282
|
+
# List insights by transaction
|
|
283
|
+
result = api_instance.list_insights_by_transaction(transaction_guid, user_guid, opts)
|
|
284
|
+
p result
|
|
285
|
+
rescue MxPlatformRuby::ApiError => e
|
|
286
|
+
puts "Error when calling InsightsApi->list_insights_by_transaction: #{e}"
|
|
287
|
+
end
|
|
288
|
+
```
|
|
289
|
+
|
|
290
|
+
#### Using the list_insights_by_transaction_with_http_info variant
|
|
291
|
+
|
|
292
|
+
This returns an Array which contains the response data, status code and headers.
|
|
293
|
+
|
|
294
|
+
> <Array(<InsightsResponseBody>, Integer, Hash)> list_insights_by_transaction_with_http_info(transaction_guid, user_guid, opts)
|
|
295
|
+
|
|
296
|
+
```ruby
|
|
297
|
+
begin
|
|
298
|
+
# List insights by transaction
|
|
299
|
+
data, status_code, headers = api_instance.list_insights_by_transaction_with_http_info(transaction_guid, user_guid, opts)
|
|
300
|
+
p status_code # => 2xx
|
|
301
|
+
p headers # => { ... }
|
|
302
|
+
p data # => <InsightsResponseBody>
|
|
303
|
+
rescue MxPlatformRuby::ApiError => e
|
|
304
|
+
puts "Error when calling InsightsApi->list_insights_by_transaction_with_http_info: #{e}"
|
|
305
|
+
end
|
|
306
|
+
```
|
|
307
|
+
|
|
308
|
+
### Parameters
|
|
309
|
+
|
|
310
|
+
| Name | Type | Description | Notes |
|
|
311
|
+
| ---- | ---- | ----------- | ----- |
|
|
312
|
+
| **transaction_guid** | **String** | The unique id for a `transaction`. | |
|
|
313
|
+
| **user_guid** | **String** | The unique identifier for a `user`, beginning with the prefix `USR-`. | |
|
|
314
|
+
| **page** | **Integer** | Results are paginated. Specify current page. | [optional] |
|
|
315
|
+
| **records_per_page** | **Integer** | This specifies the number of records to be returned on each page. Defaults to `25`. The valid range is from `10` to `100`. If the value exceeds `100`, the default value of `25` will be used instead. | [optional] |
|
|
237
316
|
|
|
238
317
|
### Return type
|
|
239
318
|
|
|
@@ -253,7 +332,7 @@ end
|
|
|
253
332
|
|
|
254
333
|
> <InsightsResponseBody> list_insights_user(user_guid, opts)
|
|
255
334
|
|
|
256
|
-
List all insights for a user
|
|
335
|
+
List all insights for a user
|
|
257
336
|
|
|
258
337
|
Use this endpoint to list all the insights associated with the user.
|
|
259
338
|
|
|
@@ -270,14 +349,14 @@ MxPlatformRuby.configure do |config|
|
|
|
270
349
|
end
|
|
271
350
|
|
|
272
351
|
api_instance = MxPlatformRuby::InsightsApi.new
|
|
273
|
-
user_guid = 'USR-
|
|
352
|
+
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique identifier for a `user`, beginning with the prefix `USR-`.
|
|
274
353
|
opts = {
|
|
275
|
-
page: 1, # Integer | Specify current page.
|
|
276
|
-
records_per_page: 10 # Integer |
|
|
354
|
+
page: 1, # Integer | Results are paginated. Specify current page.
|
|
355
|
+
records_per_page: 10 # Integer | This specifies the number of records to be returned on each page. Defaults to `25`. The valid range is from `10` to `100`. If the value exceeds `100`, the default value of `25` will be used instead.
|
|
277
356
|
}
|
|
278
357
|
|
|
279
358
|
begin
|
|
280
|
-
# List all insights for a user
|
|
359
|
+
# List all insights for a user
|
|
281
360
|
result = api_instance.list_insights_user(user_guid, opts)
|
|
282
361
|
p result
|
|
283
362
|
rescue MxPlatformRuby::ApiError => e
|
|
@@ -293,7 +372,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
|
293
372
|
|
|
294
373
|
```ruby
|
|
295
374
|
begin
|
|
296
|
-
# List all insights for a user
|
|
375
|
+
# List all insights for a user
|
|
297
376
|
data, status_code, headers = api_instance.list_insights_user_with_http_info(user_guid, opts)
|
|
298
377
|
p status_code # => 2xx
|
|
299
378
|
p headers # => { ... }
|
|
@@ -307,9 +386,9 @@ end
|
|
|
307
386
|
|
|
308
387
|
| Name | Type | Description | Notes |
|
|
309
388
|
| ---- | ---- | ----------- | ----- |
|
|
310
|
-
| **user_guid** | **String** | The unique identifier for
|
|
311
|
-
| **page** | **Integer** | Specify current page. | [optional] |
|
|
312
|
-
| **records_per_page** | **Integer** |
|
|
389
|
+
| **user_guid** | **String** | The unique identifier for a `user`, beginning with the prefix `USR-`. | |
|
|
390
|
+
| **page** | **Integer** | Results are paginated. Specify current page. | [optional] |
|
|
391
|
+
| **records_per_page** | **Integer** | This specifies the number of records to be returned on each page. Defaults to `25`. The valid range is from `10` to `100`. If the value exceeds `100`, the default value of `25` will be used instead. | [optional] |
|
|
313
392
|
|
|
314
393
|
### Return type
|
|
315
394
|
|
|
@@ -329,7 +408,7 @@ end
|
|
|
329
408
|
|
|
330
409
|
> <MerchantsResponseBody> list_merchants_insight(user_guid, insight_guid, opts)
|
|
331
410
|
|
|
332
|
-
List all merchants associated with an insight
|
|
411
|
+
List all merchants associated with an insight
|
|
333
412
|
|
|
334
413
|
Use this endpoint to list all the merchants associated with the insight.
|
|
335
414
|
|
|
@@ -346,15 +425,15 @@ MxPlatformRuby.configure do |config|
|
|
|
346
425
|
end
|
|
347
426
|
|
|
348
427
|
api_instance = MxPlatformRuby::InsightsApi.new
|
|
349
|
-
user_guid = 'USR-
|
|
428
|
+
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique identifier for a `user`, beginning with the prefix `USR-`.
|
|
350
429
|
insight_guid = 'BET-1234-abcd' # String | The unique identifier for the insight. Defined by MX.
|
|
351
430
|
opts = {
|
|
352
|
-
page: 1, # Integer | Specify current page.
|
|
353
|
-
records_per_page: 10 # Integer |
|
|
431
|
+
page: 1, # Integer | Results are paginated. Specify current page.
|
|
432
|
+
records_per_page: 10 # Integer | This specifies the number of records to be returned on each page. Defaults to `25`. The valid range is from `10` to `100`. If the value exceeds `100`, the default value of `25` will be used instead.
|
|
354
433
|
}
|
|
355
434
|
|
|
356
435
|
begin
|
|
357
|
-
# List all merchants associated with an insight
|
|
436
|
+
# List all merchants associated with an insight
|
|
358
437
|
result = api_instance.list_merchants_insight(user_guid, insight_guid, opts)
|
|
359
438
|
p result
|
|
360
439
|
rescue MxPlatformRuby::ApiError => e
|
|
@@ -370,7 +449,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
|
370
449
|
|
|
371
450
|
```ruby
|
|
372
451
|
begin
|
|
373
|
-
# List all merchants associated with an insight
|
|
452
|
+
# List all merchants associated with an insight
|
|
374
453
|
data, status_code, headers = api_instance.list_merchants_insight_with_http_info(user_guid, insight_guid, opts)
|
|
375
454
|
p status_code # => 2xx
|
|
376
455
|
p headers # => { ... }
|
|
@@ -384,10 +463,10 @@ end
|
|
|
384
463
|
|
|
385
464
|
| Name | Type | Description | Notes |
|
|
386
465
|
| ---- | ---- | ----------- | ----- |
|
|
387
|
-
| **user_guid** | **String** | The unique identifier for
|
|
466
|
+
| **user_guid** | **String** | The unique identifier for a `user`, beginning with the prefix `USR-`. | |
|
|
388
467
|
| **insight_guid** | **String** | The unique identifier for the insight. Defined by MX. | |
|
|
389
|
-
| **page** | **Integer** | Specify current page. | [optional] |
|
|
390
|
-
| **records_per_page** | **Integer** |
|
|
468
|
+
| **page** | **Integer** | Results are paginated. Specify current page. | [optional] |
|
|
469
|
+
| **records_per_page** | **Integer** | This specifies the number of records to be returned on each page. Defaults to `25`. The valid range is from `10` to `100`. If the value exceeds `100`, the default value of `25` will be used instead. | [optional] |
|
|
391
470
|
|
|
392
471
|
### Return type
|
|
393
472
|
|
|
@@ -424,11 +503,11 @@ MxPlatformRuby.configure do |config|
|
|
|
424
503
|
end
|
|
425
504
|
|
|
426
505
|
api_instance = MxPlatformRuby::InsightsApi.new
|
|
427
|
-
user_guid = 'USR-
|
|
506
|
+
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique identifier for a `user`, beginning with the prefix `USR-`.
|
|
428
507
|
insight_guid = 'BET-1234-abcd' # String | The unique identifier for the insight. Defined by MX.
|
|
429
508
|
opts = {
|
|
430
|
-
page: 1, # Integer | Specify current page.
|
|
431
|
-
records_per_page: 10 # Integer |
|
|
509
|
+
page: 1, # Integer | Results are paginated. Specify current page.
|
|
510
|
+
records_per_page: 10 # Integer | This specifies the number of records to be returned on each page. Defaults to `25`. The valid range is from `10` to `100`. If the value exceeds `100`, the default value of `25` will be used instead.
|
|
432
511
|
}
|
|
433
512
|
|
|
434
513
|
begin
|
|
@@ -462,10 +541,10 @@ end
|
|
|
462
541
|
|
|
463
542
|
| Name | Type | Description | Notes |
|
|
464
543
|
| ---- | ---- | ----------- | ----- |
|
|
465
|
-
| **user_guid** | **String** | The unique identifier for
|
|
544
|
+
| **user_guid** | **String** | The unique identifier for a `user`, beginning with the prefix `USR-`. | |
|
|
466
545
|
| **insight_guid** | **String** | The unique identifier for the insight. Defined by MX. | |
|
|
467
|
-
| **page** | **Integer** | Specify current page. | [optional] |
|
|
468
|
-
| **records_per_page** | **Integer** |
|
|
546
|
+
| **page** | **Integer** | Results are paginated. Specify current page. | [optional] |
|
|
547
|
+
| **records_per_page** | **Integer** | This specifies the number of records to be returned on each page. Defaults to `25`. The valid range is from `10` to `100`. If the value exceeds `100`, the default value of `25` will be used instead. | [optional] |
|
|
469
548
|
|
|
470
549
|
### Return type
|
|
471
550
|
|
|
@@ -485,7 +564,7 @@ end
|
|
|
485
564
|
|
|
486
565
|
> <TransactionsResponseBody> list_transactions_insight(user_guid, insight_guid, opts)
|
|
487
566
|
|
|
488
|
-
List all transactions associated with an insight
|
|
567
|
+
List all transactions associated with an insight
|
|
489
568
|
|
|
490
569
|
Use this endpoint to list all the transactions associated with the insight.
|
|
491
570
|
|
|
@@ -502,15 +581,15 @@ MxPlatformRuby.configure do |config|
|
|
|
502
581
|
end
|
|
503
582
|
|
|
504
583
|
api_instance = MxPlatformRuby::InsightsApi.new
|
|
505
|
-
user_guid = 'USR-
|
|
584
|
+
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique identifier for a `user`, beginning with the prefix `USR-`.
|
|
506
585
|
insight_guid = 'BET-1234-abcd' # String | The unique identifier for the insight. Defined by MX.
|
|
507
586
|
opts = {
|
|
508
|
-
page: 1, # Integer | Specify current page.
|
|
509
|
-
records_per_page: 10 # Integer |
|
|
587
|
+
page: 1, # Integer | Results are paginated. Specify current page.
|
|
588
|
+
records_per_page: 10 # Integer | This specifies the number of records to be returned on each page. Defaults to `25`. The valid range is from `10` to `100`. If the value exceeds `100`, the default value of `25` will be used instead.
|
|
510
589
|
}
|
|
511
590
|
|
|
512
591
|
begin
|
|
513
|
-
# List all transactions associated with an insight
|
|
592
|
+
# List all transactions associated with an insight
|
|
514
593
|
result = api_instance.list_transactions_insight(user_guid, insight_guid, opts)
|
|
515
594
|
p result
|
|
516
595
|
rescue MxPlatformRuby::ApiError => e
|
|
@@ -526,7 +605,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
|
526
605
|
|
|
527
606
|
```ruby
|
|
528
607
|
begin
|
|
529
|
-
# List all transactions associated with an insight
|
|
608
|
+
# List all transactions associated with an insight
|
|
530
609
|
data, status_code, headers = api_instance.list_transactions_insight_with_http_info(user_guid, insight_guid, opts)
|
|
531
610
|
p status_code # => 2xx
|
|
532
611
|
p headers # => { ... }
|
|
@@ -540,10 +619,10 @@ end
|
|
|
540
619
|
|
|
541
620
|
| Name | Type | Description | Notes |
|
|
542
621
|
| ---- | ---- | ----------- | ----- |
|
|
543
|
-
| **user_guid** | **String** | The unique identifier for
|
|
622
|
+
| **user_guid** | **String** | The unique identifier for a `user`, beginning with the prefix `USR-`. | |
|
|
544
623
|
| **insight_guid** | **String** | The unique identifier for the insight. Defined by MX. | |
|
|
545
|
-
| **page** | **Integer** | Specify current page. | [optional] |
|
|
546
|
-
| **records_per_page** | **Integer** |
|
|
624
|
+
| **page** | **Integer** | Results are paginated. Specify current page. | [optional] |
|
|
625
|
+
| **records_per_page** | **Integer** | This specifies the number of records to be returned on each page. Defaults to `25`. The valid range is from `10` to `100`. If the value exceeds `100`, the default value of `25` will be used instead. | [optional] |
|
|
547
626
|
|
|
548
627
|
### Return type
|
|
549
628
|
|
|
@@ -559,13 +638,13 @@ end
|
|
|
559
638
|
- **Accept**: application/vnd.mx.api.v1+json
|
|
560
639
|
|
|
561
640
|
|
|
562
|
-
##
|
|
641
|
+
## read_insight_user
|
|
563
642
|
|
|
564
|
-
> <InsightResponseBody>
|
|
643
|
+
> <InsightResponseBody> read_insight_user(user_guid, insight_guid)
|
|
565
644
|
|
|
566
|
-
Read
|
|
645
|
+
Read insight
|
|
567
646
|
|
|
568
|
-
Use this endpoint to read the attributes of
|
|
647
|
+
Use this endpoint to read the attributes of an insight according to its unique GUID.
|
|
569
648
|
|
|
570
649
|
### Examples
|
|
571
650
|
|
|
@@ -580,33 +659,33 @@ MxPlatformRuby.configure do |config|
|
|
|
580
659
|
end
|
|
581
660
|
|
|
582
661
|
api_instance = MxPlatformRuby::InsightsApi.new
|
|
583
|
-
user_guid = 'USR-
|
|
662
|
+
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique identifier for a `user`, beginning with the prefix `USR-`.
|
|
584
663
|
insight_guid = 'BET-1234-abcd' # String | The unique identifier for the insight. Defined by MX.
|
|
585
664
|
|
|
586
665
|
begin
|
|
587
|
-
# Read
|
|
588
|
-
result = api_instance.
|
|
666
|
+
# Read insight
|
|
667
|
+
result = api_instance.read_insight_user(user_guid, insight_guid)
|
|
589
668
|
p result
|
|
590
669
|
rescue MxPlatformRuby::ApiError => e
|
|
591
|
-
puts "Error when calling InsightsApi->
|
|
670
|
+
puts "Error when calling InsightsApi->read_insight_user: #{e}"
|
|
592
671
|
end
|
|
593
672
|
```
|
|
594
673
|
|
|
595
|
-
#### Using the
|
|
674
|
+
#### Using the read_insight_user_with_http_info variant
|
|
596
675
|
|
|
597
676
|
This returns an Array which contains the response data, status code and headers.
|
|
598
677
|
|
|
599
|
-
> <Array(<InsightResponseBody>, Integer, Hash)>
|
|
678
|
+
> <Array(<InsightResponseBody>, Integer, Hash)> read_insight_user_with_http_info(user_guid, insight_guid)
|
|
600
679
|
|
|
601
680
|
```ruby
|
|
602
681
|
begin
|
|
603
|
-
# Read
|
|
604
|
-
data, status_code, headers = api_instance.
|
|
682
|
+
# Read insight
|
|
683
|
+
data, status_code, headers = api_instance.read_insight_user_with_http_info(user_guid, insight_guid)
|
|
605
684
|
p status_code # => 2xx
|
|
606
685
|
p headers # => { ... }
|
|
607
686
|
p data # => <InsightResponseBody>
|
|
608
687
|
rescue MxPlatformRuby::ApiError => e
|
|
609
|
-
puts "Error when calling InsightsApi->
|
|
688
|
+
puts "Error when calling InsightsApi->read_insight_user_with_http_info: #{e}"
|
|
610
689
|
end
|
|
611
690
|
```
|
|
612
691
|
|
|
@@ -614,7 +693,7 @@ end
|
|
|
614
693
|
|
|
615
694
|
| Name | Type | Description | Notes |
|
|
616
695
|
| ---- | ---- | ----------- | ----- |
|
|
617
|
-
| **user_guid** | **String** | The unique identifier for
|
|
696
|
+
| **user_guid** | **String** | The unique identifier for a `user`, beginning with the prefix `USR-`. | |
|
|
618
697
|
| **insight_guid** | **String** | The unique identifier for the insight. Defined by MX. | |
|
|
619
698
|
|
|
620
699
|
### Return type
|
|
@@ -633,11 +712,11 @@ end
|
|
|
633
712
|
|
|
634
713
|
## update_insight
|
|
635
714
|
|
|
636
|
-
> <InsightResponse> update_insight(user_guid, insight_guid,
|
|
715
|
+
> <InsightResponse> update_insight(user_guid, insight_guid, insight_update_request_body)
|
|
637
716
|
|
|
638
717
|
Update insight
|
|
639
718
|
|
|
640
|
-
Use this endpoint to update the attributes of
|
|
719
|
+
Use this endpoint to update the attributes of an insight according to its unique GUID.
|
|
641
720
|
|
|
642
721
|
### Examples
|
|
643
722
|
|
|
@@ -652,13 +731,13 @@ MxPlatformRuby.configure do |config|
|
|
|
652
731
|
end
|
|
653
732
|
|
|
654
733
|
api_instance = MxPlatformRuby::InsightsApi.new
|
|
655
|
-
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique identifier for
|
|
734
|
+
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique identifier for a `user`, beginning with the prefix `USR-`.
|
|
656
735
|
insight_guid = 'BET-1234-abcd' # String | The unique identifier for the insight. Defined by MX.
|
|
657
|
-
|
|
736
|
+
insight_update_request_body = MxPlatformRuby::InsightUpdateRequestBody.new # InsightUpdateRequestBody | The insight to be updated (None of these parameters are required, but the user object cannot be empty.)
|
|
658
737
|
|
|
659
738
|
begin
|
|
660
739
|
# Update insight
|
|
661
|
-
result = api_instance.update_insight(user_guid, insight_guid,
|
|
740
|
+
result = api_instance.update_insight(user_guid, insight_guid, insight_update_request_body)
|
|
662
741
|
p result
|
|
663
742
|
rescue MxPlatformRuby::ApiError => e
|
|
664
743
|
puts "Error when calling InsightsApi->update_insight: #{e}"
|
|
@@ -669,12 +748,12 @@ end
|
|
|
669
748
|
|
|
670
749
|
This returns an Array which contains the response data, status code and headers.
|
|
671
750
|
|
|
672
|
-
> <Array(<InsightResponse>, Integer, Hash)> update_insight_with_http_info(user_guid, insight_guid,
|
|
751
|
+
> <Array(<InsightResponse>, Integer, Hash)> update_insight_with_http_info(user_guid, insight_guid, insight_update_request_body)
|
|
673
752
|
|
|
674
753
|
```ruby
|
|
675
754
|
begin
|
|
676
755
|
# Update insight
|
|
677
|
-
data, status_code, headers = api_instance.update_insight_with_http_info(user_guid, insight_guid,
|
|
756
|
+
data, status_code, headers = api_instance.update_insight_with_http_info(user_guid, insight_guid, insight_update_request_body)
|
|
678
757
|
p status_code # => 2xx
|
|
679
758
|
p headers # => { ... }
|
|
680
759
|
p data # => <InsightResponse>
|
|
@@ -687,9 +766,9 @@ end
|
|
|
687
766
|
|
|
688
767
|
| Name | Type | Description | Notes |
|
|
689
768
|
| ---- | ---- | ----------- | ----- |
|
|
690
|
-
| **user_guid** | **String** | The unique identifier for
|
|
769
|
+
| **user_guid** | **String** | The unique identifier for a `user`, beginning with the prefix `USR-`. | |
|
|
691
770
|
| **insight_guid** | **String** | The unique identifier for the insight. Defined by MX. | |
|
|
692
|
-
| **
|
|
771
|
+
| **insight_update_request_body** | [**InsightUpdateRequestBody**](InsightUpdateRequestBody.md) | The insight to be updated (None of these parameters are required, but the user object cannot be empty.) | |
|
|
693
772
|
|
|
694
773
|
### Return type
|
|
695
774
|
|
data/docs/InstitutionResponse.md
CHANGED
|
@@ -8,6 +8,9 @@
|
|
|
8
8
|
| **forgot_password_url** | **String** | | [optional] |
|
|
9
9
|
| **forgot_username_url** | **String** | | [optional] |
|
|
10
10
|
| **instructional_text** | **String** | | [optional] |
|
|
11
|
+
| **instructional_text_steps** | **Array<String>** | An array of instructional steps that may contain html elements. | [optional] |
|
|
12
|
+
| **is_disabled_by_client** | **Boolean** | | [optional] |
|
|
13
|
+
| **iso_country_code** | **String** | | [optional] |
|
|
11
14
|
| **medium_logo_url** | **String** | | [optional] |
|
|
12
15
|
| **name** | **String** | | [optional] |
|
|
13
16
|
| **small_logo_url** | **String** | | [optional] |
|
|
@@ -26,12 +29,17 @@
|
|
|
26
29
|
require 'mx-platform-ruby'
|
|
27
30
|
|
|
28
31
|
instance = MxPlatformRuby::InstitutionResponse.new(
|
|
29
|
-
code:
|
|
30
|
-
forgot_password_url: https://example.url.
|
|
31
|
-
forgot_username_url: https://example.url.
|
|
32
|
-
instructional_text: Some instructional text <a href="https://example.url.
|
|
32
|
+
code: mxbank,
|
|
33
|
+
forgot_password_url: https://example.url.mxbank.com/forgot-password,
|
|
34
|
+
forgot_username_url: https://example.url.mxbank.com/forgot-username,
|
|
35
|
+
instructional_text: Some instructional text <a href="https://example.url.mxbank.com/instructions"
|
|
36
|
+
id="instructional_text">for end users</a>.
|
|
37
|
+
,
|
|
38
|
+
instructional_text_steps: ["Step 1: Do this.","Step 2: Do that."],
|
|
39
|
+
is_disabled_by_client: false,
|
|
40
|
+
iso_country_code: US,
|
|
33
41
|
medium_logo_url: https://content.moneydesktop.com/storage/MD_Assets/Ipad%20Logos/100x100/default_100x100.png,
|
|
34
|
-
name:
|
|
42
|
+
name: MX Bank,
|
|
35
43
|
small_logo_url: https://content.moneydesktop.com/storage/MD_Assets/Ipad%20Logos/50x50/default_50x50.png,
|
|
36
44
|
supports_account_identification: true,
|
|
37
45
|
supports_account_statement: true,
|
|
@@ -39,8 +47,8 @@ instance = MxPlatformRuby::InstitutionResponse.new(
|
|
|
39
47
|
supports_oauth: true,
|
|
40
48
|
supports_tax_document: true,
|
|
41
49
|
supports_transaction_history: true,
|
|
42
|
-
trouble_signing_in_url: https://example.url.
|
|
43
|
-
url: https://www.
|
|
50
|
+
trouble_signing_in_url: https://example.url.mxbank.com/login-trouble,
|
|
51
|
+
url: https://www.mxbank.com
|
|
44
52
|
)
|
|
45
53
|
```
|
|
46
54
|
|