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/BudgetsApi.md
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
# MxPlatformRuby::BudgetsApi
|
|
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
|
+
| [**auto_generate_budgets**](BudgetsApi.md#auto_generate_budgets) | **POST** /users/{user_guid}/budgets/generate | Auto-generate budgets |
|
|
8
|
+
| [**create_budget**](BudgetsApi.md#create_budget) | **POST** /users/{user_guid}/budgets | Create a budget |
|
|
9
|
+
| [**delete_budget**](BudgetsApi.md#delete_budget) | **DELETE** /users/{user_guid}/budgets/{budget_guid} | Delete a budget |
|
|
10
|
+
| [**list_all_budgets**](BudgetsApi.md#list_all_budgets) | **GET** /users/{user_guid}/budgets | List all budgets |
|
|
11
|
+
| [**read_specific_budget**](BudgetsApi.md#read_specific_budget) | **GET** /users/{user_guid}/budgets/{budget_guid} | Read a specific budget |
|
|
12
|
+
| [**update_specific_budget**](BudgetsApi.md#update_specific_budget) | **PUT** /users/{user_guid}/budgets/{budget_guid} | Update a specific budget |
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
##
|
|
15
|
+
## auto_generate_budgets
|
|
16
16
|
|
|
17
|
-
>
|
|
17
|
+
> <BudgetResponseBody> auto_generate_budgets(user_guid)
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
Auto-generate budgets
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
This endpoint will automatically create budgets for several categories based on existing transactions; these budgets are returned as an array. Specifically, budgets will only be generated if the `user` has at least one `transaction` in a given category during each of the two previous calendar months. For example, if the request is made on March 6, and there is at least one \"Bills & Utilities\" `transaction` in both January and February, a budget will be generated for \"Bills & Utilities.\" If there are two \"Bills & Utilities\" transactions in February but none in January, no budget will be generated for that category. If budgets already exist for particular categories, new budgets will be generated and returned based on the available transactions. If one or more budgets remain unchanged, they will nevertheless be returned in the response. If no transaction data for the `user` meet the above criteria, a `422 Unprocessable Entity` error will be returned with status code 4221 along with the message, `There aren't enough transactions to automatically create any budgets`.
|
|
22
22
|
|
|
23
23
|
### Examples
|
|
24
24
|
|
|
@@ -33,32 +33,32 @@ MxPlatformRuby.configure do |config|
|
|
|
33
33
|
end
|
|
34
34
|
|
|
35
35
|
api_instance = MxPlatformRuby::BudgetsApi.new
|
|
36
|
-
user_guid = '
|
|
37
|
-
budget_guid = 'budget_guid_example' # String | The unique identifier for the budget. Defined by MX.
|
|
36
|
+
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique identifier for a `user`, beginning with the prefix `USR-`.
|
|
38
37
|
|
|
39
38
|
begin
|
|
40
|
-
#
|
|
41
|
-
api_instance.
|
|
39
|
+
# Auto-generate budgets
|
|
40
|
+
result = api_instance.auto_generate_budgets(user_guid)
|
|
41
|
+
p result
|
|
42
42
|
rescue MxPlatformRuby::ApiError => e
|
|
43
|
-
puts "Error when calling BudgetsApi->
|
|
43
|
+
puts "Error when calling BudgetsApi->auto_generate_budgets: #{e}"
|
|
44
44
|
end
|
|
45
45
|
```
|
|
46
46
|
|
|
47
|
-
#### Using the
|
|
47
|
+
#### Using the auto_generate_budgets_with_http_info variant
|
|
48
48
|
|
|
49
|
-
This returns an Array which contains the response data
|
|
49
|
+
This returns an Array which contains the response data, status code and headers.
|
|
50
50
|
|
|
51
|
-
> <Array(
|
|
51
|
+
> <Array(<BudgetResponseBody>, Integer, Hash)> auto_generate_budgets_with_http_info(user_guid)
|
|
52
52
|
|
|
53
53
|
```ruby
|
|
54
54
|
begin
|
|
55
|
-
#
|
|
56
|
-
data, status_code, headers = api_instance.
|
|
55
|
+
# Auto-generate budgets
|
|
56
|
+
data, status_code, headers = api_instance.auto_generate_budgets_with_http_info(user_guid)
|
|
57
57
|
p status_code # => 2xx
|
|
58
58
|
p headers # => { ... }
|
|
59
|
-
p data # =>
|
|
59
|
+
p data # => <BudgetResponseBody>
|
|
60
60
|
rescue MxPlatformRuby::ApiError => e
|
|
61
|
-
puts "Error when calling BudgetsApi->
|
|
61
|
+
puts "Error when calling BudgetsApi->auto_generate_budgets_with_http_info: #{e}"
|
|
62
62
|
end
|
|
63
63
|
```
|
|
64
64
|
|
|
@@ -66,12 +66,11 @@ end
|
|
|
66
66
|
|
|
67
67
|
| Name | Type | Description | Notes |
|
|
68
68
|
| ---- | ---- | ----------- | ----- |
|
|
69
|
-
| **user_guid** | **String** | The unique identifier for
|
|
70
|
-
| **budget_guid** | **String** | The unique identifier for the budget. Defined by MX. | |
|
|
69
|
+
| **user_guid** | **String** | The unique identifier for a `user`, beginning with the prefix `USR-`. | |
|
|
71
70
|
|
|
72
71
|
### Return type
|
|
73
72
|
|
|
74
|
-
|
|
73
|
+
[**BudgetResponseBody**](BudgetResponseBody.md)
|
|
75
74
|
|
|
76
75
|
### Authorization
|
|
77
76
|
|
|
@@ -80,16 +79,16 @@ nil (empty response body)
|
|
|
80
79
|
### HTTP request headers
|
|
81
80
|
|
|
82
81
|
- **Content-Type**: Not defined
|
|
83
|
-
- **Accept**:
|
|
82
|
+
- **Accept**: application/vnd.mx.api.v1+json
|
|
84
83
|
|
|
85
84
|
|
|
86
|
-
##
|
|
85
|
+
## create_budget
|
|
87
86
|
|
|
88
|
-
> <BudgetResponseBody>
|
|
87
|
+
> <BudgetResponseBody> create_budget(user_guid, budget_create_request_body)
|
|
89
88
|
|
|
90
|
-
|
|
89
|
+
Create a budget
|
|
91
90
|
|
|
92
|
-
|
|
91
|
+
Create a budget. This endpoint accepts the optional `MX-Skip-Webhook` header and `skip_webhook` parameter. You cannot create a duplicate budget. For example, if you attempt to create a budget for \"Gas\", but that budget already exist, the request will fail. You can retrieve a list of all existing categories by using the List Categories endpoint.
|
|
93
92
|
|
|
94
93
|
### Examples
|
|
95
94
|
|
|
@@ -104,33 +103,33 @@ MxPlatformRuby.configure do |config|
|
|
|
104
103
|
end
|
|
105
104
|
|
|
106
105
|
api_instance = MxPlatformRuby::BudgetsApi.new
|
|
107
|
-
|
|
108
|
-
|
|
106
|
+
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique identifier for a `user`, beginning with the prefix `USR-`.
|
|
107
|
+
budget_create_request_body = MxPlatformRuby::BudgetCreateRequestBody.new # BudgetCreateRequestBody |
|
|
109
108
|
|
|
110
109
|
begin
|
|
111
|
-
#
|
|
112
|
-
result = api_instance.
|
|
110
|
+
# Create a budget
|
|
111
|
+
result = api_instance.create_budget(user_guid, budget_create_request_body)
|
|
113
112
|
p result
|
|
114
113
|
rescue MxPlatformRuby::ApiError => e
|
|
115
|
-
puts "Error when calling BudgetsApi->
|
|
114
|
+
puts "Error when calling BudgetsApi->create_budget: #{e}"
|
|
116
115
|
end
|
|
117
116
|
```
|
|
118
117
|
|
|
119
|
-
#### Using the
|
|
118
|
+
#### Using the create_budget_with_http_info variant
|
|
120
119
|
|
|
121
120
|
This returns an Array which contains the response data, status code and headers.
|
|
122
121
|
|
|
123
|
-
> <Array(<BudgetResponseBody>, Integer, Hash)>
|
|
122
|
+
> <Array(<BudgetResponseBody>, Integer, Hash)> create_budget_with_http_info(user_guid, budget_create_request_body)
|
|
124
123
|
|
|
125
124
|
```ruby
|
|
126
125
|
begin
|
|
127
|
-
#
|
|
128
|
-
data, status_code, headers = api_instance.
|
|
126
|
+
# Create a budget
|
|
127
|
+
data, status_code, headers = api_instance.create_budget_with_http_info(user_guid, budget_create_request_body)
|
|
129
128
|
p status_code # => 2xx
|
|
130
129
|
p headers # => { ... }
|
|
131
130
|
p data # => <BudgetResponseBody>
|
|
132
131
|
rescue MxPlatformRuby::ApiError => e
|
|
133
|
-
puts "Error when calling BudgetsApi->
|
|
132
|
+
puts "Error when calling BudgetsApi->create_budget_with_http_info: #{e}"
|
|
134
133
|
end
|
|
135
134
|
```
|
|
136
135
|
|
|
@@ -138,8 +137,8 @@ end
|
|
|
138
137
|
|
|
139
138
|
| Name | Type | Description | Notes |
|
|
140
139
|
| ---- | ---- | ----------- | ----- |
|
|
141
|
-
| **
|
|
142
|
-
| **
|
|
140
|
+
| **user_guid** | **String** | The unique identifier for a `user`, beginning with the prefix `USR-`. | |
|
|
141
|
+
| **budget_create_request_body** | [**BudgetCreateRequestBody**](BudgetCreateRequestBody.md) | | |
|
|
143
142
|
|
|
144
143
|
### Return type
|
|
145
144
|
|
|
@@ -151,17 +150,17 @@ end
|
|
|
151
150
|
|
|
152
151
|
### HTTP request headers
|
|
153
152
|
|
|
154
|
-
- **Content-Type**:
|
|
153
|
+
- **Content-Type**: application/vnd.mx.api.v1+json
|
|
155
154
|
- **Accept**: application/json
|
|
156
155
|
|
|
157
156
|
|
|
158
|
-
##
|
|
157
|
+
## delete_budget
|
|
159
158
|
|
|
160
|
-
>
|
|
159
|
+
> delete_budget(user_guid, budget_guid)
|
|
161
160
|
|
|
162
|
-
|
|
161
|
+
Delete a budget
|
|
163
162
|
|
|
164
|
-
|
|
163
|
+
Delete a budget.
|
|
165
164
|
|
|
166
165
|
### Examples
|
|
167
166
|
|
|
@@ -176,36 +175,32 @@ MxPlatformRuby.configure do |config|
|
|
|
176
175
|
end
|
|
177
176
|
|
|
178
177
|
api_instance = MxPlatformRuby::BudgetsApi.new
|
|
179
|
-
user_guid = '
|
|
178
|
+
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique identifier for a `user`, beginning with the prefix `USR-`.
|
|
180
179
|
budget_guid = 'budget_guid_example' # String | The unique identifier for the budget. Defined by MX.
|
|
181
|
-
opts = {
|
|
182
|
-
budget_update_request_body: MxPlatformRuby::BudgetUpdateRequestBody.new # BudgetUpdateRequestBody |
|
|
183
|
-
}
|
|
184
180
|
|
|
185
181
|
begin
|
|
186
|
-
#
|
|
187
|
-
|
|
188
|
-
p result
|
|
182
|
+
# Delete a budget
|
|
183
|
+
api_instance.delete_budget(user_guid, budget_guid)
|
|
189
184
|
rescue MxPlatformRuby::ApiError => e
|
|
190
|
-
puts "Error when calling BudgetsApi->
|
|
185
|
+
puts "Error when calling BudgetsApi->delete_budget: #{e}"
|
|
191
186
|
end
|
|
192
187
|
```
|
|
193
188
|
|
|
194
|
-
#### Using the
|
|
189
|
+
#### Using the delete_budget_with_http_info variant
|
|
195
190
|
|
|
196
|
-
This returns an Array which contains the response data, status code and headers.
|
|
191
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
197
192
|
|
|
198
|
-
> <Array(
|
|
193
|
+
> <Array(nil, Integer, Hash)> delete_budget_with_http_info(user_guid, budget_guid)
|
|
199
194
|
|
|
200
195
|
```ruby
|
|
201
196
|
begin
|
|
202
|
-
#
|
|
203
|
-
data, status_code, headers = api_instance.
|
|
197
|
+
# Delete a budget
|
|
198
|
+
data, status_code, headers = api_instance.delete_budget_with_http_info(user_guid, budget_guid)
|
|
204
199
|
p status_code # => 2xx
|
|
205
200
|
p headers # => { ... }
|
|
206
|
-
p data # =>
|
|
201
|
+
p data # => nil
|
|
207
202
|
rescue MxPlatformRuby::ApiError => e
|
|
208
|
-
puts "Error when calling BudgetsApi->
|
|
203
|
+
puts "Error when calling BudgetsApi->delete_budget_with_http_info: #{e}"
|
|
209
204
|
end
|
|
210
205
|
```
|
|
211
206
|
|
|
@@ -213,13 +208,12 @@ end
|
|
|
213
208
|
|
|
214
209
|
| Name | Type | Description | Notes |
|
|
215
210
|
| ---- | ---- | ----------- | ----- |
|
|
216
|
-
| **user_guid** | **String** | The unique identifier for
|
|
211
|
+
| **user_guid** | **String** | The unique identifier for a `user`, beginning with the prefix `USR-`. | |
|
|
217
212
|
| **budget_guid** | **String** | The unique identifier for the budget. Defined by MX. | |
|
|
218
|
-
| **budget_update_request_body** | [**BudgetUpdateRequestBody**](BudgetUpdateRequestBody.md) | | [optional] |
|
|
219
213
|
|
|
220
214
|
### Return type
|
|
221
215
|
|
|
222
|
-
|
|
216
|
+
nil (empty response body)
|
|
223
217
|
|
|
224
218
|
### Authorization
|
|
225
219
|
|
|
@@ -227,17 +221,17 @@ end
|
|
|
227
221
|
|
|
228
222
|
### HTTP request headers
|
|
229
223
|
|
|
230
|
-
- **Content-Type**:
|
|
231
|
-
- **Accept**:
|
|
224
|
+
- **Content-Type**: Not defined
|
|
225
|
+
- **Accept**: Not defined
|
|
232
226
|
|
|
233
227
|
|
|
234
|
-
##
|
|
228
|
+
## list_all_budgets
|
|
235
229
|
|
|
236
|
-
> <BudgetResponseBody>
|
|
230
|
+
> <BudgetResponseBody> list_all_budgets(user_guid)
|
|
237
231
|
|
|
238
|
-
|
|
232
|
+
List all budgets
|
|
239
233
|
|
|
240
|
-
|
|
234
|
+
List all budgets
|
|
241
235
|
|
|
242
236
|
### Examples
|
|
243
237
|
|
|
@@ -252,32 +246,32 @@ MxPlatformRuby.configure do |config|
|
|
|
252
246
|
end
|
|
253
247
|
|
|
254
248
|
api_instance = MxPlatformRuby::BudgetsApi.new
|
|
255
|
-
user_guid = '
|
|
249
|
+
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique identifier for a `user`, beginning with the prefix `USR-`.
|
|
256
250
|
|
|
257
251
|
begin
|
|
258
|
-
#
|
|
259
|
-
result = api_instance.
|
|
252
|
+
# List all budgets
|
|
253
|
+
result = api_instance.list_all_budgets(user_guid)
|
|
260
254
|
p result
|
|
261
255
|
rescue MxPlatformRuby::ApiError => e
|
|
262
|
-
puts "Error when calling BudgetsApi->
|
|
256
|
+
puts "Error when calling BudgetsApi->list_all_budgets: #{e}"
|
|
263
257
|
end
|
|
264
258
|
```
|
|
265
259
|
|
|
266
|
-
#### Using the
|
|
260
|
+
#### Using the list_all_budgets_with_http_info variant
|
|
267
261
|
|
|
268
262
|
This returns an Array which contains the response data, status code and headers.
|
|
269
263
|
|
|
270
|
-
> <Array(<BudgetResponseBody>, Integer, Hash)>
|
|
264
|
+
> <Array(<BudgetResponseBody>, Integer, Hash)> list_all_budgets_with_http_info(user_guid)
|
|
271
265
|
|
|
272
266
|
```ruby
|
|
273
267
|
begin
|
|
274
|
-
#
|
|
275
|
-
data, status_code, headers = api_instance.
|
|
268
|
+
# List all budgets
|
|
269
|
+
data, status_code, headers = api_instance.list_all_budgets_with_http_info(user_guid)
|
|
276
270
|
p status_code # => 2xx
|
|
277
271
|
p headers # => { ... }
|
|
278
272
|
p data # => <BudgetResponseBody>
|
|
279
273
|
rescue MxPlatformRuby::ApiError => e
|
|
280
|
-
puts "Error when calling BudgetsApi->
|
|
274
|
+
puts "Error when calling BudgetsApi->list_all_budgets_with_http_info: #{e}"
|
|
281
275
|
end
|
|
282
276
|
```
|
|
283
277
|
|
|
@@ -285,7 +279,7 @@ end
|
|
|
285
279
|
|
|
286
280
|
| Name | Type | Description | Notes |
|
|
287
281
|
| ---- | ---- | ----------- | ----- |
|
|
288
|
-
| **user_guid** | **String** | The unique identifier for
|
|
282
|
+
| **user_guid** | **String** | The unique identifier for a `user`, beginning with the prefix `USR-`. | |
|
|
289
283
|
|
|
290
284
|
### Return type
|
|
291
285
|
|
|
@@ -298,16 +292,16 @@ end
|
|
|
298
292
|
### HTTP request headers
|
|
299
293
|
|
|
300
294
|
- **Content-Type**: Not defined
|
|
301
|
-
- **Accept**: application/json
|
|
295
|
+
- **Accept**: application/vnd.mx.api.v1+json
|
|
302
296
|
|
|
303
297
|
|
|
304
|
-
##
|
|
298
|
+
## read_specific_budget
|
|
305
299
|
|
|
306
|
-
> <BudgetResponseBody>
|
|
300
|
+
> <BudgetResponseBody> read_specific_budget(user_guid, budget_guid)
|
|
307
301
|
|
|
308
|
-
|
|
302
|
+
Read a specific budget
|
|
309
303
|
|
|
310
|
-
|
|
304
|
+
Read a specific budget.
|
|
311
305
|
|
|
312
306
|
### Examples
|
|
313
307
|
|
|
@@ -322,32 +316,33 @@ MxPlatformRuby.configure do |config|
|
|
|
322
316
|
end
|
|
323
317
|
|
|
324
318
|
api_instance = MxPlatformRuby::BudgetsApi.new
|
|
325
|
-
user_guid = '
|
|
319
|
+
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique identifier for a `user`, beginning with the prefix `USR-`.
|
|
320
|
+
budget_guid = 'budget_guid_example' # String | The unique identifier for the budget. Defined by MX.
|
|
326
321
|
|
|
327
322
|
begin
|
|
328
|
-
#
|
|
329
|
-
result = api_instance.
|
|
323
|
+
# Read a specific budget
|
|
324
|
+
result = api_instance.read_specific_budget(user_guid, budget_guid)
|
|
330
325
|
p result
|
|
331
326
|
rescue MxPlatformRuby::ApiError => e
|
|
332
|
-
puts "Error when calling BudgetsApi->
|
|
327
|
+
puts "Error when calling BudgetsApi->read_specific_budget: #{e}"
|
|
333
328
|
end
|
|
334
329
|
```
|
|
335
330
|
|
|
336
|
-
#### Using the
|
|
331
|
+
#### Using the read_specific_budget_with_http_info variant
|
|
337
332
|
|
|
338
333
|
This returns an Array which contains the response data, status code and headers.
|
|
339
334
|
|
|
340
|
-
> <Array(<BudgetResponseBody>, Integer, Hash)>
|
|
335
|
+
> <Array(<BudgetResponseBody>, Integer, Hash)> read_specific_budget_with_http_info(user_guid, budget_guid)
|
|
341
336
|
|
|
342
337
|
```ruby
|
|
343
338
|
begin
|
|
344
|
-
#
|
|
345
|
-
data, status_code, headers = api_instance.
|
|
339
|
+
# Read a specific budget
|
|
340
|
+
data, status_code, headers = api_instance.read_specific_budget_with_http_info(user_guid, budget_guid)
|
|
346
341
|
p status_code # => 2xx
|
|
347
342
|
p headers # => { ... }
|
|
348
343
|
p data # => <BudgetResponseBody>
|
|
349
344
|
rescue MxPlatformRuby::ApiError => e
|
|
350
|
-
puts "Error when calling BudgetsApi->
|
|
345
|
+
puts "Error when calling BudgetsApi->read_specific_budget_with_http_info: #{e}"
|
|
351
346
|
end
|
|
352
347
|
```
|
|
353
348
|
|
|
@@ -355,7 +350,8 @@ end
|
|
|
355
350
|
|
|
356
351
|
| Name | Type | Description | Notes |
|
|
357
352
|
| ---- | ---- | ----------- | ----- |
|
|
358
|
-
| **user_guid** | **String** | The unique identifier for
|
|
353
|
+
| **user_guid** | **String** | The unique identifier for a `user`, beginning with the prefix `USR-`. | |
|
|
354
|
+
| **budget_guid** | **String** | The unique identifier for the budget. Defined by MX. | |
|
|
359
355
|
|
|
360
356
|
### Return type
|
|
361
357
|
|
|
@@ -368,16 +364,16 @@ end
|
|
|
368
364
|
### HTTP request headers
|
|
369
365
|
|
|
370
366
|
- **Content-Type**: Not defined
|
|
371
|
-
- **Accept**: application/json
|
|
367
|
+
- **Accept**: application/vnd.mx.api.v1+json
|
|
372
368
|
|
|
373
369
|
|
|
374
|
-
##
|
|
370
|
+
## update_specific_budget
|
|
375
371
|
|
|
376
|
-
> <BudgetResponseBody>
|
|
372
|
+
> <BudgetResponseBody> update_specific_budget(user_guid, budget_guid, opts)
|
|
377
373
|
|
|
378
|
-
|
|
374
|
+
Update a specific budget
|
|
379
375
|
|
|
380
|
-
|
|
376
|
+
Update a specific budget.
|
|
381
377
|
|
|
382
378
|
### Examples
|
|
383
379
|
|
|
@@ -392,33 +388,36 @@ MxPlatformRuby.configure do |config|
|
|
|
392
388
|
end
|
|
393
389
|
|
|
394
390
|
api_instance = MxPlatformRuby::BudgetsApi.new
|
|
395
|
-
user_guid = '
|
|
396
|
-
|
|
391
|
+
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique identifier for a `user`, beginning with the prefix `USR-`.
|
|
392
|
+
budget_guid = 'budget_guid_example' # String | The unique identifier for the budget. Defined by MX.
|
|
393
|
+
opts = {
|
|
394
|
+
budget_update_request_body: MxPlatformRuby::BudgetUpdateRequestBody.new # BudgetUpdateRequestBody |
|
|
395
|
+
}
|
|
397
396
|
|
|
398
397
|
begin
|
|
399
|
-
#
|
|
400
|
-
result = api_instance.
|
|
398
|
+
# Update a specific budget
|
|
399
|
+
result = api_instance.update_specific_budget(user_guid, budget_guid, opts)
|
|
401
400
|
p result
|
|
402
401
|
rescue MxPlatformRuby::ApiError => e
|
|
403
|
-
puts "Error when calling BudgetsApi->
|
|
402
|
+
puts "Error when calling BudgetsApi->update_specific_budget: #{e}"
|
|
404
403
|
end
|
|
405
404
|
```
|
|
406
405
|
|
|
407
|
-
#### Using the
|
|
406
|
+
#### Using the update_specific_budget_with_http_info variant
|
|
408
407
|
|
|
409
408
|
This returns an Array which contains the response data, status code and headers.
|
|
410
409
|
|
|
411
|
-
> <Array(<BudgetResponseBody>, Integer, Hash)>
|
|
410
|
+
> <Array(<BudgetResponseBody>, Integer, Hash)> update_specific_budget_with_http_info(user_guid, budget_guid, opts)
|
|
412
411
|
|
|
413
412
|
```ruby
|
|
414
413
|
begin
|
|
415
|
-
#
|
|
416
|
-
data, status_code, headers = api_instance.
|
|
414
|
+
# Update a specific budget
|
|
415
|
+
data, status_code, headers = api_instance.update_specific_budget_with_http_info(user_guid, budget_guid, opts)
|
|
417
416
|
p status_code # => 2xx
|
|
418
417
|
p headers # => { ... }
|
|
419
418
|
p data # => <BudgetResponseBody>
|
|
420
419
|
rescue MxPlatformRuby::ApiError => e
|
|
421
|
-
puts "Error when calling BudgetsApi->
|
|
420
|
+
puts "Error when calling BudgetsApi->update_specific_budget_with_http_info: #{e}"
|
|
422
421
|
end
|
|
423
422
|
```
|
|
424
423
|
|
|
@@ -426,8 +425,9 @@ end
|
|
|
426
425
|
|
|
427
426
|
| Name | Type | Description | Notes |
|
|
428
427
|
| ---- | ---- | ----------- | ----- |
|
|
429
|
-
| **user_guid** | **String** | The unique identifier for
|
|
430
|
-
| **
|
|
428
|
+
| **user_guid** | **String** | The unique identifier for a `user`, beginning with the prefix `USR-`. | |
|
|
429
|
+
| **budget_guid** | **String** | The unique identifier for the budget. Defined by MX. | |
|
|
430
|
+
| **budget_update_request_body** | [**BudgetUpdateRequestBody**](BudgetUpdateRequestBody.md) | | [optional] |
|
|
431
431
|
|
|
432
432
|
### Return type
|
|
433
433
|
|
|
@@ -439,6 +439,6 @@ end
|
|
|
439
439
|
|
|
440
440
|
### HTTP request headers
|
|
441
441
|
|
|
442
|
-
- **Content-Type**: application/json
|
|
442
|
+
- **Content-Type**: application/vnd.mx.api.v1+json
|
|
443
443
|
- **Accept**: application/json
|
|
444
444
|
|