From 9f63d69facf8b0c72df7f709ec1692767c0c0236 Mon Sep 17 00:00:00 2001 From: Matt Nguyen Date: Wed, 12 Jan 2022 13:46:58 -0800 Subject: [PATCH] 14.12.0 (#403) Co-authored-by: Matt Nguyen --- .openapi-generator/FILES | 22 +- CHANGELOG.md | 3 + Gemfile.lock | 2 +- Makefile | 2 +- lib/plaid.rb | 13 +- lib/plaid/api/plaid_api.rb | 217 +++++++++++- lib/plaid/api_client.rb | 4 +- lib/plaid/api_error.rb | 2 +- lib/plaid/configuration.rb | 2 +- lib/plaid/models/account_access.rb | 2 +- lib/plaid/models/account_assets.rb | 2 +- lib/plaid/models/account_assets_all_of.rb | 2 +- lib/plaid/models/account_balance.rb | 2 +- lib/plaid/models/account_base.rb | 2 +- lib/plaid/models/account_filter.rb | 2 +- lib/plaid/models/account_filters_response.rb | 2 +- lib/plaid/models/account_identity.rb | 2 +- lib/plaid/models/account_identity_all_of.rb | 2 +- lib/plaid/models/account_product_access.rb | 2 +- .../models/account_product_access_nullable.rb | 2 +- .../models/account_selection_cardinality.rb | 2 +- lib/plaid/models/account_subtype.rb | 2 +- lib/plaid/models/account_type.rb | 2 +- .../models/accounts_balance_get_request.rb | 2 +- .../accounts_balance_get_request_options.rb | 2 +- lib/plaid/models/accounts_get_request.rb | 2 +- .../models/accounts_get_request_options.rb | 2 +- lib/plaid/models/accounts_get_response.rb | 2 +- lib/plaid/models/ach_class.rb | 2 +- lib/plaid/models/address.rb | 2 +- lib/plaid/models/address_data.rb | 2 +- lib/plaid/models/address_data_nullable.rb | 2 +- lib/plaid/models/address_nullable.rb | 2 +- lib/plaid/models/application.rb | 2 +- lib/plaid/models/application_get_request.rb | 2 +- lib/plaid/models/application_get_response.rb | 2 +- lib/plaid/models/apr.rb | 2 +- lib/plaid/models/asset_report.rb | 2 +- .../asset_report_audit_copy_create_request.rb | 2 +- ...asset_report_audit_copy_create_response.rb | 2 +- .../asset_report_audit_copy_get_request.rb | 2 +- .../asset_report_audit_copy_remove_request.rb | 2 +- ...asset_report_audit_copy_remove_response.rb | 2 +- .../models/asset_report_create_request.rb | 2 +- .../asset_report_create_request_options.rb | 2 +- .../models/asset_report_create_response.rb | 2 +- .../models/asset_report_filter_request.rb | 2 +- .../models/asset_report_filter_response.rb | 2 +- lib/plaid/models/asset_report_get_request.rb | 2 +- lib/plaid/models/asset_report_get_response.rb | 2 +- lib/plaid/models/asset_report_item.rb | 2 +- .../models/asset_report_pdf_get_request.rb | 2 +- .../models/asset_report_refresh_request.rb | 2 +- .../asset_report_refresh_request_options.rb | 2 +- .../models/asset_report_refresh_response.rb | 2 +- .../models/asset_report_remove_request.rb | 2 +- .../models/asset_report_remove_response.rb | 2 +- lib/plaid/models/asset_report_transaction.rb | 6 +- .../models/asset_report_transaction_all_of.rb | 2 +- lib/plaid/models/asset_report_user.rb | 2 +- lib/plaid/models/assets_error_webhook.rb | 2 +- .../models/assets_product_ready_webhook.rb | 2 +- lib/plaid/models/auth_get_numbers.rb | 2 +- lib/plaid/models/auth_get_request.rb | 2 +- lib/plaid/models/auth_get_request_options.rb | 2 +- lib/plaid/models/auth_get_response.rb | 2 +- lib/plaid/models/auth_metadata.rb | 2 +- lib/plaid/models/auth_supported_methods.rb | 2 +- .../models/automatically_verified_webhook.rb | 2 +- .../models/bank_initiated_return_risk.rb | 2 +- lib/plaid/models/bank_transfer.rb | 2 +- lib/plaid/models/bank_transfer_balance.rb | 2 +- .../bank_transfer_balance_get_request.rb | 2 +- .../bank_transfer_balance_get_response.rb | 2 +- .../models/bank_transfer_cancel_request.rb | 2 +- .../models/bank_transfer_cancel_response.rb | 2 +- .../models/bank_transfer_create_request.rb | 2 +- .../models/bank_transfer_create_response.rb | 2 +- lib/plaid/models/bank_transfer_direction.rb | 2 +- lib/plaid/models/bank_transfer_event.rb | 22 +- .../bank_transfer_event_list_request.rb | 2 +- .../bank_transfer_event_list_response.rb | 2 +- .../bank_transfer_event_sync_request.rb | 2 +- .../bank_transfer_event_sync_response.rb | 2 +- lib/plaid/models/bank_transfer_event_type.rb | 4 +- lib/plaid/models/bank_transfer_failure.rb | 2 +- lib/plaid/models/bank_transfer_get_request.rb | 2 +- .../models/bank_transfer_get_response.rb | 2 +- .../models/bank_transfer_list_request.rb | 2 +- .../models/bank_transfer_list_response.rb | 2 +- .../bank_transfer_migrate_account_request.rb | 2 +- .../bank_transfer_migrate_account_response.rb | 2 +- lib/plaid/models/bank_transfer_network.rb | 2 +- lib/plaid/models/bank_transfer_status.rb | 2 +- lib/plaid/models/bank_transfer_sweep.rb | 2 +- .../models/bank_transfer_sweep_get_request.rb | 2 +- .../bank_transfer_sweep_get_response.rb | 2 +- .../bank_transfer_sweep_list_request.rb | 2 +- .../bank_transfer_sweep_list_response.rb | 2 +- lib/plaid/models/bank_transfer_type.rb | 2 +- lib/plaid/models/bank_transfer_user.rb | 2 +- .../bank_transfers_events_update_webhook.rb | 2 +- lib/plaid/models/categories_get_response.rb | 2 +- lib/plaid/models/category.rb | 2 +- lib/plaid/models/cause.rb | 2 +- lib/plaid/models/connected_application.rb | 2 +- lib/plaid/models/country_code.rb | 2 +- lib/plaid/models/credit_card_liability.rb | 2 +- lib/plaid/models/credit_filter.rb | 4 +- .../models/customer_initiated_return_risk.rb | 2 +- lib/plaid/models/deductions.rb | 2 +- lib/plaid/models/deductions_breakdown.rb | 2 +- lib/plaid/models/deductions_total.rb | 2 +- lib/plaid/models/default_update_webhook.rb | 2 +- .../models/deposit_switch_address_data.rb | 2 +- .../deposit_switch_alt_create_request.rb | 2 +- .../deposit_switch_alt_create_response.rb | 2 +- .../models/deposit_switch_create_request.rb | 2 +- .../deposit_switch_create_request_options.rb | 2 +- .../models/deposit_switch_create_response.rb | 2 +- .../models/deposit_switch_get_request.rb | 2 +- .../models/deposit_switch_get_response.rb | 2 +- .../deposit_switch_state_update_webhook.rb | 2 +- .../models/deposit_switch_target_account.rb | 2 +- .../models/deposit_switch_target_user.rb | 2 +- .../deposit_switch_token_create_request.rb | 2 +- .../deposit_switch_token_create_response.rb | 2 +- lib/plaid/models/depository_filter.rb | 4 +- lib/plaid/models/distribution_breakdown.rb | 2 +- lib/plaid/models/doc_type.rb | 3 +- lib/plaid/models/document_metadata.rb | 2 +- lib/plaid/models/earnings.rb | 2 +- lib/plaid/models/earnings_breakdown.rb | 2 +- ...arnings_breakdown_canonical_description.rb | 2 +- lib/plaid/models/earnings_total.rb | 2 +- lib/plaid/models/email.rb | 2 +- lib/plaid/models/employee.rb | 2 +- .../employee_income_summary_field_string.rb | 2 +- lib/plaid/models/employer.rb | 2 +- .../employer_income_summary_field_string.rb | 2 +- lib/plaid/models/employer_verification.rb | 2 +- lib/plaid/models/employers_search_request.rb | 2 +- lib/plaid/models/employers_search_response.rb | 2 +- lib/plaid/models/employment_details.rb | 2 +- lib/plaid/models/employment_verification.rb | 2 +- .../employment_verification_get_request.rb | 2 +- .../employment_verification_get_response.rb | 2 +- .../models/employment_verification_status.rb | 2 +- lib/plaid/models/error.rb | 4 +- lib/plaid/models/external_payment_options.rb | 2 +- .../models/external_payment_refund_details.rb | 2 +- .../models/external_payment_schedule_base.rb | 2 +- .../models/external_payment_schedule_get.rb | 2 +- .../external_payment_schedule_request.rb | 2 +- lib/plaid/models/health_incident.rb | 2 +- lib/plaid/models/historical_balance.rb | 2 +- lib/plaid/models/historical_update_webhook.rb | 2 +- lib/plaid/models/holding.rb | 2 +- .../models/holdings_default_update_webhook.rb | 2 +- lib/plaid/models/holdings_override.rb | 2 +- lib/plaid/models/identity_get_request.rb | 2 +- .../models/identity_get_request_options.rb | 2 +- lib/plaid/models/identity_get_response.rb | 2 +- lib/plaid/models/incident_update.rb | 2 +- lib/plaid/models/income_breakdown.rb | 2 +- lib/plaid/models/income_breakdown_type.rb | 2 +- lib/plaid/models/income_override.rb | 2 +- lib/plaid/models/income_summary.rb | 2 +- .../models/income_summary_field_number.rb | 2 +- .../models/income_summary_field_string.rb | 2 +- .../income_verification_create_request.rb | 2 +- ...ome_verification_create_request_options.rb | 2 +- .../income_verification_create_response.rb | 2 +- ...verification_documents_download_request.rb | 2 +- ...income_verification_paystub_get_request.rb | 2 +- ...ncome_verification_paystub_get_response.rb | 2 +- ...ncome_verification_paystubs_get_request.rb | 2 +- ...come_verification_paystubs_get_response.rb | 2 +- ...income_verification_precheck_confidence.rb | 2 +- .../income_verification_precheck_employer.rb | 2 +- ..._verification_precheck_employer_address.rb | 2 +- ...fication_precheck_employer_address_data.rb | 2 +- ...ome_verification_precheck_military_info.rb | 2 +- .../income_verification_precheck_request.rb | 2 +- .../income_verification_precheck_response.rb | 2 +- .../income_verification_precheck_user.rb | 2 +- .../income_verification_refresh_request.rb | 2 +- .../income_verification_refresh_response.rb | 2 +- .../income_verification_status_webhook.rb | 2 +- ...income_verification_summary_get_request.rb | 2 +- ...ncome_verification_summary_get_response.rb | 2 +- ...ncome_verification_taxforms_get_request.rb | 2 +- ...come_verification_taxforms_get_response.rb | 2 +- .../income_verification_webhook_status.rb | 2 +- lib/plaid/models/inflow_model.rb | 2 +- lib/plaid/models/initial_update_webhook.rb | 2 +- lib/plaid/models/institution.rb | 2 +- lib/plaid/models/institution_status.rb | 2 +- .../models/institutions_get_by_id_request.rb | 23 +- .../institutions_get_by_id_request_options.rb | 2 +- .../models/institutions_get_by_id_response.rb | 2 +- lib/plaid/models/institutions_get_request.rb | 32 +- .../institutions_get_request_options.rb | 22 +- lib/plaid/models/institutions_get_response.rb | 2 +- .../institutions_search_account_filter.rb | 2 +- ...tions_search_payment_initiation_options.rb | 3 +- .../models/institutions_search_request.rb | 29 +- .../institutions_search_request_options.rb | 5 +- .../models/institutions_search_response.rb | 2 +- lib/plaid/models/investment_filter.rb | 4 +- ...investment_holdings_get_request_options.rb | 2 +- lib/plaid/models/investment_transaction.rb | 2 +- .../investments_default_update_webhook.rb | 2 +- .../investments_holdings_get_request.rb | 2 +- .../investments_holdings_get_response.rb | 2 +- .../investments_transactions_get_request.rb | 2 +- ...tments_transactions_get_request_options.rb | 2 +- .../investments_transactions_get_response.rb | 2 +- .../investments_transactions_override.rb | 2 +- lib/plaid/models/item.rb | 2 +- .../item_access_token_invalidate_request.rb | 2 +- .../item_access_token_invalidate_response.rb | 2 +- .../models/item_application_list_request.rb | 2 +- .../models/item_application_list_response.rb | 2 +- .../models/item_application_list_user_auth.rb | 2 +- .../item_application_scopes_update_request.rb | 2 +- ...item_application_scopes_update_response.rb | 2 +- lib/plaid/models/item_error_webhook.rb | 2 +- lib/plaid/models/item_get_request.rb | 2 +- lib/plaid/models/item_get_response.rb | 2 +- lib/plaid/models/item_import_request.rb | 2 +- .../models/item_import_request_options.rb | 2 +- .../models/item_import_request_user_auth.rb | 2 +- lib/plaid/models/item_import_response.rb | 2 +- .../models/item_product_ready_webhook.rb | 2 +- .../item_public_token_create_request.rb | 2 +- .../item_public_token_create_response.rb | 2 +- .../item_public_token_exchange_request.rb | 2 +- .../item_public_token_exchange_response.rb | 2 +- lib/plaid/models/item_remove_request.rb | 2 +- lib/plaid/models/item_remove_response.rb | 2 +- lib/plaid/models/item_status.rb | 2 +- lib/plaid/models/item_status_investments.rb | 2 +- lib/plaid/models/item_status_last_webhook.rb | 2 +- lib/plaid/models/item_status_nullable.rb | 2 +- lib/plaid/models/item_status_transactions.rb | 2 +- .../models/item_webhook_update_request.rb | 2 +- .../models/item_webhook_update_response.rb | 2 +- lib/plaid/models/jwk_public_key.rb | 2 +- lib/plaid/models/jwt_header.rb | 2 +- .../liabilities_default_update_webhook.rb | 2 +- lib/plaid/models/liabilities_get_request.rb | 2 +- .../models/liabilities_get_request_options.rb | 2 +- lib/plaid/models/liabilities_get_response.rb | 2 +- lib/plaid/models/liabilities_object.rb | 2 +- lib/plaid/models/liability_override.rb | 2 +- .../models/link_token_account_filters.rb | 4 +- lib/plaid/models/link_token_create_request.rb | 4 +- ...k_token_create_request_account_subtypes.rb | 4 +- .../models/link_token_create_request_auth.rb | 2 +- ...ink_token_create_request_deposit_switch.rb | 2 +- ...oken_create_request_income_verification.rb | 2 +- ...token_create_request_payment_initiation.rb | 2 +- .../link_token_create_request_transfer.rb | 2 +- .../link_token_create_request_update.rb | 2 +- .../models/link_token_create_request_user.rb | 2 +- .../models/link_token_create_response.rb | 2 +- lib/plaid/models/link_token_eu_config.rb | 2 +- .../link_token_get_metadata_response.rb | 2 +- lib/plaid/models/link_token_get_request.rb | 2 +- lib/plaid/models/link_token_get_response.rb | 2 +- lib/plaid/models/loan_filter.rb | 4 +- lib/plaid/models/location.rb | 2 +- lib/plaid/models/meta.rb | 2 +- lib/plaid/models/mfa.rb | 2 +- lib/plaid/models/mortgage_interest_rate.rb | 2 +- lib/plaid/models/mortgage_liability.rb | 2 +- lib/plaid/models/mortgage_property_address.rb | 2 +- lib/plaid/models/net_pay.rb | 2 +- .../models/new_accounts_available_webhook.rb | 2 +- lib/plaid/models/numbers.rb | 2 +- lib/plaid/models/numbers_ach.rb | 2 +- lib/plaid/models/numbers_ach_nullable.rb | 2 +- lib/plaid/models/numbers_bacs.rb | 2 +- lib/plaid/models/numbers_bacs_nullable.rb | 2 +- lib/plaid/models/numbers_eft.rb | 2 +- lib/plaid/models/numbers_eft_nullable.rb | 2 +- lib/plaid/models/numbers_international.rb | 2 +- .../models/numbers_international_nullable.rb | 2 +- lib/plaid/models/override_account_type.rb | 2 +- lib/plaid/models/override_accounts.rb | 2 +- lib/plaid/models/owner.rb | 2 +- lib/plaid/models/owner_override.rb | 2 +- lib/plaid/models/pay.rb | 28 +- lib/plaid/models/pay_frequency.rb | 2 +- lib/plaid/models/pay_frequency_value.rb | 2 +- lib/plaid/models/pay_period_details.rb | 2 +- lib/plaid/models/payment_amount.rb | 2 +- .../models/payment_initiation_address.rb | 2 +- .../models/payment_initiation_metadata.rb | 4 +- ...nt_initiation_optional_restriction_bacs.rb | 2 +- .../models/payment_initiation_payment.rb | 2 +- ...yment_initiation_payment_create_request.rb | 2 +- ...ment_initiation_payment_create_response.rb | 2 +- .../payment_initiation_payment_get_request.rb | 2 +- ...payment_initiation_payment_get_response.rb | 2 +- ...payment_initiation_payment_list_request.rb | 2 +- ...ayment_initiation_payment_list_response.rb | 2 +- ...ment_initiation_payment_reverse_request.rb | 2 +- ...ent_initiation_payment_reverse_response.rb | 2 +- .../payment_initiation_payment_status.rb | 2 +- ...initiation_payment_token_create_request.rb | 2 +- ...nitiation_payment_token_create_response.rb | 2 +- .../models/payment_initiation_recipient.rb | 2 +- ...ent_initiation_recipient_create_request.rb | 2 +- ...nt_initiation_recipient_create_response.rb | 2 +- ...ayment_initiation_recipient_get_request.rb | 2 +- ...yment_initiation_recipient_get_response.rb | 2 +- ...nitiation_recipient_get_response_all_of.rb | 2 +- ...yment_initiation_recipient_list_request.rb | 2 +- ...ment_initiation_recipient_list_response.rb | 2 +- lib/plaid/models/payment_initiation_refund.rb | 2 +- ...ment_initiation_standing_order_metadata.rb | 2 +- lib/plaid/models/payment_meta.rb | 2 +- lib/plaid/models/payment_schedule_interval.rb | 2 +- lib/plaid/models/payment_scheme.rb | 2 +- .../models/payment_status_update_webhook.rb | 54 +-- lib/plaid/models/paystub.rb | 2 +- lib/plaid/models/paystub_address.rb | 2 +- lib/plaid/models/paystub_deduction.rb | 2 +- lib/plaid/models/paystub_details.rb | 2 +- lib/plaid/models/paystub_employer.rb | 2 +- lib/plaid/models/paystub_override.rb | 2 +- lib/plaid/models/paystub_override_employee.rb | 2 +- .../paystub_override_employee_address.rb | 2 +- lib/plaid/models/paystub_override_employer.rb | 2 +- lib/plaid/models/paystub_pay_frequency.rb | 2 +- lib/plaid/models/paystub_verification.rb | 2 +- .../models/paystub_verification_status.rb | 2 +- lib/plaid/models/paystub_ytd_details.rb | 2 +- .../models/pending_expiration_webhook.rb | 2 +- lib/plaid/models/personal_finance_category.rb | 2 +- lib/plaid/models/phone_number.rb | 2 +- lib/plaid/models/plaid_error.rb | 4 +- lib/plaid/models/platform_ids.rb | 2 +- ...sor_apex_processor_token_create_request.rb | 2 +- .../models/processor_auth_get_request.rb | 2 +- .../models/processor_auth_get_response.rb | 2 +- .../models/processor_balance_get_request.rb | 2 +- .../processor_balance_get_request_options.rb | 2 +- .../models/processor_balance_get_response.rb | 2 +- .../processor_bank_transfer_create_request.rb | 2 +- ...processor_bank_transfer_create_response.rb | 2 +- .../models/processor_identity_get_request.rb | 2 +- .../models/processor_identity_get_response.rb | 2 +- lib/plaid/models/processor_number.rb | 2 +- ...tripe_bank_account_token_create_request.rb | 2 +- ...ripe_bank_account_token_create_response.rb | 2 +- .../models/processor_token_create_request.rb | 2 +- .../models/processor_token_create_response.rb | 2 +- lib/plaid/models/product_access.rb | 2 +- lib/plaid/models/product_status.rb | 2 +- lib/plaid/models/product_status_breakdown.rb | 2 +- lib/plaid/models/products.rb | 2 +- .../projected_income_summary_field_number.rb | 2 +- lib/plaid/models/pslf_status.rb | 2 +- lib/plaid/models/recaptcha_required_error.rb | 2 +- lib/plaid/models/recipient_bacs.rb | 2 +- lib/plaid/models/recipient_bacs_nullable.rb | 2 +- .../models/recurring_transaction_frequency.rb | 2 +- lib/plaid/models/removed_transaction.rb | 2 +- lib/plaid/models/requested_scopes.rb | 2 +- ...dbox_bank_transfer_fire_webhook_request.rb | 2 +- ...box_bank_transfer_fire_webhook_response.rb | 2 +- .../sandbox_bank_transfer_simulate_request.rb | 2 +- ...sandbox_bank_transfer_simulate_response.rb | 2 +- .../sandbox_income_fire_webhook_request.rb | 2 +- .../sandbox_income_fire_webhook_response.rb | 2 +- .../sandbox_item_fire_webhook_request.rb | 8 +- .../sandbox_item_fire_webhook_response.rb | 2 +- .../sandbox_item_reset_login_request.rb | 2 +- .../sandbox_item_reset_login_response.rb | 2 +- ...ox_item_set_verification_status_request.rb | 2 +- ...x_item_set_verification_status_response.rb | 2 +- .../sandbox_oauth_select_accounts_request.rb | 2 +- .../sandbox_processor_token_create_request.rb | 2 +- ..._processor_token_create_request_options.rb | 2 +- ...sandbox_processor_token_create_response.rb | 2 +- .../sandbox_public_token_create_request.rb | 2 +- ...box_public_token_create_request_options.rb | 2 +- ...ken_create_request_options_transactions.rb | 2 +- .../sandbox_public_token_create_response.rb | 2 +- ...box_transfer_repayment_simulate_request.rb | 230 +++++++++++++ ...ox_transfer_repayment_simulate_response.rb | 225 ++++++++++++ .../sandbox_transfer_simulate_request.rb | 2 +- .../sandbox_transfer_simulate_response.rb | 2 +- ...sandbox_transfer_sweep_simulate_request.rb | 2 +- ...andbox_transfer_sweep_simulate_response.rb | 2 +- lib/plaid/models/scopes.rb | 2 +- lib/plaid/models/scopes_context.rb | 2 +- lib/plaid/models/scopes_nullable.rb | 2 +- lib/plaid/models/security.rb | 2 +- lib/plaid/models/security_override.rb | 2 +- lib/plaid/models/sender_bacs_nullable.rb | 2 +- lib/plaid/models/servicer_address_data.rb | 2 +- lib/plaid/models/signal_address_data.rb | 2 +- .../models/signal_decision_report_request.rb | 2 +- .../models/signal_decision_report_response.rb | 2 +- lib/plaid/models/signal_device.rb | 2 +- .../models/signal_evaluate_core_attributes.rb | 2 +- lib/plaid/models/signal_evaluate_request.rb | 2 +- lib/plaid/models/signal_evaluate_response.rb | 2 +- lib/plaid/models/signal_person_name.rb | 2 +- .../models/signal_return_report_request.rb | 2 +- .../models/signal_return_report_response.rb | 2 +- lib/plaid/models/signal_scores.rb | 2 +- lib/plaid/models/signal_user.rb | 2 +- lib/plaid/models/simulated_transfer_sweep.rb | 2 +- lib/plaid/models/standalone_account_type.rb | 4 +- .../models/standalone_currency_code_list.rb | 2 +- .../standalone_investment_transaction_type.rb | 2 +- lib/plaid/models/student_loan.rb | 2 +- .../models/student_loan_repayment_model.rb | 2 +- lib/plaid/models/student_loan_status.rb | 2 +- lib/plaid/models/student_repayment_plan.rb | 2 +- lib/plaid/models/taxform.rb | 2 +- lib/plaid/models/taxpayer_id.rb | 2 +- lib/plaid/models/total.rb | 2 +- .../models/total_canonical_description.rb | 2 +- lib/plaid/models/transaction.rb | 6 +- lib/plaid/models/transaction_all_of.rb | 2 +- lib/plaid/models/transaction_base.rb | 6 +- lib/plaid/models/transaction_code.rb | 2 +- lib/plaid/models/transaction_data.rb | 2 +- lib/plaid/models/transaction_override.rb | 2 +- lib/plaid/models/transaction_stream.rb | 2 +- lib/plaid/models/transaction_stream_amount.rb | 2 +- lib/plaid/models/transactions_get_request.rb | 2 +- .../transactions_get_request_options.rb | 2 +- lib/plaid/models/transactions_get_response.rb | 2 +- .../transactions_recurring_get_request.rb | 2 +- .../transactions_recurring_get_response.rb | 2 +- .../models/transactions_refresh_request.rb | 2 +- .../models/transactions_refresh_response.rb | 2 +- .../models/transactions_removed_webhook.rb | 2 +- lib/plaid/models/transactions_sync_request.rb | 2 +- .../models/transactions_sync_response.rb | 2 +- lib/plaid/models/transfer.rb | 24 +- lib/plaid/models/transfer_authorization.rb | 26 +- .../transfer_authorization_create_request.rb | 2 +- .../transfer_authorization_create_response.rb | 2 +- ...ansfer_authorization_decision_rationale.rb | 2 +- .../models/transfer_authorization_device.rb | 2 +- ...ansfer_authorization_guarantee_decision.rb | 40 +++ ...horization_guarantee_decision_rationale.rb | 274 +++++++++++++++ ...ransfer_authorization_proposed_transfer.rb | 2 +- lib/plaid/models/transfer_cancel_request.rb | 2 +- lib/plaid/models/transfer_cancel_response.rb | 2 +- lib/plaid/models/transfer_create_request.rb | 2 +- lib/plaid/models/transfer_create_response.rb | 2 +- lib/plaid/models/transfer_event.rb | 2 +- .../models/transfer_event_list_request.rb | 2 +- .../models/transfer_event_list_response.rb | 2 +- .../models/transfer_event_sync_request.rb | 2 +- .../models/transfer_event_sync_response.rb | 2 +- lib/plaid/models/transfer_event_type.rb | 2 +- lib/plaid/models/transfer_failure.rb | 2 +- lib/plaid/models/transfer_get_request.rb | 2 +- lib/plaid/models/transfer_get_response.rb | 2 +- lib/plaid/models/transfer_intent_create.rb | 2 +- .../models/transfer_intent_create_mode.rb | 2 +- .../models/transfer_intent_create_request.rb | 2 +- .../models/transfer_intent_create_response.rb | 2 +- lib/plaid/models/transfer_intent_get.rb | 2 +- .../transfer_intent_get_failure_reason.rb | 2 +- .../models/transfer_intent_get_request.rb | 2 +- .../models/transfer_intent_get_response.rb | 2 +- lib/plaid/models/transfer_list_request.rb | 2 +- lib/plaid/models/transfer_list_response.rb | 2 +- lib/plaid/models/transfer_network.rb | 2 +- lib/plaid/models/transfer_repayment.rb | 270 +++++++++++++++ .../models/transfer_repayment_list_request.rb | 320 ++++++++++++++++++ ...rb => transfer_repayment_list_response.rb} | 80 ++--- lib/plaid/models/transfer_repayment_return.rb | 291 ++++++++++++++++ .../transfer_repayment_return_list_request.rb | 308 +++++++++++++++++ ...transfer_repayment_return_list_response.rb | 241 +++++++++++++ lib/plaid/models/transfer_status.rb | 2 +- lib/plaid/models/transfer_sweep.rb | 2 +- .../models/transfer_sweep_get_request.rb | 2 +- .../models/transfer_sweep_get_response.rb | 2 +- .../models/transfer_sweep_list_request.rb | 2 +- .../models/transfer_sweep_list_response.rb | 2 +- lib/plaid/models/transfer_sweep_status.rb | 2 +- lib/plaid/models/transfer_type.rb | 2 +- .../transfer_user_address_in_request.rb | 2 +- .../transfer_user_address_in_response.rb | 2 +- lib/plaid/models/transfer_user_in_request.rb | 2 +- lib/plaid/models/transfer_user_in_response.rb | 2 +- lib/plaid/models/user_custom_password.rb | 2 +- .../models/user_permission_revoked_webhook.rb | 2 +- lib/plaid/models/verification_attribute.rb | 2 +- .../models/verification_expired_webhook.rb | 2 +- .../models/verification_refresh_status.rb | 2 +- lib/plaid/models/verification_status.rb | 2 +- lib/plaid/models/w2.rb | 2 +- lib/plaid/models/w2_box12.rb | 2 +- lib/plaid/models/w2_state_and_local_wages.rb | 2 +- lib/plaid/models/wallet_balance.rb | 2 +- lib/plaid/models/wallet_get_request.rb | 2 +- lib/plaid/models/wallet_get_response.rb | 2 +- lib/plaid/models/wallet_transaction.rb | 2 +- lib/plaid/models/wallet_transaction_amount.rb | 2 +- .../models/wallet_transaction_counterparty.rb | 2 +- .../wallet_transaction_counterparty_bacs.rb | 2 +- ...wallet_transaction_counterparty_numbers.rb | 2 +- .../wallet_transaction_execute_request.rb | 2 +- .../wallet_transaction_execute_response.rb | 2 +- lib/plaid/models/wallet_transaction_status.rb | 2 +- .../wallet_transactions_list_request.rb | 2 +- .../wallet_transactions_list_response.rb | 2 +- lib/plaid/models/warning.rb | 2 +- .../webhook_update_acknowledged_webhook.rb | 2 +- .../webhook_verification_key_get_request.rb | 2 +- .../webhook_verification_key_get_response.rb | 2 +- .../ytd_gross_income_summary_field_number.rb | 2 +- .../ytd_net_income_summary_field_number.rb | 2 +- lib/plaid/version.rb | 4 +- plaid.gemspec | 2 +- 528 files changed, 3154 insertions(+), 701 deletions(-) create mode 100644 lib/plaid/models/sandbox_transfer_repayment_simulate_request.rb create mode 100644 lib/plaid/models/sandbox_transfer_repayment_simulate_response.rb create mode 100644 lib/plaid/models/transfer_authorization_guarantee_decision.rb create mode 100644 lib/plaid/models/transfer_authorization_guarantee_decision_rationale.rb create mode 100644 lib/plaid/models/transfer_repayment.rb create mode 100644 lib/plaid/models/transfer_repayment_list_request.rb rename lib/plaid/models/{bank_transfer_receiver_details.rb => transfer_repayment_list_response.rb} (73%) create mode 100644 lib/plaid/models/transfer_repayment_return.rb create mode 100644 lib/plaid/models/transfer_repayment_return_list_request.rb create mode 100644 lib/plaid/models/transfer_repayment_return_list_response.rb diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 508ff6112..920173ef0 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -82,7 +82,6 @@ docs/BankTransferListResponse.md docs/BankTransferMigrateAccountRequest.md docs/BankTransferMigrateAccountResponse.md docs/BankTransferNetwork.md -docs/BankTransferReceiverDetails.md docs/BankTransferStatus.md docs/BankTransferSweep.md docs/BankTransferSweepGetRequest.md @@ -383,6 +382,8 @@ docs/SandboxPublicTokenCreateRequest.md docs/SandboxPublicTokenCreateRequestOptions.md docs/SandboxPublicTokenCreateRequestOptionsTransactions.md docs/SandboxPublicTokenCreateResponse.md +docs/SandboxTransferRepaymentSimulateRequest.md +docs/SandboxTransferRepaymentSimulateResponse.md docs/SandboxTransferSimulateRequest.md docs/SandboxTransferSimulateResponse.md docs/SandboxTransferSweepSimulateRequest.md @@ -442,6 +443,8 @@ docs/TransferAuthorizationCreateRequest.md docs/TransferAuthorizationCreateResponse.md docs/TransferAuthorizationDecisionRationale.md docs/TransferAuthorizationDevice.md +docs/TransferAuthorizationGuaranteeDecision.md +docs/TransferAuthorizationGuaranteeDecisionRationale.md docs/TransferAuthorizationProposedTransfer.md docs/TransferCancelRequest.md docs/TransferCancelResponse.md @@ -467,6 +470,12 @@ docs/TransferIntentGetResponse.md docs/TransferListRequest.md docs/TransferListResponse.md docs/TransferNetwork.md +docs/TransferRepayment.md +docs/TransferRepaymentListRequest.md +docs/TransferRepaymentListResponse.md +docs/TransferRepaymentReturn.md +docs/TransferRepaymentReturnListRequest.md +docs/TransferRepaymentReturnListResponse.md docs/TransferStatus.md docs/TransferSweep.md docs/TransferSweepGetRequest.md @@ -597,7 +606,6 @@ lib/plaid/models/bank_transfer_list_response.rb lib/plaid/models/bank_transfer_migrate_account_request.rb lib/plaid/models/bank_transfer_migrate_account_response.rb lib/plaid/models/bank_transfer_network.rb -lib/plaid/models/bank_transfer_receiver_details.rb lib/plaid/models/bank_transfer_status.rb lib/plaid/models/bank_transfer_sweep.rb lib/plaid/models/bank_transfer_sweep_get_request.rb @@ -897,6 +905,8 @@ lib/plaid/models/sandbox_public_token_create_request.rb lib/plaid/models/sandbox_public_token_create_request_options.rb lib/plaid/models/sandbox_public_token_create_request_options_transactions.rb lib/plaid/models/sandbox_public_token_create_response.rb +lib/plaid/models/sandbox_transfer_repayment_simulate_request.rb +lib/plaid/models/sandbox_transfer_repayment_simulate_response.rb lib/plaid/models/sandbox_transfer_simulate_request.rb lib/plaid/models/sandbox_transfer_simulate_response.rb lib/plaid/models/sandbox_transfer_sweep_simulate_request.rb @@ -956,6 +966,8 @@ lib/plaid/models/transfer_authorization_create_request.rb lib/plaid/models/transfer_authorization_create_response.rb lib/plaid/models/transfer_authorization_decision_rationale.rb lib/plaid/models/transfer_authorization_device.rb +lib/plaid/models/transfer_authorization_guarantee_decision.rb +lib/plaid/models/transfer_authorization_guarantee_decision_rationale.rb lib/plaid/models/transfer_authorization_proposed_transfer.rb lib/plaid/models/transfer_cancel_request.rb lib/plaid/models/transfer_cancel_response.rb @@ -981,6 +993,12 @@ lib/plaid/models/transfer_intent_get_response.rb lib/plaid/models/transfer_list_request.rb lib/plaid/models/transfer_list_response.rb lib/plaid/models/transfer_network.rb +lib/plaid/models/transfer_repayment.rb +lib/plaid/models/transfer_repayment_list_request.rb +lib/plaid/models/transfer_repayment_list_response.rb +lib/plaid/models/transfer_repayment_return.rb +lib/plaid/models/transfer_repayment_return_list_request.rb +lib/plaid/models/transfer_repayment_return_list_response.rb lib/plaid/models/transfer_status.rb lib/plaid/models/transfer_sweep.rb lib/plaid/models/transfer_sweep_get_request.rb diff --git a/CHANGELOG.md b/CHANGELOG.md index 942bf1d2c..1ebe80399 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ See full changelog for the OpenAPI schema (OAS) [here](https://github.com/plaid/plaid-openapi/blob/master/CHANGELOG.md). +# 14.12.0 +- Updating to OAS 2020-09-14_1.62.1 + # 14.11.1 - Added a release step to the `Makefile` to purge previously released version of plaid-ruby in the current release. diff --git a/Gemfile.lock b/Gemfile.lock index 855b2a6a8..c0f01a84f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - plaid (14.11.1) + plaid (14.12.0) faraday (~> 1.0, >= 1.0.1) GEM diff --git a/Makefile b/Makefile index 2c4ee472e..dee16fdb2 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # Ruby embeds the version in the generator where as others don't so it's not possible to cat for it. -RUBY_PACKAGE_VERSION=14.11.1 +RUBY_PACKAGE_VERSION=14.12.0 .PHONY: release release: diff --git a/lib/plaid.rb b/lib/plaid.rb index dc7e70193..d0345e5c8 100644 --- a/lib/plaid.rb +++ b/lib/plaid.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -101,7 +101,6 @@ require 'plaid/models/bank_transfer_migrate_account_request' require 'plaid/models/bank_transfer_migrate_account_response' require 'plaid/models/bank_transfer_network' -require 'plaid/models/bank_transfer_receiver_details' require 'plaid/models/bank_transfer_status' require 'plaid/models/bank_transfer_sweep' require 'plaid/models/bank_transfer_sweep_get_request' @@ -401,6 +400,8 @@ require 'plaid/models/sandbox_public_token_create_request_options' require 'plaid/models/sandbox_public_token_create_request_options_transactions' require 'plaid/models/sandbox_public_token_create_response' +require 'plaid/models/sandbox_transfer_repayment_simulate_request' +require 'plaid/models/sandbox_transfer_repayment_simulate_response' require 'plaid/models/sandbox_transfer_simulate_request' require 'plaid/models/sandbox_transfer_simulate_response' require 'plaid/models/sandbox_transfer_sweep_simulate_request' @@ -460,6 +461,8 @@ require 'plaid/models/transfer_authorization_create_response' require 'plaid/models/transfer_authorization_decision_rationale' require 'plaid/models/transfer_authorization_device' +require 'plaid/models/transfer_authorization_guarantee_decision' +require 'plaid/models/transfer_authorization_guarantee_decision_rationale' require 'plaid/models/transfer_authorization_proposed_transfer' require 'plaid/models/transfer_cancel_request' require 'plaid/models/transfer_cancel_response' @@ -485,6 +488,12 @@ require 'plaid/models/transfer_list_request' require 'plaid/models/transfer_list_response' require 'plaid/models/transfer_network' +require 'plaid/models/transfer_repayment' +require 'plaid/models/transfer_repayment_list_request' +require 'plaid/models/transfer_repayment_list_response' +require 'plaid/models/transfer_repayment_return' +require 'plaid/models/transfer_repayment_return_list_request' +require 'plaid/models/transfer_repayment_return_list_response' require 'plaid/models/transfer_status' require 'plaid/models/transfer_sweep' require 'plaid/models/transfer_sweep_get_request' diff --git a/lib/plaid/api/plaid_api.rb b/lib/plaid/api/plaid_api.rb index 2217e4d40..a5862c8d8 100644 --- a/lib/plaid/api/plaid_api.rb +++ b/lib/plaid/api/plaid_api.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -410,7 +410,7 @@ def asset_report_audit_copy_remove_with_http_info(asset_report_audit_copy_remove end # Create an Asset Report - # The `/asset_report/create` endpoint initiates the process of creating an Asset Report, which can then be retrieved by passing the `asset_report_token` return value to the `/asset_report/get` or `/asset_report/pdf/get` endpoints. The Asset Report takes some time to be created and is not available immediately after calling `/asset_report/create`. When the Asset Report is ready to be retrieved using `/asset_report/get` or `/asset_report/pdf/get`, Plaid will fire a `PRODUCT_READY` webhook. For full details of the webhook schema, see [Asset Report webhooks](https://plaid.com/docs/api/webhooks/#Assets-webhooks). The `/asset_report/create` endpoint creates an Asset Report at a moment in time. Asset Reports are immutable. To get an updated Asset Report, use the `/asset_report/refresh` endpoint. + # The `/asset_report/create` endpoint initiates the process of creating an Asset Report, which can then be retrieved by passing the `asset_report_token` return value to the `/asset_report/get` or `/asset_report/pdf/get` endpoints. The Asset Report takes some time to be created and is not available immediately after calling `/asset_report/create`. When the Asset Report is ready to be retrieved using `/asset_report/get` or `/asset_report/pdf/get`, Plaid will fire a `PRODUCT_READY` webhook. For full details of the webhook schema, see [Asset Report webhooks](https://plaid.com/docs/api/webhooks/#assets-webhooks). The `/asset_report/create` endpoint creates an Asset Report at a moment in time. Asset Reports are immutable. To get an updated Asset Report, use the `/asset_report/refresh` endpoint. # @param asset_report_create_request [AssetReportCreateRequest] # @param [Hash] opts the optional parameters # @return [AssetReportCreateResponse] @@ -420,7 +420,7 @@ def asset_report_create(asset_report_create_request, opts = {}) end # Create an Asset Report - # The `/asset_report/create` endpoint initiates the process of creating an Asset Report, which can then be retrieved by passing the `asset_report_token` return value to the `/asset_report/get` or `/asset_report/pdf/get` endpoints. The Asset Report takes some time to be created and is not available immediately after calling `/asset_report/create`. When the Asset Report is ready to be retrieved using `/asset_report/get` or `/asset_report/pdf/get`, Plaid will fire a `PRODUCT_READY` webhook. For full details of the webhook schema, see [Asset Report webhooks](https://plaid.com/docs/api/webhooks/#Assets-webhooks). The `/asset_report/create` endpoint creates an Asset Report at a moment in time. Asset Reports are immutable. To get an updated Asset Report, use the `/asset_report/refresh` endpoint. + # The `/asset_report/create` endpoint initiates the process of creating an Asset Report, which can then be retrieved by passing the `asset_report_token` return value to the `/asset_report/get` or `/asset_report/pdf/get` endpoints. The Asset Report takes some time to be created and is not available immediately after calling `/asset_report/create`. When the Asset Report is ready to be retrieved using `/asset_report/get` or `/asset_report/pdf/get`, Plaid will fire a `PRODUCT_READY` webhook. For full details of the webhook schema, see [Asset Report webhooks](https://plaid.com/docs/api/webhooks/#assets-webhooks). The `/asset_report/create` endpoint creates an Asset Report at a moment in time. Asset Reports are immutable. To get an updated Asset Report, use the `/asset_report/refresh` endpoint. # @param asset_report_create_request [AssetReportCreateRequest] # @param [Hash] opts the optional parameters # @return [Array<(AssetReportCreateResponse, Integer, Hash)>] AssetReportCreateResponse data, response status code and response headers @@ -2165,7 +2165,7 @@ def income_verification_create_with_http_info(income_verification_create_request end # Download the original documents used for income verification - # `/income/verification/documents/download` provides the ability to download the source documents associated with the verification. If Document Income was used, the documents will be those the user provided in Link. For Payroll Income, the most recent files available for download from the payroll provider will be available from this endpoint. The response to `/income/verification/documents/download` is ZIP file in binary data. If a document_id is passed, a single document will be contained in this file. If not, the response will contain all documents associated with the verification. The `request_id` is returned in the `Plaid-Request-ID` header. + # `/income/verification/documents/download` provides the ability to download the source documents associated with the verification. If Document Income was used, the documents will be those the user provided in Link. For Payroll Income, the most recent files available for download from the payroll provider will be available from this endpoint. The response to `/income/verification/documents/download` is a ZIP file in binary data. If a `document_id` is passed, a single document will be contained in this file. If not, the response will contain all documents associated with the verification. The `request_id` is returned in the `Plaid-Request-ID` header. # @param income_verification_documents_download_request [IncomeVerificationDocumentsDownloadRequest] # @param [Hash] opts the optional parameters # @return [File] @@ -2175,7 +2175,7 @@ def income_verification_documents_download(income_verification_documents_downloa end # Download the original documents used for income verification - # `/income/verification/documents/download` provides the ability to download the source documents associated with the verification. If Document Income was used, the documents will be those the user provided in Link. For Payroll Income, the most recent files available for download from the payroll provider will be available from this endpoint. The response to `/income/verification/documents/download` is ZIP file in binary data. If a document_id is passed, a single document will be contained in this file. If not, the response will contain all documents associated with the verification. The `request_id` is returned in the `Plaid-Request-ID` header. + # `/income/verification/documents/download` provides the ability to download the source documents associated with the verification. If Document Income was used, the documents will be those the user provided in Link. For Payroll Income, the most recent files available for download from the payroll provider will be available from this endpoint. The response to `/income/verification/documents/download` is a ZIP file in binary data. If a `document_id` is passed, a single document will be contained in this file. If not, the response will contain all documents associated with the verification. The `request_id` is returned in the `Plaid-Request-ID` header. # @param income_verification_documents_download_request [IncomeVerificationDocumentsDownloadRequest] # @param [Hash] opts the optional parameters # @return [Array<(File, Integer, Hash)>] File data, response status code and response headers @@ -3463,7 +3463,7 @@ def item_remove_with_http_info(item_remove_request, opts = {}) end # Update Webhook URL - # The POST `/item/webhook/update` allows you to update the webhook URL associated with an Item. This request triggers a [`WEBHOOK_UPDATE_ACKNOWLEDGED`](https://plaid.com/docs/api/webhooks/#item-webhook-url-updated) webhook to the newly specified webhook URL. + # The POST `/item/webhook/update` allows you to update the webhook URL associated with an Item. This request triggers a [`WEBHOOK_UPDATE_ACKNOWLEDGED`](https://plaid.com/docs/api/webhooks/#item-webhook-update-acknowledged) webhook to the newly specified webhook URL. # @param item_webhook_update_request [ItemWebhookUpdateRequest] # @param [Hash] opts the optional parameters # @return [ItemWebhookUpdateResponse] @@ -3473,7 +3473,7 @@ def item_webhook_update(item_webhook_update_request, opts = {}) end # Update Webhook URL - # The POST `/item/webhook/update` allows you to update the webhook URL associated with an Item. This request triggers a [`WEBHOOK_UPDATE_ACKNOWLEDGED`](https://plaid.com/docs/api/webhooks/#item-webhook-url-updated) webhook to the newly specified webhook URL. + # The POST `/item/webhook/update` allows you to update the webhook URL associated with an Item. This request triggers a [`WEBHOOK_UPDATE_ACKNOWLEDGED`](https://plaid.com/docs/api/webhooks/#item-webhook-update-acknowledged) webhook to the newly specified webhook URL. # @param item_webhook_update_request [ItemWebhookUpdateRequest] # @param [Hash] opts the optional parameters # @return [Array<(ItemWebhookUpdateResponse, Integer, Hash)>] ItemWebhookUpdateResponse data, response status code and response headers @@ -4828,7 +4828,7 @@ def sandbox_income_fire_webhook_with_http_info(sandbox_income_fire_webhook_reque end # Fire a test webhook - # The `/sandbox/item/fire_webhook` endpoint is used to test that code correctly handles webhooks. Calling this endpoint triggers a Transactions `DEFAULT_UPDATE` webhook to be fired for a given Sandbox Item. If the Item does not support Transactions, a `SANDBOX_PRODUCT_NOT_ENABLED` error will result. Note that this endpoint is provided for developer ease-of-use and is not required for testing webhooks; webhooks will also fire in Sandbox under the same conditions that they would in Production or Development. + # The `/sandbox/item/fire_webhook` endpoint is used to test that code correctly handles webhooks. This endpoint can trigger a Transactions `DEFAULT_UPDATE` webhook to be fired for a given Sandbox Item. If the Item does not support Transactions, a `SANDBOX_PRODUCT_NOT_ENABLED` error will result. This endpoint can also trigger a `NEW_ACCOUNTS_AVAILABLE` webhook to be fired for a given Sandbox Item created with Account Select v2. Note that this endpoint is provided for developer ease-of-use and is not required for testing webhooks; webhooks will also fire in Sandbox under the same conditions that they would in Production or Development. # @param sandbox_item_fire_webhook_request [SandboxItemFireWebhookRequest] # @param [Hash] opts the optional parameters # @return [SandboxItemFireWebhookResponse] @@ -4838,7 +4838,7 @@ def sandbox_item_fire_webhook(sandbox_item_fire_webhook_request, opts = {}) end # Fire a test webhook - # The `/sandbox/item/fire_webhook` endpoint is used to test that code correctly handles webhooks. Calling this endpoint triggers a Transactions `DEFAULT_UPDATE` webhook to be fired for a given Sandbox Item. If the Item does not support Transactions, a `SANDBOX_PRODUCT_NOT_ENABLED` error will result. Note that this endpoint is provided for developer ease-of-use and is not required for testing webhooks; webhooks will also fire in Sandbox under the same conditions that they would in Production or Development. + # The `/sandbox/item/fire_webhook` endpoint is used to test that code correctly handles webhooks. This endpoint can trigger a Transactions `DEFAULT_UPDATE` webhook to be fired for a given Sandbox Item. If the Item does not support Transactions, a `SANDBOX_PRODUCT_NOT_ENABLED` error will result. This endpoint can also trigger a `NEW_ACCOUNTS_AVAILABLE` webhook to be fired for a given Sandbox Item created with Account Select v2. Note that this endpoint is provided for developer ease-of-use and is not required for testing webhooks; webhooks will also fire in Sandbox under the same conditions that they would in Production or Development. # @param sandbox_item_fire_webhook_request [SandboxItemFireWebhookRequest] # @param [Hash] opts the optional parameters # @return [Array<(SandboxItemFireWebhookResponse, Integer, Hash)>] SandboxItemFireWebhookResponse data, response status code and response headers @@ -5215,6 +5215,71 @@ def sandbox_public_token_create_with_http_info(sandbox_public_token_create_reque return data, status_code, headers end + # Trigger the creation of a repayment. + # Use the `/sandbox/transfer/repayment/simulate` endpoint to trigger the creation of a repayment. As a side effect of calling this route, a repayment is created that includes all unreimbursed returns of guaranteed transfers. If there are no such returns, an 400 error is returned. + # @param sandbox_transfer_repayment_simulate_request [SandboxTransferRepaymentSimulateRequest] + # @param [Hash] opts the optional parameters + # @return [SandboxTransferRepaymentSimulateResponse] + def sandbox_transfer_repayment_simulate(sandbox_transfer_repayment_simulate_request, opts = {}) + data, _status_code, _headers = sandbox_transfer_repayment_simulate_with_http_info(sandbox_transfer_repayment_simulate_request, opts) + data + end + + # Trigger the creation of a repayment. + # Use the `/sandbox/transfer/repayment/simulate` endpoint to trigger the creation of a repayment. As a side effect of calling this route, a repayment is created that includes all unreimbursed returns of guaranteed transfers. If there are no such returns, an 400 error is returned. + # @param sandbox_transfer_repayment_simulate_request [SandboxTransferRepaymentSimulateRequest] + # @param [Hash] opts the optional parameters + # @return [Array<(SandboxTransferRepaymentSimulateResponse, Integer, Hash)>] SandboxTransferRepaymentSimulateResponse data, response status code and response headers + def sandbox_transfer_repayment_simulate_with_http_info(sandbox_transfer_repayment_simulate_request, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: PlaidApi.sandbox_transfer_repayment_simulate ...' + end + # verify the required parameter 'sandbox_transfer_repayment_simulate_request' is set + if @api_client.config.client_side_validation && sandbox_transfer_repayment_simulate_request.nil? + fail ArgumentError, "Missing the required parameter 'sandbox_transfer_repayment_simulate_request' when calling PlaidApi.sandbox_transfer_repayment_simulate" + end + # resource path + local_var_path = '/sandbox/transfer/repayment/simulate' + + # query parameters + query_params = opts[:query_params] || {} + + # header parameters + header_params = opts[:header_params] || {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] || @api_client.object_to_http_body(sandbox_transfer_repayment_simulate_request) + + # return_type + return_type = opts[:debug_return_type] || 'SandboxTransferRepaymentSimulateResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] + + new_options = opts.merge( + :operation => :"PlaidApi.sandbox_transfer_repayment_simulate", + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type + ) + + data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: PlaidApi#sandbox_transfer_repayment_simulate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # Simulate a transfer event in Sandbox # Use the `/sandbox/transfer/simulate` endpoint to simulate a transfer event in the Sandbox environment. Note that while an event will be simulated and will appear when using endpoints such as `/transfer/event/sync` or `/transfer/event/list`, no transactions will actually take place and funds will not move between accounts, even within the Sandbox. # @param sandbox_transfer_simulate_request [SandboxTransferSimulateRequest] @@ -5735,7 +5800,7 @@ def transactions_refresh_with_http_info(transactions_refresh_request, opts = {}) return data, status_code, headers end - # Get incremental transaction updates on an item + # Get incremental transaction updates on an Item # The `/transactions/sync` endpoint returns item transactions as a set of delta updates. Subsequent calls to the endpoint using the cursor returned in the response will return new added, modified, and removed transactions since the last call to the endpoint The product is currently in beta. To request access, contact transactions-feedback@plaid.com. # @param transactions_sync_request [TransactionsSyncRequest] # @param [Hash] opts the optional parameters @@ -5745,7 +5810,7 @@ def transactions_sync(transactions_sync_request, opts = {}) data end - # Get incremental transaction updates on an item + # Get incremental transaction updates on an Item # The `/transactions/sync` endpoint returns item transactions as a set of delta updates. Subsequent calls to the endpoint using the cursor returned in the response will return new added, modified, and removed transactions since the last call to the endpoint The product is currently in beta. To request access, contact transactions-feedback@plaid.com. # @param transactions_sync_request [TransactionsSyncRequest] # @param [Hash] opts the optional parameters @@ -6385,6 +6450,136 @@ def transfer_list_with_http_info(transfer_list_request, opts = {}) return data, status_code, headers end + # Lists historical repayments. + # The `/transfer/repayment/list` endpoint fetches repayments matching the given filters. Repayments are returned in chronological order (least recent first) starting at the given `start_time`. + # @param transfer_repayment_list_request [TransferRepaymentListRequest] + # @param [Hash] opts the optional parameters + # @return [TransferRepaymentListResponse] + def transfer_repayment_list(transfer_repayment_list_request, opts = {}) + data, _status_code, _headers = transfer_repayment_list_with_http_info(transfer_repayment_list_request, opts) + data + end + + # Lists historical repayments. + # The `/transfer/repayment/list` endpoint fetches repayments matching the given filters. Repayments are returned in chronological order (least recent first) starting at the given `start_time`. + # @param transfer_repayment_list_request [TransferRepaymentListRequest] + # @param [Hash] opts the optional parameters + # @return [Array<(TransferRepaymentListResponse, Integer, Hash)>] TransferRepaymentListResponse data, response status code and response headers + def transfer_repayment_list_with_http_info(transfer_repayment_list_request, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: PlaidApi.transfer_repayment_list ...' + end + # verify the required parameter 'transfer_repayment_list_request' is set + if @api_client.config.client_side_validation && transfer_repayment_list_request.nil? + fail ArgumentError, "Missing the required parameter 'transfer_repayment_list_request' when calling PlaidApi.transfer_repayment_list" + end + # resource path + local_var_path = '/transfer/repayment/list' + + # query parameters + query_params = opts[:query_params] || {} + + # header parameters + header_params = opts[:header_params] || {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] || @api_client.object_to_http_body(transfer_repayment_list_request) + + # return_type + return_type = opts[:debug_return_type] || 'TransferRepaymentListResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] + + new_options = opts.merge( + :operation => :"PlaidApi.transfer_repayment_list", + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type + ) + + data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: PlaidApi#transfer_repayment_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # Retrieves the set of returns that were batched together into the specified repayment. The sum of amounts of returns retrieved by this request equals the amount of the repayment. + # The `/transfer/repayment/return/list` endpoint retrieves the set of returns that were batched together into the specified repayment. + # @param transfer_repayment_return_list_request [TransferRepaymentReturnListRequest] + # @param [Hash] opts the optional parameters + # @return [TransferRepaymentReturnListResponse] + def transfer_repayment_return_list(transfer_repayment_return_list_request, opts = {}) + data, _status_code, _headers = transfer_repayment_return_list_with_http_info(transfer_repayment_return_list_request, opts) + data + end + + # Retrieves the set of returns that were batched together into the specified repayment. The sum of amounts of returns retrieved by this request equals the amount of the repayment. + # The `/transfer/repayment/return/list` endpoint retrieves the set of returns that were batched together into the specified repayment. + # @param transfer_repayment_return_list_request [TransferRepaymentReturnListRequest] + # @param [Hash] opts the optional parameters + # @return [Array<(TransferRepaymentReturnListResponse, Integer, Hash)>] TransferRepaymentReturnListResponse data, response status code and response headers + def transfer_repayment_return_list_with_http_info(transfer_repayment_return_list_request, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: PlaidApi.transfer_repayment_return_list ...' + end + # verify the required parameter 'transfer_repayment_return_list_request' is set + if @api_client.config.client_side_validation && transfer_repayment_return_list_request.nil? + fail ArgumentError, "Missing the required parameter 'transfer_repayment_return_list_request' when calling PlaidApi.transfer_repayment_return_list" + end + # resource path + local_var_path = '/transfer/repayment/return/list' + + # query parameters + query_params = opts[:query_params] || {} + + # header parameters + header_params = opts[:header_params] || {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] || @api_client.object_to_http_body(transfer_repayment_return_list_request) + + # return_type + return_type = opts[:debug_return_type] || 'TransferRepaymentReturnListResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] + + new_options = opts.merge( + :operation => :"PlaidApi.transfer_repayment_return_list", + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type + ) + + data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: PlaidApi#transfer_repayment_return_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # Retrieve a sweep # The `/transfer/sweep/get` endpoint fetches a sweep corresponding to the given `sweep_id`. # @param transfer_sweep_get_request [TransferSweepGetRequest] diff --git a/lib/plaid/api_client.rb b/lib/plaid/api_client.rb index 614cadf44..18897e965 100644 --- a/lib/plaid/api_client.rb +++ b/lib/plaid/api_client.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -30,7 +30,7 @@ class ApiClient # @option config [Configuration] Configuration for initializing the object, default to Configuration.default def initialize(config = Configuration.default) @config = config - @user_agent = "Plaid Ruby v14.11.1" + @user_agent = "Plaid Ruby v14.12.0" @default_headers = { 'Content-Type' => 'application/json', 'User-Agent' => @user_agent, diff --git a/lib/plaid/api_error.rb b/lib/plaid/api_error.rb index 01aedf670..e135642ff 100644 --- a/lib/plaid/api_error.rb +++ b/lib/plaid/api_error.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/configuration.rb b/lib/plaid/configuration.rb index 5be3eabd5..f62f6daa2 100644 --- a/lib/plaid/configuration.rb +++ b/lib/plaid/configuration.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/account_access.rb b/lib/plaid/models/account_access.rb index fd4c2cfbc..03e0fd387 100644 --- a/lib/plaid/models/account_access.rb +++ b/lib/plaid/models/account_access.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/account_assets.rb b/lib/plaid/models/account_assets.rb index 04ea07d89..1ec615e87 100644 --- a/lib/plaid/models/account_assets.rb +++ b/lib/plaid/models/account_assets.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/account_assets_all_of.rb b/lib/plaid/models/account_assets_all_of.rb index 32e041672..12d62244c 100644 --- a/lib/plaid/models/account_assets_all_of.rb +++ b/lib/plaid/models/account_assets_all_of.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/account_balance.rb b/lib/plaid/models/account_balance.rb index af2ceff2f..68fea6b08 100644 --- a/lib/plaid/models/account_balance.rb +++ b/lib/plaid/models/account_balance.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/account_base.rb b/lib/plaid/models/account_base.rb index 8ae41c3b5..b665656aa 100644 --- a/lib/plaid/models/account_base.rb +++ b/lib/plaid/models/account_base.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/account_filter.rb b/lib/plaid/models/account_filter.rb index 80f0d5ded..4ccbf9c00 100644 --- a/lib/plaid/models/account_filter.rb +++ b/lib/plaid/models/account_filter.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/account_filters_response.rb b/lib/plaid/models/account_filters_response.rb index 77f85926f..aec3051f6 100644 --- a/lib/plaid/models/account_filters_response.rb +++ b/lib/plaid/models/account_filters_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/account_identity.rb b/lib/plaid/models/account_identity.rb index e62a58bb0..cff63001d 100644 --- a/lib/plaid/models/account_identity.rb +++ b/lib/plaid/models/account_identity.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/account_identity_all_of.rb b/lib/plaid/models/account_identity_all_of.rb index 8612b6fbb..6620f8e17 100644 --- a/lib/plaid/models/account_identity_all_of.rb +++ b/lib/plaid/models/account_identity_all_of.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/account_product_access.rb b/lib/plaid/models/account_product_access.rb index ec568028f..d6f8e10da 100644 --- a/lib/plaid/models/account_product_access.rb +++ b/lib/plaid/models/account_product_access.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/account_product_access_nullable.rb b/lib/plaid/models/account_product_access_nullable.rb index de250f5c7..25fc71b9d 100644 --- a/lib/plaid/models/account_product_access_nullable.rb +++ b/lib/plaid/models/account_product_access_nullable.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/account_selection_cardinality.rb b/lib/plaid/models/account_selection_cardinality.rb index e61d71e14..f3b66af82 100644 --- a/lib/plaid/models/account_selection_cardinality.rb +++ b/lib/plaid/models/account_selection_cardinality.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/account_subtype.rb b/lib/plaid/models/account_subtype.rb index 273030fc1..f432aabee 100644 --- a/lib/plaid/models/account_subtype.rb +++ b/lib/plaid/models/account_subtype.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/account_type.rb b/lib/plaid/models/account_type.rb index 6b50ccdc4..cb6a0403a 100644 --- a/lib/plaid/models/account_type.rb +++ b/lib/plaid/models/account_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/accounts_balance_get_request.rb b/lib/plaid/models/accounts_balance_get_request.rb index 8752ee168..0237a8839 100644 --- a/lib/plaid/models/accounts_balance_get_request.rb +++ b/lib/plaid/models/accounts_balance_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/accounts_balance_get_request_options.rb b/lib/plaid/models/accounts_balance_get_request_options.rb index 3e404d27c..17b17734d 100644 --- a/lib/plaid/models/accounts_balance_get_request_options.rb +++ b/lib/plaid/models/accounts_balance_get_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/accounts_get_request.rb b/lib/plaid/models/accounts_get_request.rb index 101a3e518..d1cc9b4f0 100644 --- a/lib/plaid/models/accounts_get_request.rb +++ b/lib/plaid/models/accounts_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/accounts_get_request_options.rb b/lib/plaid/models/accounts_get_request_options.rb index a890d42b3..a64555168 100644 --- a/lib/plaid/models/accounts_get_request_options.rb +++ b/lib/plaid/models/accounts_get_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/accounts_get_response.rb b/lib/plaid/models/accounts_get_response.rb index 9b66480c9..e8c791543 100644 --- a/lib/plaid/models/accounts_get_response.rb +++ b/lib/plaid/models/accounts_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/ach_class.rb b/lib/plaid/models/ach_class.rb index cb3b0521b..0f918a87b 100644 --- a/lib/plaid/models/ach_class.rb +++ b/lib/plaid/models/ach_class.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/address.rb b/lib/plaid/models/address.rb index 2fd66820e..82b994020 100644 --- a/lib/plaid/models/address.rb +++ b/lib/plaid/models/address.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/address_data.rb b/lib/plaid/models/address_data.rb index 25010bb70..259eef14a 100644 --- a/lib/plaid/models/address_data.rb +++ b/lib/plaid/models/address_data.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/address_data_nullable.rb b/lib/plaid/models/address_data_nullable.rb index 677d817b8..7a9d795aa 100644 --- a/lib/plaid/models/address_data_nullable.rb +++ b/lib/plaid/models/address_data_nullable.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/address_nullable.rb b/lib/plaid/models/address_nullable.rb index 6439557b3..a946a2f5c 100644 --- a/lib/plaid/models/address_nullable.rb +++ b/lib/plaid/models/address_nullable.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/application.rb b/lib/plaid/models/application.rb index 096530f54..f7ab9ec67 100644 --- a/lib/plaid/models/application.rb +++ b/lib/plaid/models/application.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/application_get_request.rb b/lib/plaid/models/application_get_request.rb index bb219adb7..dca6c5f19 100644 --- a/lib/plaid/models/application_get_request.rb +++ b/lib/plaid/models/application_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/application_get_response.rb b/lib/plaid/models/application_get_response.rb index 2331ce207..20aa19342 100644 --- a/lib/plaid/models/application_get_response.rb +++ b/lib/plaid/models/application_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/apr.rb b/lib/plaid/models/apr.rb index a4c82eecd..e1942bc78 100644 --- a/lib/plaid/models/apr.rb +++ b/lib/plaid/models/apr.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/asset_report.rb b/lib/plaid/models/asset_report.rb index 6dc4187f8..e41fa774b 100644 --- a/lib/plaid/models/asset_report.rb +++ b/lib/plaid/models/asset_report.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/asset_report_audit_copy_create_request.rb b/lib/plaid/models/asset_report_audit_copy_create_request.rb index 4412feb4e..2fbaf35b0 100644 --- a/lib/plaid/models/asset_report_audit_copy_create_request.rb +++ b/lib/plaid/models/asset_report_audit_copy_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/asset_report_audit_copy_create_response.rb b/lib/plaid/models/asset_report_audit_copy_create_response.rb index 00404ad0f..1567f4179 100644 --- a/lib/plaid/models/asset_report_audit_copy_create_response.rb +++ b/lib/plaid/models/asset_report_audit_copy_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/asset_report_audit_copy_get_request.rb b/lib/plaid/models/asset_report_audit_copy_get_request.rb index 4a060cd30..d289287f7 100644 --- a/lib/plaid/models/asset_report_audit_copy_get_request.rb +++ b/lib/plaid/models/asset_report_audit_copy_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/asset_report_audit_copy_remove_request.rb b/lib/plaid/models/asset_report_audit_copy_remove_request.rb index 7413d67c3..dc635718f 100644 --- a/lib/plaid/models/asset_report_audit_copy_remove_request.rb +++ b/lib/plaid/models/asset_report_audit_copy_remove_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/asset_report_audit_copy_remove_response.rb b/lib/plaid/models/asset_report_audit_copy_remove_response.rb index 5622a47c8..4c7dc087f 100644 --- a/lib/plaid/models/asset_report_audit_copy_remove_response.rb +++ b/lib/plaid/models/asset_report_audit_copy_remove_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/asset_report_create_request.rb b/lib/plaid/models/asset_report_create_request.rb index 92c622aac..7158eed9f 100644 --- a/lib/plaid/models/asset_report_create_request.rb +++ b/lib/plaid/models/asset_report_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/asset_report_create_request_options.rb b/lib/plaid/models/asset_report_create_request_options.rb index 21916d996..db9bf13ea 100644 --- a/lib/plaid/models/asset_report_create_request_options.rb +++ b/lib/plaid/models/asset_report_create_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/asset_report_create_response.rb b/lib/plaid/models/asset_report_create_response.rb index 542cab01e..17fbce356 100644 --- a/lib/plaid/models/asset_report_create_response.rb +++ b/lib/plaid/models/asset_report_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/asset_report_filter_request.rb b/lib/plaid/models/asset_report_filter_request.rb index 7e2a780c3..6dc23dd42 100644 --- a/lib/plaid/models/asset_report_filter_request.rb +++ b/lib/plaid/models/asset_report_filter_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/asset_report_filter_response.rb b/lib/plaid/models/asset_report_filter_response.rb index 95c0654f0..f3d60c6c9 100644 --- a/lib/plaid/models/asset_report_filter_response.rb +++ b/lib/plaid/models/asset_report_filter_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/asset_report_get_request.rb b/lib/plaid/models/asset_report_get_request.rb index 6da110a5b..ffb01f0a8 100644 --- a/lib/plaid/models/asset_report_get_request.rb +++ b/lib/plaid/models/asset_report_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/asset_report_get_response.rb b/lib/plaid/models/asset_report_get_response.rb index 48c7199e1..d684bde7b 100644 --- a/lib/plaid/models/asset_report_get_response.rb +++ b/lib/plaid/models/asset_report_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/asset_report_item.rb b/lib/plaid/models/asset_report_item.rb index 63b494160..639535365 100644 --- a/lib/plaid/models/asset_report_item.rb +++ b/lib/plaid/models/asset_report_item.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/asset_report_pdf_get_request.rb b/lib/plaid/models/asset_report_pdf_get_request.rb index 4420ceb7b..7cb867368 100644 --- a/lib/plaid/models/asset_report_pdf_get_request.rb +++ b/lib/plaid/models/asset_report_pdf_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/asset_report_refresh_request.rb b/lib/plaid/models/asset_report_refresh_request.rb index a42435a69..782b0b3a9 100644 --- a/lib/plaid/models/asset_report_refresh_request.rb +++ b/lib/plaid/models/asset_report_refresh_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/asset_report_refresh_request_options.rb b/lib/plaid/models/asset_report_refresh_request_options.rb index c25fce55f..b6e94c086 100644 --- a/lib/plaid/models/asset_report_refresh_request_options.rb +++ b/lib/plaid/models/asset_report_refresh_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/asset_report_refresh_response.rb b/lib/plaid/models/asset_report_refresh_response.rb index 5549cb11f..1822d801a 100644 --- a/lib/plaid/models/asset_report_refresh_response.rb +++ b/lib/plaid/models/asset_report_refresh_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/asset_report_remove_request.rb b/lib/plaid/models/asset_report_remove_request.rb index 7d0e5b663..ff3ff146e 100644 --- a/lib/plaid/models/asset_report_remove_request.rb +++ b/lib/plaid/models/asset_report_remove_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/asset_report_remove_response.rb b/lib/plaid/models/asset_report_remove_response.rb index 70dd92ab5..6b031d39a 100644 --- a/lib/plaid/models/asset_report_remove_response.rb +++ b/lib/plaid/models/asset_report_remove_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/asset_report_transaction.rb b/lib/plaid/models/asset_report_transaction.rb index c64111930..49a6c07e3 100644 --- a/lib/plaid/models/asset_report_transaction.rb +++ b/lib/plaid/models/asset_report_transaction.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -21,10 +21,10 @@ class AssetReportTransaction # The ID of a posted transaction's associated pending transaction, where applicable. attr_accessor :pending_transaction_id - # The ID of the category to which this transaction belongs. See [Categories](https://plaid.com/docs/#category-overview). If the `transactions` object was returned by an Assets endpoint such as `/asset_report/get/` or `/asset_report/pdf/get`, this field will only appear in an Asset Report with Insights. + # The ID of the category to which this transaction belongs. For a full list of categories, see [`/categories/get`](https://plaid.com/docs/api/products/#categoriesget). If the `transactions` object was returned by an Assets endpoint such as `/asset_report/get/` or `/asset_report/pdf/get`, this field will only appear in an Asset Report with Insights. attr_accessor :category_id - # A hierarchical array of the categories to which this transaction belongs. See [Categories](https://plaid.com/docs/#category-overview). If the `transactions` object was returned by an Assets endpoint such as `/asset_report/get/` or `/asset_report/pdf/get`, this field will only appear in an Asset Report with Insights. + # A hierarchical array of the categories to which this transaction belongs. For a full list of categories, see [`/categories/get`](https://plaid.com/docs/api/products/#categoriesget). If the `transactions` object was returned by an Assets endpoint such as `/asset_report/get/` or `/asset_report/pdf/get`, this field will only appear in an Asset Report with Insights. attr_accessor :category attr_accessor :location diff --git a/lib/plaid/models/asset_report_transaction_all_of.rb b/lib/plaid/models/asset_report_transaction_all_of.rb index 9f78e38f8..ad3b13f09 100644 --- a/lib/plaid/models/asset_report_transaction_all_of.rb +++ b/lib/plaid/models/asset_report_transaction_all_of.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/asset_report_user.rb b/lib/plaid/models/asset_report_user.rb index b1eaf893a..95ddd4fe8 100644 --- a/lib/plaid/models/asset_report_user.rb +++ b/lib/plaid/models/asset_report_user.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/assets_error_webhook.rb b/lib/plaid/models/assets_error_webhook.rb index b2534f6fe..3fb93bc03 100644 --- a/lib/plaid/models/assets_error_webhook.rb +++ b/lib/plaid/models/assets_error_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/assets_product_ready_webhook.rb b/lib/plaid/models/assets_product_ready_webhook.rb index e1fbe8275..7fd824c7e 100644 --- a/lib/plaid/models/assets_product_ready_webhook.rb +++ b/lib/plaid/models/assets_product_ready_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/auth_get_numbers.rb b/lib/plaid/models/auth_get_numbers.rb index 87fecaa38..5b1d8b540 100644 --- a/lib/plaid/models/auth_get_numbers.rb +++ b/lib/plaid/models/auth_get_numbers.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/auth_get_request.rb b/lib/plaid/models/auth_get_request.rb index 2dfbf018c..53e574801 100644 --- a/lib/plaid/models/auth_get_request.rb +++ b/lib/plaid/models/auth_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/auth_get_request_options.rb b/lib/plaid/models/auth_get_request_options.rb index 25fb29a50..b8e39f9e7 100644 --- a/lib/plaid/models/auth_get_request_options.rb +++ b/lib/plaid/models/auth_get_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/auth_get_response.rb b/lib/plaid/models/auth_get_response.rb index d6b755253..935d74740 100644 --- a/lib/plaid/models/auth_get_response.rb +++ b/lib/plaid/models/auth_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/auth_metadata.rb b/lib/plaid/models/auth_metadata.rb index f095baf08..815a163b6 100644 --- a/lib/plaid/models/auth_metadata.rb +++ b/lib/plaid/models/auth_metadata.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/auth_supported_methods.rb b/lib/plaid/models/auth_supported_methods.rb index 5d627cd1c..504f44697 100644 --- a/lib/plaid/models/auth_supported_methods.rb +++ b/lib/plaid/models/auth_supported_methods.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/automatically_verified_webhook.rb b/lib/plaid/models/automatically_verified_webhook.rb index 9ecb8cbaa..8e3dba204 100644 --- a/lib/plaid/models/automatically_verified_webhook.rb +++ b/lib/plaid/models/automatically_verified_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/bank_initiated_return_risk.rb b/lib/plaid/models/bank_initiated_return_risk.rb index a33e1267f..d75992e9a 100644 --- a/lib/plaid/models/bank_initiated_return_risk.rb +++ b/lib/plaid/models/bank_initiated_return_risk.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/bank_transfer.rb b/lib/plaid/models/bank_transfer.rb index 84c342616..b44d582e6 100644 --- a/lib/plaid/models/bank_transfer.rb +++ b/lib/plaid/models/bank_transfer.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/bank_transfer_balance.rb b/lib/plaid/models/bank_transfer_balance.rb index 435ca71ba..3fc0d0d8e 100644 --- a/lib/plaid/models/bank_transfer_balance.rb +++ b/lib/plaid/models/bank_transfer_balance.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/bank_transfer_balance_get_request.rb b/lib/plaid/models/bank_transfer_balance_get_request.rb index 5d9895b20..b5ffc48c2 100644 --- a/lib/plaid/models/bank_transfer_balance_get_request.rb +++ b/lib/plaid/models/bank_transfer_balance_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/bank_transfer_balance_get_response.rb b/lib/plaid/models/bank_transfer_balance_get_response.rb index 3281a66b5..dad2d60e7 100644 --- a/lib/plaid/models/bank_transfer_balance_get_response.rb +++ b/lib/plaid/models/bank_transfer_balance_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/bank_transfer_cancel_request.rb b/lib/plaid/models/bank_transfer_cancel_request.rb index a2b3dbfef..34c291686 100644 --- a/lib/plaid/models/bank_transfer_cancel_request.rb +++ b/lib/plaid/models/bank_transfer_cancel_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/bank_transfer_cancel_response.rb b/lib/plaid/models/bank_transfer_cancel_response.rb index 2c983b81f..15b75d0e2 100644 --- a/lib/plaid/models/bank_transfer_cancel_response.rb +++ b/lib/plaid/models/bank_transfer_cancel_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/bank_transfer_create_request.rb b/lib/plaid/models/bank_transfer_create_request.rb index 6ab1129f3..64bfef18e 100644 --- a/lib/plaid/models/bank_transfer_create_request.rb +++ b/lib/plaid/models/bank_transfer_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/bank_transfer_create_response.rb b/lib/plaid/models/bank_transfer_create_response.rb index e78108399..99bc0655d 100644 --- a/lib/plaid/models/bank_transfer_create_response.rb +++ b/lib/plaid/models/bank_transfer_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/bank_transfer_direction.rb b/lib/plaid/models/bank_transfer_direction.rb index 9606551f8..06b9bbd5c 100644 --- a/lib/plaid/models/bank_transfer_direction.rb +++ b/lib/plaid/models/bank_transfer_direction.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/bank_transfer_event.rb b/lib/plaid/models/bank_transfer_event.rb index 4773180e3..53a73aca8 100644 --- a/lib/plaid/models/bank_transfer_event.rb +++ b/lib/plaid/models/bank_transfer_event.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -45,8 +45,6 @@ class BankTransferEvent attr_accessor :direction - attr_accessor :receiver_details - # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { @@ -60,8 +58,7 @@ def self.attribute_map :'bank_transfer_amount' => :'bank_transfer_amount', :'bank_transfer_iso_currency_code' => :'bank_transfer_iso_currency_code', :'failure_reason' => :'failure_reason', - :'direction' => :'direction', - :'receiver_details' => :'receiver_details' + :'direction' => :'direction' } end @@ -83,8 +80,7 @@ def self.openapi_types :'bank_transfer_amount' => :'String', :'bank_transfer_iso_currency_code' => :'String', :'failure_reason' => :'BankTransferFailure', - :'direction' => :'BankTransferDirection', - :'receiver_details' => :'BankTransferReceiverDetails' + :'direction' => :'BankTransferDirection' } end @@ -93,8 +89,7 @@ def self.openapi_nullable Set.new([ :'origination_account_id', :'failure_reason', - :'direction', - :'receiver_details' + :'direction' ]) end @@ -156,10 +151,6 @@ def initialize(attributes = {}) if attributes.key?(:'direction') self.direction = attributes[:'direction'] end - - if attributes.key?(:'receiver_details') - self.receiver_details = attributes[:'receiver_details'] - end end # Show invalid properties with the reasons. Usually used together with valid? @@ -251,8 +242,7 @@ def ==(o) bank_transfer_amount == o.bank_transfer_amount && bank_transfer_iso_currency_code == o.bank_transfer_iso_currency_code && failure_reason == o.failure_reason && - direction == o.direction && - receiver_details == o.receiver_details + direction == o.direction end # @see the `==` method @@ -264,7 +254,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [event_id, timestamp, event_type, account_id, bank_transfer_id, origination_account_id, bank_transfer_type, bank_transfer_amount, bank_transfer_iso_currency_code, failure_reason, direction, receiver_details].hash + [event_id, timestamp, event_type, account_id, bank_transfer_id, origination_account_id, bank_transfer_type, bank_transfer_amount, bank_transfer_iso_currency_code, failure_reason, direction].hash end # Builds the object from hash diff --git a/lib/plaid/models/bank_transfer_event_list_request.rb b/lib/plaid/models/bank_transfer_event_list_request.rb index 61da59512..7e9bcdf7f 100644 --- a/lib/plaid/models/bank_transfer_event_list_request.rb +++ b/lib/plaid/models/bank_transfer_event_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/bank_transfer_event_list_response.rb b/lib/plaid/models/bank_transfer_event_list_response.rb index c1b63daaa..c06a45902 100644 --- a/lib/plaid/models/bank_transfer_event_list_response.rb +++ b/lib/plaid/models/bank_transfer_event_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/bank_transfer_event_sync_request.rb b/lib/plaid/models/bank_transfer_event_sync_request.rb index d96623c5b..9f2f0d149 100644 --- a/lib/plaid/models/bank_transfer_event_sync_request.rb +++ b/lib/plaid/models/bank_transfer_event_sync_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/bank_transfer_event_sync_response.rb b/lib/plaid/models/bank_transfer_event_sync_response.rb index fc0e4bf16..a25321540 100644 --- a/lib/plaid/models/bank_transfer_event_sync_response.rb +++ b/lib/plaid/models/bank_transfer_event_sync_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/bank_transfer_event_type.rb b/lib/plaid/models/bank_transfer_event_type.rb index 30595277e..af82a988c 100644 --- a/lib/plaid/models/bank_transfer_event_type.rb +++ b/lib/plaid/models/bank_transfer_event_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -20,8 +20,6 @@ class BankTransferEventType FAILED = "failed".freeze POSTED = "posted".freeze REVERSED = "reversed".freeze - RECEIVER_PENDING = "receiver_pending".freeze - RECEIVER_POSTED = "receiver_posted".freeze # Builds the enum from string # @param [String] The enum value in the form of the string diff --git a/lib/plaid/models/bank_transfer_failure.rb b/lib/plaid/models/bank_transfer_failure.rb index d15b3b939..d43c06bbc 100644 --- a/lib/plaid/models/bank_transfer_failure.rb +++ b/lib/plaid/models/bank_transfer_failure.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/bank_transfer_get_request.rb b/lib/plaid/models/bank_transfer_get_request.rb index 60f32b4a1..930a817d5 100644 --- a/lib/plaid/models/bank_transfer_get_request.rb +++ b/lib/plaid/models/bank_transfer_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/bank_transfer_get_response.rb b/lib/plaid/models/bank_transfer_get_response.rb index ee8665b6e..95a22e1d6 100644 --- a/lib/plaid/models/bank_transfer_get_response.rb +++ b/lib/plaid/models/bank_transfer_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/bank_transfer_list_request.rb b/lib/plaid/models/bank_transfer_list_request.rb index 41705532c..abf1639a5 100644 --- a/lib/plaid/models/bank_transfer_list_request.rb +++ b/lib/plaid/models/bank_transfer_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/bank_transfer_list_response.rb b/lib/plaid/models/bank_transfer_list_response.rb index 02b87c28e..abc1d06f6 100644 --- a/lib/plaid/models/bank_transfer_list_response.rb +++ b/lib/plaid/models/bank_transfer_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/bank_transfer_migrate_account_request.rb b/lib/plaid/models/bank_transfer_migrate_account_request.rb index cdfe62b98..205f931d1 100644 --- a/lib/plaid/models/bank_transfer_migrate_account_request.rb +++ b/lib/plaid/models/bank_transfer_migrate_account_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/bank_transfer_migrate_account_response.rb b/lib/plaid/models/bank_transfer_migrate_account_response.rb index 7d2a37758..fd4893380 100644 --- a/lib/plaid/models/bank_transfer_migrate_account_response.rb +++ b/lib/plaid/models/bank_transfer_migrate_account_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/bank_transfer_network.rb b/lib/plaid/models/bank_transfer_network.rb index cb0e0a0d1..6860737b4 100644 --- a/lib/plaid/models/bank_transfer_network.rb +++ b/lib/plaid/models/bank_transfer_network.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/bank_transfer_status.rb b/lib/plaid/models/bank_transfer_status.rb index b8b246ce8..2b6e09712 100644 --- a/lib/plaid/models/bank_transfer_status.rb +++ b/lib/plaid/models/bank_transfer_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/bank_transfer_sweep.rb b/lib/plaid/models/bank_transfer_sweep.rb index 3801037da..17c9b84e2 100644 --- a/lib/plaid/models/bank_transfer_sweep.rb +++ b/lib/plaid/models/bank_transfer_sweep.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/bank_transfer_sweep_get_request.rb b/lib/plaid/models/bank_transfer_sweep_get_request.rb index 17126682b..4a3ab4077 100644 --- a/lib/plaid/models/bank_transfer_sweep_get_request.rb +++ b/lib/plaid/models/bank_transfer_sweep_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/bank_transfer_sweep_get_response.rb b/lib/plaid/models/bank_transfer_sweep_get_response.rb index e961ecf75..169026460 100644 --- a/lib/plaid/models/bank_transfer_sweep_get_response.rb +++ b/lib/plaid/models/bank_transfer_sweep_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/bank_transfer_sweep_list_request.rb b/lib/plaid/models/bank_transfer_sweep_list_request.rb index ea3ae3aba..0b62c29ce 100644 --- a/lib/plaid/models/bank_transfer_sweep_list_request.rb +++ b/lib/plaid/models/bank_transfer_sweep_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/bank_transfer_sweep_list_response.rb b/lib/plaid/models/bank_transfer_sweep_list_response.rb index 7fa38784a..295808b24 100644 --- a/lib/plaid/models/bank_transfer_sweep_list_response.rb +++ b/lib/plaid/models/bank_transfer_sweep_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/bank_transfer_type.rb b/lib/plaid/models/bank_transfer_type.rb index 9201334d0..dc38a73ba 100644 --- a/lib/plaid/models/bank_transfer_type.rb +++ b/lib/plaid/models/bank_transfer_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/bank_transfer_user.rb b/lib/plaid/models/bank_transfer_user.rb index 7e9e36001..431d04bc8 100644 --- a/lib/plaid/models/bank_transfer_user.rb +++ b/lib/plaid/models/bank_transfer_user.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/bank_transfers_events_update_webhook.rb b/lib/plaid/models/bank_transfers_events_update_webhook.rb index 654510881..2fed3ad45 100644 --- a/lib/plaid/models/bank_transfers_events_update_webhook.rb +++ b/lib/plaid/models/bank_transfers_events_update_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/categories_get_response.rb b/lib/plaid/models/categories_get_response.rb index a795873a6..100a3b01e 100644 --- a/lib/plaid/models/categories_get_response.rb +++ b/lib/plaid/models/categories_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/category.rb b/lib/plaid/models/category.rb index 5e267048a..c7ec1bcb0 100644 --- a/lib/plaid/models/category.rb +++ b/lib/plaid/models/category.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/cause.rb b/lib/plaid/models/cause.rb index 7c555e57a..3a8252152 100644 --- a/lib/plaid/models/cause.rb +++ b/lib/plaid/models/cause.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/connected_application.rb b/lib/plaid/models/connected_application.rb index b53d8397d..b9e499468 100644 --- a/lib/plaid/models/connected_application.rb +++ b/lib/plaid/models/connected_application.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/country_code.rb b/lib/plaid/models/country_code.rb index 5f66a87d4..639415b57 100644 --- a/lib/plaid/models/country_code.rb +++ b/lib/plaid/models/country_code.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/credit_card_liability.rb b/lib/plaid/models/credit_card_liability.rb index 86498d73c..0738fbe28 100644 --- a/lib/plaid/models/credit_card_liability.rb +++ b/lib/plaid/models/credit_card_liability.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/credit_filter.rb b/lib/plaid/models/credit_filter.rb index 050196017..5b6ce1a58 100644 --- a/lib/plaid/models/credit_filter.rb +++ b/lib/plaid/models/credit_filter.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -16,7 +16,7 @@ module Plaid # A filter to apply to `credit`-type accounts class CreditFilter - # An array of account subtypes to display in Link. If not specified, all account subtypes will be shown. For a full list of valid types and subtypes, see the [Account schema](https://plaid.com/docs/api/accounts#accounts-schema). + # An array of account subtypes to display in Link. If not specified, all account subtypes will be shown. For a full list of valid types and subtypes, see the [Account schema](https://plaid.com/docs/api/accounts#account-type-schema). attr_accessor :account_subtypes # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/plaid/models/customer_initiated_return_risk.rb b/lib/plaid/models/customer_initiated_return_risk.rb index 95a9a8481..70a4e90df 100644 --- a/lib/plaid/models/customer_initiated_return_risk.rb +++ b/lib/plaid/models/customer_initiated_return_risk.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/deductions.rb b/lib/plaid/models/deductions.rb index 227653b52..8777f66cf 100644 --- a/lib/plaid/models/deductions.rb +++ b/lib/plaid/models/deductions.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/deductions_breakdown.rb b/lib/plaid/models/deductions_breakdown.rb index 70d8fba9a..e5ac4cd66 100644 --- a/lib/plaid/models/deductions_breakdown.rb +++ b/lib/plaid/models/deductions_breakdown.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/deductions_total.rb b/lib/plaid/models/deductions_total.rb index 11679131a..eadeece86 100644 --- a/lib/plaid/models/deductions_total.rb +++ b/lib/plaid/models/deductions_total.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/default_update_webhook.rb b/lib/plaid/models/default_update_webhook.rb index 70ccbef87..36c721fd5 100644 --- a/lib/plaid/models/default_update_webhook.rb +++ b/lib/plaid/models/default_update_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/deposit_switch_address_data.rb b/lib/plaid/models/deposit_switch_address_data.rb index 4717502ad..4ca9c84c3 100644 --- a/lib/plaid/models/deposit_switch_address_data.rb +++ b/lib/plaid/models/deposit_switch_address_data.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/deposit_switch_alt_create_request.rb b/lib/plaid/models/deposit_switch_alt_create_request.rb index 22ed353e2..59f1d0dc7 100644 --- a/lib/plaid/models/deposit_switch_alt_create_request.rb +++ b/lib/plaid/models/deposit_switch_alt_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/deposit_switch_alt_create_response.rb b/lib/plaid/models/deposit_switch_alt_create_response.rb index 193214c64..54ed0362c 100644 --- a/lib/plaid/models/deposit_switch_alt_create_response.rb +++ b/lib/plaid/models/deposit_switch_alt_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/deposit_switch_create_request.rb b/lib/plaid/models/deposit_switch_create_request.rb index 4fd8433a5..b5fcd8fcf 100644 --- a/lib/plaid/models/deposit_switch_create_request.rb +++ b/lib/plaid/models/deposit_switch_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/deposit_switch_create_request_options.rb b/lib/plaid/models/deposit_switch_create_request_options.rb index 872336e54..42be730ce 100644 --- a/lib/plaid/models/deposit_switch_create_request_options.rb +++ b/lib/plaid/models/deposit_switch_create_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/deposit_switch_create_response.rb b/lib/plaid/models/deposit_switch_create_response.rb index 8f74ebb27..44b2e9092 100644 --- a/lib/plaid/models/deposit_switch_create_response.rb +++ b/lib/plaid/models/deposit_switch_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/deposit_switch_get_request.rb b/lib/plaid/models/deposit_switch_get_request.rb index dd78c0081..97cc91b08 100644 --- a/lib/plaid/models/deposit_switch_get_request.rb +++ b/lib/plaid/models/deposit_switch_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/deposit_switch_get_response.rb b/lib/plaid/models/deposit_switch_get_response.rb index bd6d9f7f7..557bc19fe 100644 --- a/lib/plaid/models/deposit_switch_get_response.rb +++ b/lib/plaid/models/deposit_switch_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/deposit_switch_state_update_webhook.rb b/lib/plaid/models/deposit_switch_state_update_webhook.rb index 94210365b..038ef52c2 100644 --- a/lib/plaid/models/deposit_switch_state_update_webhook.rb +++ b/lib/plaid/models/deposit_switch_state_update_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/deposit_switch_target_account.rb b/lib/plaid/models/deposit_switch_target_account.rb index b37914fc9..40468f95e 100644 --- a/lib/plaid/models/deposit_switch_target_account.rb +++ b/lib/plaid/models/deposit_switch_target_account.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/deposit_switch_target_user.rb b/lib/plaid/models/deposit_switch_target_user.rb index 5b605cc1c..45af875a6 100644 --- a/lib/plaid/models/deposit_switch_target_user.rb +++ b/lib/plaid/models/deposit_switch_target_user.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/deposit_switch_token_create_request.rb b/lib/plaid/models/deposit_switch_token_create_request.rb index 043aa3613..dd1ddd71f 100644 --- a/lib/plaid/models/deposit_switch_token_create_request.rb +++ b/lib/plaid/models/deposit_switch_token_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/deposit_switch_token_create_response.rb b/lib/plaid/models/deposit_switch_token_create_response.rb index 2acc6f06f..9e2b7a4a7 100644 --- a/lib/plaid/models/deposit_switch_token_create_response.rb +++ b/lib/plaid/models/deposit_switch_token_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/depository_filter.rb b/lib/plaid/models/depository_filter.rb index 48d02e60d..85ccd8675 100644 --- a/lib/plaid/models/depository_filter.rb +++ b/lib/plaid/models/depository_filter.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -16,7 +16,7 @@ module Plaid # A filter to apply to `depository`-type accounts class DepositoryFilter - # An array of account subtypes to display in Link. If not specified, all account subtypes will be shown. For a full list of valid types and subtypes, see the [Account schema](https://plaid.com/docs/api/accounts#accounts-schema). + # An array of account subtypes to display in Link. If not specified, all account subtypes will be shown. For a full list of valid types and subtypes, see the [Account schema](https://plaid.com/docs/api/accounts#account-type-schema). attr_accessor :account_subtypes # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/plaid/models/distribution_breakdown.rb b/lib/plaid/models/distribution_breakdown.rb index 8975d12cf..d7e9a6c7d 100644 --- a/lib/plaid/models/distribution_breakdown.rb +++ b/lib/plaid/models/distribution_breakdown.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/doc_type.rb b/lib/plaid/models/doc_type.rb index 1a3dcb57d..380bddda2 100644 --- a/lib/plaid/models/doc_type.rb +++ b/lib/plaid/models/doc_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -23,6 +23,7 @@ class DocType DOCUMENT_TYPE_US_MILITARY_LES = "DOCUMENT_TYPE_US_MILITARY_LES".freeze DOCUMENT_TYPE_US_MILITARY_CLES = "DOCUMENT_TYPE_US_MILITARY_CLES".freeze DOCUMENT_TYPE_GIG = "DOCUMENT_TYPE_GIG".freeze + DOCUMENT_TYPE_NONE = "DOCUMENT_TYPE_NONE".freeze # Builds the enum from string # @param [String] The enum value in the form of the string diff --git a/lib/plaid/models/document_metadata.rb b/lib/plaid/models/document_metadata.rb index e1926c8f0..bb17262d5 100644 --- a/lib/plaid/models/document_metadata.rb +++ b/lib/plaid/models/document_metadata.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/earnings.rb b/lib/plaid/models/earnings.rb index b952b4521..4aa99b1ac 100644 --- a/lib/plaid/models/earnings.rb +++ b/lib/plaid/models/earnings.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/earnings_breakdown.rb b/lib/plaid/models/earnings_breakdown.rb index a9279182e..8ea387736 100644 --- a/lib/plaid/models/earnings_breakdown.rb +++ b/lib/plaid/models/earnings_breakdown.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/earnings_breakdown_canonical_description.rb b/lib/plaid/models/earnings_breakdown_canonical_description.rb index 6c8746e5f..9eb96bf94 100644 --- a/lib/plaid/models/earnings_breakdown_canonical_description.rb +++ b/lib/plaid/models/earnings_breakdown_canonical_description.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/earnings_total.rb b/lib/plaid/models/earnings_total.rb index b3b1881d3..43dca497c 100644 --- a/lib/plaid/models/earnings_total.rb +++ b/lib/plaid/models/earnings_total.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/email.rb b/lib/plaid/models/email.rb index 9e15f1373..0e2ffcda9 100644 --- a/lib/plaid/models/email.rb +++ b/lib/plaid/models/email.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/employee.rb b/lib/plaid/models/employee.rb index f5d10ce41..3a3fd134f 100644 --- a/lib/plaid/models/employee.rb +++ b/lib/plaid/models/employee.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/employee_income_summary_field_string.rb b/lib/plaid/models/employee_income_summary_field_string.rb index 51baf23df..0bb3fb62c 100644 --- a/lib/plaid/models/employee_income_summary_field_string.rb +++ b/lib/plaid/models/employee_income_summary_field_string.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/employer.rb b/lib/plaid/models/employer.rb index 77d25bccf..d6caf9b28 100644 --- a/lib/plaid/models/employer.rb +++ b/lib/plaid/models/employer.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/employer_income_summary_field_string.rb b/lib/plaid/models/employer_income_summary_field_string.rb index 18189fba8..78fe58374 100644 --- a/lib/plaid/models/employer_income_summary_field_string.rb +++ b/lib/plaid/models/employer_income_summary_field_string.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/employer_verification.rb b/lib/plaid/models/employer_verification.rb index dad0d72ff..04e510f53 100644 --- a/lib/plaid/models/employer_verification.rb +++ b/lib/plaid/models/employer_verification.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/employers_search_request.rb b/lib/plaid/models/employers_search_request.rb index 95e0900bd..0ee9d3832 100644 --- a/lib/plaid/models/employers_search_request.rb +++ b/lib/plaid/models/employers_search_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/employers_search_response.rb b/lib/plaid/models/employers_search_response.rb index 562b2cf69..73fbd8480 100644 --- a/lib/plaid/models/employers_search_response.rb +++ b/lib/plaid/models/employers_search_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/employment_details.rb b/lib/plaid/models/employment_details.rb index fd1ef4fe9..c8043d54b 100644 --- a/lib/plaid/models/employment_details.rb +++ b/lib/plaid/models/employment_details.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/employment_verification.rb b/lib/plaid/models/employment_verification.rb index 880e4eb26..fa1df4d5a 100644 --- a/lib/plaid/models/employment_verification.rb +++ b/lib/plaid/models/employment_verification.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/employment_verification_get_request.rb b/lib/plaid/models/employment_verification_get_request.rb index 3982858af..8c1b72af9 100644 --- a/lib/plaid/models/employment_verification_get_request.rb +++ b/lib/plaid/models/employment_verification_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/employment_verification_get_response.rb b/lib/plaid/models/employment_verification_get_response.rb index b8010f85c..375b372bd 100644 --- a/lib/plaid/models/employment_verification_get_response.rb +++ b/lib/plaid/models/employment_verification_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/employment_verification_status.rb b/lib/plaid/models/employment_verification_status.rb index 1786eec9c..3213fc9d2 100644 --- a/lib/plaid/models/employment_verification_status.rb +++ b/lib/plaid/models/employment_verification_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/error.rb b/lib/plaid/models/error.rb index f9c8b4356..6ad849fef 100644 --- a/lib/plaid/models/error.rb +++ b/lib/plaid/models/error.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -16,7 +16,7 @@ module Plaid # We use standard HTTP response codes for success and failure notifications, and our errors are further classified by `error_type`. In general, 200 HTTP codes correspond to success, 40X codes are for developer- or user-related failures, and 50X codes are for Plaid-related issues. Error fields will be `null` if no error has occurred. class Error - # A broad categorization of the error. Safe for programatic use. + # A broad categorization of the error. Safe for programmatic use. attr_accessor :error_type # The particular error code. Safe for programmatic use. diff --git a/lib/plaid/models/external_payment_options.rb b/lib/plaid/models/external_payment_options.rb index 8b6a47435..00edda996 100644 --- a/lib/plaid/models/external_payment_options.rb +++ b/lib/plaid/models/external_payment_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/external_payment_refund_details.rb b/lib/plaid/models/external_payment_refund_details.rb index 155e40f7f..169127e27 100644 --- a/lib/plaid/models/external_payment_refund_details.rb +++ b/lib/plaid/models/external_payment_refund_details.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/external_payment_schedule_base.rb b/lib/plaid/models/external_payment_schedule_base.rb index be3012618..47d9ebe07 100644 --- a/lib/plaid/models/external_payment_schedule_base.rb +++ b/lib/plaid/models/external_payment_schedule_base.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/external_payment_schedule_get.rb b/lib/plaid/models/external_payment_schedule_get.rb index 9032b6780..e0007d7ad 100644 --- a/lib/plaid/models/external_payment_schedule_get.rb +++ b/lib/plaid/models/external_payment_schedule_get.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/external_payment_schedule_request.rb b/lib/plaid/models/external_payment_schedule_request.rb index 108d89a8e..abc6638b6 100644 --- a/lib/plaid/models/external_payment_schedule_request.rb +++ b/lib/plaid/models/external_payment_schedule_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/health_incident.rb b/lib/plaid/models/health_incident.rb index ba4f784ff..faf7ce6ca 100644 --- a/lib/plaid/models/health_incident.rb +++ b/lib/plaid/models/health_incident.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/historical_balance.rb b/lib/plaid/models/historical_balance.rb index dca955c54..ca7ed8ee2 100644 --- a/lib/plaid/models/historical_balance.rb +++ b/lib/plaid/models/historical_balance.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/historical_update_webhook.rb b/lib/plaid/models/historical_update_webhook.rb index b2f9c3252..23cb038e9 100644 --- a/lib/plaid/models/historical_update_webhook.rb +++ b/lib/plaid/models/historical_update_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/holding.rb b/lib/plaid/models/holding.rb index 6803de347..811ce8186 100644 --- a/lib/plaid/models/holding.rb +++ b/lib/plaid/models/holding.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/holdings_default_update_webhook.rb b/lib/plaid/models/holdings_default_update_webhook.rb index 9169bbfc1..b1fb5929f 100644 --- a/lib/plaid/models/holdings_default_update_webhook.rb +++ b/lib/plaid/models/holdings_default_update_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/holdings_override.rb b/lib/plaid/models/holdings_override.rb index ddaf6f8c8..9bc1a3c1b 100644 --- a/lib/plaid/models/holdings_override.rb +++ b/lib/plaid/models/holdings_override.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/identity_get_request.rb b/lib/plaid/models/identity_get_request.rb index 9c7a4eedf..fb728e4d9 100644 --- a/lib/plaid/models/identity_get_request.rb +++ b/lib/plaid/models/identity_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/identity_get_request_options.rb b/lib/plaid/models/identity_get_request_options.rb index 4f78fa9b0..a621a8159 100644 --- a/lib/plaid/models/identity_get_request_options.rb +++ b/lib/plaid/models/identity_get_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/identity_get_response.rb b/lib/plaid/models/identity_get_response.rb index e8df56b34..0bbbede1b 100644 --- a/lib/plaid/models/identity_get_response.rb +++ b/lib/plaid/models/identity_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/incident_update.rb b/lib/plaid/models/incident_update.rb index 45ba3a1eb..623faea54 100644 --- a/lib/plaid/models/incident_update.rb +++ b/lib/plaid/models/incident_update.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/income_breakdown.rb b/lib/plaid/models/income_breakdown.rb index 5c0c4a417..33e0ecf21 100644 --- a/lib/plaid/models/income_breakdown.rb +++ b/lib/plaid/models/income_breakdown.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/income_breakdown_type.rb b/lib/plaid/models/income_breakdown_type.rb index 851df995d..1c8b51493 100644 --- a/lib/plaid/models/income_breakdown_type.rb +++ b/lib/plaid/models/income_breakdown_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/income_override.rb b/lib/plaid/models/income_override.rb index 7a9b5347f..897a1e776 100644 --- a/lib/plaid/models/income_override.rb +++ b/lib/plaid/models/income_override.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/income_summary.rb b/lib/plaid/models/income_summary.rb index 0a41e1382..edf3d7735 100644 --- a/lib/plaid/models/income_summary.rb +++ b/lib/plaid/models/income_summary.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/income_summary_field_number.rb b/lib/plaid/models/income_summary_field_number.rb index feb52ac09..45a8a9b06 100644 --- a/lib/plaid/models/income_summary_field_number.rb +++ b/lib/plaid/models/income_summary_field_number.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/income_summary_field_string.rb b/lib/plaid/models/income_summary_field_string.rb index 04672985a..abfd56772 100644 --- a/lib/plaid/models/income_summary_field_string.rb +++ b/lib/plaid/models/income_summary_field_string.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/income_verification_create_request.rb b/lib/plaid/models/income_verification_create_request.rb index 3801b4de4..ed1068288 100644 --- a/lib/plaid/models/income_verification_create_request.rb +++ b/lib/plaid/models/income_verification_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/income_verification_create_request_options.rb b/lib/plaid/models/income_verification_create_request_options.rb index 271ab7b9e..d0e7563dc 100644 --- a/lib/plaid/models/income_verification_create_request_options.rb +++ b/lib/plaid/models/income_verification_create_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/income_verification_create_response.rb b/lib/plaid/models/income_verification_create_response.rb index 7ea85401d..1e5fff9dd 100644 --- a/lib/plaid/models/income_verification_create_response.rb +++ b/lib/plaid/models/income_verification_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/income_verification_documents_download_request.rb b/lib/plaid/models/income_verification_documents_download_request.rb index f3f76466c..fe7598da8 100644 --- a/lib/plaid/models/income_verification_documents_download_request.rb +++ b/lib/plaid/models/income_verification_documents_download_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/income_verification_paystub_get_request.rb b/lib/plaid/models/income_verification_paystub_get_request.rb index 53263f9a9..b5562af4e 100644 --- a/lib/plaid/models/income_verification_paystub_get_request.rb +++ b/lib/plaid/models/income_verification_paystub_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/income_verification_paystub_get_response.rb b/lib/plaid/models/income_verification_paystub_get_response.rb index 84417b0b9..4ebf31e68 100644 --- a/lib/plaid/models/income_verification_paystub_get_response.rb +++ b/lib/plaid/models/income_verification_paystub_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/income_verification_paystubs_get_request.rb b/lib/plaid/models/income_verification_paystubs_get_request.rb index 87ee4c0da..04007eb46 100644 --- a/lib/plaid/models/income_verification_paystubs_get_request.rb +++ b/lib/plaid/models/income_verification_paystubs_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/income_verification_paystubs_get_response.rb b/lib/plaid/models/income_verification_paystubs_get_response.rb index b35a56fb2..d8456f6af 100644 --- a/lib/plaid/models/income_verification_paystubs_get_response.rb +++ b/lib/plaid/models/income_verification_paystubs_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/income_verification_precheck_confidence.rb b/lib/plaid/models/income_verification_precheck_confidence.rb index 35dd80817..54a9aaa59 100644 --- a/lib/plaid/models/income_verification_precheck_confidence.rb +++ b/lib/plaid/models/income_verification_precheck_confidence.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/income_verification_precheck_employer.rb b/lib/plaid/models/income_verification_precheck_employer.rb index a4882ca8c..410eaf75c 100644 --- a/lib/plaid/models/income_verification_precheck_employer.rb +++ b/lib/plaid/models/income_verification_precheck_employer.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/income_verification_precheck_employer_address.rb b/lib/plaid/models/income_verification_precheck_employer_address.rb index cc13eff09..10c7463e9 100644 --- a/lib/plaid/models/income_verification_precheck_employer_address.rb +++ b/lib/plaid/models/income_verification_precheck_employer_address.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/income_verification_precheck_employer_address_data.rb b/lib/plaid/models/income_verification_precheck_employer_address_data.rb index f82b9d7be..bf47f6835 100644 --- a/lib/plaid/models/income_verification_precheck_employer_address_data.rb +++ b/lib/plaid/models/income_verification_precheck_employer_address_data.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/income_verification_precheck_military_info.rb b/lib/plaid/models/income_verification_precheck_military_info.rb index d83586d8e..124a08f0b 100644 --- a/lib/plaid/models/income_verification_precheck_military_info.rb +++ b/lib/plaid/models/income_verification_precheck_military_info.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/income_verification_precheck_request.rb b/lib/plaid/models/income_verification_precheck_request.rb index bb6491f3d..27d6e94cd 100644 --- a/lib/plaid/models/income_verification_precheck_request.rb +++ b/lib/plaid/models/income_verification_precheck_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/income_verification_precheck_response.rb b/lib/plaid/models/income_verification_precheck_response.rb index 99cd8f4d5..57e62844b 100644 --- a/lib/plaid/models/income_verification_precheck_response.rb +++ b/lib/plaid/models/income_verification_precheck_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/income_verification_precheck_user.rb b/lib/plaid/models/income_verification_precheck_user.rb index 99d3a6e86..0dc1ef012 100644 --- a/lib/plaid/models/income_verification_precheck_user.rb +++ b/lib/plaid/models/income_verification_precheck_user.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/income_verification_refresh_request.rb b/lib/plaid/models/income_verification_refresh_request.rb index 8d5bc5003..ec5fcdd6e 100644 --- a/lib/plaid/models/income_verification_refresh_request.rb +++ b/lib/plaid/models/income_verification_refresh_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/income_verification_refresh_response.rb b/lib/plaid/models/income_verification_refresh_response.rb index cfc698d2c..00fa916d2 100644 --- a/lib/plaid/models/income_verification_refresh_response.rb +++ b/lib/plaid/models/income_verification_refresh_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/income_verification_status_webhook.rb b/lib/plaid/models/income_verification_status_webhook.rb index 50f9b9918..d6b39d523 100644 --- a/lib/plaid/models/income_verification_status_webhook.rb +++ b/lib/plaid/models/income_verification_status_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/income_verification_summary_get_request.rb b/lib/plaid/models/income_verification_summary_get_request.rb index b0ae0e826..ac55575e2 100644 --- a/lib/plaid/models/income_verification_summary_get_request.rb +++ b/lib/plaid/models/income_verification_summary_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/income_verification_summary_get_response.rb b/lib/plaid/models/income_verification_summary_get_response.rb index 7d159dff5..3f8dcf448 100644 --- a/lib/plaid/models/income_verification_summary_get_response.rb +++ b/lib/plaid/models/income_verification_summary_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/income_verification_taxforms_get_request.rb b/lib/plaid/models/income_verification_taxforms_get_request.rb index 71d5a0dba..e89a63ccc 100644 --- a/lib/plaid/models/income_verification_taxforms_get_request.rb +++ b/lib/plaid/models/income_verification_taxforms_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/income_verification_taxforms_get_response.rb b/lib/plaid/models/income_verification_taxforms_get_response.rb index 03d599737..08c4e3fea 100644 --- a/lib/plaid/models/income_verification_taxforms_get_response.rb +++ b/lib/plaid/models/income_verification_taxforms_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/income_verification_webhook_status.rb b/lib/plaid/models/income_verification_webhook_status.rb index aa8edace2..ddb2d6cc9 100644 --- a/lib/plaid/models/income_verification_webhook_status.rb +++ b/lib/plaid/models/income_verification_webhook_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/inflow_model.rb b/lib/plaid/models/inflow_model.rb index 4d972442c..ec39b4e4d 100644 --- a/lib/plaid/models/inflow_model.rb +++ b/lib/plaid/models/inflow_model.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/initial_update_webhook.rb b/lib/plaid/models/initial_update_webhook.rb index 3c9b7c747..34868b6cf 100644 --- a/lib/plaid/models/initial_update_webhook.rb +++ b/lib/plaid/models/initial_update_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/institution.rb b/lib/plaid/models/institution.rb index d20c0eb53..96be0036d 100644 --- a/lib/plaid/models/institution.rb +++ b/lib/plaid/models/institution.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/institution_status.rb b/lib/plaid/models/institution_status.rb index 661bef940..bb97943bd 100644 --- a/lib/plaid/models/institution_status.rb +++ b/lib/plaid/models/institution_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/institutions_get_by_id_request.rb b/lib/plaid/models/institutions_get_by_id_request.rb index e45b77006..4b93604ec 100644 --- a/lib/plaid/models/institutions_get_by_id_request.rb +++ b/lib/plaid/models/institutions_get_by_id_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -109,6 +109,11 @@ def list_invalid_properties invalid_properties.push('invalid value for "institution_id", institution_id cannot be nil.') end + if @institution_id.to_s.length < 1 + invalid_properties.push('invalid value for "institution_id", the character length must be great than or equal to 1.') + end + + if @country_codes.nil? invalid_properties.push('invalid value for "country_codes", country_codes cannot be nil.') end @@ -120,10 +125,26 @@ def list_invalid_properties # @return true if the model is valid def valid? return false if @institution_id.nil? + return false if @institution_id.to_s.length < 1 return false if @country_codes.nil? true end + # Custom attribute writer method with validation + # @param [Object] institution_id Value to be assigned + def institution_id=(institution_id) + if institution_id.nil? + fail ArgumentError, 'institution_id cannot be nil' + end + + if institution_id.to_s.length < 1 + fail ArgumentError, 'invalid value for "institution_id", the character length must be great than or equal to 1.' + end + + + @institution_id = institution_id + end + # Checks equality by comparing each attribute. # @param [Object] Object to be compared def ==(o) diff --git a/lib/plaid/models/institutions_get_by_id_request_options.rb b/lib/plaid/models/institutions_get_by_id_request_options.rb index e9d760267..687d7bfde 100644 --- a/lib/plaid/models/institutions_get_by_id_request_options.rb +++ b/lib/plaid/models/institutions_get_by_id_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/institutions_get_by_id_response.rb b/lib/plaid/models/institutions_get_by_id_response.rb index 519af600c..5ba98212d 100644 --- a/lib/plaid/models/institutions_get_by_id_response.rb +++ b/lib/plaid/models/institutions_get_by_id_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/institutions_get_request.rb b/lib/plaid/models/institutions_get_request.rb index c3ba257a7..7e8cf7881 100644 --- a/lib/plaid/models/institutions_get_request.rb +++ b/lib/plaid/models/institutions_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -122,11 +122,20 @@ def list_invalid_properties invalid_properties.push('invalid value for "count", must be smaller than or equal to 500.') end + if @count < 1 + invalid_properties.push('invalid value for "count", must be greater than or equal to 1.') + end + if @offset.nil? invalid_properties.push('invalid value for "offset", offset cannot be nil.') end + if @offset < 0 + invalid_properties.push('invalid value for "offset", must be greater than or equal to 0.') + end + + if @country_codes.nil? invalid_properties.push('invalid value for "country_codes", country_codes cannot be nil.') end @@ -144,7 +153,9 @@ def list_invalid_properties def valid? return false if @count.nil? return false if @count > 500 + return false if @count < 1 return false if @offset.nil? + return false if @offset < 0 return false if @country_codes.nil? return false if @country_codes.length < 1 true @@ -161,10 +172,29 @@ def count=(count) fail ArgumentError, 'invalid value for "count", must be smaller than or equal to 500.' end + if count < 1 + fail ArgumentError, 'invalid value for "count", must be greater than or equal to 1.' + end + @count = count end + # Custom attribute writer method with validation + # @param [Object] offset Value to be assigned + def offset=(offset) + if offset.nil? + fail ArgumentError, 'offset cannot be nil' + end + + if offset < 0 + fail ArgumentError, 'invalid value for "offset", must be greater than or equal to 0.' + end + + + @offset = offset + end + # Custom attribute writer method with validation # @param [Object] country_codes Value to be assigned def country_codes=(country_codes) diff --git a/lib/plaid/models/institutions_get_request_options.rb b/lib/plaid/models/institutions_get_request_options.rb index 7bdad4fb2..87943db09 100644 --- a/lib/plaid/models/institutions_get_request_options.rb +++ b/lib/plaid/models/institutions_get_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -66,6 +66,9 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'products', + :'routing_numbers', + :'oauth', ]) end @@ -121,15 +124,32 @@ def initialize(attributes = {}) # @return Array for valid properties with the reasons def list_invalid_properties invalid_properties = Array.new + + if !@products.nil? && @products.length < 1 + invalid_properties.push('invalid value for "products", number of items must be greater than or equal to 1.') + end + invalid_properties end # Check to see if the all the properties in the model are valid # @return true if the model is valid def valid? + return false if !@products.nil? && @products.length < 1 true end + # Custom attribute writer method with validation + # @param [Object] products Value to be assigned + def products=(products) + + if !products.nil? && products.length < 1 + fail ArgumentError, 'invalid value for "products", number of items must be greater than or equal to 1.' + end + + @products = products + end + # Checks equality by comparing each attribute. # @param [Object] Object to be compared def ==(o) diff --git a/lib/plaid/models/institutions_get_response.rb b/lib/plaid/models/institutions_get_response.rb index 1b77811f1..14486bca1 100644 --- a/lib/plaid/models/institutions_get_response.rb +++ b/lib/plaid/models/institutions_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/institutions_search_account_filter.rb b/lib/plaid/models/institutions_search_account_filter.rb index 695a5b9fd..57b08df06 100644 --- a/lib/plaid/models/institutions_search_account_filter.rb +++ b/lib/plaid/models/institutions_search_account_filter.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/institutions_search_payment_initiation_options.rb b/lib/plaid/models/institutions_search_payment_initiation_options.rb index 62041f069..c821cfdbc 100644 --- a/lib/plaid/models/institutions_search_payment_initiation_options.rb +++ b/lib/plaid/models/institutions_search_payment_initiation_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -41,6 +41,7 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'payment_id' ]) end diff --git a/lib/plaid/models/institutions_search_request.rb b/lib/plaid/models/institutions_search_request.rb index 552dfd0d0..2cf95927f 100644 --- a/lib/plaid/models/institutions_search_request.rb +++ b/lib/plaid/models/institutions_search_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -65,6 +65,7 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'products', ]) end @@ -120,11 +121,12 @@ def list_invalid_properties invalid_properties.push('invalid value for "query", query cannot be nil.') end - if @products.nil? - invalid_properties.push('invalid value for "products", products cannot be nil.') + if @query.to_s.length < 1 + invalid_properties.push('invalid value for "query", the character length must be great than or equal to 1.') end + if @products.length < 1 invalid_properties.push('invalid value for "products", number of items must be greater than or equal to 1.') end @@ -140,19 +142,30 @@ def list_invalid_properties # @return true if the model is valid def valid? return false if @query.nil? - return false if @products.nil? + return false if @query.to_s.length < 1 return false if @products.length < 1 return false if @country_codes.nil? true end # Custom attribute writer method with validation - # @param [Object] products Value to be assigned - def products=(products) - if products.nil? - fail ArgumentError, 'products cannot be nil' + # @param [Object] query Value to be assigned + def query=(query) + if query.nil? + fail ArgumentError, 'query cannot be nil' end + if query.to_s.length < 1 + fail ArgumentError, 'invalid value for "query", the character length must be great than or equal to 1.' + end + + + @query = query + end + + # Custom attribute writer method with validation + # @param [Object] products Value to be assigned + def products=(products) if products.length < 1 fail ArgumentError, 'invalid value for "products", number of items must be greater than or equal to 1.' diff --git a/lib/plaid/models/institutions_search_request_options.rb b/lib/plaid/models/institutions_search_request_options.rb index 1a3af02e8..ae66ba58e 100644 --- a/lib/plaid/models/institutions_search_request_options.rb +++ b/lib/plaid/models/institutions_search_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -60,6 +60,9 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'oauth', + :'include_auth_metadata', + :'include_payment_initiation_metadata', :'payment_initiation' ]) end diff --git a/lib/plaid/models/institutions_search_response.rb b/lib/plaid/models/institutions_search_response.rb index 35347d9cf..fcbf4deb4 100644 --- a/lib/plaid/models/institutions_search_response.rb +++ b/lib/plaid/models/institutions_search_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/investment_filter.rb b/lib/plaid/models/investment_filter.rb index 79f09f9d6..e2b7dd665 100644 --- a/lib/plaid/models/investment_filter.rb +++ b/lib/plaid/models/investment_filter.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -16,7 +16,7 @@ module Plaid # A filter to apply to `investment`-type accounts (or `brokerage`-type acconunts for API versions 2018-05-22 and earlier). class InvestmentFilter - # An array of account subtypes to display in Link. If not specified, all account subtypes will be shown. For a full list of valid types and subtypes, see the [Account schema](https://plaid.com/docs/api/accounts#accounts-schema). + # An array of account subtypes to display in Link. If not specified, all account subtypes will be shown. For a full list of valid types and subtypes, see the [Account schema](https://plaid.com/docs/api/accounts#account-type-schema). attr_accessor :account_subtypes # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/plaid/models/investment_holdings_get_request_options.rb b/lib/plaid/models/investment_holdings_get_request_options.rb index 73b7ecd7a..65a5e52d6 100644 --- a/lib/plaid/models/investment_holdings_get_request_options.rb +++ b/lib/plaid/models/investment_holdings_get_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/investment_transaction.rb b/lib/plaid/models/investment_transaction.rb index 891bf7440..bf460da43 100644 --- a/lib/plaid/models/investment_transaction.rb +++ b/lib/plaid/models/investment_transaction.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/investments_default_update_webhook.rb b/lib/plaid/models/investments_default_update_webhook.rb index 39be84e1c..749787581 100644 --- a/lib/plaid/models/investments_default_update_webhook.rb +++ b/lib/plaid/models/investments_default_update_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/investments_holdings_get_request.rb b/lib/plaid/models/investments_holdings_get_request.rb index f8c8fc2d2..96d0c1898 100644 --- a/lib/plaid/models/investments_holdings_get_request.rb +++ b/lib/plaid/models/investments_holdings_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/investments_holdings_get_response.rb b/lib/plaid/models/investments_holdings_get_response.rb index 7e1a95131..7796e3b63 100644 --- a/lib/plaid/models/investments_holdings_get_response.rb +++ b/lib/plaid/models/investments_holdings_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/investments_transactions_get_request.rb b/lib/plaid/models/investments_transactions_get_request.rb index 174875ea1..e9a6aa58f 100644 --- a/lib/plaid/models/investments_transactions_get_request.rb +++ b/lib/plaid/models/investments_transactions_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/investments_transactions_get_request_options.rb b/lib/plaid/models/investments_transactions_get_request_options.rb index 37f3ff685..f4ee0ea43 100644 --- a/lib/plaid/models/investments_transactions_get_request_options.rb +++ b/lib/plaid/models/investments_transactions_get_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/investments_transactions_get_response.rb b/lib/plaid/models/investments_transactions_get_response.rb index 26d4da463..d5fd0fcc7 100644 --- a/lib/plaid/models/investments_transactions_get_response.rb +++ b/lib/plaid/models/investments_transactions_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/investments_transactions_override.rb b/lib/plaid/models/investments_transactions_override.rb index 11ab71985..c01abe215 100644 --- a/lib/plaid/models/investments_transactions_override.rb +++ b/lib/plaid/models/investments_transactions_override.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/item.rb b/lib/plaid/models/item.rb index bc343af52..27b39fb59 100644 --- a/lib/plaid/models/item.rb +++ b/lib/plaid/models/item.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/item_access_token_invalidate_request.rb b/lib/plaid/models/item_access_token_invalidate_request.rb index ca371a985..f63a5871d 100644 --- a/lib/plaid/models/item_access_token_invalidate_request.rb +++ b/lib/plaid/models/item_access_token_invalidate_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/item_access_token_invalidate_response.rb b/lib/plaid/models/item_access_token_invalidate_response.rb index 42c44aa25..18b4f8cd8 100644 --- a/lib/plaid/models/item_access_token_invalidate_response.rb +++ b/lib/plaid/models/item_access_token_invalidate_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/item_application_list_request.rb b/lib/plaid/models/item_application_list_request.rb index c84c321cd..517bbdf0d 100644 --- a/lib/plaid/models/item_application_list_request.rb +++ b/lib/plaid/models/item_application_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/item_application_list_response.rb b/lib/plaid/models/item_application_list_response.rb index 52742406a..08da8462f 100644 --- a/lib/plaid/models/item_application_list_response.rb +++ b/lib/plaid/models/item_application_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/item_application_list_user_auth.rb b/lib/plaid/models/item_application_list_user_auth.rb index 1ff895b43..e20f13852 100644 --- a/lib/plaid/models/item_application_list_user_auth.rb +++ b/lib/plaid/models/item_application_list_user_auth.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/item_application_scopes_update_request.rb b/lib/plaid/models/item_application_scopes_update_request.rb index 74a4d2a4e..40e5f0c5a 100644 --- a/lib/plaid/models/item_application_scopes_update_request.rb +++ b/lib/plaid/models/item_application_scopes_update_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/item_application_scopes_update_response.rb b/lib/plaid/models/item_application_scopes_update_response.rb index 57901067b..25672034b 100644 --- a/lib/plaid/models/item_application_scopes_update_response.rb +++ b/lib/plaid/models/item_application_scopes_update_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/item_error_webhook.rb b/lib/plaid/models/item_error_webhook.rb index 8c3328a03..146308088 100644 --- a/lib/plaid/models/item_error_webhook.rb +++ b/lib/plaid/models/item_error_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/item_get_request.rb b/lib/plaid/models/item_get_request.rb index 8caffca53..f191757a8 100644 --- a/lib/plaid/models/item_get_request.rb +++ b/lib/plaid/models/item_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/item_get_response.rb b/lib/plaid/models/item_get_response.rb index adb2205df..e73f1b0a7 100644 --- a/lib/plaid/models/item_get_response.rb +++ b/lib/plaid/models/item_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/item_import_request.rb b/lib/plaid/models/item_import_request.rb index 6e6bb283b..3dad77848 100644 --- a/lib/plaid/models/item_import_request.rb +++ b/lib/plaid/models/item_import_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/item_import_request_options.rb b/lib/plaid/models/item_import_request_options.rb index 9b2502f4e..b58742f69 100644 --- a/lib/plaid/models/item_import_request_options.rb +++ b/lib/plaid/models/item_import_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/item_import_request_user_auth.rb b/lib/plaid/models/item_import_request_user_auth.rb index cacc5ef98..2ae7215eb 100644 --- a/lib/plaid/models/item_import_request_user_auth.rb +++ b/lib/plaid/models/item_import_request_user_auth.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/item_import_response.rb b/lib/plaid/models/item_import_response.rb index cec93cefa..2092d2453 100644 --- a/lib/plaid/models/item_import_response.rb +++ b/lib/plaid/models/item_import_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/item_product_ready_webhook.rb b/lib/plaid/models/item_product_ready_webhook.rb index b203d1af1..6dbe88e44 100644 --- a/lib/plaid/models/item_product_ready_webhook.rb +++ b/lib/plaid/models/item_product_ready_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/item_public_token_create_request.rb b/lib/plaid/models/item_public_token_create_request.rb index 09d3b2bb9..84eec201c 100644 --- a/lib/plaid/models/item_public_token_create_request.rb +++ b/lib/plaid/models/item_public_token_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/item_public_token_create_response.rb b/lib/plaid/models/item_public_token_create_response.rb index 17669a2c2..db9d802d6 100644 --- a/lib/plaid/models/item_public_token_create_response.rb +++ b/lib/plaid/models/item_public_token_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/item_public_token_exchange_request.rb b/lib/plaid/models/item_public_token_exchange_request.rb index 0ce01cb14..fe24feba2 100644 --- a/lib/plaid/models/item_public_token_exchange_request.rb +++ b/lib/plaid/models/item_public_token_exchange_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/item_public_token_exchange_response.rb b/lib/plaid/models/item_public_token_exchange_response.rb index ff1514ec9..992a7db07 100644 --- a/lib/plaid/models/item_public_token_exchange_response.rb +++ b/lib/plaid/models/item_public_token_exchange_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/item_remove_request.rb b/lib/plaid/models/item_remove_request.rb index b945f6594..c3159274b 100644 --- a/lib/plaid/models/item_remove_request.rb +++ b/lib/plaid/models/item_remove_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/item_remove_response.rb b/lib/plaid/models/item_remove_response.rb index 14828b959..4d0cb2784 100644 --- a/lib/plaid/models/item_remove_response.rb +++ b/lib/plaid/models/item_remove_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/item_status.rb b/lib/plaid/models/item_status.rb index 11dd07e85..b48ce4ce5 100644 --- a/lib/plaid/models/item_status.rb +++ b/lib/plaid/models/item_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/item_status_investments.rb b/lib/plaid/models/item_status_investments.rb index e6ffefd64..90a7df0fb 100644 --- a/lib/plaid/models/item_status_investments.rb +++ b/lib/plaid/models/item_status_investments.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/item_status_last_webhook.rb b/lib/plaid/models/item_status_last_webhook.rb index 92a107826..0265c5bde 100644 --- a/lib/plaid/models/item_status_last_webhook.rb +++ b/lib/plaid/models/item_status_last_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/item_status_nullable.rb b/lib/plaid/models/item_status_nullable.rb index f96e6fada..9617beab9 100644 --- a/lib/plaid/models/item_status_nullable.rb +++ b/lib/plaid/models/item_status_nullable.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/item_status_transactions.rb b/lib/plaid/models/item_status_transactions.rb index c312e21bf..4ec59c399 100644 --- a/lib/plaid/models/item_status_transactions.rb +++ b/lib/plaid/models/item_status_transactions.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/item_webhook_update_request.rb b/lib/plaid/models/item_webhook_update_request.rb index d7a13e52b..88cf24719 100644 --- a/lib/plaid/models/item_webhook_update_request.rb +++ b/lib/plaid/models/item_webhook_update_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/item_webhook_update_response.rb b/lib/plaid/models/item_webhook_update_response.rb index ea3dd62bb..e3e24f1a2 100644 --- a/lib/plaid/models/item_webhook_update_response.rb +++ b/lib/plaid/models/item_webhook_update_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/jwk_public_key.rb b/lib/plaid/models/jwk_public_key.rb index bd4b264e8..64232e847 100644 --- a/lib/plaid/models/jwk_public_key.rb +++ b/lib/plaid/models/jwk_public_key.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/jwt_header.rb b/lib/plaid/models/jwt_header.rb index 43b76f2e7..5e47a32f2 100644 --- a/lib/plaid/models/jwt_header.rb +++ b/lib/plaid/models/jwt_header.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/liabilities_default_update_webhook.rb b/lib/plaid/models/liabilities_default_update_webhook.rb index a177df1af..6b137f6b9 100644 --- a/lib/plaid/models/liabilities_default_update_webhook.rb +++ b/lib/plaid/models/liabilities_default_update_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/liabilities_get_request.rb b/lib/plaid/models/liabilities_get_request.rb index af0e115fb..0cec8c51d 100644 --- a/lib/plaid/models/liabilities_get_request.rb +++ b/lib/plaid/models/liabilities_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/liabilities_get_request_options.rb b/lib/plaid/models/liabilities_get_request_options.rb index 118909d26..c929d5b73 100644 --- a/lib/plaid/models/liabilities_get_request_options.rb +++ b/lib/plaid/models/liabilities_get_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/liabilities_get_response.rb b/lib/plaid/models/liabilities_get_response.rb index 086c8cef2..cc761ad26 100644 --- a/lib/plaid/models/liabilities_get_response.rb +++ b/lib/plaid/models/liabilities_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/liabilities_object.rb b/lib/plaid/models/liabilities_object.rb index 024f47962..2ac220dc0 100644 --- a/lib/plaid/models/liabilities_object.rb +++ b/lib/plaid/models/liabilities_object.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/liability_override.rb b/lib/plaid/models/liability_override.rb index ad297c527..3d9eb9209 100644 --- a/lib/plaid/models/liability_override.rb +++ b/lib/plaid/models/liability_override.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/link_token_account_filters.rb b/lib/plaid/models/link_token_account_filters.rb index baf7ed888..fd46f1587 100644 --- a/lib/plaid/models/link_token_account_filters.rb +++ b/lib/plaid/models/link_token_account_filters.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -14,7 +14,7 @@ require 'time' module Plaid - # By default, Link will provide limited account filtering: it will only display Institutions that are compatible with all products supplied in the `products` parameter of `/link/token/create`, and, if `auth` is specified in the `products` array, will also filter out accounts other than `checking` and `savings` accounts on the Account Select pane. You can further limit the accounts shown in Link by using `account_filters` to specify the account subtypes to be shown in Link. Only the specified subtypes will be shown. This filtering applies to both the Account Select view (if enabled) and the Institution Select view. Institutions that do not support the selected subtypes will be omitted from Link. To indicate that all subtypes should be shown, use the value `\"all\"`. If the `account_filters` filter is used, any account type for which a filter is not specified will be entirely omitted from Link. For a full list of valid types and subtypes, see the [Account schema](https://plaid.com/docs/api/accounts#accounts-schema). For institutions using OAuth, the filter will not affect the list of accounts shown by the bank in the OAuth window. + # By default, Link will provide limited account filtering: it will only display Institutions that are compatible with all products supplied in the `products` parameter of `/link/token/create`, and, if `auth` is specified in the `products` array, will also filter out accounts other than `checking` and `savings` accounts on the Account Select pane. You can further limit the accounts shown in Link by using `account_filters` to specify the account subtypes to be shown in Link. Only the specified subtypes will be shown. This filtering applies to both the Account Select view (if enabled) and the Institution Select view. Institutions that do not support the selected subtypes will be omitted from Link. To indicate that all subtypes should be shown, use the value `\"all\"`. If the `account_filters` filter is used, any account type for which a filter is not specified will be entirely omitted from Link. For a full list of valid types and subtypes, see the [Account schema](https://plaid.com/docs/api/accounts#account-type-schema). For institutions using OAuth, the filter will not affect the list of accounts shown by the bank in the OAuth window. class LinkTokenAccountFilters attr_accessor :depository diff --git a/lib/plaid/models/link_token_create_request.rb b/lib/plaid/models/link_token_create_request.rb index 090f55718..3d90fa5e1 100644 --- a/lib/plaid/models/link_token_create_request.rb +++ b/lib/plaid/models/link_token_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -33,7 +33,7 @@ class LinkTokenCreateRequest attr_accessor :user - # List of Plaid product(s) you wish to use. If launching Link in update mode, should be omitted; required otherwise. Valid products are: `transactions`, `auth`, `identity`, `assets`, `investments`, `liabilities`, `payment_initiation`, `deposit_switch`, `income_verification`, `transfer` `balance` is *not* a valid value, the Balance product does not require explicit initalization and will automatically be initialized when any other product is initialized. Only institutions that support *all* requested products will be shown in Link; to maximize the number of institutions listed, it is recommended to initialize Link with the minimal product set required for your use case. Additional products can be added after Link initialization by calling the relevant endpoints. For details and exceptions, see [Choosing when to initialize products](https://plaid.com/docs/link/best-practices/#choosing-when-to-initialize-products). Note that, unless you have opted to disable Instant Match support, institutions that support Instant Match will also be shown in Link if `auth` is specified as a product, even though these institutions do not contain `auth` in their product array. In Production, you will be billed for each product that you specify when initializing Link. Note that a product cannot be removed from an Item once the Item has been initialized with that product. To stop billing on an Item for subscription-based products, such as Liabilities, Investments, and Transactions, remove the Item via `/item/remove`. + # List of Plaid product(s) you wish to use. If launching Link in update mode, should be omitted; required otherwise. Valid products are: `transactions`, `auth`, `identity`, `assets`, `investments`, `liabilities`, `payment_initiation`, `deposit_switch`, `income_verification`, `transfer` `balance` is *not* a valid value, the Balance product does not require explicit initialization and will automatically be initialized when any other product is initialized. Only institutions that support *all* requested products will be shown in Link; to maximize the number of institutions listed, it is recommended to initialize Link with the minimal product set required for your use case. Additional products can be added after Link initialization by calling the relevant endpoints. For details and exceptions, see [Choosing when to initialize products](https://plaid.com/docs/link/best-practices/#choosing-when-to-initialize-products). Note that, unless you have opted to disable Instant Match support, institutions that support Instant Match will also be shown in Link if `auth` is specified as a product, even though these institutions do not contain `auth` in their product array. In Production, you will be billed for each product that you specify when initializing Link. Note that a product cannot be removed from an Item once the Item has been initialized with that product. To stop billing on an Item for subscription-based products, such as Liabilities, Investments, and Transactions, remove the Item via `/item/remove`. attr_accessor :products # The destination URL to which any webhooks should be sent. diff --git a/lib/plaid/models/link_token_create_request_account_subtypes.rb b/lib/plaid/models/link_token_create_request_account_subtypes.rb index 168ecf4ee..181ec12c5 100644 --- a/lib/plaid/models/link_token_create_request_account_subtypes.rb +++ b/lib/plaid/models/link_token_create_request_account_subtypes.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -14,7 +14,7 @@ require 'time' module Plaid - # By default, Link will only display account types that are compatible with all products supplied in the `products` parameter of `/link/token/create`. You can further limit the accounts shown in Link by using `account_filters` to specify the account subtypes to be shown in Link. Only the specified subtypes will be shown. This filtering applies to both the Account Select view (if enabled) and the Institution Select view. Institutions that do not support the selected subtypes will be omitted from Link. To indicate that all subtypes should be shown, use the value `\"all\"`. If the `account_filters` filter is used, any account type for which a filter is not specified will be entirely omitted from Link. For a full list of valid types and subtypes, see the [Account schema](https://plaid.com/docs/api/accounts#accounts-schema). For institutions using OAuth, the filter will not affect the list of institutions or accounts shown by the bank in the OAuth window. + # By default, Link will only display account types that are compatible with all products supplied in the `products` parameter of `/link/token/create`. You can further limit the accounts shown in Link by using `account_filters` to specify the account subtypes to be shown in Link. Only the specified subtypes will be shown. This filtering applies to both the Account Select view (if enabled) and the Institution Select view. Institutions that do not support the selected subtypes will be omitted from Link. To indicate that all subtypes should be shown, use the value `\"all\"`. If the `account_filters` filter is used, any account type for which a filter is not specified will be entirely omitted from Link. For a full list of valid types and subtypes, see the [Account schema](https://plaid.com/docs/api/accounts#account-type-schema). For institutions using OAuth, the filter will not affect the list of institutions or accounts shown by the bank in the OAuth window. class LinkTokenCreateRequestAccountSubtypes # A filter to apply to `depository`-type accounts attr_accessor :depository diff --git a/lib/plaid/models/link_token_create_request_auth.rb b/lib/plaid/models/link_token_create_request_auth.rb index 5b7691e03..f60b07824 100644 --- a/lib/plaid/models/link_token_create_request_auth.rb +++ b/lib/plaid/models/link_token_create_request_auth.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/link_token_create_request_deposit_switch.rb b/lib/plaid/models/link_token_create_request_deposit_switch.rb index 1429dc094..5eecc35c4 100644 --- a/lib/plaid/models/link_token_create_request_deposit_switch.rb +++ b/lib/plaid/models/link_token_create_request_deposit_switch.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/link_token_create_request_income_verification.rb b/lib/plaid/models/link_token_create_request_income_verification.rb index b0b6673eb..166d04476 100644 --- a/lib/plaid/models/link_token_create_request_income_verification.rb +++ b/lib/plaid/models/link_token_create_request_income_verification.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/link_token_create_request_payment_initiation.rb b/lib/plaid/models/link_token_create_request_payment_initiation.rb index 23a0704a3..5d746bcd0 100644 --- a/lib/plaid/models/link_token_create_request_payment_initiation.rb +++ b/lib/plaid/models/link_token_create_request_payment_initiation.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/link_token_create_request_transfer.rb b/lib/plaid/models/link_token_create_request_transfer.rb index 9c881d308..67b49e08f 100644 --- a/lib/plaid/models/link_token_create_request_transfer.rb +++ b/lib/plaid/models/link_token_create_request_transfer.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/link_token_create_request_update.rb b/lib/plaid/models/link_token_create_request_update.rb index 4a88db10f..ac01dcfea 100644 --- a/lib/plaid/models/link_token_create_request_update.rb +++ b/lib/plaid/models/link_token_create_request_update.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/link_token_create_request_user.rb b/lib/plaid/models/link_token_create_request_user.rb index db87c8c6f..49235cc8d 100644 --- a/lib/plaid/models/link_token_create_request_user.rb +++ b/lib/plaid/models/link_token_create_request_user.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/link_token_create_response.rb b/lib/plaid/models/link_token_create_response.rb index 888aa59e6..06d05401e 100644 --- a/lib/plaid/models/link_token_create_response.rb +++ b/lib/plaid/models/link_token_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/link_token_eu_config.rb b/lib/plaid/models/link_token_eu_config.rb index 84048a47e..ec74b0c4d 100644 --- a/lib/plaid/models/link_token_eu_config.rb +++ b/lib/plaid/models/link_token_eu_config.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/link_token_get_metadata_response.rb b/lib/plaid/models/link_token_get_metadata_response.rb index 984e13593..83c7bb51b 100644 --- a/lib/plaid/models/link_token_get_metadata_response.rb +++ b/lib/plaid/models/link_token_get_metadata_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/link_token_get_request.rb b/lib/plaid/models/link_token_get_request.rb index abbc64b56..103e9c89f 100644 --- a/lib/plaid/models/link_token_get_request.rb +++ b/lib/plaid/models/link_token_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/link_token_get_response.rb b/lib/plaid/models/link_token_get_response.rb index 9f28c622c..3fed71f25 100644 --- a/lib/plaid/models/link_token_get_response.rb +++ b/lib/plaid/models/link_token_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/loan_filter.rb b/lib/plaid/models/loan_filter.rb index 7ada4fb42..37986673c 100644 --- a/lib/plaid/models/loan_filter.rb +++ b/lib/plaid/models/loan_filter.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -16,7 +16,7 @@ module Plaid # A filter to apply to `loan`-type accounts class LoanFilter - # An array of account subtypes to display in Link. If not specified, all account subtypes will be shown. For a full list of valid types and subtypes, see the [Account schema](https://plaid.com/docs/api/accounts#accounts-schema). + # An array of account subtypes to display in Link. If not specified, all account subtypes will be shown. For a full list of valid types and subtypes, see the [Account schema](https://plaid.com/docs/api/accounts#account-type-schema). attr_accessor :account_subtypes # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/plaid/models/location.rb b/lib/plaid/models/location.rb index ca16e5576..d6d940f4c 100644 --- a/lib/plaid/models/location.rb +++ b/lib/plaid/models/location.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/meta.rb b/lib/plaid/models/meta.rb index 96025374d..124b54292 100644 --- a/lib/plaid/models/meta.rb +++ b/lib/plaid/models/meta.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/mfa.rb b/lib/plaid/models/mfa.rb index b38a41427..f4c6af513 100644 --- a/lib/plaid/models/mfa.rb +++ b/lib/plaid/models/mfa.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/mortgage_interest_rate.rb b/lib/plaid/models/mortgage_interest_rate.rb index 8ffd314c5..022a3d7be 100644 --- a/lib/plaid/models/mortgage_interest_rate.rb +++ b/lib/plaid/models/mortgage_interest_rate.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/mortgage_liability.rb b/lib/plaid/models/mortgage_liability.rb index e899a4027..4ac5272d2 100644 --- a/lib/plaid/models/mortgage_liability.rb +++ b/lib/plaid/models/mortgage_liability.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/mortgage_property_address.rb b/lib/plaid/models/mortgage_property_address.rb index 1255cc4a7..c78d4b04e 100644 --- a/lib/plaid/models/mortgage_property_address.rb +++ b/lib/plaid/models/mortgage_property_address.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/net_pay.rb b/lib/plaid/models/net_pay.rb index 23e6218ad..cceade7ac 100644 --- a/lib/plaid/models/net_pay.rb +++ b/lib/plaid/models/net_pay.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/new_accounts_available_webhook.rb b/lib/plaid/models/new_accounts_available_webhook.rb index 3963e89ff..38438a69d 100644 --- a/lib/plaid/models/new_accounts_available_webhook.rb +++ b/lib/plaid/models/new_accounts_available_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/numbers.rb b/lib/plaid/models/numbers.rb index b304927a3..77b977e18 100644 --- a/lib/plaid/models/numbers.rb +++ b/lib/plaid/models/numbers.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/numbers_ach.rb b/lib/plaid/models/numbers_ach.rb index 38e27d1af..52844913b 100644 --- a/lib/plaid/models/numbers_ach.rb +++ b/lib/plaid/models/numbers_ach.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/numbers_ach_nullable.rb b/lib/plaid/models/numbers_ach_nullable.rb index b35a2f350..62cd87b23 100644 --- a/lib/plaid/models/numbers_ach_nullable.rb +++ b/lib/plaid/models/numbers_ach_nullable.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/numbers_bacs.rb b/lib/plaid/models/numbers_bacs.rb index 7cdeacecb..268e1b32a 100644 --- a/lib/plaid/models/numbers_bacs.rb +++ b/lib/plaid/models/numbers_bacs.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/numbers_bacs_nullable.rb b/lib/plaid/models/numbers_bacs_nullable.rb index 1538f4f09..f7651522a 100644 --- a/lib/plaid/models/numbers_bacs_nullable.rb +++ b/lib/plaid/models/numbers_bacs_nullable.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/numbers_eft.rb b/lib/plaid/models/numbers_eft.rb index 05f7b8dcb..8145e64e0 100644 --- a/lib/plaid/models/numbers_eft.rb +++ b/lib/plaid/models/numbers_eft.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/numbers_eft_nullable.rb b/lib/plaid/models/numbers_eft_nullable.rb index 3068c7b15..00b2e6734 100644 --- a/lib/plaid/models/numbers_eft_nullable.rb +++ b/lib/plaid/models/numbers_eft_nullable.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/numbers_international.rb b/lib/plaid/models/numbers_international.rb index ad6978445..2abd50b98 100644 --- a/lib/plaid/models/numbers_international.rb +++ b/lib/plaid/models/numbers_international.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/numbers_international_nullable.rb b/lib/plaid/models/numbers_international_nullable.rb index c4dd62be4..6586c2d49 100644 --- a/lib/plaid/models/numbers_international_nullable.rb +++ b/lib/plaid/models/numbers_international_nullable.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/override_account_type.rb b/lib/plaid/models/override_account_type.rb index 67758038a..0f33e983e 100644 --- a/lib/plaid/models/override_account_type.rb +++ b/lib/plaid/models/override_account_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/override_accounts.rb b/lib/plaid/models/override_accounts.rb index 740edf277..ec7e84c89 100644 --- a/lib/plaid/models/override_accounts.rb +++ b/lib/plaid/models/override_accounts.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/owner.rb b/lib/plaid/models/owner.rb index 81e232dd9..1f07f6c04 100644 --- a/lib/plaid/models/owner.rb +++ b/lib/plaid/models/owner.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/owner_override.rb b/lib/plaid/models/owner_override.rb index 566a63ae9..bc61649b0 100644 --- a/lib/plaid/models/owner_override.rb +++ b/lib/plaid/models/owner_override.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/pay.rb b/lib/plaid/models/pay.rb index 85c008343..ba73373ce 100644 --- a/lib/plaid/models/pay.rb +++ b/lib/plaid/models/pay.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -79,41 +79,15 @@ def initialize(attributes = {}) # @return Array for valid properties with the reasons def list_invalid_properties invalid_properties = Array.new - if !@currency.nil? && @currency.to_s.length > 3 - invalid_properties.push('invalid value for "currency", the character length must be smaller than or equal to 3.') - end - - if !@currency.nil? && @currency.to_s.length < 3 - invalid_properties.push('invalid value for "currency", the character length must be great than or equal to 3.') - end - - invalid_properties end # Check to see if the all the properties in the model are valid # @return true if the model is valid def valid? - return false if !@currency.nil? && @currency.to_s.length > 3 - return false if !@currency.nil? && @currency.to_s.length < 3 true end - # Custom attribute writer method with validation - # @param [Object] currency Value to be assigned - def currency=(currency) - if !currency.nil? && currency.to_s.length > 3 - fail ArgumentError, 'invalid value for "currency", the character length must be smaller than or equal to 3.' - end - - if !currency.nil? && currency.to_s.length < 3 - fail ArgumentError, 'invalid value for "currency", the character length must be great than or equal to 3.' - end - - - @currency = currency - end - # Checks equality by comparing each attribute. # @param [Object] Object to be compared def ==(o) diff --git a/lib/plaid/models/pay_frequency.rb b/lib/plaid/models/pay_frequency.rb index b1c0bc1ad..915cc6d7e 100644 --- a/lib/plaid/models/pay_frequency.rb +++ b/lib/plaid/models/pay_frequency.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/pay_frequency_value.rb b/lib/plaid/models/pay_frequency_value.rb index fd9a76e91..03d767c88 100644 --- a/lib/plaid/models/pay_frequency_value.rb +++ b/lib/plaid/models/pay_frequency_value.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/pay_period_details.rb b/lib/plaid/models/pay_period_details.rb index 5d75c3811..814438b82 100644 --- a/lib/plaid/models/pay_period_details.rb +++ b/lib/plaid/models/pay_period_details.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/payment_amount.rb b/lib/plaid/models/payment_amount.rb index 7af948f1e..25ee91e75 100644 --- a/lib/plaid/models/payment_amount.rb +++ b/lib/plaid/models/payment_amount.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/payment_initiation_address.rb b/lib/plaid/models/payment_initiation_address.rb index c3b602f72..f25d9c241 100644 --- a/lib/plaid/models/payment_initiation_address.rb +++ b/lib/plaid/models/payment_initiation_address.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/payment_initiation_metadata.rb b/lib/plaid/models/payment_initiation_metadata.rb index d895f041a..2a2b70192 100644 --- a/lib/plaid/models/payment_initiation_metadata.rb +++ b/lib/plaid/models/payment_initiation_metadata.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -19,7 +19,7 @@ class PaymentInitiationMetadata # Indicates whether the institution supports payments from a different country. attr_accessor :supports_international_payments - # A mapping of currency to maximum payment amount (denominated in the smallest unit of currency) supported by the insitution. Example: `{\"GBP\": \"10000\"}` + # A mapping of currency to maximum payment amount (denominated in the smallest unit of currency) supported by the institution. Example: `{\"GBP\": \"10000\"}` attr_accessor :maximum_payment_amount # Indicates whether the institution supports returning refund details when initiating a payment. diff --git a/lib/plaid/models/payment_initiation_optional_restriction_bacs.rb b/lib/plaid/models/payment_initiation_optional_restriction_bacs.rb index 10feba682..fbd61191e 100644 --- a/lib/plaid/models/payment_initiation_optional_restriction_bacs.rb +++ b/lib/plaid/models/payment_initiation_optional_restriction_bacs.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/payment_initiation_payment.rb b/lib/plaid/models/payment_initiation_payment.rb index a768ace9a..d25693c34 100644 --- a/lib/plaid/models/payment_initiation_payment.rb +++ b/lib/plaid/models/payment_initiation_payment.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/payment_initiation_payment_create_request.rb b/lib/plaid/models/payment_initiation_payment_create_request.rb index 4306b4495..40d8f0743 100644 --- a/lib/plaid/models/payment_initiation_payment_create_request.rb +++ b/lib/plaid/models/payment_initiation_payment_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/payment_initiation_payment_create_response.rb b/lib/plaid/models/payment_initiation_payment_create_response.rb index 588b87c58..24ab922be 100644 --- a/lib/plaid/models/payment_initiation_payment_create_response.rb +++ b/lib/plaid/models/payment_initiation_payment_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/payment_initiation_payment_get_request.rb b/lib/plaid/models/payment_initiation_payment_get_request.rb index 1d91408e8..aa64ca4dd 100644 --- a/lib/plaid/models/payment_initiation_payment_get_request.rb +++ b/lib/plaid/models/payment_initiation_payment_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/payment_initiation_payment_get_response.rb b/lib/plaid/models/payment_initiation_payment_get_response.rb index 16bb79589..e0f7d7172 100644 --- a/lib/plaid/models/payment_initiation_payment_get_response.rb +++ b/lib/plaid/models/payment_initiation_payment_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/payment_initiation_payment_list_request.rb b/lib/plaid/models/payment_initiation_payment_list_request.rb index 7fe471708..cd6b73a06 100644 --- a/lib/plaid/models/payment_initiation_payment_list_request.rb +++ b/lib/plaid/models/payment_initiation_payment_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/payment_initiation_payment_list_response.rb b/lib/plaid/models/payment_initiation_payment_list_response.rb index 530491b5a..a947018de 100644 --- a/lib/plaid/models/payment_initiation_payment_list_response.rb +++ b/lib/plaid/models/payment_initiation_payment_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/payment_initiation_payment_reverse_request.rb b/lib/plaid/models/payment_initiation_payment_reverse_request.rb index 30145db57..7430b1511 100644 --- a/lib/plaid/models/payment_initiation_payment_reverse_request.rb +++ b/lib/plaid/models/payment_initiation_payment_reverse_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/payment_initiation_payment_reverse_response.rb b/lib/plaid/models/payment_initiation_payment_reverse_response.rb index 0544a610a..67f856310 100644 --- a/lib/plaid/models/payment_initiation_payment_reverse_response.rb +++ b/lib/plaid/models/payment_initiation_payment_reverse_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/payment_initiation_payment_status.rb b/lib/plaid/models/payment_initiation_payment_status.rb index 32f8ed159..90a9768c0 100644 --- a/lib/plaid/models/payment_initiation_payment_status.rb +++ b/lib/plaid/models/payment_initiation_payment_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/payment_initiation_payment_token_create_request.rb b/lib/plaid/models/payment_initiation_payment_token_create_request.rb index e8307b46d..6ab7fbd3d 100644 --- a/lib/plaid/models/payment_initiation_payment_token_create_request.rb +++ b/lib/plaid/models/payment_initiation_payment_token_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/payment_initiation_payment_token_create_response.rb b/lib/plaid/models/payment_initiation_payment_token_create_response.rb index 4af2bd054..5e2f4875a 100644 --- a/lib/plaid/models/payment_initiation_payment_token_create_response.rb +++ b/lib/plaid/models/payment_initiation_payment_token_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/payment_initiation_recipient.rb b/lib/plaid/models/payment_initiation_recipient.rb index 52a345987..aeafed03b 100644 --- a/lib/plaid/models/payment_initiation_recipient.rb +++ b/lib/plaid/models/payment_initiation_recipient.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/payment_initiation_recipient_create_request.rb b/lib/plaid/models/payment_initiation_recipient_create_request.rb index d2615e2c0..4bed60d08 100644 --- a/lib/plaid/models/payment_initiation_recipient_create_request.rb +++ b/lib/plaid/models/payment_initiation_recipient_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/payment_initiation_recipient_create_response.rb b/lib/plaid/models/payment_initiation_recipient_create_response.rb index 442be8c0b..4258be10f 100644 --- a/lib/plaid/models/payment_initiation_recipient_create_response.rb +++ b/lib/plaid/models/payment_initiation_recipient_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/payment_initiation_recipient_get_request.rb b/lib/plaid/models/payment_initiation_recipient_get_request.rb index 815f30811..414832608 100644 --- a/lib/plaid/models/payment_initiation_recipient_get_request.rb +++ b/lib/plaid/models/payment_initiation_recipient_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/payment_initiation_recipient_get_response.rb b/lib/plaid/models/payment_initiation_recipient_get_response.rb index 8b83b10d9..4f9e1f1e3 100644 --- a/lib/plaid/models/payment_initiation_recipient_get_response.rb +++ b/lib/plaid/models/payment_initiation_recipient_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/payment_initiation_recipient_get_response_all_of.rb b/lib/plaid/models/payment_initiation_recipient_get_response_all_of.rb index bc951105e..0239f0738 100644 --- a/lib/plaid/models/payment_initiation_recipient_get_response_all_of.rb +++ b/lib/plaid/models/payment_initiation_recipient_get_response_all_of.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/payment_initiation_recipient_list_request.rb b/lib/plaid/models/payment_initiation_recipient_list_request.rb index 27b79062f..be4256734 100644 --- a/lib/plaid/models/payment_initiation_recipient_list_request.rb +++ b/lib/plaid/models/payment_initiation_recipient_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/payment_initiation_recipient_list_response.rb b/lib/plaid/models/payment_initiation_recipient_list_response.rb index f8dc8c9da..bcdcd6822 100644 --- a/lib/plaid/models/payment_initiation_recipient_list_response.rb +++ b/lib/plaid/models/payment_initiation_recipient_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/payment_initiation_refund.rb b/lib/plaid/models/payment_initiation_refund.rb index 9e4325db2..612aca61e 100644 --- a/lib/plaid/models/payment_initiation_refund.rb +++ b/lib/plaid/models/payment_initiation_refund.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/payment_initiation_standing_order_metadata.rb b/lib/plaid/models/payment_initiation_standing_order_metadata.rb index e0b5ffaf9..09b271422 100644 --- a/lib/plaid/models/payment_initiation_standing_order_metadata.rb +++ b/lib/plaid/models/payment_initiation_standing_order_metadata.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/payment_meta.rb b/lib/plaid/models/payment_meta.rb index 53b7714df..d172fe1cd 100644 --- a/lib/plaid/models/payment_meta.rb +++ b/lib/plaid/models/payment_meta.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/payment_schedule_interval.rb b/lib/plaid/models/payment_schedule_interval.rb index 0ca3453e7..541bcba23 100644 --- a/lib/plaid/models/payment_schedule_interval.rb +++ b/lib/plaid/models/payment_schedule_interval.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/payment_scheme.rb b/lib/plaid/models/payment_scheme.rb index 557dba37c..94b8b3c88 100644 --- a/lib/plaid/models/payment_scheme.rb +++ b/lib/plaid/models/payment_scheme.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/payment_status_update_webhook.rb b/lib/plaid/models/payment_status_update_webhook.rb index 8170ef368..3f48088dd 100644 --- a/lib/plaid/models/payment_status_update_webhook.rb +++ b/lib/plaid/models/payment_status_update_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -25,10 +25,8 @@ class PaymentStatusUpdateWebhook # The `payment_id` for the payment being updated attr_accessor :payment_id - # The new status of the payment. `PAYMENT_STATUS_INPUT_NEEDED`: This is the initial state of all payments. It indicates that the payment is waiting on user input to continue processing. A payment may re-enter this state later on if further input is needed. `PAYMENT_STATUS_PROCESSING`: The payment is currently being processed. The payment will automatically exit this state when processing is complete. `PAYMENT_STATUS_INITIATED`: The payment has been successfully initiated and is considered complete. `PAYMENT_STATUS_COMPLETED`: Indicates that the standing order has been successfully established. This state is only used for standing orders. `PAYMENT_STATUS_INSUFFICIENT_FUNDS`: The payment has failed due to insufficient funds. `PAYMENT_STATUS_FAILED`: The payment has failed to be initiated. This error is retryable once the root cause is resolved. `PAYMENT_STATUS_BLOCKED`: The payment has been blocked. This is a retryable error. `PAYMENT_STATUS_UNKNOWN`: The payment status is unknown. attr_accessor :new_payment_status - # The previous status of the payment. `PAYMENT_STATUS_INPUT_NEEDED`: This is the initial state of all payments. It indicates that the payment is waiting on user input to continue processing. A payment may re-enter this state later on if further input is needed. `PAYMENT_STATUS_PROCESSING`: The payment is currently being processed. The payment will automatically exit this state when processing is complete. `PAYMENT_STATUS_INITIATED`: The payment has been successfully initiated and is considered complete. `PAYMENT_STATUS_COMPLETED`: Indicates that the standing order has been successfully established. This state is only used for standing orders. `PAYMENT_STATUS_INSUFFICIENT_FUNDS`: The payment has failed due to insufficient funds. `PAYMENT_STATUS_FAILED`: The payment has failed to be initiated. This error is retryable once the root cause is resolved. `PAYMENT_STATUS_BLOCKED`: The payment has been blocked. This is a retryable error. `PAYMENT_STATUS_UNKNOWN`: The payment status is unknown. attr_accessor :old_payment_status # The original value of the reference when creating the payment. @@ -48,28 +46,6 @@ class PaymentStatusUpdateWebhook attr_accessor :error - class EnumAttributeValidator - attr_reader :datatype - attr_reader :allowable_values - - def initialize(datatype, allowable_values) - @allowable_values = allowable_values.map do |value| - case datatype.to_s - when /Integer/i - value.to_i - when /Float/i - value.to_f - else - value - end - end - end - - def valid?(value) - !value || allowable_values.include?(value) - end - end - # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { @@ -98,8 +74,8 @@ def self.openapi_types :'webhook_type' => :'String', :'webhook_code' => :'String', :'payment_id' => :'String', - :'new_payment_status' => :'String', - :'old_payment_status' => :'String', + :'new_payment_status' => :'PaymentInitiationPaymentStatus', + :'old_payment_status' => :'PaymentInitiationPaymentStatus', :'original_reference' => :'String', :'adjusted_reference' => :'String', :'original_start_date' => :'Date', @@ -217,35 +193,11 @@ def valid? return false if @webhook_code.nil? return false if @payment_id.nil? return false if @new_payment_status.nil? - new_payment_status_validator = EnumAttributeValidator.new('String', ["PAYMENT_STATUS_INPUT_NEEDED", "PAYMENT_STATUS_PROCESSING", "PAYMENT_STATUS_INITIATED", "PAYMENT_STATUS_COMPLETED", "PAYMENT_STATUS_INSUFFICIENT_FUNDS", "PAYMENT_STATUS_FAILED", "PAYMENT_STATUS_BLOCKED", "PAYMENT_STATUS_UNKNOWN"]) - return false unless new_payment_status_validator.valid?(@new_payment_status) return false if @old_payment_status.nil? - old_payment_status_validator = EnumAttributeValidator.new('String', ["PAYMENT_STATUS_INPUT_NEEDED", "PAYMENT_STATUS_PROCESSING", "PAYMENT_STATUS_INITIATED", "PAYMENT_STATUS_COMPLETED", "PAYMENT_STATUS_INSUFFICIENT_FUNDS", "PAYMENT_STATUS_FAILED", "PAYMENT_STATUS_BLOCKED", "PAYMENT_STATUS_UNKNOWN"]) - return false unless old_payment_status_validator.valid?(@old_payment_status) return false if @timestamp.nil? true end - # Custom attribute writer method checking allowed values (enum). - # @param [Object] new_payment_status Object to be assigned - def new_payment_status=(new_payment_status) - validator = EnumAttributeValidator.new('String', ["PAYMENT_STATUS_INPUT_NEEDED", "PAYMENT_STATUS_PROCESSING", "PAYMENT_STATUS_INITIATED", "PAYMENT_STATUS_COMPLETED", "PAYMENT_STATUS_INSUFFICIENT_FUNDS", "PAYMENT_STATUS_FAILED", "PAYMENT_STATUS_BLOCKED", "PAYMENT_STATUS_UNKNOWN"]) - unless validator.valid?(new_payment_status) - fail ArgumentError, "invalid value for \"new_payment_status\", must be one of #{validator.allowable_values}." - end - @new_payment_status = new_payment_status - end - - # Custom attribute writer method checking allowed values (enum). - # @param [Object] old_payment_status Object to be assigned - def old_payment_status=(old_payment_status) - validator = EnumAttributeValidator.new('String', ["PAYMENT_STATUS_INPUT_NEEDED", "PAYMENT_STATUS_PROCESSING", "PAYMENT_STATUS_INITIATED", "PAYMENT_STATUS_COMPLETED", "PAYMENT_STATUS_INSUFFICIENT_FUNDS", "PAYMENT_STATUS_FAILED", "PAYMENT_STATUS_BLOCKED", "PAYMENT_STATUS_UNKNOWN"]) - unless validator.valid?(old_payment_status) - fail ArgumentError, "invalid value for \"old_payment_status\", must be one of #{validator.allowable_values}." - end - @old_payment_status = old_payment_status - end - # Checks equality by comparing each attribute. # @param [Object] Object to be compared def ==(o) diff --git a/lib/plaid/models/paystub.rb b/lib/plaid/models/paystub.rb index 1452fa671..f75f6e5c4 100644 --- a/lib/plaid/models/paystub.rb +++ b/lib/plaid/models/paystub.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/paystub_address.rb b/lib/plaid/models/paystub_address.rb index a17fdb770..5ea553ab8 100644 --- a/lib/plaid/models/paystub_address.rb +++ b/lib/plaid/models/paystub_address.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/paystub_deduction.rb b/lib/plaid/models/paystub_deduction.rb index cdb5fd2fd..08b093bbe 100644 --- a/lib/plaid/models/paystub_deduction.rb +++ b/lib/plaid/models/paystub_deduction.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/paystub_details.rb b/lib/plaid/models/paystub_details.rb index 7930a73df..85a8a51c0 100644 --- a/lib/plaid/models/paystub_details.rb +++ b/lib/plaid/models/paystub_details.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/paystub_employer.rb b/lib/plaid/models/paystub_employer.rb index e7bb26be1..a4f45ff29 100644 --- a/lib/plaid/models/paystub_employer.rb +++ b/lib/plaid/models/paystub_employer.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/paystub_override.rb b/lib/plaid/models/paystub_override.rb index 2f96bc264..e1e632d22 100644 --- a/lib/plaid/models/paystub_override.rb +++ b/lib/plaid/models/paystub_override.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/paystub_override_employee.rb b/lib/plaid/models/paystub_override_employee.rb index 41f13b233..c5c865a40 100644 --- a/lib/plaid/models/paystub_override_employee.rb +++ b/lib/plaid/models/paystub_override_employee.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/paystub_override_employee_address.rb b/lib/plaid/models/paystub_override_employee_address.rb index bc2111311..af35229f1 100644 --- a/lib/plaid/models/paystub_override_employee_address.rb +++ b/lib/plaid/models/paystub_override_employee_address.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/paystub_override_employer.rb b/lib/plaid/models/paystub_override_employer.rb index 52baf90fa..3ca697c47 100644 --- a/lib/plaid/models/paystub_override_employer.rb +++ b/lib/plaid/models/paystub_override_employer.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/paystub_pay_frequency.rb b/lib/plaid/models/paystub_pay_frequency.rb index 7b945a091..3eea13e2b 100644 --- a/lib/plaid/models/paystub_pay_frequency.rb +++ b/lib/plaid/models/paystub_pay_frequency.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/paystub_verification.rb b/lib/plaid/models/paystub_verification.rb index cddfdc528..5c4e90b81 100644 --- a/lib/plaid/models/paystub_verification.rb +++ b/lib/plaid/models/paystub_verification.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/paystub_verification_status.rb b/lib/plaid/models/paystub_verification_status.rb index c9681ea75..cf4a3be4a 100644 --- a/lib/plaid/models/paystub_verification_status.rb +++ b/lib/plaid/models/paystub_verification_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/paystub_ytd_details.rb b/lib/plaid/models/paystub_ytd_details.rb index 8eb582ab0..5fc38ade4 100644 --- a/lib/plaid/models/paystub_ytd_details.rb +++ b/lib/plaid/models/paystub_ytd_details.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/pending_expiration_webhook.rb b/lib/plaid/models/pending_expiration_webhook.rb index bd6adf9ce..0032d1b9c 100644 --- a/lib/plaid/models/pending_expiration_webhook.rb +++ b/lib/plaid/models/pending_expiration_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/personal_finance_category.rb b/lib/plaid/models/personal_finance_category.rb index 32ef14cc3..e9e9e019e 100644 --- a/lib/plaid/models/personal_finance_category.rb +++ b/lib/plaid/models/personal_finance_category.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/phone_number.rb b/lib/plaid/models/phone_number.rb index e79a32a6f..63d8f2ce7 100644 --- a/lib/plaid/models/phone_number.rb +++ b/lib/plaid/models/phone_number.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/plaid_error.rb b/lib/plaid/models/plaid_error.rb index 2777085cf..55a9c8528 100644 --- a/lib/plaid/models/plaid_error.rb +++ b/lib/plaid/models/plaid_error.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -15,7 +15,7 @@ module Plaid class PlaidError - # A broad categorization of the error. Safe for programatic use. + # A broad categorization of the error. Safe for programmatic use. attr_accessor :error_type # The particular error code. Safe for programmatic use. diff --git a/lib/plaid/models/platform_ids.rb b/lib/plaid/models/platform_ids.rb index 0aaf2e7dd..3f675e6d3 100644 --- a/lib/plaid/models/platform_ids.rb +++ b/lib/plaid/models/platform_ids.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/processor_apex_processor_token_create_request.rb b/lib/plaid/models/processor_apex_processor_token_create_request.rb index 09dde46de..416ad695c 100644 --- a/lib/plaid/models/processor_apex_processor_token_create_request.rb +++ b/lib/plaid/models/processor_apex_processor_token_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/processor_auth_get_request.rb b/lib/plaid/models/processor_auth_get_request.rb index 010d04241..9fbd063f5 100644 --- a/lib/plaid/models/processor_auth_get_request.rb +++ b/lib/plaid/models/processor_auth_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/processor_auth_get_response.rb b/lib/plaid/models/processor_auth_get_response.rb index 4474fc962..310afb0a8 100644 --- a/lib/plaid/models/processor_auth_get_response.rb +++ b/lib/plaid/models/processor_auth_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/processor_balance_get_request.rb b/lib/plaid/models/processor_balance_get_request.rb index 0903b6a73..6fc4b3a13 100644 --- a/lib/plaid/models/processor_balance_get_request.rb +++ b/lib/plaid/models/processor_balance_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/processor_balance_get_request_options.rb b/lib/plaid/models/processor_balance_get_request_options.rb index 7d117c36e..4f0f9ecce 100644 --- a/lib/plaid/models/processor_balance_get_request_options.rb +++ b/lib/plaid/models/processor_balance_get_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/processor_balance_get_response.rb b/lib/plaid/models/processor_balance_get_response.rb index 2432dec7d..843f7690c 100644 --- a/lib/plaid/models/processor_balance_get_response.rb +++ b/lib/plaid/models/processor_balance_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/processor_bank_transfer_create_request.rb b/lib/plaid/models/processor_bank_transfer_create_request.rb index 0c1bf9e87..dc07a1a3c 100644 --- a/lib/plaid/models/processor_bank_transfer_create_request.rb +++ b/lib/plaid/models/processor_bank_transfer_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/processor_bank_transfer_create_response.rb b/lib/plaid/models/processor_bank_transfer_create_response.rb index 5ba58a7ce..222e7a2e3 100644 --- a/lib/plaid/models/processor_bank_transfer_create_response.rb +++ b/lib/plaid/models/processor_bank_transfer_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/processor_identity_get_request.rb b/lib/plaid/models/processor_identity_get_request.rb index 73b7fe49a..3123f8a4f 100644 --- a/lib/plaid/models/processor_identity_get_request.rb +++ b/lib/plaid/models/processor_identity_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/processor_identity_get_response.rb b/lib/plaid/models/processor_identity_get_response.rb index 68f45eab9..8c296e7c1 100644 --- a/lib/plaid/models/processor_identity_get_response.rb +++ b/lib/plaid/models/processor_identity_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/processor_number.rb b/lib/plaid/models/processor_number.rb index 1d94f5640..a75c49d68 100644 --- a/lib/plaid/models/processor_number.rb +++ b/lib/plaid/models/processor_number.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/processor_stripe_bank_account_token_create_request.rb b/lib/plaid/models/processor_stripe_bank_account_token_create_request.rb index 970740ff3..5b441533c 100644 --- a/lib/plaid/models/processor_stripe_bank_account_token_create_request.rb +++ b/lib/plaid/models/processor_stripe_bank_account_token_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/processor_stripe_bank_account_token_create_response.rb b/lib/plaid/models/processor_stripe_bank_account_token_create_response.rb index 11e3e052c..0fbb153d2 100644 --- a/lib/plaid/models/processor_stripe_bank_account_token_create_response.rb +++ b/lib/plaid/models/processor_stripe_bank_account_token_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/processor_token_create_request.rb b/lib/plaid/models/processor_token_create_request.rb index 179d031ee..3e935ae0f 100644 --- a/lib/plaid/models/processor_token_create_request.rb +++ b/lib/plaid/models/processor_token_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/processor_token_create_response.rb b/lib/plaid/models/processor_token_create_response.rb index dc9684d6d..863067619 100644 --- a/lib/plaid/models/processor_token_create_response.rb +++ b/lib/plaid/models/processor_token_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/product_access.rb b/lib/plaid/models/product_access.rb index 88d480780..817a5e319 100644 --- a/lib/plaid/models/product_access.rb +++ b/lib/plaid/models/product_access.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/product_status.rb b/lib/plaid/models/product_status.rb index 2f54d9331..3756dd2a7 100644 --- a/lib/plaid/models/product_status.rb +++ b/lib/plaid/models/product_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/product_status_breakdown.rb b/lib/plaid/models/product_status_breakdown.rb index 35690b1c2..d30c590ed 100644 --- a/lib/plaid/models/product_status_breakdown.rb +++ b/lib/plaid/models/product_status_breakdown.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/products.rb b/lib/plaid/models/products.rb index eeca3f026..6b108e01b 100644 --- a/lib/plaid/models/products.rb +++ b/lib/plaid/models/products.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/projected_income_summary_field_number.rb b/lib/plaid/models/projected_income_summary_field_number.rb index 33f641390..538b52134 100644 --- a/lib/plaid/models/projected_income_summary_field_number.rb +++ b/lib/plaid/models/projected_income_summary_field_number.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/pslf_status.rb b/lib/plaid/models/pslf_status.rb index cffde6f8d..253d2427d 100644 --- a/lib/plaid/models/pslf_status.rb +++ b/lib/plaid/models/pslf_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/recaptcha_required_error.rb b/lib/plaid/models/recaptcha_required_error.rb index 65483378f..8ab2d103d 100644 --- a/lib/plaid/models/recaptcha_required_error.rb +++ b/lib/plaid/models/recaptcha_required_error.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/recipient_bacs.rb b/lib/plaid/models/recipient_bacs.rb index 85576850d..ca5f2641c 100644 --- a/lib/plaid/models/recipient_bacs.rb +++ b/lib/plaid/models/recipient_bacs.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/recipient_bacs_nullable.rb b/lib/plaid/models/recipient_bacs_nullable.rb index f4e116bff..b29596347 100644 --- a/lib/plaid/models/recipient_bacs_nullable.rb +++ b/lib/plaid/models/recipient_bacs_nullable.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/recurring_transaction_frequency.rb b/lib/plaid/models/recurring_transaction_frequency.rb index 0a34c5ceb..7b53331e0 100644 --- a/lib/plaid/models/recurring_transaction_frequency.rb +++ b/lib/plaid/models/recurring_transaction_frequency.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/removed_transaction.rb b/lib/plaid/models/removed_transaction.rb index 4c3fe5d17..2c6eaa5d4 100644 --- a/lib/plaid/models/removed_transaction.rb +++ b/lib/plaid/models/removed_transaction.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/requested_scopes.rb b/lib/plaid/models/requested_scopes.rb index 8c9550776..52016e2f9 100644 --- a/lib/plaid/models/requested_scopes.rb +++ b/lib/plaid/models/requested_scopes.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/sandbox_bank_transfer_fire_webhook_request.rb b/lib/plaid/models/sandbox_bank_transfer_fire_webhook_request.rb index 1e88eb45d..0607941c3 100644 --- a/lib/plaid/models/sandbox_bank_transfer_fire_webhook_request.rb +++ b/lib/plaid/models/sandbox_bank_transfer_fire_webhook_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/sandbox_bank_transfer_fire_webhook_response.rb b/lib/plaid/models/sandbox_bank_transfer_fire_webhook_response.rb index 70f3b4c97..9e28f3e46 100644 --- a/lib/plaid/models/sandbox_bank_transfer_fire_webhook_response.rb +++ b/lib/plaid/models/sandbox_bank_transfer_fire_webhook_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/sandbox_bank_transfer_simulate_request.rb b/lib/plaid/models/sandbox_bank_transfer_simulate_request.rb index 8e52f4360..83fe9784c 100644 --- a/lib/plaid/models/sandbox_bank_transfer_simulate_request.rb +++ b/lib/plaid/models/sandbox_bank_transfer_simulate_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/sandbox_bank_transfer_simulate_response.rb b/lib/plaid/models/sandbox_bank_transfer_simulate_response.rb index e74f41b73..33e6a4211 100644 --- a/lib/plaid/models/sandbox_bank_transfer_simulate_response.rb +++ b/lib/plaid/models/sandbox_bank_transfer_simulate_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/sandbox_income_fire_webhook_request.rb b/lib/plaid/models/sandbox_income_fire_webhook_request.rb index 1a338e0fb..4a4db6feb 100644 --- a/lib/plaid/models/sandbox_income_fire_webhook_request.rb +++ b/lib/plaid/models/sandbox_income_fire_webhook_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/sandbox_income_fire_webhook_response.rb b/lib/plaid/models/sandbox_income_fire_webhook_response.rb index ff524c9f3..bd3cae99d 100644 --- a/lib/plaid/models/sandbox_income_fire_webhook_response.rb +++ b/lib/plaid/models/sandbox_income_fire_webhook_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/sandbox_item_fire_webhook_request.rb b/lib/plaid/models/sandbox_item_fire_webhook_request.rb index 34111d330..27d01facc 100644 --- a/lib/plaid/models/sandbox_item_fire_webhook_request.rb +++ b/lib/plaid/models/sandbox_item_fire_webhook_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -25,7 +25,7 @@ class SandboxItemFireWebhookRequest # The access token associated with the Item data is being requested for. attr_accessor :access_token - # The following values for `webhook_code` are supported: * `DEFAULT_UPDATE` + # The following values for `webhook_code` are supported: * `DEFAULT_UPDATE` * `NEW_ACCOUNTS_AVAILABLE` attr_accessor :webhook_code class EnumAttributeValidator @@ -133,7 +133,7 @@ def list_invalid_properties def valid? return false if @access_token.nil? return false if @webhook_code.nil? - webhook_code_validator = EnumAttributeValidator.new('String', ["DEFAULT_UPDATE"]) + webhook_code_validator = EnumAttributeValidator.new('String', ["DEFAULT_UPDATE", "NEW_ACCOUNTS_AVAILABLE"]) return false unless webhook_code_validator.valid?(@webhook_code) true end @@ -141,7 +141,7 @@ def valid? # Custom attribute writer method checking allowed values (enum). # @param [Object] webhook_code Object to be assigned def webhook_code=(webhook_code) - validator = EnumAttributeValidator.new('String', ["DEFAULT_UPDATE"]) + validator = EnumAttributeValidator.new('String', ["DEFAULT_UPDATE", "NEW_ACCOUNTS_AVAILABLE"]) unless validator.valid?(webhook_code) fail ArgumentError, "invalid value for \"webhook_code\", must be one of #{validator.allowable_values}." end diff --git a/lib/plaid/models/sandbox_item_fire_webhook_response.rb b/lib/plaid/models/sandbox_item_fire_webhook_response.rb index 7b7e5b624..d15c79ac8 100644 --- a/lib/plaid/models/sandbox_item_fire_webhook_response.rb +++ b/lib/plaid/models/sandbox_item_fire_webhook_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/sandbox_item_reset_login_request.rb b/lib/plaid/models/sandbox_item_reset_login_request.rb index c84d9d02e..5aa9dc662 100644 --- a/lib/plaid/models/sandbox_item_reset_login_request.rb +++ b/lib/plaid/models/sandbox_item_reset_login_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/sandbox_item_reset_login_response.rb b/lib/plaid/models/sandbox_item_reset_login_response.rb index 5f8437677..507e78862 100644 --- a/lib/plaid/models/sandbox_item_reset_login_response.rb +++ b/lib/plaid/models/sandbox_item_reset_login_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/sandbox_item_set_verification_status_request.rb b/lib/plaid/models/sandbox_item_set_verification_status_request.rb index 9ff0dd978..35f63f405 100644 --- a/lib/plaid/models/sandbox_item_set_verification_status_request.rb +++ b/lib/plaid/models/sandbox_item_set_verification_status_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/sandbox_item_set_verification_status_response.rb b/lib/plaid/models/sandbox_item_set_verification_status_response.rb index 74f2550e4..d029e9fe9 100644 --- a/lib/plaid/models/sandbox_item_set_verification_status_response.rb +++ b/lib/plaid/models/sandbox_item_set_verification_status_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/sandbox_oauth_select_accounts_request.rb b/lib/plaid/models/sandbox_oauth_select_accounts_request.rb index 850dcc095..87bd5c7a8 100644 --- a/lib/plaid/models/sandbox_oauth_select_accounts_request.rb +++ b/lib/plaid/models/sandbox_oauth_select_accounts_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/sandbox_processor_token_create_request.rb b/lib/plaid/models/sandbox_processor_token_create_request.rb index 183455bbb..c43108ee5 100644 --- a/lib/plaid/models/sandbox_processor_token_create_request.rb +++ b/lib/plaid/models/sandbox_processor_token_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/sandbox_processor_token_create_request_options.rb b/lib/plaid/models/sandbox_processor_token_create_request_options.rb index 527423302..cfe96d7ee 100644 --- a/lib/plaid/models/sandbox_processor_token_create_request_options.rb +++ b/lib/plaid/models/sandbox_processor_token_create_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/sandbox_processor_token_create_response.rb b/lib/plaid/models/sandbox_processor_token_create_response.rb index d4e1e93bd..d7dbfb9ab 100644 --- a/lib/plaid/models/sandbox_processor_token_create_response.rb +++ b/lib/plaid/models/sandbox_processor_token_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/sandbox_public_token_create_request.rb b/lib/plaid/models/sandbox_public_token_create_request.rb index 665b473c9..94ca92fa0 100644 --- a/lib/plaid/models/sandbox_public_token_create_request.rb +++ b/lib/plaid/models/sandbox_public_token_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/sandbox_public_token_create_request_options.rb b/lib/plaid/models/sandbox_public_token_create_request_options.rb index 92fc9dc1a..1bbb94626 100644 --- a/lib/plaid/models/sandbox_public_token_create_request_options.rb +++ b/lib/plaid/models/sandbox_public_token_create_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/sandbox_public_token_create_request_options_transactions.rb b/lib/plaid/models/sandbox_public_token_create_request_options_transactions.rb index ef7fe830f..ed46be3d3 100644 --- a/lib/plaid/models/sandbox_public_token_create_request_options_transactions.rb +++ b/lib/plaid/models/sandbox_public_token_create_request_options_transactions.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/sandbox_public_token_create_response.rb b/lib/plaid/models/sandbox_public_token_create_response.rb index 8bceff087..5d2fc163e 100644 --- a/lib/plaid/models/sandbox_public_token_create_response.rb +++ b/lib/plaid/models/sandbox_public_token_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/sandbox_transfer_repayment_simulate_request.rb b/lib/plaid/models/sandbox_transfer_repayment_simulate_request.rb new file mode 100644 index 000000000..32ab5f676 --- /dev/null +++ b/lib/plaid/models/sandbox_transfer_repayment_simulate_request.rb @@ -0,0 +1,230 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.62.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 5.1.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Defines the request schema for `/sandbox/transfer/repayment/simulate` + class SandboxTransferRepaymentSimulateRequest + # Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body. + attr_accessor :client_id + + # Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body. + attr_accessor :secret + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'client_id' => :'client_id', + :'secret' => :'secret' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'client_id' => :'String', + :'secret' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::SandboxTransferRepaymentSimulateRequest` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::SandboxTransferRepaymentSimulateRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'client_id') + self.client_id = attributes[:'client_id'] + end + + if attributes.key?(:'secret') + self.secret = attributes[:'secret'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + client_id == o.client_id && + secret == o.secret + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [client_id, secret].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/sandbox_transfer_repayment_simulate_response.rb b/lib/plaid/models/sandbox_transfer_repayment_simulate_response.rb new file mode 100644 index 000000000..93bbbc565 --- /dev/null +++ b/lib/plaid/models/sandbox_transfer_repayment_simulate_response.rb @@ -0,0 +1,225 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.62.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 5.1.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Defines the response schema for `/sandbox/transfer/repayment/simulate` + class SandboxTransferRepaymentSimulateResponse + # A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive. + attr_accessor :request_id + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'request_id' => :'request_id' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'request_id' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::SandboxTransferRepaymentSimulateResponse` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::SandboxTransferRepaymentSimulateResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'request_id') + self.request_id = attributes[:'request_id'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @request_id.nil? + invalid_properties.push('invalid value for "request_id", request_id cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @request_id.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + request_id == o.request_id + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [request_id].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/sandbox_transfer_simulate_request.rb b/lib/plaid/models/sandbox_transfer_simulate_request.rb index 9e0b58ff4..db399574b 100644 --- a/lib/plaid/models/sandbox_transfer_simulate_request.rb +++ b/lib/plaid/models/sandbox_transfer_simulate_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/sandbox_transfer_simulate_response.rb b/lib/plaid/models/sandbox_transfer_simulate_response.rb index 8d877c990..40779f5d6 100644 --- a/lib/plaid/models/sandbox_transfer_simulate_response.rb +++ b/lib/plaid/models/sandbox_transfer_simulate_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/sandbox_transfer_sweep_simulate_request.rb b/lib/plaid/models/sandbox_transfer_sweep_simulate_request.rb index 54512dfcf..8dde231b2 100644 --- a/lib/plaid/models/sandbox_transfer_sweep_simulate_request.rb +++ b/lib/plaid/models/sandbox_transfer_sweep_simulate_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/sandbox_transfer_sweep_simulate_response.rb b/lib/plaid/models/sandbox_transfer_sweep_simulate_response.rb index 627e86825..e5350b985 100644 --- a/lib/plaid/models/sandbox_transfer_sweep_simulate_response.rb +++ b/lib/plaid/models/sandbox_transfer_sweep_simulate_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/scopes.rb b/lib/plaid/models/scopes.rb index 227362949..8bce5bf7f 100644 --- a/lib/plaid/models/scopes.rb +++ b/lib/plaid/models/scopes.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/scopes_context.rb b/lib/plaid/models/scopes_context.rb index a11f97e90..517407204 100644 --- a/lib/plaid/models/scopes_context.rb +++ b/lib/plaid/models/scopes_context.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/scopes_nullable.rb b/lib/plaid/models/scopes_nullable.rb index 6060bd2f9..b4286dc59 100644 --- a/lib/plaid/models/scopes_nullable.rb +++ b/lib/plaid/models/scopes_nullable.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/security.rb b/lib/plaid/models/security.rb index bd8e28e00..5f5fd7739 100644 --- a/lib/plaid/models/security.rb +++ b/lib/plaid/models/security.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/security_override.rb b/lib/plaid/models/security_override.rb index b3338f267..a58cfb65d 100644 --- a/lib/plaid/models/security_override.rb +++ b/lib/plaid/models/security_override.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/sender_bacs_nullable.rb b/lib/plaid/models/sender_bacs_nullable.rb index 5a8470443..1e23ee78c 100644 --- a/lib/plaid/models/sender_bacs_nullable.rb +++ b/lib/plaid/models/sender_bacs_nullable.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/servicer_address_data.rb b/lib/plaid/models/servicer_address_data.rb index dc91d4302..b756c990e 100644 --- a/lib/plaid/models/servicer_address_data.rb +++ b/lib/plaid/models/servicer_address_data.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/signal_address_data.rb b/lib/plaid/models/signal_address_data.rb index c4e73785d..6a6a5e439 100644 --- a/lib/plaid/models/signal_address_data.rb +++ b/lib/plaid/models/signal_address_data.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/signal_decision_report_request.rb b/lib/plaid/models/signal_decision_report_request.rb index abf1cea24..81283a278 100644 --- a/lib/plaid/models/signal_decision_report_request.rb +++ b/lib/plaid/models/signal_decision_report_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/signal_decision_report_response.rb b/lib/plaid/models/signal_decision_report_response.rb index ce26cfc33..662f3e385 100644 --- a/lib/plaid/models/signal_decision_report_response.rb +++ b/lib/plaid/models/signal_decision_report_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/signal_device.rb b/lib/plaid/models/signal_device.rb index f2a1ed96e..4ff337779 100644 --- a/lib/plaid/models/signal_device.rb +++ b/lib/plaid/models/signal_device.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/signal_evaluate_core_attributes.rb b/lib/plaid/models/signal_evaluate_core_attributes.rb index c05bcec0a..84521f8bc 100644 --- a/lib/plaid/models/signal_evaluate_core_attributes.rb +++ b/lib/plaid/models/signal_evaluate_core_attributes.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/signal_evaluate_request.rb b/lib/plaid/models/signal_evaluate_request.rb index 660682699..7ceccf73b 100644 --- a/lib/plaid/models/signal_evaluate_request.rb +++ b/lib/plaid/models/signal_evaluate_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/signal_evaluate_response.rb b/lib/plaid/models/signal_evaluate_response.rb index adb256202..48354cfb0 100644 --- a/lib/plaid/models/signal_evaluate_response.rb +++ b/lib/plaid/models/signal_evaluate_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/signal_person_name.rb b/lib/plaid/models/signal_person_name.rb index b32caeec5..c60db1c9f 100644 --- a/lib/plaid/models/signal_person_name.rb +++ b/lib/plaid/models/signal_person_name.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/signal_return_report_request.rb b/lib/plaid/models/signal_return_report_request.rb index 6fa73d66c..97f0e7aa4 100644 --- a/lib/plaid/models/signal_return_report_request.rb +++ b/lib/plaid/models/signal_return_report_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/signal_return_report_response.rb b/lib/plaid/models/signal_return_report_response.rb index 08fd19dff..a1462dc81 100644 --- a/lib/plaid/models/signal_return_report_response.rb +++ b/lib/plaid/models/signal_return_report_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/signal_scores.rb b/lib/plaid/models/signal_scores.rb index e8e035ee6..5de4c4ab3 100644 --- a/lib/plaid/models/signal_scores.rb +++ b/lib/plaid/models/signal_scores.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/signal_user.rb b/lib/plaid/models/signal_user.rb index 01621ea64..f0be1d1b4 100644 --- a/lib/plaid/models/signal_user.rb +++ b/lib/plaid/models/signal_user.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/simulated_transfer_sweep.rb b/lib/plaid/models/simulated_transfer_sweep.rb index 61aaff08e..4539edfdc 100644 --- a/lib/plaid/models/simulated_transfer_sweep.rb +++ b/lib/plaid/models/simulated_transfer_sweep.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/standalone_account_type.rb b/lib/plaid/models/standalone_account_type.rb index 6f51d3fa4..5316834d5 100644 --- a/lib/plaid/models/standalone_account_type.rb +++ b/lib/plaid/models/standalone_account_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -16,7 +16,7 @@ module Plaid # The schema below describes the various `types` and corresponding `subtypes` that Plaid recognizes and reports for financial institution accounts. class StandaloneAccountType - # An account type holding cash, in which funds are deposited. Supported products for `depository` accounts are: Auth, Balance, Transactions, Identity, Payment Initiation, and Assets. + # An account type holding cash, in which funds are deposited. Supported products for `depository` accounts are: Auth (`checking` and `savings` types only), Balance, Transactions, Identity, Payment Initiation, and Assets. attr_accessor :depository # A credit card type account. Supported products for `credit` accounts are: Balance, Transactions, Identity, and Liabilities. diff --git a/lib/plaid/models/standalone_currency_code_list.rb b/lib/plaid/models/standalone_currency_code_list.rb index 34e66f758..35afd2f3b 100644 --- a/lib/plaid/models/standalone_currency_code_list.rb +++ b/lib/plaid/models/standalone_currency_code_list.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/standalone_investment_transaction_type.rb b/lib/plaid/models/standalone_investment_transaction_type.rb index 0f0af2206..4b79174ce 100644 --- a/lib/plaid/models/standalone_investment_transaction_type.rb +++ b/lib/plaid/models/standalone_investment_transaction_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/student_loan.rb b/lib/plaid/models/student_loan.rb index a711cb251..140d2a215 100644 --- a/lib/plaid/models/student_loan.rb +++ b/lib/plaid/models/student_loan.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/student_loan_repayment_model.rb b/lib/plaid/models/student_loan_repayment_model.rb index a88d2caa9..599879aab 100644 --- a/lib/plaid/models/student_loan_repayment_model.rb +++ b/lib/plaid/models/student_loan_repayment_model.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/student_loan_status.rb b/lib/plaid/models/student_loan_status.rb index d887eb385..560cbd2a3 100644 --- a/lib/plaid/models/student_loan_status.rb +++ b/lib/plaid/models/student_loan_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/student_repayment_plan.rb b/lib/plaid/models/student_repayment_plan.rb index 4967adb82..cd8115d44 100644 --- a/lib/plaid/models/student_repayment_plan.rb +++ b/lib/plaid/models/student_repayment_plan.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/taxform.rb b/lib/plaid/models/taxform.rb index 3404fccbf..f111cab4b 100644 --- a/lib/plaid/models/taxform.rb +++ b/lib/plaid/models/taxform.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/taxpayer_id.rb b/lib/plaid/models/taxpayer_id.rb index a67debf7d..340776fa3 100644 --- a/lib/plaid/models/taxpayer_id.rb +++ b/lib/plaid/models/taxpayer_id.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/total.rb b/lib/plaid/models/total.rb index 09df3e8b7..cc3767555 100644 --- a/lib/plaid/models/total.rb +++ b/lib/plaid/models/total.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/total_canonical_description.rb b/lib/plaid/models/total_canonical_description.rb index 3e5a28eb1..46a6d87e7 100644 --- a/lib/plaid/models/total_canonical_description.rb +++ b/lib/plaid/models/total_canonical_description.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transaction.rb b/lib/plaid/models/transaction.rb index 232c54fce..ce4c488b4 100644 --- a/lib/plaid/models/transaction.rb +++ b/lib/plaid/models/transaction.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -22,10 +22,10 @@ class Transaction # The ID of a posted transaction's associated pending transaction, where applicable. attr_accessor :pending_transaction_id - # The ID of the category to which this transaction belongs. See [Categories](https://plaid.com/docs/#category-overview). If the `transactions` object was returned by an Assets endpoint such as `/asset_report/get/` or `/asset_report/pdf/get`, this field will only appear in an Asset Report with Insights. + # The ID of the category to which this transaction belongs. For a full list of categories, see [`/categories/get`](https://plaid.com/docs/api/products/#categoriesget). If the `transactions` object was returned by an Assets endpoint such as `/asset_report/get/` or `/asset_report/pdf/get`, this field will only appear in an Asset Report with Insights. attr_accessor :category_id - # A hierarchical array of the categories to which this transaction belongs. See [Categories](https://plaid.com/docs/#category-overview). If the `transactions` object was returned by an Assets endpoint such as `/asset_report/get/` or `/asset_report/pdf/get`, this field will only appear in an Asset Report with Insights. + # A hierarchical array of the categories to which this transaction belongs. For a full list of categories, see [`/categories/get`](https://plaid.com/docs/api/products/#categoriesget). If the `transactions` object was returned by an Assets endpoint such as `/asset_report/get/` or `/asset_report/pdf/get`, this field will only appear in an Asset Report with Insights. attr_accessor :category attr_accessor :location diff --git a/lib/plaid/models/transaction_all_of.rb b/lib/plaid/models/transaction_all_of.rb index 7eed724bd..a49cbe1ef 100644 --- a/lib/plaid/models/transaction_all_of.rb +++ b/lib/plaid/models/transaction_all_of.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transaction_base.rb b/lib/plaid/models/transaction_base.rb index 570eea333..e94867070 100644 --- a/lib/plaid/models/transaction_base.rb +++ b/lib/plaid/models/transaction_base.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -22,10 +22,10 @@ class TransactionBase # The ID of a posted transaction's associated pending transaction, where applicable. attr_accessor :pending_transaction_id - # The ID of the category to which this transaction belongs. See [Categories](https://plaid.com/docs/#category-overview). If the `transactions` object was returned by an Assets endpoint such as `/asset_report/get/` or `/asset_report/pdf/get`, this field will only appear in an Asset Report with Insights. + # The ID of the category to which this transaction belongs. For a full list of categories, see [`/categories/get`](https://plaid.com/docs/api/products/#categoriesget). If the `transactions` object was returned by an Assets endpoint such as `/asset_report/get/` or `/asset_report/pdf/get`, this field will only appear in an Asset Report with Insights. attr_accessor :category_id - # A hierarchical array of the categories to which this transaction belongs. See [Categories](https://plaid.com/docs/#category-overview). If the `transactions` object was returned by an Assets endpoint such as `/asset_report/get/` or `/asset_report/pdf/get`, this field will only appear in an Asset Report with Insights. + # A hierarchical array of the categories to which this transaction belongs. For a full list of categories, see [`/categories/get`](https://plaid.com/docs/api/products/#categoriesget). If the `transactions` object was returned by an Assets endpoint such as `/asset_report/get/` or `/asset_report/pdf/get`, this field will only appear in an Asset Report with Insights. attr_accessor :category attr_accessor :location diff --git a/lib/plaid/models/transaction_code.rb b/lib/plaid/models/transaction_code.rb index 8f56b2bb1..d903b74a9 100644 --- a/lib/plaid/models/transaction_code.rb +++ b/lib/plaid/models/transaction_code.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transaction_data.rb b/lib/plaid/models/transaction_data.rb index dcd51c5e4..48bf6604b 100644 --- a/lib/plaid/models/transaction_data.rb +++ b/lib/plaid/models/transaction_data.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transaction_override.rb b/lib/plaid/models/transaction_override.rb index cb31d3eea..c3038010f 100644 --- a/lib/plaid/models/transaction_override.rb +++ b/lib/plaid/models/transaction_override.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transaction_stream.rb b/lib/plaid/models/transaction_stream.rb index c0e1c7943..79749c15a 100644 --- a/lib/plaid/models/transaction_stream.rb +++ b/lib/plaid/models/transaction_stream.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transaction_stream_amount.rb b/lib/plaid/models/transaction_stream_amount.rb index 93c883507..3a43ba214 100644 --- a/lib/plaid/models/transaction_stream_amount.rb +++ b/lib/plaid/models/transaction_stream_amount.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transactions_get_request.rb b/lib/plaid/models/transactions_get_request.rb index d156bc819..3559e648f 100644 --- a/lib/plaid/models/transactions_get_request.rb +++ b/lib/plaid/models/transactions_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transactions_get_request_options.rb b/lib/plaid/models/transactions_get_request_options.rb index 5f58472b1..56cf9a4f4 100644 --- a/lib/plaid/models/transactions_get_request_options.rb +++ b/lib/plaid/models/transactions_get_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transactions_get_response.rb b/lib/plaid/models/transactions_get_response.rb index 1e7e008ad..76c23eaf0 100644 --- a/lib/plaid/models/transactions_get_response.rb +++ b/lib/plaid/models/transactions_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transactions_recurring_get_request.rb b/lib/plaid/models/transactions_recurring_get_request.rb index 82b9c3201..3ccdecb20 100644 --- a/lib/plaid/models/transactions_recurring_get_request.rb +++ b/lib/plaid/models/transactions_recurring_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transactions_recurring_get_response.rb b/lib/plaid/models/transactions_recurring_get_response.rb index c9fdbe645..3d5926534 100644 --- a/lib/plaid/models/transactions_recurring_get_response.rb +++ b/lib/plaid/models/transactions_recurring_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transactions_refresh_request.rb b/lib/plaid/models/transactions_refresh_request.rb index edc51f074..096662cbc 100644 --- a/lib/plaid/models/transactions_refresh_request.rb +++ b/lib/plaid/models/transactions_refresh_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transactions_refresh_response.rb b/lib/plaid/models/transactions_refresh_response.rb index 8cf3654d1..a4cc87bdb 100644 --- a/lib/plaid/models/transactions_refresh_response.rb +++ b/lib/plaid/models/transactions_refresh_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transactions_removed_webhook.rb b/lib/plaid/models/transactions_removed_webhook.rb index 86523ff26..64b12c043 100644 --- a/lib/plaid/models/transactions_removed_webhook.rb +++ b/lib/plaid/models/transactions_removed_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transactions_sync_request.rb b/lib/plaid/models/transactions_sync_request.rb index 2c780e701..678db1db2 100644 --- a/lib/plaid/models/transactions_sync_request.rb +++ b/lib/plaid/models/transactions_sync_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transactions_sync_response.rb b/lib/plaid/models/transactions_sync_response.rb index 72d8d1bf6..db09b3fd2 100644 --- a/lib/plaid/models/transactions_sync_response.rb +++ b/lib/plaid/models/transactions_sync_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transfer.rb b/lib/plaid/models/transfer.rb index 26cd444fe..d66ea929c 100644 --- a/lib/plaid/models/transfer.rb +++ b/lib/plaid/models/transfer.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -54,6 +54,10 @@ class Transfer # Plaid’s unique identifier for the origination account that was used for this transfer. attr_accessor :origination_account_id + attr_accessor :guarantee_decision + + attr_accessor :guarantee_decision_rationale + # The currency of the transfer amount, e.g. \"USD\" attr_accessor :iso_currency_code @@ -75,6 +79,8 @@ def self.attribute_map :'failure_reason' => :'failure_reason', :'metadata' => :'metadata', :'origination_account_id' => :'origination_account_id', + :'guarantee_decision' => :'guarantee_decision', + :'guarantee_decision_rationale' => :'guarantee_decision_rationale', :'iso_currency_code' => :'iso_currency_code' } end @@ -102,6 +108,8 @@ def self.openapi_types :'failure_reason' => :'TransferFailure', :'metadata' => :'Hash', :'origination_account_id' => :'String', + :'guarantee_decision' => :'TransferAuthorizationGuaranteeDecision', + :'guarantee_decision_rationale' => :'TransferAuthorizationGuaranteeDecisionRationale', :'iso_currency_code' => :'String' } end @@ -112,6 +120,8 @@ def self.openapi_nullable :'sweep_status', :'failure_reason', :'metadata', + :'guarantee_decision', + :'guarantee_decision_rationale', ]) end @@ -192,6 +202,14 @@ def initialize(attributes = {}) self.origination_account_id = attributes[:'origination_account_id'] end + if attributes.key?(:'guarantee_decision') + self.guarantee_decision = attributes[:'guarantee_decision'] + end + + if attributes.key?(:'guarantee_decision_rationale') + self.guarantee_decision_rationale = attributes[:'guarantee_decision_rationale'] + end + if attributes.key?(:'iso_currency_code') self.iso_currency_code = attributes[:'iso_currency_code'] end @@ -304,6 +322,8 @@ def ==(o) failure_reason == o.failure_reason && metadata == o.metadata && origination_account_id == o.origination_account_id && + guarantee_decision == o.guarantee_decision && + guarantee_decision_rationale == o.guarantee_decision_rationale && iso_currency_code == o.iso_currency_code end @@ -316,7 +336,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [id, ach_class, account_id, type, user, amount, description, created, status, sweep_status, network, cancellable, failure_reason, metadata, origination_account_id, iso_currency_code].hash + [id, ach_class, account_id, type, user, amount, description, created, status, sweep_status, network, cancellable, failure_reason, metadata, origination_account_id, guarantee_decision, guarantee_decision_rationale, iso_currency_code].hash end # Builds the object from hash diff --git a/lib/plaid/models/transfer_authorization.rb b/lib/plaid/models/transfer_authorization.rb index 66aeeaaf4..ebda908f5 100644 --- a/lib/plaid/models/transfer_authorization.rb +++ b/lib/plaid/models/transfer_authorization.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -14,7 +14,7 @@ require 'time' module Plaid - # TransferAuthorization contains the authorization decision for a proposed transfer + # Contains the authorization decision for a proposed transfer class TransferAuthorization # Plaid’s unique identifier for a transfer authorization. attr_accessor :id @@ -27,6 +27,10 @@ class TransferAuthorization attr_accessor :decision_rationale + attr_accessor :guarantee_decision + + attr_accessor :guarantee_decision_rationale + attr_accessor :proposed_transfer class EnumAttributeValidator @@ -58,6 +62,8 @@ def self.attribute_map :'created' => :'created', :'decision' => :'decision', :'decision_rationale' => :'decision_rationale', + :'guarantee_decision' => :'guarantee_decision', + :'guarantee_decision_rationale' => :'guarantee_decision_rationale', :'proposed_transfer' => :'proposed_transfer' } end @@ -74,6 +80,8 @@ def self.openapi_types :'created' => :'Time', :'decision' => :'String', :'decision_rationale' => :'TransferAuthorizationDecisionRationale', + :'guarantee_decision' => :'TransferAuthorizationGuaranteeDecision', + :'guarantee_decision_rationale' => :'TransferAuthorizationGuaranteeDecisionRationale', :'proposed_transfer' => :'TransferAuthorizationProposedTransfer' } end @@ -82,6 +90,8 @@ def self.openapi_types def self.openapi_nullable Set.new([ :'decision_rationale', + :'guarantee_decision', + :'guarantee_decision_rationale', ]) end @@ -116,6 +126,14 @@ def initialize(attributes = {}) self.decision_rationale = attributes[:'decision_rationale'] end + if attributes.key?(:'guarantee_decision') + self.guarantee_decision = attributes[:'guarantee_decision'] + end + + if attributes.key?(:'guarantee_decision_rationale') + self.guarantee_decision_rationale = attributes[:'guarantee_decision_rationale'] + end + if attributes.key?(:'proposed_transfer') self.proposed_transfer = attributes[:'proposed_transfer'] end @@ -175,6 +193,8 @@ def ==(o) created == o.created && decision == o.decision && decision_rationale == o.decision_rationale && + guarantee_decision == o.guarantee_decision && + guarantee_decision_rationale == o.guarantee_decision_rationale && proposed_transfer == o.proposed_transfer end @@ -187,7 +207,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [id, created, decision, decision_rationale, proposed_transfer].hash + [id, created, decision, decision_rationale, guarantee_decision, guarantee_decision_rationale, proposed_transfer].hash end # Builds the object from hash diff --git a/lib/plaid/models/transfer_authorization_create_request.rb b/lib/plaid/models/transfer_authorization_create_request.rb index 486af5266..242d9303e 100644 --- a/lib/plaid/models/transfer_authorization_create_request.rb +++ b/lib/plaid/models/transfer_authorization_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transfer_authorization_create_response.rb b/lib/plaid/models/transfer_authorization_create_response.rb index c52f4475e..d5a5b71a7 100644 --- a/lib/plaid/models/transfer_authorization_create_response.rb +++ b/lib/plaid/models/transfer_authorization_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transfer_authorization_decision_rationale.rb b/lib/plaid/models/transfer_authorization_decision_rationale.rb index 6763a000e..77c3dfab3 100644 --- a/lib/plaid/models/transfer_authorization_decision_rationale.rb +++ b/lib/plaid/models/transfer_authorization_decision_rationale.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transfer_authorization_device.rb b/lib/plaid/models/transfer_authorization_device.rb index ff1ca7364..2f17dc7a2 100644 --- a/lib/plaid/models/transfer_authorization_device.rb +++ b/lib/plaid/models/transfer_authorization_device.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transfer_authorization_guarantee_decision.rb b/lib/plaid/models/transfer_authorization_guarantee_decision.rb new file mode 100644 index 000000000..d1690ce6f --- /dev/null +++ b/lib/plaid/models/transfer_authorization_guarantee_decision.rb @@ -0,0 +1,40 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.62.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 5.1.0 + +=end + +require 'date' +require 'time' + +module Plaid + class TransferAuthorizationGuaranteeDecision + GUARANTEED = "GUARANTEED".freeze + NOT_GUARANTEED = "NOT_GUARANTEED".freeze + NULL = "null".freeze + + # Builds the enum from string + # @param [String] The enum value in the form of the string + # @return [String] The enum value + def self.build_from_hash(value) + new.build_from_hash(value) + end + + # Builds the enum from string + # @param [String] The enum value in the form of the string + # @return [String] The enum value + def build_from_hash(value) + # We do not validate that the value is one of the enums set in the OpenAPI + # file because we want to be able to add to our list of enums without + # breaking this client library. + value + end + end + +end diff --git a/lib/plaid/models/transfer_authorization_guarantee_decision_rationale.rb b/lib/plaid/models/transfer_authorization_guarantee_decision_rationale.rb new file mode 100644 index 000000000..88818fb7c --- /dev/null +++ b/lib/plaid/models/transfer_authorization_guarantee_decision_rationale.rb @@ -0,0 +1,274 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.62.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 5.1.0 + +=end + +require 'date' +require 'time' + +module Plaid + # The rationale for Plaid's decision to not guarantee a transfer. Will be `null` unless `guarantee_decision` is `NOT_GUARANTEED`. + class TransferAuthorizationGuaranteeDecisionRationale + # A code representing the reason Plaid declined to guarantee this transfer: `RETURN_BANK`: The risk of a bank-initiated return (for example, an R01/NSF) is too high to guarantee this transfer. `RETURN_CUSTOMER`: The risk of a customer-initiated return (for example, a R10/Unauthorized) is too high to guarantee this transfer. `GUARANTEE_LIMIT_REACHED`: This transfer is low-risk, but Guaranteed ACH has exhausted an internal limit on the number or rate of guarantees that applies to this transfer. `RISK_ESTIMATE_UNAVAILABLE`: A risk estimate is unavailable for this Item. + attr_accessor :code + + # A human-readable description of why the transfer cannot be guaranteed. + attr_accessor :description + + class EnumAttributeValidator + attr_reader :datatype + attr_reader :allowable_values + + def initialize(datatype, allowable_values) + @allowable_values = allowable_values.map do |value| + case datatype.to_s + when /Integer/i + value.to_i + when /Float/i + value.to_f + else + value + end + end + end + + def valid?(value) + !value || allowable_values.include?(value) + end + end + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'code' => :'code', + :'description' => :'description' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'code' => :'String', + :'description' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::TransferAuthorizationGuaranteeDecisionRationale` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::TransferAuthorizationGuaranteeDecisionRationale`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'code') + self.code = attributes[:'code'] + end + + if attributes.key?(:'description') + self.description = attributes[:'description'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @code.nil? + invalid_properties.push('invalid value for "code", code cannot be nil.') + end + + if @description.nil? + invalid_properties.push('invalid value for "description", description cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @code.nil? + code_validator = EnumAttributeValidator.new('String', ["RETURN_BANK", "RETURN_CUSTOMER", "GUARANTEE_LIMIT_REACHED", "RISK_ESTIMATE_UNAVAILABLE"]) + return false unless code_validator.valid?(@code) + return false if @description.nil? + true + end + + # Custom attribute writer method checking allowed values (enum). + # @param [Object] code Object to be assigned + def code=(code) + validator = EnumAttributeValidator.new('String', ["RETURN_BANK", "RETURN_CUSTOMER", "GUARANTEE_LIMIT_REACHED", "RISK_ESTIMATE_UNAVAILABLE"]) + unless validator.valid?(code) + fail ArgumentError, "invalid value for \"code\", must be one of #{validator.allowable_values}." + end + @code = code + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + code == o.code && + description == o.description + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [code, description].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/transfer_authorization_proposed_transfer.rb b/lib/plaid/models/transfer_authorization_proposed_transfer.rb index 769c9ec0b..f42edc822 100644 --- a/lib/plaid/models/transfer_authorization_proposed_transfer.rb +++ b/lib/plaid/models/transfer_authorization_proposed_transfer.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transfer_cancel_request.rb b/lib/plaid/models/transfer_cancel_request.rb index c1aeae9ea..718d7c27d 100644 --- a/lib/plaid/models/transfer_cancel_request.rb +++ b/lib/plaid/models/transfer_cancel_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transfer_cancel_response.rb b/lib/plaid/models/transfer_cancel_response.rb index 8a4c8edcd..628578231 100644 --- a/lib/plaid/models/transfer_cancel_response.rb +++ b/lib/plaid/models/transfer_cancel_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transfer_create_request.rb b/lib/plaid/models/transfer_create_request.rb index 489b0bae7..67e4a6cb1 100644 --- a/lib/plaid/models/transfer_create_request.rb +++ b/lib/plaid/models/transfer_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transfer_create_response.rb b/lib/plaid/models/transfer_create_response.rb index 75fd2e60d..a701561ad 100644 --- a/lib/plaid/models/transfer_create_response.rb +++ b/lib/plaid/models/transfer_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transfer_event.rb b/lib/plaid/models/transfer_event.rb index d370cd423..b4e5f892f 100644 --- a/lib/plaid/models/transfer_event.rb +++ b/lib/plaid/models/transfer_event.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transfer_event_list_request.rb b/lib/plaid/models/transfer_event_list_request.rb index bbc7ba687..81e08e067 100644 --- a/lib/plaid/models/transfer_event_list_request.rb +++ b/lib/plaid/models/transfer_event_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transfer_event_list_response.rb b/lib/plaid/models/transfer_event_list_response.rb index 3a2d8d099..0feb32f5c 100644 --- a/lib/plaid/models/transfer_event_list_response.rb +++ b/lib/plaid/models/transfer_event_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transfer_event_sync_request.rb b/lib/plaid/models/transfer_event_sync_request.rb index 05ef3e2dd..fa0c18f12 100644 --- a/lib/plaid/models/transfer_event_sync_request.rb +++ b/lib/plaid/models/transfer_event_sync_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transfer_event_sync_response.rb b/lib/plaid/models/transfer_event_sync_response.rb index 3ea321169..f82cce07d 100644 --- a/lib/plaid/models/transfer_event_sync_response.rb +++ b/lib/plaid/models/transfer_event_sync_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transfer_event_type.rb b/lib/plaid/models/transfer_event_type.rb index d6eba239a..245f54db8 100644 --- a/lib/plaid/models/transfer_event_type.rb +++ b/lib/plaid/models/transfer_event_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transfer_failure.rb b/lib/plaid/models/transfer_failure.rb index 05ea6b9a2..49f2e7725 100644 --- a/lib/plaid/models/transfer_failure.rb +++ b/lib/plaid/models/transfer_failure.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transfer_get_request.rb b/lib/plaid/models/transfer_get_request.rb index ad72d2c03..3d17ff292 100644 --- a/lib/plaid/models/transfer_get_request.rb +++ b/lib/plaid/models/transfer_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transfer_get_response.rb b/lib/plaid/models/transfer_get_response.rb index e5e0da953..0b083d442 100644 --- a/lib/plaid/models/transfer_get_response.rb +++ b/lib/plaid/models/transfer_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transfer_intent_create.rb b/lib/plaid/models/transfer_intent_create.rb index 96b2542d8..50e543cae 100644 --- a/lib/plaid/models/transfer_intent_create.rb +++ b/lib/plaid/models/transfer_intent_create.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transfer_intent_create_mode.rb b/lib/plaid/models/transfer_intent_create_mode.rb index e28e25c06..5a747746b 100644 --- a/lib/plaid/models/transfer_intent_create_mode.rb +++ b/lib/plaid/models/transfer_intent_create_mode.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transfer_intent_create_request.rb b/lib/plaid/models/transfer_intent_create_request.rb index 7c950bf68..4efa97778 100644 --- a/lib/plaid/models/transfer_intent_create_request.rb +++ b/lib/plaid/models/transfer_intent_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transfer_intent_create_response.rb b/lib/plaid/models/transfer_intent_create_response.rb index 42c55a956..1c1045d3c 100644 --- a/lib/plaid/models/transfer_intent_create_response.rb +++ b/lib/plaid/models/transfer_intent_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transfer_intent_get.rb b/lib/plaid/models/transfer_intent_get.rb index fda12c20d..1189a4be2 100644 --- a/lib/plaid/models/transfer_intent_get.rb +++ b/lib/plaid/models/transfer_intent_get.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transfer_intent_get_failure_reason.rb b/lib/plaid/models/transfer_intent_get_failure_reason.rb index 03f45a3a8..7098b2c99 100644 --- a/lib/plaid/models/transfer_intent_get_failure_reason.rb +++ b/lib/plaid/models/transfer_intent_get_failure_reason.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transfer_intent_get_request.rb b/lib/plaid/models/transfer_intent_get_request.rb index 81d51beac..8ed169595 100644 --- a/lib/plaid/models/transfer_intent_get_request.rb +++ b/lib/plaid/models/transfer_intent_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transfer_intent_get_response.rb b/lib/plaid/models/transfer_intent_get_response.rb index bfd4f1356..004325d71 100644 --- a/lib/plaid/models/transfer_intent_get_response.rb +++ b/lib/plaid/models/transfer_intent_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transfer_list_request.rb b/lib/plaid/models/transfer_list_request.rb index aabfdff12..5aafba731 100644 --- a/lib/plaid/models/transfer_list_request.rb +++ b/lib/plaid/models/transfer_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transfer_list_response.rb b/lib/plaid/models/transfer_list_response.rb index 722ff3bd3..5bbfaca09 100644 --- a/lib/plaid/models/transfer_list_response.rb +++ b/lib/plaid/models/transfer_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transfer_network.rb b/lib/plaid/models/transfer_network.rb index 5d0724d4e..39cda7761 100644 --- a/lib/plaid/models/transfer_network.rb +++ b/lib/plaid/models/transfer_network.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transfer_repayment.rb b/lib/plaid/models/transfer_repayment.rb new file mode 100644 index 000000000..747f12d88 --- /dev/null +++ b/lib/plaid/models/transfer_repayment.rb @@ -0,0 +1,270 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.62.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 5.1.0 + +=end + +require 'date' +require 'time' + +module Plaid + # A repayment is created automatically after one or more guaranteed transactions receive a return. If there are multiple eligible returns in a day, they are batched together into a single repayment. Repayments are sent over ACH, with funds typically available on the next banking day. + class TransferRepayment + # Identifier of the repayment. + attr_accessor :repayment_id + + # The datetime when the repayment occurred, in RFC 3339 format. + attr_accessor :created + + # Decimal amount of the repayment as it appears on your account ledger. + attr_accessor :amount + + # The currency of the repayment, e.g. \"USD\". + attr_accessor :iso_currency_code + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'repayment_id' => :'repayment_id', + :'created' => :'created', + :'amount' => :'amount', + :'iso_currency_code' => :'iso_currency_code' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'repayment_id' => :'String', + :'created' => :'Time', + :'amount' => :'String', + :'iso_currency_code' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::TransferRepayment` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::TransferRepayment`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'repayment_id') + self.repayment_id = attributes[:'repayment_id'] + end + + if attributes.key?(:'created') + self.created = attributes[:'created'] + end + + if attributes.key?(:'amount') + self.amount = attributes[:'amount'] + end + + if attributes.key?(:'iso_currency_code') + self.iso_currency_code = attributes[:'iso_currency_code'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @repayment_id.nil? + invalid_properties.push('invalid value for "repayment_id", repayment_id cannot be nil.') + end + + if @created.nil? + invalid_properties.push('invalid value for "created", created cannot be nil.') + end + + if @amount.nil? + invalid_properties.push('invalid value for "amount", amount cannot be nil.') + end + + if @iso_currency_code.nil? + invalid_properties.push('invalid value for "iso_currency_code", iso_currency_code cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @repayment_id.nil? + return false if @created.nil? + return false if @amount.nil? + return false if @iso_currency_code.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + repayment_id == o.repayment_id && + created == o.created && + amount == o.amount && + iso_currency_code == o.iso_currency_code + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [repayment_id, created, amount, iso_currency_code].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/transfer_repayment_list_request.rb b/lib/plaid/models/transfer_repayment_list_request.rb new file mode 100644 index 000000000..b82969701 --- /dev/null +++ b/lib/plaid/models/transfer_repayment_list_request.rb @@ -0,0 +1,320 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.62.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 5.1.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Defines the request schema for `/transfer/repayment/list` + class TransferRepaymentListRequest + # Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body. + attr_accessor :client_id + + # Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body. + attr_accessor :secret + + # The start datetime of repayments to return (RFC 3339 format). + attr_accessor :start_date + + # The end datetime of repayments to return (RFC 3339 format). + attr_accessor :end_date + + # The maximum number of repayments to return. + attr_accessor :count + + # The number of repayments to skip before returning results. + attr_accessor :offset + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'client_id' => :'client_id', + :'secret' => :'secret', + :'start_date' => :'start_date', + :'end_date' => :'end_date', + :'count' => :'count', + :'offset' => :'offset' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'client_id' => :'String', + :'secret' => :'String', + :'start_date' => :'Time', + :'end_date' => :'Time', + :'count' => :'Integer', + :'offset' => :'Integer' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'start_date', + :'end_date', + :'count', + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::TransferRepaymentListRequest` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::TransferRepaymentListRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'client_id') + self.client_id = attributes[:'client_id'] + end + + if attributes.key?(:'secret') + self.secret = attributes[:'secret'] + end + + if attributes.key?(:'start_date') + self.start_date = attributes[:'start_date'] + end + + if attributes.key?(:'end_date') + self.end_date = attributes[:'end_date'] + end + + if attributes.key?(:'count') + self.count = attributes[:'count'] + else + self.count = 25 + end + + if attributes.key?(:'offset') + self.offset = attributes[:'offset'] + else + self.offset = 0 + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if !@count.nil? && @count > 25 + invalid_properties.push('invalid value for "count", must be smaller than or equal to 25.') + end + + if !@count.nil? && @count < 1 + invalid_properties.push('invalid value for "count", must be greater than or equal to 1.') + end + + + if !@offset.nil? && @offset < 0 + invalid_properties.push('invalid value for "offset", must be greater than or equal to 0.') + end + + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if !@count.nil? && @count > 25 + return false if !@count.nil? && @count < 1 + return false if !@offset.nil? && @offset < 0 + true + end + + # Custom attribute writer method with validation + # @param [Object] count Value to be assigned + def count=(count) + if !count.nil? && count > 25 + fail ArgumentError, 'invalid value for "count", must be smaller than or equal to 25.' + end + + if !count.nil? && count < 1 + fail ArgumentError, 'invalid value for "count", must be greater than or equal to 1.' + end + + + @count = count + end + + # Custom attribute writer method with validation + # @param [Object] offset Value to be assigned + def offset=(offset) + if !offset.nil? && offset < 0 + fail ArgumentError, 'invalid value for "offset", must be greater than or equal to 0.' + end + + + @offset = offset + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + client_id == o.client_id && + secret == o.secret && + start_date == o.start_date && + end_date == o.end_date && + count == o.count && + offset == o.offset + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [client_id, secret, start_date, end_date, count, offset].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/bank_transfer_receiver_details.rb b/lib/plaid/models/transfer_repayment_list_response.rb similarity index 73% rename from lib/plaid/models/bank_transfer_receiver_details.rb rename to lib/plaid/models/transfer_repayment_list_response.rb index 560cc257f..e4abaefd5 100644 --- a/lib/plaid/models/bank_transfer_receiver_details.rb +++ b/lib/plaid/models/transfer_repayment_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -14,37 +14,18 @@ require 'time' module Plaid - # The receiver details if the type of this event is `reciever_pending` or `reciever_posted`. Null value otherwise. - class BankTransferReceiverDetails - # The sign of the available balance for the receiver bank account associated with the receiver event at the time the matching transaction was found. Can be `positive`, `negative`, or null if the balance was not available at the time. - attr_accessor :available_balance - - class EnumAttributeValidator - attr_reader :datatype - attr_reader :allowable_values - - def initialize(datatype, allowable_values) - @allowable_values = allowable_values.map do |value| - case datatype.to_s - when /Integer/i - value.to_i - when /Float/i - value.to_f - else - value - end - end - end + # Defines the response schema for `/transfer/repayments/list` + class TransferRepaymentListResponse + attr_accessor :repayments - def valid?(value) - !value || allowable_values.include?(value) - end - end + # A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive. + attr_accessor :request_id # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { - :'available_balance' => :'available_balance' + :'repayments' => :'repayments', + :'request_id' => :'request_id' } end @@ -56,14 +37,14 @@ def self.acceptable_attributes # Attribute type mapping. def self.openapi_types { - :'available_balance' => :'String' + :'repayments' => :'Array', + :'request_id' => :'String' } end # List of attributes with nullable: true def self.openapi_nullable Set.new([ - :'available_balance' ]) end @@ -71,19 +52,25 @@ def self.openapi_nullable # @param [Hash] attributes Model attributes in the form of hash def initialize(attributes = {}) if (!attributes.is_a?(Hash)) - fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::BankTransferReceiverDetails` initialize method" + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::TransferRepaymentListResponse` initialize method" end # check to see if the attribute exists and convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| if (!self.class.attribute_map.key?(k.to_sym)) - fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::BankTransferReceiverDetails`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::TransferRepaymentListResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect end h[k.to_sym] = v } - if attributes.key?(:'available_balance') - self.available_balance = attributes[:'available_balance'] + if attributes.key?(:'repayments') + if (value = attributes[:'repayments']).is_a?(Array) + self.repayments = value + end + end + + if attributes.key?(:'request_id') + self.request_id = attributes[:'request_id'] end end @@ -91,33 +78,32 @@ def initialize(attributes = {}) # @return Array for valid properties with the reasons def list_invalid_properties invalid_properties = Array.new + if @repayments.nil? + invalid_properties.push('invalid value for "repayments", repayments cannot be nil.') + end + + if @request_id.nil? + invalid_properties.push('invalid value for "request_id", request_id cannot be nil.') + end + invalid_properties end # Check to see if the all the properties in the model are valid # @return true if the model is valid def valid? - available_balance_validator = EnumAttributeValidator.new('String', ["positive", "negative", "null"]) - return false unless available_balance_validator.valid?(@available_balance) + return false if @repayments.nil? + return false if @request_id.nil? true end - # Custom attribute writer method checking allowed values (enum). - # @param [Object] available_balance Object to be assigned - def available_balance=(available_balance) - validator = EnumAttributeValidator.new('String', ["positive", "negative", "null"]) - unless validator.valid?(available_balance) - fail ArgumentError, "invalid value for \"available_balance\", must be one of #{validator.allowable_values}." - end - @available_balance = available_balance - end - # Checks equality by comparing each attribute. # @param [Object] Object to be compared def ==(o) return true if self.equal?(o) self.class == o.class && - available_balance == o.available_balance + repayments == o.repayments && + request_id == o.request_id end # @see the `==` method @@ -129,7 +115,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [available_balance].hash + [repayments, request_id].hash end # Builds the object from hash diff --git a/lib/plaid/models/transfer_repayment_return.rb b/lib/plaid/models/transfer_repayment_return.rb new file mode 100644 index 000000000..bd8999044 --- /dev/null +++ b/lib/plaid/models/transfer_repayment_return.rb @@ -0,0 +1,291 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.62.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 5.1.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Represents a return on a Guaranteed ACH transfer that is included in the specified repayment. + class TransferRepaymentReturn + # The unique identifier of the guaranteed transfer that was returned. + attr_accessor :transfer_id + + # The unique identifier of the corresponding `reversed` transfer event. + attr_accessor :event_id + + # The value of the returned transfer. + attr_accessor :amount + + # The currency of the repayment, e.g. \"USD\". + attr_accessor :iso_currency_code + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'transfer_id' => :'transfer_id', + :'event_id' => :'event_id', + :'amount' => :'amount', + :'iso_currency_code' => :'iso_currency_code' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'transfer_id' => :'String', + :'event_id' => :'Integer', + :'amount' => :'String', + :'iso_currency_code' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::TransferRepaymentReturn` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::TransferRepaymentReturn`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'transfer_id') + self.transfer_id = attributes[:'transfer_id'] + end + + if attributes.key?(:'event_id') + self.event_id = attributes[:'event_id'] + end + + if attributes.key?(:'amount') + self.amount = attributes[:'amount'] + end + + if attributes.key?(:'iso_currency_code') + self.iso_currency_code = attributes[:'iso_currency_code'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @transfer_id.nil? + invalid_properties.push('invalid value for "transfer_id", transfer_id cannot be nil.') + end + + if @event_id.nil? + invalid_properties.push('invalid value for "event_id", event_id cannot be nil.') + end + + if @event_id < 0 + invalid_properties.push('invalid value for "event_id", must be greater than or equal to 0.') + end + + + if @amount.nil? + invalid_properties.push('invalid value for "amount", amount cannot be nil.') + end + + if @iso_currency_code.nil? + invalid_properties.push('invalid value for "iso_currency_code", iso_currency_code cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @transfer_id.nil? + return false if @event_id.nil? + return false if @event_id < 0 + return false if @amount.nil? + return false if @iso_currency_code.nil? + true + end + + # Custom attribute writer method with validation + # @param [Object] event_id Value to be assigned + def event_id=(event_id) + if event_id.nil? + fail ArgumentError, 'event_id cannot be nil' + end + + if event_id < 0 + fail ArgumentError, 'invalid value for "event_id", must be greater than or equal to 0.' + end + + + @event_id = event_id + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + transfer_id == o.transfer_id && + event_id == o.event_id && + amount == o.amount && + iso_currency_code == o.iso_currency_code + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [transfer_id, event_id, amount, iso_currency_code].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/transfer_repayment_return_list_request.rb b/lib/plaid/models/transfer_repayment_return_list_request.rb new file mode 100644 index 000000000..960590888 --- /dev/null +++ b/lib/plaid/models/transfer_repayment_return_list_request.rb @@ -0,0 +1,308 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.62.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 5.1.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Defines the request schema for `/transfer/repayment/return/list` + class TransferRepaymentReturnListRequest + # Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body. + attr_accessor :client_id + + # Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body. + attr_accessor :secret + + # Identifier of the repayment to query. + attr_accessor :repayment_id + + # The maximum number of repayments to return. + attr_accessor :count + + # The number of repayments to skip before returning results. + attr_accessor :offset + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'client_id' => :'client_id', + :'secret' => :'secret', + :'repayment_id' => :'repayment_id', + :'count' => :'count', + :'offset' => :'offset' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'client_id' => :'String', + :'secret' => :'String', + :'repayment_id' => :'String', + :'count' => :'Integer', + :'offset' => :'Integer' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'count', + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::TransferRepaymentReturnListRequest` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::TransferRepaymentReturnListRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'client_id') + self.client_id = attributes[:'client_id'] + end + + if attributes.key?(:'secret') + self.secret = attributes[:'secret'] + end + + if attributes.key?(:'repayment_id') + self.repayment_id = attributes[:'repayment_id'] + end + + if attributes.key?(:'count') + self.count = attributes[:'count'] + else + self.count = 25 + end + + if attributes.key?(:'offset') + self.offset = attributes[:'offset'] + else + self.offset = 0 + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if !@count.nil? && @count > 25 + invalid_properties.push('invalid value for "count", must be smaller than or equal to 25.') + end + + if !@count.nil? && @count < 1 + invalid_properties.push('invalid value for "count", must be greater than or equal to 1.') + end + + + if !@offset.nil? && @offset < 0 + invalid_properties.push('invalid value for "offset", must be greater than or equal to 0.') + end + + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if !@count.nil? && @count > 25 + return false if !@count.nil? && @count < 1 + return false if !@offset.nil? && @offset < 0 + true + end + + # Custom attribute writer method with validation + # @param [Object] count Value to be assigned + def count=(count) + if !count.nil? && count > 25 + fail ArgumentError, 'invalid value for "count", must be smaller than or equal to 25.' + end + + if !count.nil? && count < 1 + fail ArgumentError, 'invalid value for "count", must be greater than or equal to 1.' + end + + + @count = count + end + + # Custom attribute writer method with validation + # @param [Object] offset Value to be assigned + def offset=(offset) + if !offset.nil? && offset < 0 + fail ArgumentError, 'invalid value for "offset", must be greater than or equal to 0.' + end + + + @offset = offset + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + client_id == o.client_id && + secret == o.secret && + repayment_id == o.repayment_id && + count == o.count && + offset == o.offset + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [client_id, secret, repayment_id, count, offset].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/transfer_repayment_return_list_response.rb b/lib/plaid/models/transfer_repayment_return_list_response.rb new file mode 100644 index 000000000..228d8a797 --- /dev/null +++ b/lib/plaid/models/transfer_repayment_return_list_response.rb @@ -0,0 +1,241 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.62.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 5.1.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Defines the response schema for `/transfer/repayments/return/list` + class TransferRepaymentReturnListResponse + attr_accessor :repayment_returns + + # A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive. + attr_accessor :request_id + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'repayment_returns' => :'repayment_returns', + :'request_id' => :'request_id' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'repayment_returns' => :'Array', + :'request_id' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::TransferRepaymentReturnListResponse` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::TransferRepaymentReturnListResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'repayment_returns') + if (value = attributes[:'repayment_returns']).is_a?(Array) + self.repayment_returns = value + end + end + + if attributes.key?(:'request_id') + self.request_id = attributes[:'request_id'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @repayment_returns.nil? + invalid_properties.push('invalid value for "repayment_returns", repayment_returns cannot be nil.') + end + + if @request_id.nil? + invalid_properties.push('invalid value for "request_id", request_id cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @repayment_returns.nil? + return false if @request_id.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + repayment_returns == o.repayment_returns && + request_id == o.request_id + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [repayment_returns, request_id].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/transfer_status.rb b/lib/plaid/models/transfer_status.rb index cc8d3913f..21ba3e2ff 100644 --- a/lib/plaid/models/transfer_status.rb +++ b/lib/plaid/models/transfer_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transfer_sweep.rb b/lib/plaid/models/transfer_sweep.rb index 80e2a2c96..251984551 100644 --- a/lib/plaid/models/transfer_sweep.rb +++ b/lib/plaid/models/transfer_sweep.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transfer_sweep_get_request.rb b/lib/plaid/models/transfer_sweep_get_request.rb index 58f94e418..5d7914c1c 100644 --- a/lib/plaid/models/transfer_sweep_get_request.rb +++ b/lib/plaid/models/transfer_sweep_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transfer_sweep_get_response.rb b/lib/plaid/models/transfer_sweep_get_response.rb index cc9891ba2..5c21193f7 100644 --- a/lib/plaid/models/transfer_sweep_get_response.rb +++ b/lib/plaid/models/transfer_sweep_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transfer_sweep_list_request.rb b/lib/plaid/models/transfer_sweep_list_request.rb index 125a00ecc..a7d2582aa 100644 --- a/lib/plaid/models/transfer_sweep_list_request.rb +++ b/lib/plaid/models/transfer_sweep_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transfer_sweep_list_response.rb b/lib/plaid/models/transfer_sweep_list_response.rb index f82b6ef69..38de2052b 100644 --- a/lib/plaid/models/transfer_sweep_list_response.rb +++ b/lib/plaid/models/transfer_sweep_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transfer_sweep_status.rb b/lib/plaid/models/transfer_sweep_status.rb index 8e454f57d..3e61ac961 100644 --- a/lib/plaid/models/transfer_sweep_status.rb +++ b/lib/plaid/models/transfer_sweep_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transfer_type.rb b/lib/plaid/models/transfer_type.rb index 8469d27a6..641f51acc 100644 --- a/lib/plaid/models/transfer_type.rb +++ b/lib/plaid/models/transfer_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transfer_user_address_in_request.rb b/lib/plaid/models/transfer_user_address_in_request.rb index c2cd192b9..1b5fb52c3 100644 --- a/lib/plaid/models/transfer_user_address_in_request.rb +++ b/lib/plaid/models/transfer_user_address_in_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transfer_user_address_in_response.rb b/lib/plaid/models/transfer_user_address_in_response.rb index 9da728b89..4d092aed0 100644 --- a/lib/plaid/models/transfer_user_address_in_response.rb +++ b/lib/plaid/models/transfer_user_address_in_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transfer_user_in_request.rb b/lib/plaid/models/transfer_user_in_request.rb index 4405b20e0..274a73526 100644 --- a/lib/plaid/models/transfer_user_in_request.rb +++ b/lib/plaid/models/transfer_user_in_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transfer_user_in_response.rb b/lib/plaid/models/transfer_user_in_response.rb index 4fc7080c3..ebd757bf3 100644 --- a/lib/plaid/models/transfer_user_in_response.rb +++ b/lib/plaid/models/transfer_user_in_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/user_custom_password.rb b/lib/plaid/models/user_custom_password.rb index 6e2383dac..f9cb70ef3 100644 --- a/lib/plaid/models/user_custom_password.rb +++ b/lib/plaid/models/user_custom_password.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/user_permission_revoked_webhook.rb b/lib/plaid/models/user_permission_revoked_webhook.rb index b731e8c03..a6cc00981 100644 --- a/lib/plaid/models/user_permission_revoked_webhook.rb +++ b/lib/plaid/models/user_permission_revoked_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/verification_attribute.rb b/lib/plaid/models/verification_attribute.rb index e79d918b9..e3a06c2cb 100644 --- a/lib/plaid/models/verification_attribute.rb +++ b/lib/plaid/models/verification_attribute.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/verification_expired_webhook.rb b/lib/plaid/models/verification_expired_webhook.rb index d31ea5174..594a29ecf 100644 --- a/lib/plaid/models/verification_expired_webhook.rb +++ b/lib/plaid/models/verification_expired_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/verification_refresh_status.rb b/lib/plaid/models/verification_refresh_status.rb index 10d979055..90aabe8b5 100644 --- a/lib/plaid/models/verification_refresh_status.rb +++ b/lib/plaid/models/verification_refresh_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/verification_status.rb b/lib/plaid/models/verification_status.rb index 0efb4c83c..159512698 100644 --- a/lib/plaid/models/verification_status.rb +++ b/lib/plaid/models/verification_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/w2.rb b/lib/plaid/models/w2.rb index ab3a08369..21d6d7602 100644 --- a/lib/plaid/models/w2.rb +++ b/lib/plaid/models/w2.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/w2_box12.rb b/lib/plaid/models/w2_box12.rb index f3037012a..c35b60d4f 100644 --- a/lib/plaid/models/w2_box12.rb +++ b/lib/plaid/models/w2_box12.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/w2_state_and_local_wages.rb b/lib/plaid/models/w2_state_and_local_wages.rb index 08c1d910b..09dd58b66 100644 --- a/lib/plaid/models/w2_state_and_local_wages.rb +++ b/lib/plaid/models/w2_state_and_local_wages.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/wallet_balance.rb b/lib/plaid/models/wallet_balance.rb index b2cff6de9..c83202204 100644 --- a/lib/plaid/models/wallet_balance.rb +++ b/lib/plaid/models/wallet_balance.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/wallet_get_request.rb b/lib/plaid/models/wallet_get_request.rb index fc96cd5c3..c934ee42b 100644 --- a/lib/plaid/models/wallet_get_request.rb +++ b/lib/plaid/models/wallet_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/wallet_get_response.rb b/lib/plaid/models/wallet_get_response.rb index 9a36294e5..ba7e4e216 100644 --- a/lib/plaid/models/wallet_get_response.rb +++ b/lib/plaid/models/wallet_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/wallet_transaction.rb b/lib/plaid/models/wallet_transaction.rb index a5eebbcc6..ba5c8a43b 100644 --- a/lib/plaid/models/wallet_transaction.rb +++ b/lib/plaid/models/wallet_transaction.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/wallet_transaction_amount.rb b/lib/plaid/models/wallet_transaction_amount.rb index 17fb8bc9b..ddb9db2d9 100644 --- a/lib/plaid/models/wallet_transaction_amount.rb +++ b/lib/plaid/models/wallet_transaction_amount.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/wallet_transaction_counterparty.rb b/lib/plaid/models/wallet_transaction_counterparty.rb index 9040c1acc..6cab074b1 100644 --- a/lib/plaid/models/wallet_transaction_counterparty.rb +++ b/lib/plaid/models/wallet_transaction_counterparty.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/wallet_transaction_counterparty_bacs.rb b/lib/plaid/models/wallet_transaction_counterparty_bacs.rb index 1c869ffc6..599a01267 100644 --- a/lib/plaid/models/wallet_transaction_counterparty_bacs.rb +++ b/lib/plaid/models/wallet_transaction_counterparty_bacs.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/wallet_transaction_counterparty_numbers.rb b/lib/plaid/models/wallet_transaction_counterparty_numbers.rb index 88c6d0b3e..74ae999c2 100644 --- a/lib/plaid/models/wallet_transaction_counterparty_numbers.rb +++ b/lib/plaid/models/wallet_transaction_counterparty_numbers.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/wallet_transaction_execute_request.rb b/lib/plaid/models/wallet_transaction_execute_request.rb index 3ffcfb456..a56dc7c3d 100644 --- a/lib/plaid/models/wallet_transaction_execute_request.rb +++ b/lib/plaid/models/wallet_transaction_execute_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/wallet_transaction_execute_response.rb b/lib/plaid/models/wallet_transaction_execute_response.rb index 257a242e2..93bf177e1 100644 --- a/lib/plaid/models/wallet_transaction_execute_response.rb +++ b/lib/plaid/models/wallet_transaction_execute_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/wallet_transaction_status.rb b/lib/plaid/models/wallet_transaction_status.rb index 2cd346696..5fdc7e22d 100644 --- a/lib/plaid/models/wallet_transaction_status.rb +++ b/lib/plaid/models/wallet_transaction_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/wallet_transactions_list_request.rb b/lib/plaid/models/wallet_transactions_list_request.rb index 95b20ccd2..6b7b1bd07 100644 --- a/lib/plaid/models/wallet_transactions_list_request.rb +++ b/lib/plaid/models/wallet_transactions_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/wallet_transactions_list_response.rb b/lib/plaid/models/wallet_transactions_list_response.rb index 9ed0de8df..590d6ac00 100644 --- a/lib/plaid/models/wallet_transactions_list_response.rb +++ b/lib/plaid/models/wallet_transactions_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/warning.rb b/lib/plaid/models/warning.rb index 22a7f1fbd..8111247a2 100644 --- a/lib/plaid/models/warning.rb +++ b/lib/plaid/models/warning.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/webhook_update_acknowledged_webhook.rb b/lib/plaid/models/webhook_update_acknowledged_webhook.rb index bec104b79..9742805e8 100644 --- a/lib/plaid/models/webhook_update_acknowledged_webhook.rb +++ b/lib/plaid/models/webhook_update_acknowledged_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/webhook_verification_key_get_request.rb b/lib/plaid/models/webhook_verification_key_get_request.rb index f1d1341a1..2ba51073f 100644 --- a/lib/plaid/models/webhook_verification_key_get_request.rb +++ b/lib/plaid/models/webhook_verification_key_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/webhook_verification_key_get_response.rb b/lib/plaid/models/webhook_verification_key_get_response.rb index 6604e0ca3..6d80545a6 100644 --- a/lib/plaid/models/webhook_verification_key_get_response.rb +++ b/lib/plaid/models/webhook_verification_key_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/ytd_gross_income_summary_field_number.rb b/lib/plaid/models/ytd_gross_income_summary_field_number.rb index ce522e108..000dbc233 100644 --- a/lib/plaid/models/ytd_gross_income_summary_field_number.rb +++ b/lib/plaid/models/ytd_gross_income_summary_field_number.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/ytd_net_income_summary_field_number.rb b/lib/plaid/models/ytd_net_income_summary_field_number.rb index 1e9a2d6b6..868390e59 100644 --- a/lib/plaid/models/ytd_net_income_summary_field_number.rb +++ b/lib/plaid/models/ytd_net_income_summary_field_number.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/version.rb b/lib/plaid/version.rb index 774c3509b..51a4b832c 100644 --- a/lib/plaid/version.rb +++ b/lib/plaid/version.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -11,5 +11,5 @@ =end module Plaid - VERSION = '14.11.1' + VERSION = '14.12.0' end diff --git a/plaid.gemspec b/plaid.gemspec index 23f1ea07e..4ed3c3369 100644 --- a/plaid.gemspec +++ b/plaid.gemspec @@ -5,7 +5,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.61.0 +The version of the OpenAPI document: 2020-09-14_1.62.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0