From 9eb9468e232f15d0ed42e28a7562131cc69d221f Mon Sep 17 00:00:00 2001 From: Stephen Jayakar Date: Thu, 6 Jan 2022 12:38:33 -0800 Subject: [PATCH] 14.11.0 --- .openapi-generator/FILES | 10 +- CHANGELOG.md | 3 + Gemfile.lock | 2 +- Makefile | 2 +- README.md | 5 + lib/plaid.rb | 7 +- lib/plaid/api/plaid_api.rb | 14 +- 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 | 8 +- .../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 | 2 +- .../models/asset_report_transaction_all_of.rb | 2 +- lib/plaid/models/asset_report_user.rb | 2 +- lib/plaid/models/assets_error_webhook.rb | 10 +- .../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 | 4 +- .../models/bank_transfer_create_response.rb | 2 +- lib/plaid/models/bank_transfer_direction.rb | 2 +- lib/plaid/models/bank_transfer_event.rb | 2 +- .../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 | 2 +- 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 +- .../models/bank_transfer_receiver_details.rb | 2 +- lib/plaid/models/bank_transfer_status.rb | 2 +- lib/plaid/models/bank_transfer_sweep.rb | 35 +- .../models/bank_transfer_sweep_get_request.rb | 23 +- .../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 | 10 +- lib/plaid/models/connected_application.rb | 2 +- lib/plaid/models/country_code.rb | 2 +- lib/plaid/models/credit_card_liability.rb | 8 +- lib/plaid/models/credit_filter.rb | 2 +- .../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 | 5 +- .../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 | 2 +- lib/plaid/models/distribution_breakdown.rb | 2 +- lib/plaid/models/doc_type.rb | 2 +- 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 | 5 +- .../models/employment_verification_status.rb | 2 +- lib/plaid/models/error.rb | 2 +- lib/plaid/models/external_payment_options.rb | 33 +- .../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 | 5 +- lib/plaid/models/holding.rb | 2 +- .../models/holdings_default_update_webhook.rb | 5 +- 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 | 5 +- ...ncome_verification_paystubs_get_request.rb | 2 +- ...come_verification_paystubs_get_response.rb | 5 +- ...income_verification_precheck_confidence.rb | 2 +- .../income_verification_precheck_employer.rb | 2 +- ..._verification_precheck_employer_address.rb | 17 +- ...ication_precheck_employer_address_data.rb} | 78 ++-- ...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 | 4 +- ...income_verification_summary_get_request.rb | 2 +- ...ncome_verification_summary_get_response.rb | 5 +- ...ncome_verification_taxforms_get_request.rb | 2 +- ...come_verification_taxforms_get_response.rb | 5 +- .../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 | 8 +- lib/plaid/models/institution_status.rb | 18 +- .../models/institutions_get_by_id_request.rb | 2 +- .../institutions_get_by_id_request_options.rb | 2 +- .../models/institutions_get_by_id_response.rb | 2 +- lib/plaid/models/institutions_get_request.rb | 2 +- .../institutions_get_request_options.rb | 2 +- lib/plaid/models/institutions_get_response.rb | 2 +- .../institutions_search_account_filter.rb | 2 +- ...tions_search_payment_initiation_options.rb | 2 +- .../models/institutions_search_request.rb | 2 +- .../institutions_search_request_options.rb | 2 +- .../models/institutions_search_response.rb | 2 +- lib/plaid/models/investment_filter.rb | 2 +- ...investment_holdings_get_request_options.rb | 2 +- lib/plaid/models/investment_transaction.rb | 2 +- .../investments_default_update_webhook.rb | 5 +- .../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 | 10 +- 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 | 5 +- .../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 | 8 +- .../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 | 10 +- 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 | 2 +- lib/plaid/models/link_token_create_request.rb | 2 +- ...k_token_create_request_account_subtypes.rb | 2 +- .../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 | 2 +- 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 | 5 +- 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 | 2 +- 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 | 2 +- ...nt_initiation_optional_restriction_bacs.rb | 2 +- .../models/payment_initiation_payment.rb | 32 +- ...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 | 24 +- ...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 | 41 ++ .../models/payment_status_update_webhook.rb | 5 +- 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 | 359 ++++++++++++++++++ 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 | 8 +- .../sandbox_income_fire_webhook_response.rb | 2 +- .../sandbox_item_fire_webhook_request.rb | 2 +- .../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 +- .../sandbox_transfer_simulate_request.rb | 2 +- .../sandbox_transfer_simulate_response.rb | 2 +- ...sandbox_transfer_sweep_simulate_request.rb | 34 +- ...andbox_transfer_sweep_simulate_response.rb | 9 +- 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 | 277 ++++++++++++++ lib/plaid/models/standalone_account_type.rb | 2 +- .../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 | 2 +- lib/plaid/models/transaction_all_of.rb | 2 +- lib/plaid/models/transaction_base.rb | 2 +- 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 | 5 +- lib/plaid/models/transactions_sync_request.rb | 2 +- .../models/transactions_sync_response.rb | 2 +- lib/plaid/models/transfer.rb | 25 +- lib/plaid/models/transfer_authorization.rb | 6 +- .../transfer_authorization_create_request.rb | 20 +- .../transfer_authorization_create_response.rb | 2 +- ...ansfer_authorization_decision_rationale.rb | 2 +- .../models/transfer_authorization_device.rb | 2 +- ...ransfer_authorization_proposed_transfer.rb | 25 +- lib/plaid/models/transfer_cancel_request.rb | 2 +- lib/plaid/models/transfer_cancel_response.rb | 2 +- lib/plaid/models/transfer_create_request.rb | 24 +- 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 | 27 +- .../models/transfer_intent_create_mode.rb | 2 +- .../models/transfer_intent_create_request.rb | 22 +- .../models/transfer_intent_create_response.rb | 2 +- lib/plaid/models/transfer_intent_get.rb | 27 +- .../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_status.rb | 2 +- lib/plaid/models/transfer_sweep.rb | 48 ++- .../models/transfer_sweep_get_request.rb | 2 +- .../models/transfer_sweep_get_response.rb | 2 +- .../models/transfer_sweep_list_request.rb | 42 +- .../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 | 5 +- 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 | 5 +- .../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 +- 520 files changed, 1581 insertions(+), 803 deletions(-) rename lib/plaid/models/{bank_transfer_sweep_account.rb => income_verification_precheck_employer_address_data.rb} (76%) create mode 100644 lib/plaid/models/payment_scheme.rb create mode 100644 lib/plaid/models/plaid_error.rb create mode 100644 lib/plaid/models/simulated_transfer_sweep.rb diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index adbf5e4a6..508ff6112 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -85,7 +85,6 @@ docs/BankTransferNetwork.md docs/BankTransferReceiverDetails.md docs/BankTransferStatus.md docs/BankTransferSweep.md -docs/BankTransferSweepAccount.md docs/BankTransferSweepGetRequest.md docs/BankTransferSweepGetResponse.md docs/BankTransferSweepListRequest.md @@ -172,6 +171,7 @@ docs/IncomeVerificationPaystubsGetResponse.md docs/IncomeVerificationPrecheckConfidence.md docs/IncomeVerificationPrecheckEmployer.md docs/IncomeVerificationPrecheckEmployerAddress.md +docs/IncomeVerificationPrecheckEmployerAddressData.md docs/IncomeVerificationPrecheckMilitaryInfo.md docs/IncomeVerificationPrecheckRequest.md docs/IncomeVerificationPrecheckResponse.md @@ -316,6 +316,7 @@ docs/PaymentInitiationRefund.md docs/PaymentInitiationStandingOrderMetadata.md docs/PaymentMeta.md docs/PaymentScheduleInterval.md +docs/PaymentScheme.md docs/PaymentStatusUpdateWebhook.md docs/Paystub.md docs/PaystubAddress.md @@ -334,6 +335,7 @@ docs/PendingExpirationWebhook.md docs/PersonalFinanceCategory.md docs/PhoneNumber.md docs/PlaidApi.md +docs/PlaidError.md docs/PlatformIds.md docs/ProcessorApexProcessorTokenCreateRequest.md docs/ProcessorAuthGetRequest.md @@ -404,6 +406,7 @@ docs/SignalReturnReportRequest.md docs/SignalReturnReportResponse.md docs/SignalScores.md docs/SignalUser.md +docs/SimulatedTransferSweep.md docs/StandaloneAccountType.md docs/StandaloneCurrencyCodeList.md docs/StandaloneInvestmentTransactionType.md @@ -597,7 +600,6 @@ 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_account.rb lib/plaid/models/bank_transfer_sweep_get_request.rb lib/plaid/models/bank_transfer_sweep_get_response.rb lib/plaid/models/bank_transfer_sweep_list_request.rb @@ -684,6 +686,7 @@ lib/plaid/models/income_verification_paystubs_get_response.rb lib/plaid/models/income_verification_precheck_confidence.rb lib/plaid/models/income_verification_precheck_employer.rb lib/plaid/models/income_verification_precheck_employer_address.rb +lib/plaid/models/income_verification_precheck_employer_address_data.rb lib/plaid/models/income_verification_precheck_military_info.rb lib/plaid/models/income_verification_precheck_request.rb lib/plaid/models/income_verification_precheck_response.rb @@ -827,6 +830,7 @@ lib/plaid/models/payment_initiation_refund.rb lib/plaid/models/payment_initiation_standing_order_metadata.rb lib/plaid/models/payment_meta.rb lib/plaid/models/payment_schedule_interval.rb +lib/plaid/models/payment_scheme.rb lib/plaid/models/payment_status_update_webhook.rb lib/plaid/models/paystub.rb lib/plaid/models/paystub_address.rb @@ -844,6 +848,7 @@ lib/plaid/models/paystub_ytd_details.rb lib/plaid/models/pending_expiration_webhook.rb lib/plaid/models/personal_finance_category.rb lib/plaid/models/phone_number.rb +lib/plaid/models/plaid_error.rb lib/plaid/models/platform_ids.rb lib/plaid/models/processor_apex_processor_token_create_request.rb lib/plaid/models/processor_auth_get_request.rb @@ -915,6 +920,7 @@ lib/plaid/models/signal_return_report_request.rb lib/plaid/models/signal_return_report_response.rb lib/plaid/models/signal_scores.rb lib/plaid/models/signal_user.rb +lib/plaid/models/simulated_transfer_sweep.rb lib/plaid/models/standalone_account_type.rb lib/plaid/models/standalone_currency_code_list.rb lib/plaid/models/standalone_investment_transaction_type.rb diff --git a/CHANGELOG.md b/CHANGELOG.md index ba17ed98b..0e965333f 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.11.0 +- Updating to OAS 2020-09-14_1.61.0 + # 14.10.0 - Updating to OAS 2020-09-14_1.58.1 diff --git a/Gemfile.lock b/Gemfile.lock index 5eaa68739..20aa8839a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - plaid (14.10.0) + plaid (14.11.0) faraday (~> 1.0, >= 1.0.1) GEM diff --git a/Makefile b/Makefile index de3bbf503..d033b401a 100644 --- a/Makefile +++ b/Makefile @@ -1,2 +1,2 @@ # 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.10.0 +RUBY_PACKAGE_VERSION=14.11.0 diff --git a/README.md b/README.md index 5dcd237ae..dfef8259e 100644 --- a/README.md +++ b/README.md @@ -78,6 +78,10 @@ client = Plaid::Configuration.new do |builder| builder.options[:timeout] = 60*20 # 20 minutes end ``` +## Data type differences from API and from previous versions + +### Dates +Dates and date times in requests and responses, which are represented as strings in the API and in previous client library versions, are represented in this version of the library as Ruby `Date` or `DateTime` objects. ## Examples @@ -162,6 +166,7 @@ while transactions.length < transaction_response.total_transactions transactions_get_request.access_token = access_token transactions_get_request.start_date = "2020-01-01" transactions_get_request.end_date = "2021-01-01" + transactions_get_request.options = options_payload transaction_response = client.transactions_get(transactions_get_request) transactions += transaction_response.transactions diff --git a/lib/plaid.rb b/lib/plaid.rb index 383ac0013..dc7e70193 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -104,7 +104,6 @@ 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_account' require 'plaid/models/bank_transfer_sweep_get_request' require 'plaid/models/bank_transfer_sweep_get_response' require 'plaid/models/bank_transfer_sweep_list_request' @@ -191,6 +190,7 @@ require 'plaid/models/income_verification_precheck_confidence' require 'plaid/models/income_verification_precheck_employer' require 'plaid/models/income_verification_precheck_employer_address' +require 'plaid/models/income_verification_precheck_employer_address_data' require 'plaid/models/income_verification_precheck_military_info' require 'plaid/models/income_verification_precheck_request' require 'plaid/models/income_verification_precheck_response' @@ -335,6 +335,7 @@ require 'plaid/models/payment_initiation_standing_order_metadata' require 'plaid/models/payment_meta' require 'plaid/models/payment_schedule_interval' +require 'plaid/models/payment_scheme' require 'plaid/models/payment_status_update_webhook' require 'plaid/models/paystub' require 'plaid/models/paystub_address' @@ -352,6 +353,7 @@ require 'plaid/models/pending_expiration_webhook' require 'plaid/models/personal_finance_category' require 'plaid/models/phone_number' +require 'plaid/models/plaid_error' require 'plaid/models/platform_ids' require 'plaid/models/processor_apex_processor_token_create_request' require 'plaid/models/processor_auth_get_request' @@ -422,6 +424,7 @@ require 'plaid/models/signal_return_report_response' require 'plaid/models/signal_scores' require 'plaid/models/signal_user' +require 'plaid/models/simulated_transfer_sweep' require 'plaid/models/standalone_account_type' require 'plaid/models/standalone_currency_code_list' require 'plaid/models/standalone_investment_transaction_type' diff --git a/lib/plaid/api/plaid_api.rb b/lib/plaid/api/plaid_api.rb index e168909b8..2217e4d40 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -85,7 +85,7 @@ def accounts_balance_get_with_http_info(accounts_balance_get_request, opts = {}) end # Retrieve accounts - # The `/accounts/get` endpoint can be used to retrieve information for any linked Item. Note that some information is nullable. Plaid will only return active bank accounts, i.e. accounts that are not closed and are capable of carrying a balance. This endpoint retrieves cached information, rather than extracting fresh information from the institution. As a result, balances returned may not be up-to-date; for realtime balance information, use `/accounts/balance/get` instead. + # The `/accounts/get` endpoint can be used to retrieve a list of accounts associated with any linked Item. Plaid will only return active bank accounts — that is, accounts that are not closed and are capable of carrying a balance. This endpoint only returns accounts that were permissioned by the user when they initially created the Item. If a user creates a new account after the initial link, you can capture this event through the [`NEW_ACCOUNTS_AVAILABLE`](https://plaid.com/docs/api/webhooks/#item-new_accounts_available) webhook and then use Link's [update mode](https://plaid.com/docs/link/update-mode/) to request that the user share this new account with you. This endpoint retrieves cached information, rather than extracting fresh information from the institution. As a result, balances returned may not be up-to-date; for realtime balance information, use `/accounts/balance/get` instead. Note that some information is nullable. # @param accounts_get_request [AccountsGetRequest] # @param [Hash] opts the optional parameters # @return [AccountsGetResponse] @@ -95,7 +95,7 @@ def accounts_get(accounts_get_request, opts = {}) end # Retrieve accounts - # The `/accounts/get` endpoint can be used to retrieve information for any linked Item. Note that some information is nullable. Plaid will only return active bank accounts, i.e. accounts that are not closed and are capable of carrying a balance. This endpoint retrieves cached information, rather than extracting fresh information from the institution. As a result, balances returned may not be up-to-date; for realtime balance information, use `/accounts/balance/get` instead. + # The `/accounts/get` endpoint can be used to retrieve a list of accounts associated with any linked Item. Plaid will only return active bank accounts — that is, accounts that are not closed and are capable of carrying a balance. This endpoint only returns accounts that were permissioned by the user when they initially created the Item. If a user creates a new account after the initial link, you can capture this event through the [`NEW_ACCOUNTS_AVAILABLE`](https://plaid.com/docs/api/webhooks/#item-new_accounts_available) webhook and then use Link's [update mode](https://plaid.com/docs/link/update-mode/) to request that the user share this new account with you. This endpoint retrieves cached information, rather than extracting fresh information from the institution. As a result, balances returned may not be up-to-date; for realtime balance information, use `/accounts/balance/get` instead. Note that some information is nullable. # @param accounts_get_request [AccountsGetRequest] # @param [Hash] opts the optional parameters # @return [Array<(AccountsGetResponse, Integer, Hash)>] AccountsGetResponse data, response status code and response headers @@ -5280,8 +5280,8 @@ def sandbox_transfer_simulate_with_http_info(sandbox_transfer_simulate_request, return data, status_code, headers end - # Simulate creating a sweep for a set of transfers - # Use the `/sandbox/transfer/sweep/simulate` endpoint to create a sweep and associated events in the Sandbox environment. + # Simulate creating a sweep + # Use the `/sandbox/transfer/sweep/simulate` endpoint to create a sweep and associated events in the Sandbox environment. - All `posted` or `pending` Transfers with sweep_status `unswept` will become `swept` - All `reversed` Transfers with sweep_status `swept` will become `reverse_swept` # @param sandbox_transfer_sweep_simulate_request [SandboxTransferSweepSimulateRequest] # @param [Hash] opts the optional parameters # @return [SandboxTransferSweepSimulateResponse] @@ -5290,8 +5290,8 @@ def sandbox_transfer_sweep_simulate(sandbox_transfer_sweep_simulate_request, opt data end - # Simulate creating a sweep for a set of transfers - # Use the `/sandbox/transfer/sweep/simulate` endpoint to create a sweep and associated events in the Sandbox environment. + # Simulate creating a sweep + # Use the `/sandbox/transfer/sweep/simulate` endpoint to create a sweep and associated events in the Sandbox environment. - All `posted` or `pending` Transfers with sweep_status `unswept` will become `swept` - All `reversed` Transfers with sweep_status `swept` will become `reverse_swept` # @param sandbox_transfer_sweep_simulate_request [SandboxTransferSweepSimulateRequest] # @param [Hash] opts the optional parameters # @return [Array<(SandboxTransferSweepSimulateResponse, Integer, Hash)>] SandboxTransferSweepSimulateResponse data, response status code and response headers diff --git a/lib/plaid/api_client.rb b/lib/plaid/api_client.rb index a0a8e8f30..0285a6f83 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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.10.0" + @user_agent = "Plaid Ruby v14.11.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 4c5c98c06..01aedf670 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 77ab06449..5be3eabd5 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 792b206be..fd4c2cfbc 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 d125dc770..04ea07d89 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 589618267..32e041672 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 04465b1e7..af2ceff2f 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 92d699bbe..8ae41c3b5 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 a5f1e3e15..80f0d5ded 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 aea8cc2fe..77f85926f 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 35ddee954..e62a58bb0 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 3b89da31f..8612b6fbb 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 eddfc158b..ec568028f 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 da2fb3544..de250f5c7 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 9f42e1732..e61d71e14 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 25a0ff316..273030fc1 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 c331d4b4b..6b50ccdc4 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 d8a7f5812..8752ee168 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 0c402912d..3e404d27c 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 90784d875..101a3e518 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 85a30761c..a890d42b3 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 2d8943edb..9b66480c9 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 cd852f7a5..cb3b0521b 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 b05774f5d..2fd66820e 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 7605e4f2c..25010bb70 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 d98d45ca1..677d817b8 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 1966e13a0..6439557b3 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 75a3abd4c..096530f54 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 3848b2323..bb219adb7 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 4ceef566d..2331ce207 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 e5a720ba9..a4c82eecd 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 edaa7df26..6dc4187f8 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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([ + :'client_report_id', ]) end @@ -118,10 +119,6 @@ def list_invalid_properties invalid_properties.push('invalid value for "asset_report_id", asset_report_id cannot be nil.') end - if @client_report_id.nil? - invalid_properties.push('invalid value for "client_report_id", client_report_id cannot be nil.') - end - if @date_generated.nil? invalid_properties.push('invalid value for "date_generated", date_generated cannot be nil.') end @@ -145,7 +142,6 @@ def list_invalid_properties # @return true if the model is valid def valid? return false if @asset_report_id.nil? - return false if @client_report_id.nil? return false if @date_generated.nil? return false if @days_requested.nil? return false if @user.nil? 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 57eb0eba6..4412feb4e 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 144d59867..00404ad0f 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 e743ad9cb..4a060cd30 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 2bf177f15..7413d67c3 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 598eb548a..5622a47c8 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 28626a3a1..92c622aac 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 5002065cb..21916d996 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 a1001d82d..542cab01e 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 3d7d98598..7e2a780c3 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 1d5a02ba8..95c0654f0 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 b7335a4d0..6da110a5b 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 afda951b8..48c7199e1 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 14b46fa46..63b494160 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 13ebdea49..4420ceb7b 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 13908418f..a42435a69 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 db2edbbb4..c25fce55f 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 ea949699b..5549cb11f 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 9446d5ca8..7d0e5b663 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 950ab2346..70dd92ab5 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 8a1c57167..c64111930 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/asset_report_transaction_all_of.rb b/lib/plaid/models/asset_report_transaction_all_of.rb index d99c56278..9f78e38f8 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 fa10a8799..b1eaf893a 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 d4b0dde4b..b2534f6fe 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -47,7 +47,7 @@ def self.openapi_types { :'webhook_type' => :'String', :'webhook_code' => :'String', - :'error' => :'Error', + :'error' => :'PlaidError', :'asset_report_id' => :'String' } end @@ -55,7 +55,6 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ - :'error', ]) end @@ -103,6 +102,10 @@ def list_invalid_properties invalid_properties.push('invalid value for "webhook_code", webhook_code cannot be nil.') end + if @error.nil? + invalid_properties.push('invalid value for "error", error cannot be nil.') + end + if @asset_report_id.nil? invalid_properties.push('invalid value for "asset_report_id", asset_report_id cannot be nil.') end @@ -115,6 +118,7 @@ def list_invalid_properties def valid? return false if @webhook_type.nil? return false if @webhook_code.nil? + return false if @error.nil? return false if @asset_report_id.nil? true end diff --git a/lib/plaid/models/assets_product_ready_webhook.rb b/lib/plaid/models/assets_product_ready_webhook.rb index 9da8e73fb..e1fbe8275 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 16d67f6c3..87fecaa38 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 fcd50ac02..2dfbf018c 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 40cd72c99..25fb29a50 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 76ef7555e..d6b755253 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 0631590a5..f095baf08 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 7af570ffb..5d627cd1c 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 3498eb64e..9ecb8cbaa 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 514f5f379..a33e1267f 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 48d995565..84c342616 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 62bb36f78..435ca71ba 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 7b7ba54ae..5d9895b20 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 3d5689432..3281a66b5 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 70c63ca89..a2b3dbfef 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 a40b6f03b..2c983b81f 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 3e6449e4b..6ab1129f3 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -54,7 +54,7 @@ class BankTransferCreateRequest # The Metadata object is a mapping of client-provided string fields to any string value. The following limitations apply: - The JSON values must be Strings (no nested JSON objects allowed) - Only ASCII characters may be used - Maximum of 50 key/value pairs - Maximum key length of 40 characters - Maximum value length of 500 characters attr_accessor :metadata - # Plaid’s unique identifier for the origination account for this transfer. If you have more than one origination account, this value must be specified. + # Plaid’s unique identifier for the origination account for this transfer. If you have more than one origination account, this value must be specified. Otherwise, this field should be left blank. attr_accessor :origination_account_id # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/plaid/models/bank_transfer_create_response.rb b/lib/plaid/models/bank_transfer_create_response.rb index 0c6707352..e78108399 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 d78124486..9606551f8 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 b57364590..4773180e3 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/bank_transfer_event_list_request.rb b/lib/plaid/models/bank_transfer_event_list_request.rb index 41914c912..61da59512 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 e0dc391cb..c1b63daaa 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 7f773e393..d96623c5b 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 eb5ef4299..fc0e4bf16 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 409ae99d6..30595277e 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/bank_transfer_failure.rb b/lib/plaid/models/bank_transfer_failure.rb index 588745546..d15b3b939 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 74994af33..60f32b4a1 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 bd3ee767a..ee8665b6e 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 3c3b1b987..41705532c 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 13f1492aa..02b87c28e 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 2194e855a..cdfe62b98 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 d46b30994..7d2a37758 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 1efc938aa..cb0e0a0d1 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/bank_transfer_receiver_details.rb b/lib/plaid/models/bank_transfer_receiver_details.rb index 1e7c9115a..560cc257f 100644 --- a/lib/plaid/models/bank_transfer_receiver_details.rb +++ b/lib/plaid/models/bank_transfer_receiver_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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 77df5ee12..b8b246ce8 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 4ace6c71f..3801037da 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -19,9 +19,6 @@ class BankTransferSweep # Identifier of the sweep. attr_accessor :id - # Identifier of the sweep transfer. - attr_accessor :transfer_id - # The datetime when the sweep occurred, in RFC 3339 format. attr_accessor :created_at @@ -31,17 +28,13 @@ class BankTransferSweep # The currency of the sweep, e.g. \"USD\". attr_accessor :iso_currency_code - attr_accessor :sweep_account - # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'id' => :'id', - :'transfer_id' => :'transfer_id', :'created_at' => :'created_at', :'amount' => :'amount', - :'iso_currency_code' => :'iso_currency_code', - :'sweep_account' => :'sweep_account' + :'iso_currency_code' => :'iso_currency_code' } end @@ -54,18 +47,15 @@ def self.acceptable_attributes def self.openapi_types { :'id' => :'String', - :'transfer_id' => :'String', :'created_at' => :'Time', :'amount' => :'String', - :'iso_currency_code' => :'String', - :'sweep_account' => :'BankTransferSweepAccount' + :'iso_currency_code' => :'String' } end # List of attributes with nullable: true def self.openapi_nullable Set.new([ - :'transfer_id', ]) end @@ -88,10 +78,6 @@ def initialize(attributes = {}) self.id = attributes[:'id'] end - if attributes.key?(:'transfer_id') - self.transfer_id = attributes[:'transfer_id'] - end - if attributes.key?(:'created_at') self.created_at = attributes[:'created_at'] end @@ -103,10 +89,6 @@ def initialize(attributes = {}) if attributes.key?(:'iso_currency_code') self.iso_currency_code = attributes[:'iso_currency_code'] end - - if attributes.key?(:'sweep_account') - self.sweep_account = attributes[:'sweep_account'] - end end # Show invalid properties with the reasons. Usually used together with valid? @@ -129,10 +111,6 @@ def list_invalid_properties invalid_properties.push('invalid value for "iso_currency_code", iso_currency_code cannot be nil.') end - if @sweep_account.nil? - invalid_properties.push('invalid value for "sweep_account", sweep_account cannot be nil.') - end - invalid_properties end @@ -143,7 +121,6 @@ def valid? return false if @created_at.nil? return false if @amount.nil? return false if @iso_currency_code.nil? - return false if @sweep_account.nil? true end @@ -153,11 +130,9 @@ def ==(o) return true if self.equal?(o) self.class == o.class && id == o.id && - transfer_id == o.transfer_id && created_at == o.created_at && amount == o.amount && - iso_currency_code == o.iso_currency_code && - sweep_account == o.sweep_account + iso_currency_code == o.iso_currency_code end # @see the `==` method @@ -169,7 +144,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [id, transfer_id, created_at, amount, iso_currency_code, sweep_account].hash + [id, created_at, amount, iso_currency_code].hash end # Builds the object from hash diff --git a/lib/plaid/models/bank_transfer_sweep_get_request.rb b/lib/plaid/models/bank_transfer_sweep_get_request.rb index 6e87b52e1..17126682b 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -14,7 +14,7 @@ require 'time' module Plaid - # BankTransferSweepGetRequest defines the request schema for `/bank_transfer/sweep/get` + # Defines the request schema for `/bank_transfer/sweep/get` class BankTransferSweepGetRequest # 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 @@ -25,16 +25,12 @@ class BankTransferSweepGetRequest # Identifier of the sweep. attr_accessor :sweep_id - # If multiple origination accounts are available, `origination_account_id` must be used to specify the account that the sweep belongs to. - attr_accessor :origination_account_id - # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'client_id' => :'client_id', :'secret' => :'secret', - :'sweep_id' => :'sweep_id', - :'origination_account_id' => :'origination_account_id' + :'sweep_id' => :'sweep_id' } end @@ -48,15 +44,13 @@ def self.openapi_types { :'client_id' => :'String', :'secret' => :'String', - :'sweep_id' => :'String', - :'origination_account_id' => :'String' + :'sweep_id' => :'String' } end # List of attributes with nullable: true def self.openapi_nullable Set.new([ - :'origination_account_id' ]) end @@ -86,10 +80,6 @@ def initialize(attributes = {}) if attributes.key?(:'sweep_id') self.sweep_id = attributes[:'sweep_id'] end - - if attributes.key?(:'origination_account_id') - self.origination_account_id = attributes[:'origination_account_id'] - end end # Show invalid properties with the reasons. Usually used together with valid? @@ -117,8 +107,7 @@ def ==(o) self.class == o.class && client_id == o.client_id && secret == o.secret && - sweep_id == o.sweep_id && - origination_account_id == o.origination_account_id + sweep_id == o.sweep_id end # @see the `==` method @@ -130,7 +119,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [client_id, secret, sweep_id, origination_account_id].hash + [client_id, secret, sweep_id].hash end # Builds the object from hash diff --git a/lib/plaid/models/bank_transfer_sweep_get_response.rb b/lib/plaid/models/bank_transfer_sweep_get_response.rb index fac5ddead..e961ecf75 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 ccd0ec874..ea3ae3aba 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 10b316e03..7fa38784a 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 190b19b3c..9201334d0 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 a7742d0df..7e9e36001 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 46e6d80d0..654510881 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 1006dc626..a795873a6 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 07cda9177..5e267048a 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 73bfb226a..7c555e57a 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -38,14 +38,13 @@ def self.acceptable_attributes def self.openapi_types { :'item_id' => :'String', - :'error' => :'Error' + :'error' => :'PlaidError' } end # List of attributes with nullable: true def self.openapi_nullable Set.new([ - :'error' ]) end @@ -81,6 +80,10 @@ def list_invalid_properties invalid_properties.push('invalid value for "item_id", item_id cannot be nil.') end + if @error.nil? + invalid_properties.push('invalid value for "error", error cannot be nil.') + end + invalid_properties end @@ -88,6 +91,7 @@ def list_invalid_properties # @return true if the model is valid def valid? return false if @item_id.nil? + return false if @error.nil? true end diff --git a/lib/plaid/models/connected_application.rb b/lib/plaid/models/connected_application.rb index 70b01eaf0..b53d8397d 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 34c2ccd94..5f66a87d4 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 886135fa0..86498d73c 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -83,6 +83,7 @@ def self.openapi_nullable Set.new([ :'account_id', :'is_overdue', + :'last_payment_date', :'next_payment_due_date' ]) end @@ -153,10 +154,6 @@ def list_invalid_properties invalid_properties.push('invalid value for "last_payment_amount", last_payment_amount cannot be nil.') end - if @last_payment_date.nil? - invalid_properties.push('invalid value for "last_payment_date", last_payment_date cannot be nil.') - end - if @last_statement_issue_date.nil? invalid_properties.push('invalid value for "last_statement_issue_date", last_statement_issue_date cannot be nil.') end @@ -177,7 +174,6 @@ def list_invalid_properties def valid? return false if @aprs.nil? return false if @last_payment_amount.nil? - return false if @last_payment_date.nil? return false if @last_statement_issue_date.nil? return false if @last_statement_balance.nil? return false if @minimum_payment_amount.nil? diff --git a/lib/plaid/models/credit_filter.rb b/lib/plaid/models/credit_filter.rb index 4750d35b3..050196017 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/customer_initiated_return_risk.rb b/lib/plaid/models/customer_initiated_return_risk.rb index f408f14dd..95a9a8481 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 ce26e1466..227653b52 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 7fc7d5baf..70d8fba9a 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 e36f8d542..11679131a 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 cc1a6b37d..70ccbef87 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -51,7 +51,7 @@ def self.openapi_types { :'webhook_type' => :'String', :'webhook_code' => :'String', - :'error' => :'Error', + :'error' => :'PlaidError', :'new_transactions' => :'Float', :'item_id' => :'String' } @@ -60,7 +60,6 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ - :'error', ]) end diff --git a/lib/plaid/models/deposit_switch_address_data.rb b/lib/plaid/models/deposit_switch_address_data.rb index 81789afe4..4717502ad 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 7f288b973..22ed353e2 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 f3e0fcf13..193214c64 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 897f51537..4fd8433a5 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 57d2b8c1a..872336e54 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 19decbfab..8f74ebb27 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 ef9dff14b..dd78c0081 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 f7a72efa5..bd6d9f7f7 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 4bbbecad4..94210365b 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 e13541924..b37914fc9 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 b4890e620..5b605cc1c 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 931a832ed..043aa3613 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 a62164043..2acc6f06f 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 82436fef6..48d02e60d 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/distribution_breakdown.rb b/lib/plaid/models/distribution_breakdown.rb index ac6223ec1..8975d12cf 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 53f22942d..1a3dcb57d 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/document_metadata.rb b/lib/plaid/models/document_metadata.rb index cd87a218e..e1926c8f0 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 a5da96d99..b952b4521 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 884eb5307..a9279182e 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 895189951..6c8746e5f 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 db633d256..b3b1881d3 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 7a18292d6..9e15f1373 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 288e596a7..f5d10ce41 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 b6a2a24cb..51baf23df 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 c29cdce4f..77d25bccf 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 cc4574d65..18189fba8 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 04ec45bfc..dad0d72ff 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 186d91241..95e0900bd 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 366da1d93..562b2cf69 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 19ced5028..fd1ef4fe9 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 3c3c1c230..880e4eb26 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 fbf1e516a..3982858af 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 b1ab6be08..b8010f85c 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -42,7 +42,7 @@ def self.acceptable_attributes def self.openapi_types { :'employments' => :'Array', - :'error' => :'Error', + :'error' => :'PlaidError', :'request_id' => :'String' } end @@ -50,7 +50,6 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ - :'error', ]) end diff --git a/lib/plaid/models/employment_verification_status.rb b/lib/plaid/models/employment_verification_status.rb index 9a4a8cdf7..1786eec9c 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 f78f5e3bd..f9c8b4356 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/external_payment_options.rb b/lib/plaid/models/external_payment_options.rb index 5d107a6c5..8b6a47435 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -27,13 +27,20 @@ class ExternalPaymentOptions # The EMI (E-Money Institution) wallet that this payment is associated with, if any. This wallet is used as an intermediary account to enable Plaid to reconcile the settlement of funds for Payment Initiation requests. attr_accessor :wallet_id + attr_accessor :scheme + + # When `true`, Plaid will attempt to automatically downgrade payment `scheme` (e.g. `SEPA_CREDIT_TRANSFER_INSTANT` to `SEPA_CREDIT_TRANSFER`) when the requested scheme is not supported by the bank. + attr_accessor :scheme_automatic_downgrade + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'request_refund_details' => :'request_refund_details', :'iban' => :'iban', :'bacs' => :'bacs', - :'wallet_id' => :'wallet_id' + :'wallet_id' => :'wallet_id', + :'scheme' => :'scheme', + :'scheme_automatic_downgrade' => :'scheme_automatic_downgrade' } end @@ -48,7 +55,9 @@ def self.openapi_types :'request_refund_details' => :'Boolean', :'iban' => :'String', :'bacs' => :'PaymentInitiationOptionalRestrictionBacs', - :'wallet_id' => :'String' + :'wallet_id' => :'String', + :'scheme' => :'PaymentScheme', + :'scheme_automatic_downgrade' => :'Boolean' } end @@ -58,7 +67,9 @@ def self.openapi_nullable :'request_refund_details', :'iban', :'bacs', - :'wallet_id' + :'wallet_id', + :'scheme', + :'scheme_automatic_downgrade' ]) end @@ -92,6 +103,14 @@ def initialize(attributes = {}) if attributes.key?(:'wallet_id') self.wallet_id = attributes[:'wallet_id'] end + + if attributes.key?(:'scheme') + self.scheme = attributes[:'scheme'] + end + + if attributes.key?(:'scheme_automatic_downgrade') + self.scheme_automatic_downgrade = attributes[:'scheme_automatic_downgrade'] + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -158,7 +177,9 @@ def ==(o) request_refund_details == o.request_refund_details && iban == o.iban && bacs == o.bacs && - wallet_id == o.wallet_id + wallet_id == o.wallet_id && + scheme == o.scheme && + scheme_automatic_downgrade == o.scheme_automatic_downgrade end # @see the `==` method @@ -170,7 +191,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [request_refund_details, iban, bacs, wallet_id].hash + [request_refund_details, iban, bacs, wallet_id, scheme, scheme_automatic_downgrade].hash end # Builds the object from hash diff --git a/lib/plaid/models/external_payment_refund_details.rb b/lib/plaid/models/external_payment_refund_details.rb index 775e3ec50..155e40f7f 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 27dd10437..be3012618 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 3366d881c..9032b6780 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 7334ddc77..108d89a8e 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 2615f2fd4..ba4f784ff 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 60bb7d975..dca955c54 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 e11f1ad0e..b2f9c3252 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -51,7 +51,7 @@ def self.openapi_types { :'webhook_type' => :'String', :'webhook_code' => :'String', - :'error' => :'Error', + :'error' => :'PlaidError', :'new_transactions' => :'Float', :'item_id' => :'String' } @@ -60,7 +60,6 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ - :'error', ]) end diff --git a/lib/plaid/models/holding.rb b/lib/plaid/models/holding.rb index 285531e4e..6803de347 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 cc78a617e..9169bbfc1 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -56,7 +56,7 @@ def self.openapi_types :'webhook_type' => :'String', :'webhook_code' => :'String', :'item_id' => :'String', - :'error' => :'Error', + :'error' => :'PlaidError', :'new_holdings' => :'Float', :'updated_holdings' => :'Float' } @@ -65,7 +65,6 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ - :'error', ]) end diff --git a/lib/plaid/models/holdings_override.rb b/lib/plaid/models/holdings_override.rb index 3c83bcc91..ddaf6f8c8 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 d5117cc44..9c7a4eedf 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 53c12bec1..4f78fa9b0 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 c7aa41f67..e8df56b34 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 359bf63e4..45ba3a1eb 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 44c76c1e7..5c0c4a417 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 425f142ec..851df995d 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 57298515d..7a9b5347f 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 764c6439c..0a41e1382 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 7ba3788c5..feb52ac09 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 434810de7..04672985a 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 5857d714e..3801b4de4 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 4979b4446..271ab7b9e 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 18e4e6376..7ea85401d 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 2c6635539..f3f76466c 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 d4ce3a76a..53263f9a9 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 1ac835df8..84417b0b9 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -41,7 +41,7 @@ def self.acceptable_attributes def self.openapi_types { :'paystub' => :'Paystub', - :'error' => :'Error', + :'error' => :'PlaidError', :'request_id' => :'String' } end @@ -49,7 +49,6 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ - :'error', ]) end diff --git a/lib/plaid/models/income_verification_paystubs_get_request.rb b/lib/plaid/models/income_verification_paystubs_get_request.rb index a9f06693a..87ee4c0da 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 97ad1a210..b35a56fb2 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -45,7 +45,7 @@ def self.openapi_types { :'document_metadata' => :'Array', :'paystubs' => :'Array', - :'error' => :'Error', + :'error' => :'PlaidError', :'request_id' => :'String' } end @@ -53,7 +53,6 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ - :'error', ]) end diff --git a/lib/plaid/models/income_verification_precheck_confidence.rb b/lib/plaid/models/income_verification_precheck_confidence.rb index 5b898ceae..35dd80817 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 d92e1d4b3..a4882ca8c 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 3fb39e37b..cc13eff09 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -61,16 +61,13 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ - :'region', - :'postal_code', - :'country' ]) end # List of class defined in allOf (OpenAPI v3) def self.openapi_all_of [ - :'AddressData' + :'IncomeVerificationPrecheckEmployerAddressData' ] end @@ -114,22 +111,12 @@ def initialize(attributes = {}) # @return Array for valid properties with the reasons def list_invalid_properties invalid_properties = Array.new - if @city.nil? - invalid_properties.push('invalid value for "city", city cannot be nil.') - end - - if @street.nil? - invalid_properties.push('invalid value for "street", street 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 @city.nil? - return false if @street.nil? true end diff --git a/lib/plaid/models/bank_transfer_sweep_account.rb b/lib/plaid/models/income_verification_precheck_employer_address_data.rb similarity index 76% rename from lib/plaid/models/bank_transfer_sweep_account.rb rename to lib/plaid/models/income_verification_precheck_employer_address_data.rb index 08f61d61c..f82b9d7be 100644 --- a/lib/plaid/models/bank_transfer_sweep_account.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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -14,17 +14,31 @@ require 'time' module Plaid - # The account where the funds are swept to. - class BankTransferSweepAccount - attr_accessor :account_number + # Data about the components comprising an address. + class IncomeVerificationPrecheckEmployerAddressData + # The full city name + attr_accessor :city - attr_accessor :routing_number + # The region or state. In API versions 2018-05-22 and earlier, this field is called `state`. Example: `\"NC\"` + attr_accessor :region + + # The full street address Example: `\"564 Main Street, APT 15\"` + attr_accessor :street + + # The postal code. In API versions 2018-05-22 and earlier, this field is called `zip`. + attr_accessor :postal_code + + # The ISO 3166-1 alpha-2 country code + attr_accessor :country # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { - :'account_number' => :'account_number', - :'routing_number' => :'routing_number' + :'city' => :'city', + :'region' => :'region', + :'street' => :'street', + :'postal_code' => :'postal_code', + :'country' => :'country' } end @@ -36,8 +50,11 @@ def self.acceptable_attributes # Attribute type mapping. def self.openapi_types { - :'account_number' => :'String', - :'routing_number' => :'String' + :'city' => :'String', + :'region' => :'String', + :'street' => :'String', + :'postal_code' => :'String', + :'country' => :'String' } end @@ -51,23 +68,35 @@ 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::BankTransferSweepAccount` initialize method" + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::IncomeVerificationPrecheckEmployerAddressData` 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::BankTransferSweepAccount`. 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::IncomeVerificationPrecheckEmployerAddressData`. 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?(:'account_number') - self.account_number = attributes[:'account_number'] + if attributes.key?(:'city') + self.city = attributes[:'city'] + end + + if attributes.key?(:'region') + self.region = attributes[:'region'] + end + + if attributes.key?(:'street') + self.street = attributes[:'street'] end - if attributes.key?(:'routing_number') - self.routing_number = attributes[:'routing_number'] + if attributes.key?(:'postal_code') + self.postal_code = attributes[:'postal_code'] + end + + if attributes.key?(:'country') + self.country = attributes[:'country'] end end @@ -75,22 +104,12 @@ def initialize(attributes = {}) # @return Array for valid properties with the reasons def list_invalid_properties invalid_properties = Array.new - if @account_number.nil? - invalid_properties.push('invalid value for "account_number", account_number cannot be nil.') - end - - if @routing_number.nil? - invalid_properties.push('invalid value for "routing_number", routing_number 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 @account_number.nil? - return false if @routing_number.nil? true end @@ -99,8 +118,11 @@ def valid? def ==(o) return true if self.equal?(o) self.class == o.class && - account_number == o.account_number && - routing_number == o.routing_number + city == o.city && + region == o.region && + street == o.street && + postal_code == o.postal_code && + country == o.country end # @see the `==` method @@ -112,7 +134,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [account_number, routing_number].hash + [city, region, street, postal_code, country].hash end # Builds the object from hash diff --git a/lib/plaid/models/income_verification_precheck_military_info.rb b/lib/plaid/models/income_verification_precheck_military_info.rb index 492011b27..d83586d8e 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 06d8c44aa..bb6491f3d 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 8f482157b..99cd8f4d5 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 6ffaef327..99d3a6e86 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 fb6eb4804..8d5bc5003 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 280d64878..cfc698d2c 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 2cb5e6a7d..50f9b9918 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -28,7 +28,7 @@ class IncomeVerificationStatusWebhook # The Item ID associated with the verification. attr_accessor :item_id - # `VERIFICATION_STATUS_PROCESSING_COMPLETE`: The income verification status processing has completed. If the user uploaded multiple documents, this status means that at least one document was processed successfully. `VERIFICATION_STATUS_DOCUMENT_REJECTED`: The documentation uploaded by the end user was recognized as a supported file format, but not recognized as a valid verification document. Common causes include poor image quality or the document not being an acceptable income verification document. `VERIFICATION_STATUS_PROCESSING_FAILED`: A failure occurred when attempting to process the verification documentation. `VERIFICATION_STATUS_PENDING_APPROVAL`: The income verification has been sent to the user for review. + # `VERIFICATION_STATUS_PROCESSING_COMPLETE`: The income verification status processing has completed. If the user uploaded multiple documents, this webhook will fire when all documents have finished processing. Call the `/paystubs/get` endpoint and check the document metadata to see which documents were successfully parsed. `VERIFICATION_STATUS_PROCESSING_FAILED`: A failure occurred when attempting to process the verification documentation. `VERIFICATION_STATUS_PENDING_APPROVAL`: The income verification has been sent to the user for review. attr_accessor :verification_status # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/plaid/models/income_verification_summary_get_request.rb b/lib/plaid/models/income_verification_summary_get_request.rb index 6bafdac68..b0ae0e826 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 e38cc75b5..7d159dff5 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -42,7 +42,7 @@ def self.acceptable_attributes def self.openapi_types { :'income_summaries' => :'Array', - :'error' => :'Error', + :'error' => :'PlaidError', :'request_id' => :'String' } end @@ -50,7 +50,6 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ - :'error', ]) end diff --git a/lib/plaid/models/income_verification_taxforms_get_request.rb b/lib/plaid/models/income_verification_taxforms_get_request.rb index f9e5cac3d..71d5a0dba 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 cc2afb2c7..03d599737 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -47,14 +47,13 @@ def self.openapi_types :'request_id' => :'String', :'document_metadata' => :'Array', :'taxforms' => :'Array', - :'error' => :'Error' + :'error' => :'PlaidError' } end # List of attributes with nullable: true def self.openapi_nullable Set.new([ - :'error' ]) end diff --git a/lib/plaid/models/income_verification_webhook_status.rb b/lib/plaid/models/income_verification_webhook_status.rb index 4622d2b4c..aa8edace2 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 3816922f1..4d972442c 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 cad0415d7..3c9b7c747 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 2f5ae8c5c..d20c0eb53 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -96,7 +96,6 @@ def self.openapi_nullable :'url', :'primary_color', :'logo', - :'routing_numbers', :'payment_initiation_metadata', :'auth_metadata' ]) @@ -192,6 +191,10 @@ def list_invalid_properties invalid_properties.push('invalid value for "country_codes", country_codes cannot be nil.') end + if @routing_numbers.nil? + invalid_properties.push('invalid value for "routing_numbers", routing_numbers cannot be nil.') + end + if @oauth.nil? invalid_properties.push('invalid value for "oauth", oauth cannot be nil.') end @@ -206,6 +209,7 @@ def valid? return false if @name.nil? return false if @products.nil? return false if @country_codes.nil? + return false if @routing_numbers.nil? return false if @oauth.nil? true end diff --git a/lib/plaid/models/institution_status.rb b/lib/plaid/models/institution_status.rb index 464932f06..661bef940 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -22,8 +22,6 @@ class InstitutionStatus attr_accessor :auth - attr_accessor :balance - attr_accessor :identity attr_accessor :investments_updates @@ -43,7 +41,6 @@ def self.attribute_map :'item_logins' => :'item_logins', :'transactions_updates' => :'transactions_updates', :'auth' => :'auth', - :'balance' => :'balance', :'identity' => :'identity', :'investments_updates' => :'investments_updates', :'liabilities_updates' => :'liabilities_updates', @@ -64,7 +61,6 @@ def self.openapi_types :'item_logins' => :'ProductStatus', :'transactions_updates' => :'ProductStatus', :'auth' => :'ProductStatus', - :'balance' => :'ProductStatus', :'identity' => :'ProductStatus', :'investments_updates' => :'ProductStatus', :'liabilities_updates' => :'ProductStatus', @@ -108,10 +104,6 @@ def initialize(attributes = {}) self.auth = attributes[:'auth'] end - if attributes.key?(:'balance') - self.balance = attributes[:'balance'] - end - if attributes.key?(:'identity') self.identity = attributes[:'identity'] end @@ -155,10 +147,6 @@ def list_invalid_properties invalid_properties.push('invalid value for "auth", auth cannot be nil.') end - if @balance.nil? - invalid_properties.push('invalid value for "balance", balance cannot be nil.') - end - if @identity.nil? invalid_properties.push('invalid value for "identity", identity cannot be nil.') end @@ -176,7 +164,6 @@ def valid? return false if @item_logins.nil? return false if @transactions_updates.nil? return false if @auth.nil? - return false if @balance.nil? return false if @identity.nil? return false if @investments_updates.nil? true @@ -190,7 +177,6 @@ def ==(o) item_logins == o.item_logins && transactions_updates == o.transactions_updates && auth == o.auth && - balance == o.balance && identity == o.identity && investments_updates == o.investments_updates && liabilities_updates == o.liabilities_updates && @@ -208,7 +194,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [item_logins, transactions_updates, auth, balance, identity, investments_updates, liabilities_updates, liabilities, investments, health_incidents].hash + [item_logins, transactions_updates, auth, identity, investments_updates, liabilities_updates, liabilities, investments, health_incidents].hash end # Builds the object from hash diff --git a/lib/plaid/models/institutions_get_by_id_request.rb b/lib/plaid/models/institutions_get_by_id_request.rb index 78ba36584..e45b77006 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 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 eedd0781b..e9d760267 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 f356b4f43..519af600c 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 a69b411c4..c3ba257a7 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/institutions_get_request_options.rb b/lib/plaid/models/institutions_get_request_options.rb index b2d9d32c8..7bdad4fb2 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/institutions_get_response.rb b/lib/plaid/models/institutions_get_response.rb index 2e7a0fc4c..1b77811f1 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 35719c277..695a5b9fd 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 f712fdf75..62041f069 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/institutions_search_request.rb b/lib/plaid/models/institutions_search_request.rb index 47c3bdc01..552dfd0d0 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/institutions_search_request_options.rb b/lib/plaid/models/institutions_search_request_options.rb index 68a4727ba..1a3af02e8 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/institutions_search_response.rb b/lib/plaid/models/institutions_search_response.rb index 4f9f219c7..35347d9cf 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 4e93d795d..79f09f9d6 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/investment_holdings_get_request_options.rb b/lib/plaid/models/investment_holdings_get_request_options.rb index 8855e9e33..73b7ecd7a 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 ae276d82f..891bf7440 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 d0e641f1a..39be84e1c 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -56,7 +56,7 @@ def self.openapi_types :'webhook_type' => :'String', :'webhook_code' => :'String', :'item_id' => :'String', - :'error' => :'Error', + :'error' => :'PlaidError', :'new_investments_transactions' => :'Float', :'canceled_investments_transactions' => :'Float' } @@ -65,7 +65,6 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ - :'error', ]) end diff --git a/lib/plaid/models/investments_holdings_get_request.rb b/lib/plaid/models/investments_holdings_get_request.rb index f8bfca355..f8c8fc2d2 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 65db6bd75..7e1a95131 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 6241f8c30..174875ea1 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 5dbb3790d..37f3ff685 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 d217c774e..26d4da463 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 3db912c77..11ab71985 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 42189f894..bc343af52 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 4628d4646..ca371a985 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 4f189e3d8..42c44aa25 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 486c529a8..c84c321cd 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 8f3c48d76..52742406a 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 1f3d0b959..1ff895b43 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 0bd6316fc..74a4d2a4e 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 6939358cd..57901067b 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 456be0022..8c3328a03 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -48,14 +48,13 @@ def self.openapi_types :'webhook_type' => :'String', :'webhook_code' => :'String', :'item_id' => :'String', - :'error' => :'Error' + :'error' => :'PlaidError' } end # List of attributes with nullable: true def self.openapi_nullable Set.new([ - :'error' ]) end @@ -107,6 +106,10 @@ def list_invalid_properties invalid_properties.push('invalid value for "item_id", item_id cannot be nil.') end + if @error.nil? + invalid_properties.push('invalid value for "error", error cannot be nil.') + end + invalid_properties end @@ -116,6 +119,7 @@ def valid? return false if @webhook_type.nil? return false if @webhook_code.nil? return false if @item_id.nil? + return false if @error.nil? true end diff --git a/lib/plaid/models/item_get_request.rb b/lib/plaid/models/item_get_request.rb index 822c2b10e..8caffca53 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 f8b8f182f..adb2205df 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 540d6c1f0..6e6bb283b 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 63b8210db..9b2502f4e 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 718c10f54..cacc5ef98 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 724004125..cec93cefa 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 def7b3a38..b203d1af1 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -48,14 +48,13 @@ def self.openapi_types :'webhook_type' => :'String', :'webhook_code' => :'String', :'item_id' => :'String', - :'error' => :'Error' + :'error' => :'PlaidError' } end # List of attributes with nullable: true def self.openapi_nullable Set.new([ - :'error' ]) end diff --git a/lib/plaid/models/item_public_token_create_request.rb b/lib/plaid/models/item_public_token_create_request.rb index 211806336..09d3b2bb9 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 bb7b74fbf..17669a2c2 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 bd8ac7927..0ce01cb14 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 d93043b7d..ff1514ec9 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 657cb71b4..b945f6594 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 b99058c18..14828b959 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 2c1c64a34..11dd07e85 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 7950d5827..e6ffefd64 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 83ea06a71..92a107826 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 832442b51..f96e6fada 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 9210251bb..c312e21bf 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 1348e9b0b..d7a13e52b 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -56,6 +56,7 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'webhook' ]) end @@ -99,10 +100,6 @@ def list_invalid_properties invalid_properties.push('invalid value for "access_token", access_token cannot be nil.') end - if @webhook.nil? - invalid_properties.push('invalid value for "webhook", webhook cannot be nil.') - end - invalid_properties end @@ -110,7 +107,6 @@ def list_invalid_properties # @return true if the model is valid def valid? return false if @access_token.nil? - return false if @webhook.nil? true end diff --git a/lib/plaid/models/item_webhook_update_response.rb b/lib/plaid/models/item_webhook_update_response.rb index 117fead67..ea3dd62bb 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 f680bdc99..bd4b264e8 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 1979fca10..43b76f2e7 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 5f679ad2d..a177df1af 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -56,7 +56,7 @@ def self.openapi_types :'webhook_type' => :'String', :'webhook_code' => :'String', :'item_id' => :'String', - :'error' => :'Error', + :'error' => :'PlaidError', :'account_ids_with_new_liabilities' => :'Array', :'account_ids_with_updated_liabilities' => :'Hash>' } @@ -65,7 +65,6 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ - :'error', ]) end @@ -129,6 +128,10 @@ def list_invalid_properties invalid_properties.push('invalid value for "item_id", item_id cannot be nil.') end + if @error.nil? + invalid_properties.push('invalid value for "error", error cannot be nil.') + end + if @account_ids_with_new_liabilities.nil? invalid_properties.push('invalid value for "account_ids_with_new_liabilities", account_ids_with_new_liabilities cannot be nil.') end @@ -146,6 +149,7 @@ def valid? return false if @webhook_type.nil? return false if @webhook_code.nil? return false if @item_id.nil? + return false if @error.nil? return false if @account_ids_with_new_liabilities.nil? return false if @account_ids_with_updated_liabilities.nil? true diff --git a/lib/plaid/models/liabilities_get_request.rb b/lib/plaid/models/liabilities_get_request.rb index 659fb9995..af0e115fb 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 97e4e1ebd..118909d26 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 c12e2a619..086c8cef2 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 0799ea9c8..024f47962 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 65edf91c2..ad297c527 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 54fc0be8a..baf7ed888 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/link_token_create_request.rb b/lib/plaid/models/link_token_create_request.rb index 1b470aa37..090f55718 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 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 6f4c03268..168ecf4ee 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/link_token_create_request_auth.rb b/lib/plaid/models/link_token_create_request_auth.rb index af12cc83e..5b7691e03 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 75cadc66f..1429dc094 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 4b1fd2292..b0b6673eb 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 3a252b686..23a0704a3 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 03513d531..9c881d308 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 b0577f01b..4a88db10f 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 6ad476fff..db87c8c6f 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 e7e885a50..888aa59e6 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 8a49c37b4..84048a47e 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 993a0c37f..984e13593 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 47353e500..abbc64b56 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 d91b53857..9f28c622c 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 3daaa2f35..7ada4fb42 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/location.rb b/lib/plaid/models/location.rb index ea5837b15..ca16e5576 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 8d77125f4..96025374d 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 436df924c..b38a41427 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 42d2e0276..8ffd314c5 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 877c7113e..e899a4027 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 ad4ebca2e..1255cc4a7 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 9243dbfbe..23e6218ad 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 5cd030a8e..3963e89ff 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -48,14 +48,13 @@ def self.openapi_types :'webhook_type' => :'String', :'webhook_code' => :'String', :'item_id' => :'String', - :'error' => :'Error' + :'error' => :'PlaidError' } end # List of attributes with nullable: true def self.openapi_nullable Set.new([ - :'error' ]) end diff --git a/lib/plaid/models/numbers.rb b/lib/plaid/models/numbers.rb index 225c1952a..b304927a3 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 dbbf29f6c..38e27d1af 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 9d8cf96b1..b35a2f350 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 7061b9d0f..7cdeacecb 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 b2e6cfb78..1538f4f09 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 6ccb733d5..05f7b8dcb 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 e0f69b191..3068c7b15 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 7018ef7c7..ad6978445 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 fdba4bbd7..c4dd62be4 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 a5dec0f26..67758038a 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 3cc3ea0ae..740edf277 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 9cd1afa7e..81e232dd9 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 fdc08fd15..566a63ae9 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 3cdfa28f2..85c008343 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/pay_frequency.rb b/lib/plaid/models/pay_frequency.rb index 1767bd0ea..b1c0bc1ad 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 85a3f320e..fd9a76e91 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 eb0b36df6..5d75c3811 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 32137c5c1..7af948f1e 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 19cce8435..c3b602f72 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 2af206575..d895f041a 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/payment_initiation_optional_restriction_bacs.rb b/lib/plaid/models/payment_initiation_optional_restriction_bacs.rb index c9ea76caa..10feba682 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 e14f827dc..a768ace9a 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -50,6 +50,10 @@ class PaymentInitiationPayment # The EMI (E-Money Institution) wallet that this payment is associated with, if any. This wallet is used as an intermediary account to enable Plaid to reconcile the settlement of funds for Payment Initiation requests. attr_accessor :wallet_id + attr_accessor :scheme + + attr_accessor :adjusted_scheme + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { @@ -65,7 +69,9 @@ def self.attribute_map :'bacs' => :'bacs', :'iban' => :'iban', :'initiated_refunds' => :'initiated_refunds', - :'wallet_id' => :'wallet_id' + :'wallet_id' => :'wallet_id', + :'scheme' => :'scheme', + :'adjusted_scheme' => :'adjusted_scheme' } end @@ -89,7 +95,9 @@ def self.openapi_types :'bacs' => :'SenderBACSNullable', :'iban' => :'String', :'initiated_refunds' => :'Array', - :'wallet_id' => :'String' + :'wallet_id' => :'String', + :'scheme' => :'PaymentScheme', + :'adjusted_scheme' => :'PaymentScheme' } end @@ -101,7 +109,9 @@ def self.openapi_nullable :'refund_details', :'bacs', :'iban', - :'wallet_id' + :'wallet_id', + :'scheme', + :'adjusted_scheme' ]) end @@ -173,6 +183,14 @@ def initialize(attributes = {}) if attributes.key?(:'wallet_id') self.wallet_id = attributes[:'wallet_id'] end + + if attributes.key?(:'scheme') + self.scheme = attributes[:'scheme'] + end + + if attributes.key?(:'adjusted_scheme') + self.adjusted_scheme = attributes[:'adjusted_scheme'] + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -235,7 +253,9 @@ def ==(o) bacs == o.bacs && iban == o.iban && initiated_refunds == o.initiated_refunds && - wallet_id == o.wallet_id + wallet_id == o.wallet_id && + scheme == o.scheme && + adjusted_scheme == o.adjusted_scheme end # @see the `==` method @@ -247,7 +267,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [payment_id, amount, status, recipient_id, reference, adjusted_reference, last_status_update, schedule, refund_details, bacs, iban, initiated_refunds, wallet_id].hash + [payment_id, amount, status, recipient_id, reference, adjusted_reference, last_status_update, schedule, refund_details, bacs, iban, initiated_refunds, wallet_id, scheme, adjusted_scheme].hash end # Builds the object from hash diff --git a/lib/plaid/models/payment_initiation_payment_create_request.rb b/lib/plaid/models/payment_initiation_payment_create_request.rb index 5bcb3cc0a..4306b4495 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 65f7d1399..588b87c58 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 f6ff249fc..1d91408e8 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 b887ac9fc..16bb79589 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -50,6 +50,10 @@ class PaymentInitiationPaymentGetResponse # The EMI (E-Money Institution) wallet that this payment is associated with, if any. This wallet is used as an intermediary account to enable Plaid to reconcile the settlement of funds for Payment Initiation requests. attr_accessor :wallet_id + attr_accessor :scheme + + attr_accessor :adjusted_scheme + # 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 @@ -69,6 +73,8 @@ def self.attribute_map :'iban' => :'iban', :'initiated_refunds' => :'initiated_refunds', :'wallet_id' => :'wallet_id', + :'scheme' => :'scheme', + :'adjusted_scheme' => :'adjusted_scheme', :'request_id' => :'request_id' } end @@ -94,6 +100,8 @@ def self.openapi_types :'iban' => :'String', :'initiated_refunds' => :'Array', :'wallet_id' => :'String', + :'scheme' => :'PaymentScheme', + :'adjusted_scheme' => :'PaymentScheme', :'request_id' => :'String' } end @@ -107,6 +115,8 @@ def self.openapi_nullable :'bacs', :'iban', :'wallet_id', + :'scheme', + :'adjusted_scheme', ]) end @@ -187,6 +197,14 @@ def initialize(attributes = {}) self.wallet_id = attributes[:'wallet_id'] end + if attributes.key?(:'scheme') + self.scheme = attributes[:'scheme'] + end + + if attributes.key?(:'adjusted_scheme') + self.adjusted_scheme = attributes[:'adjusted_scheme'] + end + if attributes.key?(:'request_id') self.request_id = attributes[:'request_id'] end @@ -258,6 +276,8 @@ def ==(o) iban == o.iban && initiated_refunds == o.initiated_refunds && wallet_id == o.wallet_id && + scheme == o.scheme && + adjusted_scheme == o.adjusted_scheme && request_id == o.request_id end @@ -270,7 +290,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [payment_id, amount, status, recipient_id, reference, adjusted_reference, last_status_update, schedule, refund_details, bacs, iban, initiated_refunds, wallet_id, request_id].hash + [payment_id, amount, status, recipient_id, reference, adjusted_reference, last_status_update, schedule, refund_details, bacs, iban, initiated_refunds, wallet_id, scheme, adjusted_scheme, request_id].hash end # Builds the object from hash diff --git a/lib/plaid/models/payment_initiation_payment_list_request.rb b/lib/plaid/models/payment_initiation_payment_list_request.rb index 4f11e5a82..7fe471708 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 bf488f3ea..530491b5a 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 2b1445dfe..30145db57 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 b938b59fb..0544a610a 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 4334c70c3..32f8ed159 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 173c433ac..e8307b46d 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 4dce0ec39..4af2bd054 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 7c3a6b87d..52a345987 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 8aee303fd..d2615e2c0 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 47e8d83c7..442be8c0b 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 2131e67a7..815f30811 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 a77ff0418..8b83b10d9 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 a667b7939..bc951105e 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 e56d54192..27b79062f 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 19e2b4e82..f8dc8c9da 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 a8e829221..9e4325db2 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 6aedea489..e0b5ffaf9 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 2770aaeb9..53b7714df 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 e51051504..0ca3453e7 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 new file mode 100644 index 000000000..557dba37c --- /dev/null +++ b/lib/plaid/models/payment_scheme.rb @@ -0,0 +1,41 @@ +=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.61.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 5.1.0 + +=end + +require 'date' +require 'time' + +module Plaid + class PaymentScheme + NULL = "null".freeze + FASTER_PAYMENTS = "FASTER_PAYMENTS".freeze + SEPA_CREDIT_TRANSFER = "SEPA_CREDIT_TRANSFER".freeze + SEPA_CREDIT_TRANSFER_INSTANT = "SEPA_CREDIT_TRANSFER_INSTANT".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/payment_status_update_webhook.rb b/lib/plaid/models/payment_status_update_webhook.rb index 4061fdf8a..8170ef368 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -105,7 +105,7 @@ def self.openapi_types :'original_start_date' => :'Date', :'adjusted_start_date' => :'Date', :'timestamp' => :'Time', - :'error' => :'Error' + :'error' => :'PlaidError' } end @@ -116,7 +116,6 @@ def self.openapi_nullable :'adjusted_reference', :'original_start_date', :'adjusted_start_date', - :'error' ]) end diff --git a/lib/plaid/models/paystub.rb b/lib/plaid/models/paystub.rb index eeb49edb4..1452fa671 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 3015b5e51..a17fdb770 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 c774e2761..cdb5fd2fd 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 94f557113..7930a73df 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 1bf088ad8..e7bb26be1 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 22510ad66..2f96bc264 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 6d9bee23b..41f13b233 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 1055ee43f..bc2111311 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 3b016e968..52baf90fa 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 85020ef25..7b945a091 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 71674f9a7..cddfdc528 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 251e77c0f..c9681ea75 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 e6fdebcbb..8eb582ab0 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 cfd93c05c..bd6adf9ce 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 758523753..32ef14cc3 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 a5c3d18b4..e79a32a6f 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 new file mode 100644 index 000000000..2777085cf --- /dev/null +++ b/lib/plaid/models/plaid_error.rb @@ -0,0 +1,359 @@ +=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.61.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 5.1.0 + +=end + +require 'date' +require 'time' + +module Plaid + class PlaidError + # A broad categorization of the error. Safe for programatic use. + attr_accessor :error_type + + # The particular error code. Safe for programmatic use. + attr_accessor :error_code + + # A developer-friendly representation of the error code. This may change over time and is not safe for programmatic use. + attr_accessor :error_message + + # A user-friendly representation of the error code. `null` if the error is not related to user action. This may change over time and is not safe for programmatic use. + attr_accessor :display_message + + # A unique ID identifying the request, to be used for troubleshooting purposes. This field will be omitted in errors provided by webhooks. + attr_accessor :request_id + + # In the Assets product, a request can pertain to more than one Item. If an error is returned for such a request, `causes` will return an array of errors containing a breakdown of these errors on the individual Item level, if any can be identified. `causes` will only be provided for the `error_type` `ASSET_REPORT_ERROR`. `causes` will also not be populated inside an error nested within a `warning` object. + attr_accessor :causes + + # The HTTP status code associated with the error. This will only be returned in the response body when the error information is provided via a webhook. + attr_accessor :status + + # The URL of a Plaid documentation page with more information about the error + attr_accessor :documentation_url + + # Suggested steps for resolving the error + attr_accessor :suggested_action + + 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 + { + :'error_type' => :'error_type', + :'error_code' => :'error_code', + :'error_message' => :'error_message', + :'display_message' => :'display_message', + :'request_id' => :'request_id', + :'causes' => :'causes', + :'status' => :'status', + :'documentation_url' => :'documentation_url', + :'suggested_action' => :'suggested_action' + } + 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 + { + :'error_type' => :'String', + :'error_code' => :'String', + :'error_message' => :'String', + :'display_message' => :'String', + :'request_id' => :'String', + :'causes' => :'Array', + :'status' => :'Float', + :'documentation_url' => :'String', + :'suggested_action' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'display_message', + :'status', + ]) + end + + # List of class defined in allOf (OpenAPI v3) + def self.openapi_all_of + [ + :'Error' + ] + 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::PlaidError` 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::PlaidError`. 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?(:'error_type') + self.error_type = attributes[:'error_type'] + end + + if attributes.key?(:'error_code') + self.error_code = attributes[:'error_code'] + end + + if attributes.key?(:'error_message') + self.error_message = attributes[:'error_message'] + end + + if attributes.key?(:'display_message') + self.display_message = attributes[:'display_message'] + end + + if attributes.key?(:'request_id') + self.request_id = attributes[:'request_id'] + end + + if attributes.key?(:'causes') + if (value = attributes[:'causes']).is_a?(Array) + self.causes = value + end + end + + if attributes.key?(:'status') + self.status = attributes[:'status'] + end + + if attributes.key?(:'documentation_url') + self.documentation_url = attributes[:'documentation_url'] + end + + if attributes.key?(:'suggested_action') + self.suggested_action = attributes[:'suggested_action'] + 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 @error_type.nil? + invalid_properties.push('invalid value for "error_type", error_type cannot be nil.') + end + + if @error_code.nil? + invalid_properties.push('invalid value for "error_code", error_code cannot be nil.') + end + + if @error_message.nil? + invalid_properties.push('invalid value for "error_message", error_message 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 @error_type.nil? + error_type_validator = EnumAttributeValidator.new('String', ["INVALID_REQUEST", "INVALID_RESULT", "INVALID_INPUT", "INSTITUTION_ERROR", "RATE_LIMIT_EXCEEDED", "API_ERROR", "ITEM_ERROR", "ASSET_REPORT_ERROR", "RECAPTCHA_ERROR", "OAUTH_ERROR", "PAYMENT_ERROR", "BANK_TRANSFER_ERROR", "INCOME_VERIFICATION_ERROR"]) + return false unless error_type_validator.valid?(@error_type) + return false if @error_code.nil? + return false if @error_message.nil? + true + end + + # Custom attribute writer method checking allowed values (enum). + # @param [Object] error_type Object to be assigned + def error_type=(error_type) + validator = EnumAttributeValidator.new('String', ["INVALID_REQUEST", "INVALID_RESULT", "INVALID_INPUT", "INSTITUTION_ERROR", "RATE_LIMIT_EXCEEDED", "API_ERROR", "ITEM_ERROR", "ASSET_REPORT_ERROR", "RECAPTCHA_ERROR", "OAUTH_ERROR", "PAYMENT_ERROR", "BANK_TRANSFER_ERROR", "INCOME_VERIFICATION_ERROR"]) + unless validator.valid?(error_type) + fail ArgumentError, "invalid value for \"error_type\", must be one of #{validator.allowable_values}." + end + @error_type = error_type + 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 && + error_type == o.error_type && + error_code == o.error_code && + error_message == o.error_message && + display_message == o.display_message && + request_id == o.request_id && + causes == o.causes && + status == o.status && + documentation_url == o.documentation_url && + suggested_action == o.suggested_action + 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 + [error_type, error_code, error_message, display_message, request_id, causes, status, documentation_url, suggested_action].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/platform_ids.rb b/lib/plaid/models/platform_ids.rb index b73147148..0aaf2e7dd 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 b3491d90a..09dde46de 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 a228fff62..010d04241 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 094473e95..4474fc962 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 fc0352974..0903b6a73 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 ef36a98dc..7d117c36e 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 b15b4a10f..2432dec7d 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 c596946c8..0c1bf9e87 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 ba4fef176..5ba58a7ce 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 c036700ad..73b7fe49a 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 150f2f0bb..68f45eab9 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 ed60479c4..1d94f5640 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 65dbd1024..970740ff3 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 089d1477f..11e3e052c 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 3d9dc903f..179d031ee 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 9e52bee7a..dc9684d6d 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 3037a1f9d..88d480780 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 c88bc933f..2f54d9331 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 a4ef17fbe..35690b1c2 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 cab0a8e3c..eeca3f026 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 042ed9f0d..33f641390 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 401571608..cffde6f8d 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 66fc94172..65483378f 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 bce1181a6..85576850d 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 b9f96d273..f4e116bff 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 5c0b6e2ba..0a34c5ceb 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 ef21625ff..4c3fe5d17 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 54ec395ee..8c9550776 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 da45a934a..1e88eb45d 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 f43c46b18..70f3b4c97 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 67c876eec..8e52f4360 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 6415ddbd8..e74f41b73 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 dde3ddbc5..1a338e0fb 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -31,7 +31,7 @@ class SandboxIncomeFireWebhookRequest # The URL to which the webhook should be sent. attr_accessor :webhook - # `VERIFICATION_STATUS_PROCESSING_COMPLETE`: The income verification status processing has completed. `VERIFICATION_STATUS_DOCUMENT_REJECTED`: The documentation uploaded by the end user was recognized as a supported file format, but not recognized as a valid paystub. `VERIFICATION_STATUS_PROCESSING_FAILED`: A failure occurred when attempting to process the verification documentation. + # `VERIFICATION_STATUS_PROCESSING_COMPLETE`: The income verification status processing has completed. If the user uploaded multiple documents, this webhook will fire when all documents have finished processing. Call the `/paystubs/get` endpoint and check the document metadata to see which documents were successfully parsed. `VERIFICATION_STATUS_PROCESSING_FAILED`: A failure occurred when attempting to process the verification documentation. `VERIFICATION_STATUS_PENDING_APPROVAL`: The income verification has been sent to the user for review. attr_accessor :verification_status class EnumAttributeValidator @@ -161,7 +161,7 @@ def valid? return false if @item_id.nil? return false if @webhook.nil? return false if @verification_status.nil? - verification_status_validator = EnumAttributeValidator.new('String', ["VERIFICATION_STATUS_PROCESSING_COMPLETE", "VERIFICATION_STATUS_DOCUMENT_REJECTED", "VERIFICATION_STATUS_PROCESSING_FAILED"]) + verification_status_validator = EnumAttributeValidator.new('String', ["VERIFICATION_STATUS_PROCESSING_COMPLETE", "VERIFICATION_STATUS_PROCESSING_FAILED", "VERIFICATION_STATUS_PENDING_APPROVAL"]) return false unless verification_status_validator.valid?(@verification_status) true end @@ -169,7 +169,7 @@ def valid? # Custom attribute writer method checking allowed values (enum). # @param [Object] verification_status Object to be assigned def verification_status=(verification_status) - validator = EnumAttributeValidator.new('String', ["VERIFICATION_STATUS_PROCESSING_COMPLETE", "VERIFICATION_STATUS_DOCUMENT_REJECTED", "VERIFICATION_STATUS_PROCESSING_FAILED"]) + validator = EnumAttributeValidator.new('String', ["VERIFICATION_STATUS_PROCESSING_COMPLETE", "VERIFICATION_STATUS_PROCESSING_FAILED", "VERIFICATION_STATUS_PENDING_APPROVAL"]) unless validator.valid?(verification_status) fail ArgumentError, "invalid value for \"verification_status\", must be one of #{validator.allowable_values}." end diff --git a/lib/plaid/models/sandbox_income_fire_webhook_response.rb b/lib/plaid/models/sandbox_income_fire_webhook_response.rb index e03c72d14..ff524c9f3 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 68024fb05..34111d330 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/sandbox_item_fire_webhook_response.rb b/lib/plaid/models/sandbox_item_fire_webhook_response.rb index 500da95bd..7b7e5b624 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 066ad409a..c84d9d02e 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 640b284fb..5f8437677 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 2a34b209e..9ff0dd978 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 2837d7ab3..74f2550e4 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 b0654ac7c..850dcc095 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 9d556ed24..183455bbb 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 4374accaa..527423302 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 deda6f9b8..d4e1e93bd 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 5e62ec72e..665b473c9 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 b669367d2..92fc9dc1a 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 56f9cbe11..ef7fe830f 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 9e126ddba..8bceff087 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/sandbox_transfer_simulate_request.rb b/lib/plaid/models/sandbox_transfer_simulate_request.rb index 9d287b5b8..9e0b58ff4 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 3b5704ec0..8d877c990 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 c0ca8bf7f..54512dfcf 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -22,19 +22,11 @@ class SandboxTransferSweepSimulateRequest # 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 - # A set of `pending` or `posted` transfers which should be included in the sweep. - attr_accessor :swept - - # A set of transfers to be `reverse_swept`. Transfers must first be `reversed` using the `/sandbox/transfer/simulate` endpoint before they can be `reverse_swept` - attr_accessor :reverse_swept - # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'client_id' => :'client_id', - :'secret' => :'secret', - :'swept' => :'swept', - :'reverse_swept' => :'reverse_swept' + :'secret' => :'secret' } end @@ -47,9 +39,7 @@ def self.acceptable_attributes def self.openapi_types { :'client_id' => :'String', - :'secret' => :'String', - :'swept' => :'Array', - :'reverse_swept' => :'Array' + :'secret' => :'String' } end @@ -81,18 +71,6 @@ def initialize(attributes = {}) if attributes.key?(:'secret') self.secret = attributes[:'secret'] end - - if attributes.key?(:'swept') - if (value = attributes[:'swept']).is_a?(Array) - self.swept = value - end - end - - if attributes.key?(:'reverse_swept') - if (value = attributes[:'reverse_swept']).is_a?(Array) - self.reverse_swept = value - end - end end # Show invalid properties with the reasons. Usually used together with valid? @@ -114,9 +92,7 @@ def ==(o) return true if self.equal?(o) self.class == o.class && client_id == o.client_id && - secret == o.secret && - swept == o.swept && - reverse_swept == o.reverse_swept + secret == o.secret end # @see the `==` method @@ -128,7 +104,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [client_id, secret, swept, reverse_swept].hash + [client_id, secret].hash end # Builds the object from hash diff --git a/lib/plaid/models/sandbox_transfer_sweep_simulate_response.rb b/lib/plaid/models/sandbox_transfer_sweep_simulate_response.rb index f27d56299..627e86825 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -37,7 +37,7 @@ def self.acceptable_attributes # Attribute type mapping. def self.openapi_types { - :'sweep' => :'TransferSweep', + :'sweep' => :'SimulatedTransferSweep', :'request_id' => :'String' } end @@ -76,10 +76,6 @@ def initialize(attributes = {}) # @return Array for valid properties with the reasons def list_invalid_properties invalid_properties = Array.new - if @sweep.nil? - invalid_properties.push('invalid value for "sweep", sweep cannot be nil.') - end - if @request_id.nil? invalid_properties.push('invalid value for "request_id", request_id cannot be nil.') end @@ -90,7 +86,6 @@ def list_invalid_properties # 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 @sweep.nil? return false if @request_id.nil? true end diff --git a/lib/plaid/models/scopes.rb b/lib/plaid/models/scopes.rb index abd923bc3..227362949 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 97235e925..a11f97e90 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 fdf4ae3dc..6060bd2f9 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 a1ba4177a..bd8e28e00 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 7161a8c7b..b3338f267 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 02f5e12eb..5a8470443 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 0c44e0be0..dc91d4302 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 8df857d77..c4e73785d 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 fd316ab62..abf1cea24 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 fd9a44402..ce26cfc33 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 d596f13c5..f2a1ed96e 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 15cad3578..c05bcec0a 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 07a0b7455..660682699 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 3e2e4aea7..adb256202 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 dae230a4b..b32caeec5 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 34fea42bc..6fa73d66c 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 0d2a5b6c5..08fd19dff 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 efac3ed8a..e8e035ee6 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 9b264ec19..01621ea64 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 new file mode 100644 index 000000000..61aaff08e --- /dev/null +++ b/lib/plaid/models/simulated_transfer_sweep.rb @@ -0,0 +1,277 @@ +=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.61.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 5.1.0 + +=end + +require 'date' +require 'time' + +module Plaid + # A sweep returned from the `/sandbox/transfer/sweep/simulate` endpoint. Can be null if there are no transfers to include in a sweep. + class SimulatedTransferSweep + # Identifier of the sweep. + attr_accessor :id + + # The datetime when the sweep occurred, in RFC 3339 format. + attr_accessor :created + + # Signed decimal amount of the sweep as it appears on your sweep account ledger (e.g. \"-10.00\") If amount is not present, the sweep was net-settled to zero and outstanding debits and credits between the sweep account and Plaid are balanced. + attr_accessor :amount + + # The currency of the sweep, e.g. \"USD\". + attr_accessor :iso_currency_code + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'id' => :'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 + { + :'id' => :'String', + :'created' => :'Time', + :'amount' => :'String', + :'iso_currency_code' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # List of class defined in allOf (OpenAPI v3) + def self.openapi_all_of + [ + :'TransferSweep' + ] + 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::SimulatedTransferSweep` 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::SimulatedTransferSweep`. 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?(:'id') + self.id = attributes[:'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 @id.nil? + invalid_properties.push('invalid value for "id", 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 @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 && + id == o.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 + [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/standalone_account_type.rb b/lib/plaid/models/standalone_account_type.rb index fc78a6f59..6f51d3fa4 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/standalone_currency_code_list.rb b/lib/plaid/models/standalone_currency_code_list.rb index 32274f7ab..34e66f758 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 1f9b65f85..0f0af2206 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 1d3b9b423..a711cb251 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 f44aa9949..a88d2caa9 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 faa261c33..d887eb385 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 e281475cf..4967adb82 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 1ca06defa..3404fccbf 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 454b47659..a67debf7d 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 3fea8cc48..09df3e8b7 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 ae029719e..3e5a28eb1 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 a3ce2f355..232c54fce 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transaction_all_of.rb b/lib/plaid/models/transaction_all_of.rb index 79fbf2e1a..7eed724bd 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 622c53965..570eea333 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transaction_code.rb b/lib/plaid/models/transaction_code.rb index dd4b20b18..8f56b2bb1 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 d63ad9ecd..dcd51c5e4 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 77d21509f..cb31d3eea 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 111919c6a..c0e1c7943 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 59a8f8c1d..93c883507 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 b10d59091..d156bc819 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 0c92ecb1a..5f58472b1 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 442dea61f..1e7e008ad 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 143de28bb..82b9c3201 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 a7d8b0f14..c9fdbe645 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 f3cad7db3..edc51f074 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 f2bff0a20..8cf3654d1 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 7fb717a06..86523ff26 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -51,7 +51,7 @@ def self.openapi_types { :'webhook_type' => :'String', :'webhook_code' => :'String', - :'error' => :'Error', + :'error' => :'PlaidError', :'removed_transactions' => :'Array', :'item_id' => :'String' } @@ -60,7 +60,6 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ - :'error', ]) end diff --git a/lib/plaid/models/transactions_sync_request.rb b/lib/plaid/models/transactions_sync_request.rb index eb90bb115..2c780e701 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 f5cc062ce..72d8d1bf6 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 b8ee3dde2..26cd444fe 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -54,6 +54,9 @@ class Transfer # Plaid’s unique identifier for the origination account that was used for this transfer. attr_accessor :origination_account_id + # The currency of the transfer amount, e.g. \"USD\" + attr_accessor :iso_currency_code + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { @@ -71,7 +74,8 @@ def self.attribute_map :'cancellable' => :'cancellable', :'failure_reason' => :'failure_reason', :'metadata' => :'metadata', - :'origination_account_id' => :'origination_account_id' + :'origination_account_id' => :'origination_account_id', + :'iso_currency_code' => :'iso_currency_code' } end @@ -97,7 +101,8 @@ def self.openapi_types :'cancellable' => :'Boolean', :'failure_reason' => :'TransferFailure', :'metadata' => :'Hash', - :'origination_account_id' => :'String' + :'origination_account_id' => :'String', + :'iso_currency_code' => :'String' } end @@ -186,6 +191,10 @@ def initialize(attributes = {}) if attributes.key?(:'origination_account_id') self.origination_account_id = attributes[:'origination_account_id'] 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? @@ -241,6 +250,10 @@ def list_invalid_properties invalid_properties.push('invalid value for "origination_account_id", origination_account_id 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 @@ -260,6 +273,7 @@ def valid? return false if @cancellable.nil? return false if @metadata.length > 50 return false if @origination_account_id.nil? + return false if @iso_currency_code.nil? true end @@ -289,7 +303,8 @@ def ==(o) cancellable == o.cancellable && failure_reason == o.failure_reason && metadata == o.metadata && - origination_account_id == o.origination_account_id + origination_account_id == o.origination_account_id && + iso_currency_code == o.iso_currency_code end # @see the `==` method @@ -301,7 +316,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].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 end # Builds the object from hash diff --git a/lib/plaid/models/transfer_authorization.rb b/lib/plaid/models/transfer_authorization.rb index 750b2b7f6..66aeeaaf4 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -19,7 +19,7 @@ class TransferAuthorization # Plaid’s unique identifier for a transfer authorization. attr_accessor :id - # The datetime representing when the authorization was created, in the format \"2006-01-02T15:04:05Z\". + # The datetime representing when the authorization was created, in the format `2006-01-02T15:04:05Z`. attr_accessor :created # A decision regarding the proposed transfer. `approved` – The proposed transfer has received the end user's consent and has been approved for processing. Plaid has also reviewed the proposed transfer and has approved it for processing. `permitted` – Plaid was unable to fetch the information required to approve or decline the proposed transfer. You may proceed with the transfer, but further review is recommended. Plaid is awaiting further instructions from the client. `declined` – Plaid reviewed the proposed transfer and declined processing. Refer to the `code` field in the `decision_rationale` object for details. @@ -71,7 +71,7 @@ def self.acceptable_attributes def self.openapi_types { :'id' => :'String', - :'created' => :'String', + :'created' => :'Time', :'decision' => :'String', :'decision_rationale' => :'TransferAuthorizationDecisionRationale', :'proposed_transfer' => :'TransferAuthorizationProposedTransfer' diff --git a/lib/plaid/models/transfer_authorization_create_request.rb b/lib/plaid/models/transfer_authorization_create_request.rb index 75372850e..486af5266 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -44,6 +44,9 @@ class TransferAuthorizationCreateRequest # Plaid's unique identifier for the origination account for this authorization. If not specified, the default account will be used. attr_accessor :origination_account_id + # The currency of the transfer amount. The default value is \"USD\". + attr_accessor :iso_currency_code + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { @@ -57,7 +60,8 @@ def self.attribute_map :'ach_class' => :'ach_class', :'user' => :'user', :'device' => :'device', - :'origination_account_id' => :'origination_account_id' + :'origination_account_id' => :'origination_account_id', + :'iso_currency_code' => :'iso_currency_code' } end @@ -79,7 +83,8 @@ def self.openapi_types :'ach_class' => :'ACHClass', :'user' => :'TransferUserInRequest', :'device' => :'TransferAuthorizationDevice', - :'origination_account_id' => :'String' + :'origination_account_id' => :'String', + :'iso_currency_code' => :'String' } end @@ -147,6 +152,10 @@ def initialize(attributes = {}) if attributes.key?(:'origination_account_id') self.origination_account_id = attributes[:'origination_account_id'] 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? @@ -212,7 +221,8 @@ def ==(o) ach_class == o.ach_class && user == o.user && device == o.device && - origination_account_id == o.origination_account_id + origination_account_id == o.origination_account_id && + iso_currency_code == o.iso_currency_code end # @see the `==` method @@ -224,7 +234,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [client_id, secret, access_token, account_id, type, network, amount, ach_class, user, device, origination_account_id].hash + [client_id, secret, access_token, account_id, type, network, amount, ach_class, user, device, origination_account_id, iso_currency_code].hash end # Builds the object from hash diff --git a/lib/plaid/models/transfer_authorization_create_response.rb b/lib/plaid/models/transfer_authorization_create_response.rb index e4c2da1c6..c52f4475e 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 b6d6d8bad..6763a000e 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 8377d61de..ff1ca7364 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transfer_authorization_proposed_transfer.rb b/lib/plaid/models/transfer_authorization_proposed_transfer.rb index aaba8c568..769c9ec0b 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -34,6 +34,9 @@ class TransferAuthorizationProposedTransfer # Plaid's unique identifier for the origination account that was used for this transfer. attr_accessor :origination_account_id + # The currency of the transfer amount. The default value is \"USD\". + attr_accessor :iso_currency_code + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { @@ -43,7 +46,8 @@ def self.attribute_map :'user' => :'user', :'amount' => :'amount', :'network' => :'network', - :'origination_account_id' => :'origination_account_id' + :'origination_account_id' => :'origination_account_id', + :'iso_currency_code' => :'iso_currency_code' } end @@ -61,7 +65,8 @@ def self.openapi_types :'user' => :'TransferUserInResponse', :'amount' => :'String', :'network' => :'String', - :'origination_account_id' => :'String' + :'origination_account_id' => :'String', + :'iso_currency_code' => :'String' } end @@ -113,6 +118,10 @@ def initialize(attributes = {}) if attributes.key?(:'origination_account_id') self.origination_account_id = attributes[:'origination_account_id'] 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? @@ -147,6 +156,10 @@ def list_invalid_properties invalid_properties.push('invalid value for "origination_account_id", origination_account_id 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 @@ -160,6 +173,7 @@ def valid? return false if @amount.nil? return false if @network.nil? return false if @origination_account_id.nil? + return false if @iso_currency_code.nil? true end @@ -174,7 +188,8 @@ def ==(o) user == o.user && amount == o.amount && network == o.network && - origination_account_id == o.origination_account_id + origination_account_id == o.origination_account_id && + iso_currency_code == o.iso_currency_code end # @see the `==` method @@ -186,7 +201,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [ach_class, account_id, type, user, amount, network, origination_account_id].hash + [ach_class, account_id, type, user, amount, network, origination_account_id, iso_currency_code].hash end # Builds the object from hash diff --git a/lib/plaid/models/transfer_cancel_request.rb b/lib/plaid/models/transfer_cancel_request.rb index f19ab4fac..c1aeae9ea 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 6996cf17b..8a4c8edcd 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 c324f1dc8..489b0bae7 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -51,9 +51,12 @@ class TransferCreateRequest # The Metadata object is a mapping of client-provided string fields to any string value. The following limitations apply: - The JSON values must be Strings (no nested JSON objects allowed) - Only ASCII characters may be used - Maximum of 50 key/value pairs - Maximum key length of 40 characters - Maximum value length of 500 characters attr_accessor :metadata - # Plaid’s unique identifier for the origination account for this transfer. If you have more than one origination account, this value must be specified. + # Plaid’s unique identifier for the origination account for this transfer. If you have more than one origination account, this value must be specified. Otherwise, this field should be left blank. attr_accessor :origination_account_id + # The currency of the transfer amount. The default value is \"USD\". + attr_accessor :iso_currency_code + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { @@ -70,7 +73,8 @@ def self.attribute_map :'ach_class' => :'ach_class', :'user' => :'user', :'metadata' => :'metadata', - :'origination_account_id' => :'origination_account_id' + :'origination_account_id' => :'origination_account_id', + :'iso_currency_code' => :'iso_currency_code' } end @@ -95,7 +99,8 @@ def self.openapi_types :'ach_class' => :'ACHClass', :'user' => :'TransferUserInRequest', :'metadata' => :'Hash', - :'origination_account_id' => :'String' + :'origination_account_id' => :'String', + :'iso_currency_code' => :'String' } end @@ -103,7 +108,7 @@ def self.openapi_types def self.openapi_nullable Set.new([ :'metadata', - :'origination_account_id' + :'origination_account_id', ]) end @@ -179,6 +184,10 @@ def initialize(attributes = {}) if attributes.key?(:'origination_account_id') self.origination_account_id = attributes[:'origination_account_id'] 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? @@ -313,7 +322,8 @@ def ==(o) ach_class == o.ach_class && user == o.user && metadata == o.metadata && - origination_account_id == o.origination_account_id + origination_account_id == o.origination_account_id && + iso_currency_code == o.iso_currency_code end # @see the `==` method @@ -325,7 +335,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [client_id, secret, idempotency_key, access_token, account_id, authorization_id, type, network, amount, description, ach_class, user, metadata, origination_account_id].hash + [client_id, secret, idempotency_key, access_token, account_id, authorization_id, type, network, amount, description, ach_class, user, metadata, origination_account_id, iso_currency_code].hash end # Builds the object from hash diff --git a/lib/plaid/models/transfer_create_response.rb b/lib/plaid/models/transfer_create_response.rb index aaff09816..75fd2e60d 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 794dc2140..d370cd423 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 e71d8a61e..bbc7ba687 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 246bb806a..3a2d8d099 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 053a942a8..05ef3e2dd 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 1af82d6db..3ea321169 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 5a8645768..d6eba239a 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 a2b844d59..05ea6b9a2 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 5ab043c0c..ad72d2c03 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 75478a956..e5e0da953 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 7e58cc630..96b2542d8 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -46,6 +46,9 @@ class TransferIntentCreate # The Metadata object is a mapping of client-provided string fields to any string value. The following limitations apply: - The JSON values must be Strings (no nested JSON objects allowed) - Only ASCII characters may be used - Maximum of 50 key/value pairs - Maximum key length of 40 characters - Maximum value length of 500 characters attr_accessor :metadata + # The currency of the transfer amount, e.g. \"USD\" + attr_accessor :iso_currency_code + class EnumAttributeValidator attr_reader :datatype attr_reader :allowable_values @@ -81,7 +84,8 @@ def self.attribute_map :'ach_class' => :'ach_class', :'user' => :'user', :'description' => :'description', - :'metadata' => :'metadata' + :'metadata' => :'metadata', + :'iso_currency_code' => :'iso_currency_code' } end @@ -103,7 +107,8 @@ def self.openapi_types :'ach_class' => :'ACHClass', :'user' => :'TransferUserInResponse', :'description' => :'String', - :'metadata' => :'Hash' + :'metadata' => :'Hash', + :'iso_currency_code' => :'String' } end @@ -111,7 +116,7 @@ def self.openapi_types def self.openapi_nullable Set.new([ :'account_id', - :'metadata' + :'metadata', ]) end @@ -175,6 +180,10 @@ def initialize(attributes = {}) self.metadata = value end 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? @@ -218,6 +227,10 @@ def list_invalid_properties 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 @@ -236,6 +249,7 @@ def valid? return false if @user.nil? return false if @description.nil? return false if !@metadata.nil? && @metadata.length > 50 + return false if @iso_currency_code.nil? true end @@ -271,7 +285,8 @@ def ==(o) ach_class == o.ach_class && user == o.user && description == o.description && - metadata == o.metadata + metadata == o.metadata && + iso_currency_code == o.iso_currency_code end # @see the `==` method @@ -283,7 +298,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [id, created, status, account_id, origination_account_id, amount, mode, ach_class, user, description, metadata].hash + [id, created, status, account_id, origination_account_id, amount, mode, ach_class, user, description, metadata, iso_currency_code].hash end # Builds the object from hash diff --git a/lib/plaid/models/transfer_intent_create_mode.rb b/lib/plaid/models/transfer_intent_create_mode.rb index af8f73e4f..e28e25c06 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 431074143..7c950bf68 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -43,6 +43,9 @@ class TransferIntentCreateRequest # The Metadata object is a mapping of client-provided string fields to any string value. The following limitations apply: - The JSON values must be Strings (no nested JSON objects allowed) - Only ASCII characters may be used - Maximum of 50 key/value pairs - Maximum key length of 40 characters - Maximum value length of 500 characters attr_accessor :metadata + # The currency of the transfer amount, e.g. \"USD\" + attr_accessor :iso_currency_code + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { @@ -55,7 +58,8 @@ def self.attribute_map :'ach_class' => :'ach_class', :'origination_account_id' => :'origination_account_id', :'user' => :'user', - :'metadata' => :'metadata' + :'metadata' => :'metadata', + :'iso_currency_code' => :'iso_currency_code' } end @@ -76,7 +80,8 @@ def self.openapi_types :'ach_class' => :'ACHClass', :'origination_account_id' => :'String', :'user' => :'TransferUserInRequest', - :'metadata' => :'Hash' + :'metadata' => :'Hash', + :'iso_currency_code' => :'String' } end @@ -85,7 +90,7 @@ def self.openapi_nullable Set.new([ :'account_id', :'origination_account_id', - :'metadata' + :'metadata', ]) end @@ -145,6 +150,10 @@ def initialize(attributes = {}) self.metadata = value end 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? @@ -239,7 +248,8 @@ def ==(o) ach_class == o.ach_class && origination_account_id == o.origination_account_id && user == o.user && - metadata == o.metadata + metadata == o.metadata && + iso_currency_code == o.iso_currency_code end # @see the `==` method @@ -251,7 +261,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [client_id, secret, account_id, mode, amount, description, ach_class, origination_account_id, user, metadata].hash + [client_id, secret, account_id, mode, amount, description, ach_class, origination_account_id, user, metadata, iso_currency_code].hash end # Builds the object from hash diff --git a/lib/plaid/models/transfer_intent_create_response.rb b/lib/plaid/models/transfer_intent_create_response.rb index dede7e0de..42c55a956 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 e1ced7d3c..fda12c20d 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -56,6 +56,9 @@ class TransferIntentGet # The Metadata object is a mapping of client-provided string fields to any string value. The following limitations apply: - The JSON values must be Strings (no nested JSON objects allowed) - Only ASCII characters may be used - Maximum of 50 key/value pairs - Maximum key length of 40 characters - Maximum value length of 500 characters attr_accessor :metadata + # The currency of the transfer amount, e.g. \"USD\" + attr_accessor :iso_currency_code + class EnumAttributeValidator attr_reader :datatype attr_reader :allowable_values @@ -95,7 +98,8 @@ def self.attribute_map :'ach_class' => :'ach_class', :'user' => :'user', :'description' => :'description', - :'metadata' => :'metadata' + :'metadata' => :'metadata', + :'iso_currency_code' => :'iso_currency_code' } end @@ -121,7 +125,8 @@ def self.openapi_types :'ach_class' => :'ACHClass', :'user' => :'TransferUserInResponse', :'description' => :'String', - :'metadata' => :'Hash' + :'metadata' => :'Hash', + :'iso_currency_code' => :'String' } end @@ -133,7 +138,7 @@ def self.openapi_nullable :'authorization_decision', :'authorization_decision_rationale', :'account_id', - :'metadata' + :'metadata', ]) end @@ -213,6 +218,10 @@ def initialize(attributes = {}) self.metadata = value end 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? @@ -256,6 +265,10 @@ def list_invalid_properties 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 @@ -276,6 +289,7 @@ def valid? return false if @user.nil? return false if @description.nil? return false if !@metadata.nil? && @metadata.length > 50 + return false if @iso_currency_code.nil? true end @@ -325,7 +339,8 @@ def ==(o) ach_class == o.ach_class && user == o.user && description == o.description && - metadata == o.metadata + metadata == o.metadata && + iso_currency_code == o.iso_currency_code end # @see the `==` method @@ -337,7 +352,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [id, created, status, transfer_id, failure_reason, authorization_decision, authorization_decision_rationale, account_id, origination_account_id, amount, mode, ach_class, user, description, metadata].hash + [id, created, status, transfer_id, failure_reason, authorization_decision, authorization_decision_rationale, account_id, origination_account_id, amount, mode, ach_class, user, description, metadata, iso_currency_code].hash end # Builds the object from hash diff --git a/lib/plaid/models/transfer_intent_get_failure_reason.rb b/lib/plaid/models/transfer_intent_get_failure_reason.rb index 1cac1726a..03f45a3a8 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 180b31663..81d51beac 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 ed3d9f8dc..bfd4f1356 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 b723462f4..aabfdff12 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 de9566361..722ff3bd3 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 e12fd2c97..5d0724d4e 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 diff --git a/lib/plaid/models/transfer_status.rb b/lib/plaid/models/transfer_status.rb index 7497349aa..cc8d3913f 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 049beface..80e2a2c96 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -20,17 +20,21 @@ class TransferSweep attr_accessor :id # The datetime when the sweep occurred, in RFC 3339 format. - attr_accessor :created_at + attr_accessor :created # Signed decimal amount of the sweep as it appears on your sweep account ledger (e.g. \"-10.00\") If amount is not present, the sweep was net-settled to zero and outstanding debits and credits between the sweep account and Plaid are balanced. attr_accessor :amount + # The currency of the sweep, e.g. \"USD\". + attr_accessor :iso_currency_code + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'id' => :'id', - :'created_at' => :'created_at', - :'amount' => :'amount' + :'created' => :'created', + :'amount' => :'amount', + :'iso_currency_code' => :'iso_currency_code' } end @@ -43,8 +47,9 @@ def self.acceptable_attributes def self.openapi_types { :'id' => :'String', - :'created_at' => :'Time', - :'amount' => :'String' + :'created' => :'Time', + :'amount' => :'String', + :'iso_currency_code' => :'String' } end @@ -73,13 +78,17 @@ def initialize(attributes = {}) self.id = attributes[:'id'] end - if attributes.key?(:'created_at') - self.created_at = attributes[:'created_at'] + 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? @@ -90,8 +99,16 @@ def list_invalid_properties invalid_properties.push('invalid value for "id", id cannot be nil.') end - if @created_at.nil? - invalid_properties.push('invalid value for "created_at", created_at cannot be nil.') + 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 @@ -101,7 +118,9 @@ def list_invalid_properties # @return true if the model is valid def valid? return false if @id.nil? - return false if @created_at.nil? + return false if @created.nil? + return false if @amount.nil? + return false if @iso_currency_code.nil? true end @@ -111,8 +130,9 @@ def ==(o) return true if self.equal?(o) self.class == o.class && id == o.id && - created_at == o.created_at && - amount == o.amount + created == o.created && + amount == o.amount && + iso_currency_code == o.iso_currency_code end # @see the `==` method @@ -124,7 +144,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [id, created_at, amount].hash + [id, created, amount, iso_currency_code].hash end # Builds the object from hash diff --git a/lib/plaid/models/transfer_sweep_get_request.rb b/lib/plaid/models/transfer_sweep_get_request.rb index 2ad159147..58f94e418 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 5aa0cd7d0..cc9891ba2 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 df73d1233..125a00ecc 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -23,17 +23,14 @@ class TransferSweepListRequest attr_accessor :secret # The start datetime of sweeps to return (RFC 3339 format). - attr_accessor :start_time + attr_accessor :start_date # The end datetime of sweeps to return (RFC 3339 format). - attr_accessor :end_time + attr_accessor :end_date # The maximum number of sweeps to return. attr_accessor :count - # Plaid’s unique identifier for a transfer. - attr_accessor :transfer_id - # The number of sweeps to skip before returning results. attr_accessor :offset @@ -42,10 +39,9 @@ def self.attribute_map { :'client_id' => :'client_id', :'secret' => :'secret', - :'start_time' => :'start_time', - :'end_time' => :'end_time', + :'start_date' => :'start_date', + :'end_date' => :'end_date', :'count' => :'count', - :'transfer_id' => :'transfer_id', :'offset' => :'offset' } end @@ -60,10 +56,9 @@ def self.openapi_types { :'client_id' => :'String', :'secret' => :'String', - :'start_time' => :'Time', - :'end_time' => :'Time', + :'start_date' => :'Time', + :'end_date' => :'Time', :'count' => :'Integer', - :'transfer_id' => :'String', :'offset' => :'Integer' } end @@ -71,8 +66,8 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ - :'start_time', - :'end_time', + :'start_date', + :'end_date', :'count', ]) end @@ -100,12 +95,12 @@ def initialize(attributes = {}) self.secret = attributes[:'secret'] end - if attributes.key?(:'start_time') - self.start_time = attributes[:'start_time'] + if attributes.key?(:'start_date') + self.start_date = attributes[:'start_date'] end - if attributes.key?(:'end_time') - self.end_time = attributes[:'end_time'] + if attributes.key?(:'end_date') + self.end_date = attributes[:'end_date'] end if attributes.key?(:'count') @@ -114,10 +109,6 @@ def initialize(attributes = {}) self.count = 25 end - if attributes.key?(:'transfer_id') - self.transfer_id = attributes[:'transfer_id'] - end - if attributes.key?(:'offset') self.offset = attributes[:'offset'] else @@ -188,10 +179,9 @@ def ==(o) self.class == o.class && client_id == o.client_id && secret == o.secret && - start_time == o.start_time && - end_time == o.end_time && + start_date == o.start_date && + end_date == o.end_date && count == o.count && - transfer_id == o.transfer_id && offset == o.offset end @@ -204,7 +194,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [client_id, secret, start_time, end_time, count, transfer_id, offset].hash + [client_id, secret, start_date, end_date, count, offset].hash end # Builds the object from hash diff --git a/lib/plaid/models/transfer_sweep_list_response.rb b/lib/plaid/models/transfer_sweep_list_response.rb index 5963be220..f82b6ef69 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 80f943889..8e454f57d 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 2a3c06813..8469d27a6 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 11088efd3..c2cd192b9 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 d9d10fafc..9da728b89 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 5fb201977..4405b20e0 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 f49249edb..4fc7080c3 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 cfc4f2488..6e2383dac 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 01bc43196..b731e8c03 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -48,14 +48,13 @@ def self.openapi_types :'webhook_type' => :'String', :'webhook_code' => :'String', :'item_id' => :'String', - :'error' => :'Error' + :'error' => :'PlaidError' } end # List of attributes with nullable: true def self.openapi_nullable Set.new([ - :'error' ]) end diff --git a/lib/plaid/models/verification_attribute.rb b/lib/plaid/models/verification_attribute.rb index e1db26971..e79d918b9 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 c8623d61f..d31ea5174 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 4192bc9aa..10d979055 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 99388f82c..0efb4c83c 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 a71073d18..ab3a08369 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 2f3402ed2..f3037012a 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 08ba75f32..08c1d910b 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 948e760dc..b2cff6de9 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 7e175a39d..fc96cd5c3 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 49f662a6c..9a36294e5 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 3a7e98156..a5eebbcc6 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 b44dc28e4..17fb8bc9b 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 626af9402..9040c1acc 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 f22f1a07c..1c869ffc6 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 9f2d89559..88c6d0b3e 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 e39319bcf..3ffcfb456 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 ddfded0ba..257a242e2 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 f28e6757a..2cd346696 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 2b911d73c..95b20ccd2 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 b5930a1c3..9ed0de8df 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 e863cea06..22a7f1fbd 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 e6c71c53d..bec104b79 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -53,14 +53,13 @@ def self.openapi_types :'webhook_code' => :'String', :'item_id' => :'String', :'new_webhook_url' => :'String', - :'error' => :'Error' + :'error' => :'PlaidError' } end # List of attributes with nullable: true def self.openapi_nullable Set.new([ - :'error' ]) end diff --git a/lib/plaid/models/webhook_verification_key_get_request.rb b/lib/plaid/models/webhook_verification_key_get_request.rb index 6ed8af95f..f1d1341a1 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 367590eeb..6604e0ca3 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 4b55b5c3a..ce522e108 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 ae0ee6e23..1e9a2d6b6 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 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 c969f2a81..327e97468 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0 @@ -11,5 +11,5 @@ =end module Plaid - VERSION = '14.10.0' + VERSION = '14.11.0' end diff --git a/plaid.gemspec b/plaid.gemspec index 95b0a6ce4..23f1ea07e 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.58.1 +The version of the OpenAPI document: 2020-09-14_1.61.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.0