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/GoalsApi.md
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
# MxPlatformRuby::GoalsApi
|
|
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
|
-
| [**
|
|
8
|
-
| [**
|
|
9
|
-
| [**
|
|
10
|
-
| [**
|
|
11
|
-
| [**
|
|
12
|
-
| [**
|
|
7
|
+
| [**create_goal**](GoalsApi.md#create_goal) | **POST** /users/{user_guid}/goals | Create a goal |
|
|
8
|
+
| [**delete_goal**](GoalsApi.md#delete_goal) | **DELETE** /users/{user_guid}/goals/{goal_guid} | Delete a goal |
|
|
9
|
+
| [**list_goals**](GoalsApi.md#list_goals) | **GET** /users/{user_guid}/goals | List goals |
|
|
10
|
+
| [**read_goal**](GoalsApi.md#read_goal) | **GET** /users/{user_guid}/goals/{goal_guid} | Read a goal |
|
|
11
|
+
| [**reposition_goals**](GoalsApi.md#reposition_goals) | **PUT** /users/{user_guid}/goals/reposition | Reposition goals |
|
|
12
|
+
| [**update_goal**](GoalsApi.md#update_goal) | **PUT** /users/{user_guid}/goals/{goal_guid} | Update a goal |
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
##
|
|
15
|
+
## create_goal
|
|
16
16
|
|
|
17
|
-
> <
|
|
17
|
+
> <GoalResponseBody> create_goal(user_guid, goal_request_body)
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
Create a goal
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
Create a goal. This endpoint accepts the optional `MX-Skip-Webhook` header and `skip_webhook` parameter.
|
|
22
22
|
|
|
23
23
|
### Examples
|
|
24
24
|
|
|
@@ -33,36 +33,33 @@ MxPlatformRuby.configure do |config|
|
|
|
33
33
|
end
|
|
34
34
|
|
|
35
35
|
api_instance = MxPlatformRuby::GoalsApi.new
|
|
36
|
-
user_guid = '
|
|
37
|
-
|
|
38
|
-
page: 'page_example', # String | Results are returned in paginated sets, this is the page of the results you would like to view. Defaults to page 1 if no page is specified.
|
|
39
|
-
records_per_age: 'records_per_age_example' # String | The supported range is from 10 to 1000. If the records_per_page parameter is not specified or is outside this range, a default of 25 records per page will be used.
|
|
40
|
-
}
|
|
36
|
+
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique identifier for a `user`, beginning with the prefix `USR-`.
|
|
37
|
+
goal_request_body = MxPlatformRuby::GoalRequestBody.new # GoalRequestBody |
|
|
41
38
|
|
|
42
39
|
begin
|
|
43
|
-
#
|
|
44
|
-
result = api_instance.
|
|
40
|
+
# Create a goal
|
|
41
|
+
result = api_instance.create_goal(user_guid, goal_request_body)
|
|
45
42
|
p result
|
|
46
43
|
rescue MxPlatformRuby::ApiError => e
|
|
47
|
-
puts "Error when calling GoalsApi->
|
|
44
|
+
puts "Error when calling GoalsApi->create_goal: #{e}"
|
|
48
45
|
end
|
|
49
46
|
```
|
|
50
47
|
|
|
51
|
-
#### Using the
|
|
48
|
+
#### Using the create_goal_with_http_info variant
|
|
52
49
|
|
|
53
50
|
This returns an Array which contains the response data, status code and headers.
|
|
54
51
|
|
|
55
|
-
> <Array(<
|
|
52
|
+
> <Array(<GoalResponseBody>, Integer, Hash)> create_goal_with_http_info(user_guid, goal_request_body)
|
|
56
53
|
|
|
57
54
|
```ruby
|
|
58
55
|
begin
|
|
59
|
-
#
|
|
60
|
-
data, status_code, headers = api_instance.
|
|
56
|
+
# Create a goal
|
|
57
|
+
data, status_code, headers = api_instance.create_goal_with_http_info(user_guid, goal_request_body)
|
|
61
58
|
p status_code # => 2xx
|
|
62
59
|
p headers # => { ... }
|
|
63
|
-
p data # => <
|
|
60
|
+
p data # => <GoalResponseBody>
|
|
64
61
|
rescue MxPlatformRuby::ApiError => e
|
|
65
|
-
puts "Error when calling GoalsApi->
|
|
62
|
+
puts "Error when calling GoalsApi->create_goal_with_http_info: #{e}"
|
|
66
63
|
end
|
|
67
64
|
```
|
|
68
65
|
|
|
@@ -70,13 +67,12 @@ end
|
|
|
70
67
|
|
|
71
68
|
| Name | Type | Description | Notes |
|
|
72
69
|
| ---- | ---- | ----------- | ----- |
|
|
73
|
-
| **user_guid** | **String** | The unique identifier for
|
|
74
|
-
| **
|
|
75
|
-
| **records_per_age** | **String** | The supported range is from 10 to 1000. If the records_per_page parameter is not specified or is outside this range, a default of 25 records per page will be used. | [optional] |
|
|
70
|
+
| **user_guid** | **String** | The unique identifier for a `user`, beginning with the prefix `USR-`. | |
|
|
71
|
+
| **goal_request_body** | [**GoalRequestBody**](GoalRequestBody.md) | | |
|
|
76
72
|
|
|
77
73
|
### Return type
|
|
78
74
|
|
|
79
|
-
[**
|
|
75
|
+
[**GoalResponseBody**](GoalResponseBody.md)
|
|
80
76
|
|
|
81
77
|
### Authorization
|
|
82
78
|
|
|
@@ -84,13 +80,13 @@ end
|
|
|
84
80
|
|
|
85
81
|
### HTTP request headers
|
|
86
82
|
|
|
87
|
-
- **Content-Type**:
|
|
83
|
+
- **Content-Type**: application/vnd.mx.api.v1+json
|
|
88
84
|
- **Accept**: application/json
|
|
89
85
|
|
|
90
86
|
|
|
91
|
-
##
|
|
87
|
+
## delete_goal
|
|
92
88
|
|
|
93
|
-
>
|
|
89
|
+
> delete_goal(goal_guid, user_guid, accept)
|
|
94
90
|
|
|
95
91
|
Delete a goal
|
|
96
92
|
|
|
@@ -110,31 +106,32 @@ end
|
|
|
110
106
|
|
|
111
107
|
api_instance = MxPlatformRuby::GoalsApi.new
|
|
112
108
|
goal_guid = 'goal_guid_example' # String | The unique identifier for a goal. Defined by MX.
|
|
113
|
-
user_guid = '
|
|
109
|
+
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique identifier for a `user`, beginning with the prefix `USR-`.
|
|
110
|
+
accept = 'application/vnd.mx.api.v1+json' # String | Specifies the media type expected in the response.
|
|
114
111
|
|
|
115
112
|
begin
|
|
116
113
|
# Delete a goal
|
|
117
|
-
api_instance.
|
|
114
|
+
api_instance.delete_goal(goal_guid, user_guid, accept)
|
|
118
115
|
rescue MxPlatformRuby::ApiError => e
|
|
119
|
-
puts "Error when calling GoalsApi->
|
|
116
|
+
puts "Error when calling GoalsApi->delete_goal: #{e}"
|
|
120
117
|
end
|
|
121
118
|
```
|
|
122
119
|
|
|
123
|
-
#### Using the
|
|
120
|
+
#### Using the delete_goal_with_http_info variant
|
|
124
121
|
|
|
125
122
|
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
126
123
|
|
|
127
|
-
> <Array(nil, Integer, Hash)>
|
|
124
|
+
> <Array(nil, Integer, Hash)> delete_goal_with_http_info(goal_guid, user_guid, accept)
|
|
128
125
|
|
|
129
126
|
```ruby
|
|
130
127
|
begin
|
|
131
128
|
# Delete a goal
|
|
132
|
-
data, status_code, headers = api_instance.
|
|
129
|
+
data, status_code, headers = api_instance.delete_goal_with_http_info(goal_guid, user_guid, accept)
|
|
133
130
|
p status_code # => 2xx
|
|
134
131
|
p headers # => { ... }
|
|
135
132
|
p data # => nil
|
|
136
133
|
rescue MxPlatformRuby::ApiError => e
|
|
137
|
-
puts "Error when calling GoalsApi->
|
|
134
|
+
puts "Error when calling GoalsApi->delete_goal_with_http_info: #{e}"
|
|
138
135
|
end
|
|
139
136
|
```
|
|
140
137
|
|
|
@@ -143,7 +140,8 @@ end
|
|
|
143
140
|
| Name | Type | Description | Notes |
|
|
144
141
|
| ---- | ---- | ----------- | ----- |
|
|
145
142
|
| **goal_guid** | **String** | The unique identifier for a goal. Defined by MX. | |
|
|
146
|
-
| **user_guid** | **String** | The unique identifier for a user
|
|
143
|
+
| **user_guid** | **String** | The unique identifier for a `user`, beginning with the prefix `USR-`. | |
|
|
144
|
+
| **accept** | **String** | Specifies the media type expected in the response. | |
|
|
147
145
|
|
|
148
146
|
### Return type
|
|
149
147
|
|
|
@@ -159,13 +157,13 @@ nil (empty response body)
|
|
|
159
157
|
- **Accept**: Not defined
|
|
160
158
|
|
|
161
159
|
|
|
162
|
-
##
|
|
160
|
+
## list_goals
|
|
163
161
|
|
|
164
|
-
> <
|
|
162
|
+
> <GoalsResponseBody> list_goals(accept, user_guid, opts)
|
|
165
163
|
|
|
166
|
-
|
|
164
|
+
List goals
|
|
167
165
|
|
|
168
|
-
|
|
166
|
+
List all goals a user can set.
|
|
169
167
|
|
|
170
168
|
### Examples
|
|
171
169
|
|
|
@@ -180,33 +178,37 @@ MxPlatformRuby.configure do |config|
|
|
|
180
178
|
end
|
|
181
179
|
|
|
182
180
|
api_instance = MxPlatformRuby::GoalsApi.new
|
|
183
|
-
|
|
184
|
-
user_guid = '
|
|
181
|
+
accept = 'application/vnd.mx.api.v1+json' # String | Specifies the media type expected in the response.
|
|
182
|
+
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique identifier for a `user`, beginning with the prefix `USR-`.
|
|
183
|
+
opts = {
|
|
184
|
+
page: 1, # Integer | Results are paginated. Specify current page.
|
|
185
|
+
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 `1000`. If the value exceeds `1000`, the default value of `25` will be used instead.
|
|
186
|
+
}
|
|
185
187
|
|
|
186
188
|
begin
|
|
187
|
-
#
|
|
188
|
-
result = api_instance.
|
|
189
|
+
# List goals
|
|
190
|
+
result = api_instance.list_goals(accept, user_guid, opts)
|
|
189
191
|
p result
|
|
190
192
|
rescue MxPlatformRuby::ApiError => e
|
|
191
|
-
puts "Error when calling GoalsApi->
|
|
193
|
+
puts "Error when calling GoalsApi->list_goals: #{e}"
|
|
192
194
|
end
|
|
193
195
|
```
|
|
194
196
|
|
|
195
|
-
#### Using the
|
|
197
|
+
#### Using the list_goals_with_http_info variant
|
|
196
198
|
|
|
197
199
|
This returns an Array which contains the response data, status code and headers.
|
|
198
200
|
|
|
199
|
-
> <Array(<
|
|
201
|
+
> <Array(<GoalsResponseBody>, Integer, Hash)> list_goals_with_http_info(accept, user_guid, opts)
|
|
200
202
|
|
|
201
203
|
```ruby
|
|
202
204
|
begin
|
|
203
|
-
#
|
|
204
|
-
data, status_code, headers = api_instance.
|
|
205
|
+
# List goals
|
|
206
|
+
data, status_code, headers = api_instance.list_goals_with_http_info(accept, user_guid, opts)
|
|
205
207
|
p status_code # => 2xx
|
|
206
208
|
p headers # => { ... }
|
|
207
|
-
p data # => <
|
|
209
|
+
p data # => <GoalsResponseBody>
|
|
208
210
|
rescue MxPlatformRuby::ApiError => e
|
|
209
|
-
puts "Error when calling GoalsApi->
|
|
211
|
+
puts "Error when calling GoalsApi->list_goals_with_http_info: #{e}"
|
|
210
212
|
end
|
|
211
213
|
```
|
|
212
214
|
|
|
@@ -214,12 +216,14 @@ end
|
|
|
214
216
|
|
|
215
217
|
| Name | Type | Description | Notes |
|
|
216
218
|
| ---- | ---- | ----------- | ----- |
|
|
217
|
-
| **
|
|
218
|
-
| **user_guid** | **String** | The unique identifier for a user
|
|
219
|
+
| **accept** | **String** | Specifies the media type expected in the response. | |
|
|
220
|
+
| **user_guid** | **String** | The unique identifier for a `user`, beginning with the prefix `USR-`. | |
|
|
221
|
+
| **page** | **Integer** | Results are paginated. Specify current page. | [optional] |
|
|
222
|
+
| **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 `1000`. If the value exceeds `1000`, the default value of `25` will be used instead. | [optional] |
|
|
219
223
|
|
|
220
224
|
### Return type
|
|
221
225
|
|
|
222
|
-
[**
|
|
226
|
+
[**GoalsResponseBody**](GoalsResponseBody.md)
|
|
223
227
|
|
|
224
228
|
### Authorization
|
|
225
229
|
|
|
@@ -228,16 +232,16 @@ end
|
|
|
228
232
|
### HTTP request headers
|
|
229
233
|
|
|
230
234
|
- **Content-Type**: Not defined
|
|
231
|
-
- **Accept**: application/json
|
|
235
|
+
- **Accept**: application/vnd.mx.api.v1+json
|
|
232
236
|
|
|
233
237
|
|
|
234
|
-
##
|
|
238
|
+
## read_goal
|
|
235
239
|
|
|
236
|
-
> <GoalResponseBody>
|
|
240
|
+
> <GoalResponseBody> read_goal(goal_guid, user_guid)
|
|
237
241
|
|
|
238
|
-
|
|
242
|
+
Read a goal
|
|
239
243
|
|
|
240
|
-
|
|
244
|
+
Read a specific goal.
|
|
241
245
|
|
|
242
246
|
### Examples
|
|
243
247
|
|
|
@@ -253,33 +257,32 @@ end
|
|
|
253
257
|
|
|
254
258
|
api_instance = MxPlatformRuby::GoalsApi.new
|
|
255
259
|
goal_guid = 'goal_guid_example' # String | The unique identifier for a goal. Defined by MX.
|
|
256
|
-
user_guid = '
|
|
257
|
-
update_goal_request_body = MxPlatformRuby::UpdateGoalRequestBody.new # UpdateGoalRequestBody |
|
|
260
|
+
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique identifier for a `user`, beginning with the prefix `USR-`.
|
|
258
261
|
|
|
259
262
|
begin
|
|
260
|
-
#
|
|
261
|
-
result = api_instance.
|
|
263
|
+
# Read a goal
|
|
264
|
+
result = api_instance.read_goal(goal_guid, user_guid)
|
|
262
265
|
p result
|
|
263
266
|
rescue MxPlatformRuby::ApiError => e
|
|
264
|
-
puts "Error when calling GoalsApi->
|
|
267
|
+
puts "Error when calling GoalsApi->read_goal: #{e}"
|
|
265
268
|
end
|
|
266
269
|
```
|
|
267
270
|
|
|
268
|
-
#### Using the
|
|
271
|
+
#### Using the read_goal_with_http_info variant
|
|
269
272
|
|
|
270
273
|
This returns an Array which contains the response data, status code and headers.
|
|
271
274
|
|
|
272
|
-
> <Array(<GoalResponseBody>, Integer, Hash)>
|
|
275
|
+
> <Array(<GoalResponseBody>, Integer, Hash)> read_goal_with_http_info(goal_guid, user_guid)
|
|
273
276
|
|
|
274
277
|
```ruby
|
|
275
278
|
begin
|
|
276
|
-
#
|
|
277
|
-
data, status_code, headers = api_instance.
|
|
279
|
+
# Read a goal
|
|
280
|
+
data, status_code, headers = api_instance.read_goal_with_http_info(goal_guid, user_guid)
|
|
278
281
|
p status_code # => 2xx
|
|
279
282
|
p headers # => { ... }
|
|
280
283
|
p data # => <GoalResponseBody>
|
|
281
284
|
rescue MxPlatformRuby::ApiError => e
|
|
282
|
-
puts "Error when calling GoalsApi->
|
|
285
|
+
puts "Error when calling GoalsApi->read_goal_with_http_info: #{e}"
|
|
283
286
|
end
|
|
284
287
|
```
|
|
285
288
|
|
|
@@ -288,8 +291,7 @@ end
|
|
|
288
291
|
| Name | Type | Description | Notes |
|
|
289
292
|
| ---- | ---- | ----------- | ----- |
|
|
290
293
|
| **goal_guid** | **String** | The unique identifier for a goal. Defined by MX. | |
|
|
291
|
-
| **user_guid** | **String** | The unique identifier for a user
|
|
292
|
-
| **update_goal_request_body** | [**UpdateGoalRequestBody**](UpdateGoalRequestBody.md) | | |
|
|
294
|
+
| **user_guid** | **String** | The unique identifier for a `user`, beginning with the prefix `USR-`. | |
|
|
293
295
|
|
|
294
296
|
### Return type
|
|
295
297
|
|
|
@@ -301,17 +303,17 @@ end
|
|
|
301
303
|
|
|
302
304
|
### HTTP request headers
|
|
303
305
|
|
|
304
|
-
- **Content-Type**:
|
|
306
|
+
- **Content-Type**: Not defined
|
|
305
307
|
- **Accept**: application/json
|
|
306
308
|
|
|
307
309
|
|
|
308
|
-
##
|
|
310
|
+
## reposition_goals
|
|
309
311
|
|
|
310
|
-
> <
|
|
312
|
+
> <RepositionResponseBody> reposition_goals(user_guid, reposition_request_body)
|
|
311
313
|
|
|
312
|
-
|
|
314
|
+
Reposition goals
|
|
313
315
|
|
|
314
|
-
|
|
316
|
+
This endpoint repositions goal priority levels. If one goal is set to a lower priority, then any other goals need to be adjusted accordingly.
|
|
315
317
|
|
|
316
318
|
### Examples
|
|
317
319
|
|
|
@@ -326,33 +328,33 @@ MxPlatformRuby.configure do |config|
|
|
|
326
328
|
end
|
|
327
329
|
|
|
328
330
|
api_instance = MxPlatformRuby::GoalsApi.new
|
|
329
|
-
user_guid = '
|
|
330
|
-
|
|
331
|
+
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique identifier for a `user`, beginning with the prefix `USR-`.
|
|
332
|
+
reposition_request_body = MxPlatformRuby::RepositionRequestBody.new # RepositionRequestBody |
|
|
331
333
|
|
|
332
334
|
begin
|
|
333
|
-
#
|
|
334
|
-
result = api_instance.
|
|
335
|
+
# Reposition goals
|
|
336
|
+
result = api_instance.reposition_goals(user_guid, reposition_request_body)
|
|
335
337
|
p result
|
|
336
338
|
rescue MxPlatformRuby::ApiError => e
|
|
337
|
-
puts "Error when calling GoalsApi->
|
|
339
|
+
puts "Error when calling GoalsApi->reposition_goals: #{e}"
|
|
338
340
|
end
|
|
339
341
|
```
|
|
340
342
|
|
|
341
|
-
#### Using the
|
|
343
|
+
#### Using the reposition_goals_with_http_info variant
|
|
342
344
|
|
|
343
345
|
This returns an Array which contains the response data, status code and headers.
|
|
344
346
|
|
|
345
|
-
> <Array(<
|
|
347
|
+
> <Array(<RepositionResponseBody>, Integer, Hash)> reposition_goals_with_http_info(user_guid, reposition_request_body)
|
|
346
348
|
|
|
347
349
|
```ruby
|
|
348
350
|
begin
|
|
349
|
-
#
|
|
350
|
-
data, status_code, headers = api_instance.
|
|
351
|
+
# Reposition goals
|
|
352
|
+
data, status_code, headers = api_instance.reposition_goals_with_http_info(user_guid, reposition_request_body)
|
|
351
353
|
p status_code # => 2xx
|
|
352
354
|
p headers # => { ... }
|
|
353
|
-
p data # => <
|
|
355
|
+
p data # => <RepositionResponseBody>
|
|
354
356
|
rescue MxPlatformRuby::ApiError => e
|
|
355
|
-
puts "Error when calling GoalsApi->
|
|
357
|
+
puts "Error when calling GoalsApi->reposition_goals_with_http_info: #{e}"
|
|
356
358
|
end
|
|
357
359
|
```
|
|
358
360
|
|
|
@@ -360,12 +362,12 @@ end
|
|
|
360
362
|
|
|
361
363
|
| Name | Type | Description | Notes |
|
|
362
364
|
| ---- | ---- | ----------- | ----- |
|
|
363
|
-
| **user_guid** | **String** | The unique identifier for
|
|
364
|
-
| **
|
|
365
|
+
| **user_guid** | **String** | The unique identifier for a `user`, beginning with the prefix `USR-`. | |
|
|
366
|
+
| **reposition_request_body** | [**RepositionRequestBody**](RepositionRequestBody.md) | | |
|
|
365
367
|
|
|
366
368
|
### Return type
|
|
367
369
|
|
|
368
|
-
[**
|
|
370
|
+
[**RepositionResponseBody**](RepositionResponseBody.md)
|
|
369
371
|
|
|
370
372
|
### Authorization
|
|
371
373
|
|
|
@@ -373,17 +375,17 @@ end
|
|
|
373
375
|
|
|
374
376
|
### HTTP request headers
|
|
375
377
|
|
|
376
|
-
- **Content-Type**: application/json
|
|
378
|
+
- **Content-Type**: application/vnd.mx.api.v1+json
|
|
377
379
|
- **Accept**: application/json
|
|
378
380
|
|
|
379
381
|
|
|
380
|
-
##
|
|
382
|
+
## update_goal
|
|
381
383
|
|
|
382
|
-
> <
|
|
384
|
+
> <GoalResponseBody> update_goal(goal_guid, user_guid, update_goal_request_body)
|
|
383
385
|
|
|
384
|
-
|
|
386
|
+
Update a goal
|
|
385
387
|
|
|
386
|
-
This endpoint
|
|
388
|
+
This endpoint updates a specific goal.
|
|
387
389
|
|
|
388
390
|
### Examples
|
|
389
391
|
|
|
@@ -398,33 +400,34 @@ MxPlatformRuby.configure do |config|
|
|
|
398
400
|
end
|
|
399
401
|
|
|
400
402
|
api_instance = MxPlatformRuby::GoalsApi.new
|
|
401
|
-
|
|
402
|
-
|
|
403
|
+
goal_guid = 'goal_guid_example' # String | The unique identifier for a goal. Defined by MX.
|
|
404
|
+
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique identifier for a `user`, beginning with the prefix `USR-`.
|
|
405
|
+
update_goal_request_body = MxPlatformRuby::UpdateGoalRequestBody.new # UpdateGoalRequestBody |
|
|
403
406
|
|
|
404
407
|
begin
|
|
405
|
-
#
|
|
406
|
-
result = api_instance.
|
|
408
|
+
# Update a goal
|
|
409
|
+
result = api_instance.update_goal(goal_guid, user_guid, update_goal_request_body)
|
|
407
410
|
p result
|
|
408
411
|
rescue MxPlatformRuby::ApiError => e
|
|
409
|
-
puts "Error when calling GoalsApi->
|
|
412
|
+
puts "Error when calling GoalsApi->update_goal: #{e}"
|
|
410
413
|
end
|
|
411
414
|
```
|
|
412
415
|
|
|
413
|
-
#### Using the
|
|
416
|
+
#### Using the update_goal_with_http_info variant
|
|
414
417
|
|
|
415
418
|
This returns an Array which contains the response data, status code and headers.
|
|
416
419
|
|
|
417
|
-
> <Array(<
|
|
420
|
+
> <Array(<GoalResponseBody>, Integer, Hash)> update_goal_with_http_info(goal_guid, user_guid, update_goal_request_body)
|
|
418
421
|
|
|
419
422
|
```ruby
|
|
420
423
|
begin
|
|
421
|
-
#
|
|
422
|
-
data, status_code, headers = api_instance.
|
|
424
|
+
# Update a goal
|
|
425
|
+
data, status_code, headers = api_instance.update_goal_with_http_info(goal_guid, user_guid, update_goal_request_body)
|
|
423
426
|
p status_code # => 2xx
|
|
424
427
|
p headers # => { ... }
|
|
425
|
-
p data # => <
|
|
428
|
+
p data # => <GoalResponseBody>
|
|
426
429
|
rescue MxPlatformRuby::ApiError => e
|
|
427
|
-
puts "Error when calling GoalsApi->
|
|
430
|
+
puts "Error when calling GoalsApi->update_goal_with_http_info: #{e}"
|
|
428
431
|
end
|
|
429
432
|
```
|
|
430
433
|
|
|
@@ -432,12 +435,13 @@ end
|
|
|
432
435
|
|
|
433
436
|
| Name | Type | Description | Notes |
|
|
434
437
|
| ---- | ---- | ----------- | ----- |
|
|
435
|
-
| **
|
|
436
|
-
| **
|
|
438
|
+
| **goal_guid** | **String** | The unique identifier for a goal. Defined by MX. | |
|
|
439
|
+
| **user_guid** | **String** | The unique identifier for a `user`, beginning with the prefix `USR-`. | |
|
|
440
|
+
| **update_goal_request_body** | [**UpdateGoalRequestBody**](UpdateGoalRequestBody.md) | | |
|
|
437
441
|
|
|
438
442
|
### Return type
|
|
439
443
|
|
|
440
|
-
[**
|
|
444
|
+
[**GoalResponseBody**](GoalResponseBody.md)
|
|
441
445
|
|
|
442
446
|
### Authorization
|
|
443
447
|
|
data/docs/GoalsResponse.md
CHANGED
|
@@ -28,7 +28,7 @@ require 'mx-platform-ruby'
|
|
|
28
28
|
|
|
29
29
|
instance = MxPlatformRuby::GoalsResponse.new(
|
|
30
30
|
account_guid: ACT-4e431124-4a29-abf9-f059-ab232ac14dbf,
|
|
31
|
-
amount: 4500
|
|
31
|
+
amount: 4500,
|
|
32
32
|
current_amount: 1651.27,
|
|
33
33
|
guid: GOL-524ca5db-a2d5-44f3-b048-16de16059024,
|
|
34
34
|
goal_type_name: PAYOFF,
|
data/docs/ImageOptionResponse.md
CHANGED
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **data_uri** | **String** | | [optional] |
|
|
8
|
-
| **guid** | **String** | | [optional] |
|
|
9
8
|
| **label** | **String** | | [optional] |
|
|
10
9
|
| **value** | **String** | | [optional] |
|
|
11
10
|
|
|
@@ -16,7 +15,6 @@ require 'mx-platform-ruby'
|
|
|
16
15
|
|
|
17
16
|
instance = MxPlatformRuby::ImageOptionResponse.new(
|
|
18
17
|
data_uri: data:image/png;base64,iVBORw0KGgoAAAANSUh ... more image data ...,
|
|
19
|
-
guid: CRO-e7ecc864-61fd-47a6-a122-3cbc9016660d,
|
|
20
18
|
label: IMAGE_1,
|
|
21
19
|
value: image_data
|
|
22
20
|
)
|
data/docs/InsightResponse.md
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
| **description** | **String** | | [optional] |
|
|
12
12
|
| **guid** | **String** | | [optional] |
|
|
13
13
|
| **has_associated_accounts** | **Boolean** | | [optional] |
|
|
14
|
+
| **has_associated_categories** | **Boolean** | | [optional] |
|
|
14
15
|
| **has_associated_merchants** | **Boolean** | | [optional] |
|
|
15
16
|
| **has_associated_scheduled_payments** | **Boolean** | | [optional] |
|
|
16
17
|
| **has_associated_transactions** | **Boolean** | | [optional] |
|
|
@@ -34,10 +35,11 @@ instance = MxPlatformRuby::InsightResponse.new(
|
|
|
34
35
|
active_at: 2022-01-07T12:00:00Z,
|
|
35
36
|
client_guid: CLT-abcd-1234,
|
|
36
37
|
created_at: 2022-01-12T18:16:51Z,
|
|
37
|
-
cta_clicked_at: 2022-01-
|
|
38
|
+
cta_clicked_at: 2022-01-13T18:13:51Z,
|
|
38
39
|
description: Gold's Gym charged you $36.71 more this month than normal. Did you upgrade your service?,
|
|
39
40
|
guid: BET-abcd-1234,
|
|
40
41
|
has_associated_accounts: false,
|
|
42
|
+
has_associated_categories: false,
|
|
41
43
|
has_associated_merchants: false,
|
|
42
44
|
has_associated_scheduled_payments: false,
|
|
43
45
|
has_associated_transactions: true,
|
data/docs/InsightResponseBody.md
CHANGED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# MxPlatformRuby::InsightUpdateRequestBody
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **insight** | [**InsightUpdateRequest**](InsightUpdateRequest.md) | | [optional] |
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'mx-platform-ruby'
|
|
13
|
+
|
|
14
|
+
instance = MxPlatformRuby::InsightUpdateRequestBody.new(
|
|
15
|
+
insight: null
|
|
16
|
+
)
|
|
17
|
+
```
|
|
18
|
+
|