From 6c900a2e6668d52c63b30f6739f07e8bd178ae22 Mon Sep 17 00:00:00 2001 From: Aaroh Mankad Date: Tue, 25 Oct 2022 13:49:46 -0700 Subject: [PATCH] OpenAPI generated code at 2022-10-25T18:11:16Z (#445) --- .openapi-generator/FILES | 28 +- CHANGELOG.md | 112 +++++++ Dockerfile | 2 +- Gemfile.lock | 34 +- Makefile | 2 +- README.md | 2 +- lib/plaid.rb | 16 +- lib/plaid/api/plaid_api.rb | 298 ++++++++++++++++-- lib/plaid/api_client.rb | 8 +- 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 +- .../models/account_identity_match_score.rb | 2 +- .../account_identity_match_score_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 | 3 +- 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_match_score.rb | 2 +- lib/plaid/models/address_nullable.rb | 2 +- lib/plaid/models/address_purpose_label.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.rb | 2 +- lib/plaid/models/asset_detail.rb | 2 +- lib/plaid/models/asset_holder.rb | 2 +- lib/plaid/models/asset_holder_name.rb | 2 +- lib/plaid/models/asset_owner.rb | 2 +- lib/plaid/models/asset_owners.rb | 2 +- lib/plaid/models/asset_report.rb | 2 +- .../asset_report_audit_copy_create_request.rb | 7 +- ...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_freddie.rb | 4 +- .../asset_report_freddie_get_request.rb | 2 +- .../asset_report_freddie_get_response.rb | 25 +- lib/plaid/models/asset_report_get_request.rb | 2 +- .../asset_report_get_request_options.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 +- .../asset_report_pdf_get_request_options.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/asset_transaction.rb | 2 +- .../models/asset_transaction_category_type.rb | 2 +- .../models/asset_transaction_description.rb | 2 +- lib/plaid/models/asset_transaction_detail.rb | 2 +- lib/plaid/models/asset_transaction_type.rb | 2 +- lib/plaid/models/asset_transactions.rb | 2 +- lib/plaid/models/asset_type.rb | 2 +- lib/plaid/models/assets.rb | 2 +- lib/plaid/models/assets_error_webhook.rb | 2 +- .../models/assets_product_ready_webhook.rb | 2 +- lib/plaid/models/auth_get_numbers.rb | 2 +- lib/plaid/models/auth_get_request.rb | 2 +- lib/plaid/models/auth_get_request_options.rb | 2 +- lib/plaid/models/auth_get_response.rb | 2 +- lib/plaid/models/auth_metadata.rb | 2 +- lib/plaid/models/auth_supported_methods.rb | 2 +- .../models/automatically_verified_webhook.rb | 2 +- .../models/bank_initiated_return_risk.rb | 2 +- lib/plaid/models/bank_transfer.rb | 2 +- lib/plaid/models/bank_transfer_balance.rb | 2 +- .../bank_transfer_balance_get_request.rb | 2 +- .../bank_transfer_balance_get_response.rb | 2 +- .../models/bank_transfer_cancel_request.rb | 2 +- .../models/bank_transfer_cancel_response.rb | 2 +- .../models/bank_transfer_create_request.rb | 2 +- .../models/bank_transfer_create_response.rb | 2 +- lib/plaid/models/bank_transfer_direction.rb | 2 +- lib/plaid/models/bank_transfer_event.rb | 2 +- ..._transfer_event_list_bank_transfer_type.rb | 2 +- .../bank_transfer_event_list_direction.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 +- lib/plaid/models/bank_transfer_status.rb | 2 +- lib/plaid/models/bank_transfer_sweep.rb | 2 +- .../models/bank_transfer_sweep_get_request.rb | 2 +- .../bank_transfer_sweep_get_response.rb | 2 +- .../bank_transfer_sweep_list_request.rb | 2 +- .../bank_transfer_sweep_list_response.rb | 2 +- lib/plaid/models/bank_transfer_type.rb | 2 +- lib/plaid/models/bank_transfer_user.rb | 2 +- .../bank_transfers_events_update_webhook.rb | 2 +- lib/plaid/models/categories_get_response.rb | 2 +- lib/plaid/models/category.rb | 2 +- lib/plaid/models/cause.rb | 39 +-- lib/plaid/models/cause_all_of.rb | 2 +- .../client_provided_enhanced_transaction.rb | 2 +- .../models/client_provided_raw_transaction.rb | 2 +- lib/plaid/models/connected_application.rb | 2 +- lib/plaid/models/counterparty.rb | 2 +- lib/plaid/models/counterparty_type.rb | 2 +- lib/plaid/models/country_code.rb | 9 +- lib/plaid/models/credit1099.rb | 2 +- lib/plaid/models/credit1099_filer.rb | 2 +- lib/plaid/models/credit1099_payer.rb | 2 +- lib/plaid/models/credit1099_recipient.rb | 2 +- lib/plaid/models/credit_account_subtype.rb | 2 +- .../credit_audit_copy_token_create_request.rb | 25 +- ...credit_audit_copy_token_create_response.rb | 2 +- .../credit_audit_copy_token_remove_request.rb | 2 +- ...credit_audit_copy_token_remove_response.rb | 2 +- lib/plaid/models/credit_bank_income.rb | 2 +- .../models/credit_bank_income_account.rb | 2 +- .../models/credit_bank_income_account_type.rb | 2 +- .../models/credit_bank_income_category.rb | 2 +- lib/plaid/models/credit_bank_income_cause.rb | 2 +- .../models/credit_bank_income_error_type.rb | 2 +- .../models/credit_bank_income_get_request.rb | 2 +- .../credit_bank_income_get_request_options.rb | 2 +- .../models/credit_bank_income_get_response.rb | 2 +- .../credit_bank_income_historical_summary.rb | 2 +- lib/plaid/models/credit_bank_income_item.rb | 2 +- .../credit_bank_income_pay_frequency.rb | 2 +- .../credit_bank_income_pdf_get_request.rb | 2 +- .../credit_bank_income_refresh_request.rb | 2 +- ...dit_bank_income_refresh_request_options.rb | 2 +- .../credit_bank_income_refresh_response.rb | 2 +- lib/plaid/models/credit_bank_income_source.rb | 2 +- .../models/credit_bank_income_summary.rb | 2 +- .../models/credit_bank_income_transaction.rb | 2 +- .../models/credit_bank_income_warning.rb | 2 +- .../models/credit_bank_income_warning_code.rb | 2 +- .../models/credit_bank_income_warning_type.rb | 2 +- lib/plaid/models/credit_card_liability.rb | 2 +- lib/plaid/models/credit_category.rb | 2 +- lib/plaid/models/credit_document_metadata.rb | 4 +- .../models/credit_employer_verification.rb | 2 +- .../models/credit_employment_get_request.rb | 2 +- .../models/credit_employment_get_response.rb | 2 +- lib/plaid/models/credit_employment_item.rb | 2 +- .../models/credit_employment_verification.rb | 2 +- lib/plaid/models/credit_filter.rb | 2 +- lib/plaid/models/credit_pay_stub.rb | 2 +- lib/plaid/models/credit_pay_stub_address.rb | 2 +- .../models/credit_pay_stub_deductions.rb | 2 +- lib/plaid/models/credit_pay_stub_earnings.rb | 2 +- lib/plaid/models/credit_pay_stub_employee.rb | 2 +- lib/plaid/models/credit_pay_stub_employer.rb | 2 +- lib/plaid/models/credit_pay_stub_net_pay.rb | 2 +- .../credit_payroll_income_get_request.rb | 2 +- .../credit_payroll_income_get_response.rb | 2 +- .../credit_payroll_income_precheck_request.rb | 2 +- ...credit_payroll_income_precheck_response.rb | 2 +- .../credit_payroll_income_refresh_request.rb | 2 +- .../credit_payroll_income_refresh_response.rb | 2 +- ...payroll_income_risk_signals_get_request.rb | 2 +- ...ayroll_income_risk_signals_get_response.rb | 2 +- lib/plaid/models/credit_platform_ids.rb | 2 +- .../models/credit_relay_create_request.rb | 2 +- .../models/credit_relay_create_response.rb | 2 +- lib/plaid/models/credit_relay_get_request.rb | 2 +- .../models/credit_relay_refresh_request.rb | 2 +- .../models/credit_relay_refresh_response.rb | 2 +- .../models/credit_relay_remove_request.rb | 2 +- .../models/credit_relay_remove_response.rb | 2 +- lib/plaid/models/credit_session.rb | 28 +- .../credit_session_bank_income_result.rb | 6 +- .../credit_session_bank_income_status.rb | 3 +- .../credit_session_document_income_result.rb | 240 ++++++++++++++ .../{error.rb => credit_session_error.rb} | 131 +------- .../models/credit_session_item_add_result.rb | 27 +- .../credit_session_payroll_income_result.rb | 250 +++++++++++++++ lib/plaid/models/credit_session_results.rb | 36 ++- .../models/credit_sessions_get_request.rb | 2 +- .../models/credit_sessions_get_response.rb | 3 +- lib/plaid/models/credit_w2.rb | 2 +- .../models/customer_initiated_return_risk.rb | 2 +- lib/plaid/models/dashboard_user.rb | 2 +- .../models/dashboard_user_get_request.rb | 2 +- .../models/dashboard_user_get_response.rb | 2 +- .../models/dashboard_user_list_request.rb | 2 +- .../models/dashboard_user_list_response.rb | 2 +- lib/plaid/models/dashboard_user_status.rb | 2 +- lib/plaid/models/date_range.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 | 4 +- .../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 +- .../models/depository_account_subtype.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_analysis.rb | 2 +- .../document_authenticity_match_code.rb | 2 +- .../document_date_of_birth_match_code.rb | 2 +- lib/plaid/models/document_metadata.rb | 2 +- lib/plaid/models/document_name_match_code.rb | 2 +- lib/plaid/models/document_risk_signal.rb | 2 +- ...cument_risk_signal_institution_metadata.rb | 2 +- .../models/document_risk_signals_object.rb | 2 +- lib/plaid/models/document_status.rb | 2 +- lib/plaid/models/documentary_verification.rb | 2 +- .../documentary_verification_document.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/email_address_match_score.rb | 2 +- lib/plaid/models/employee.rb | 2 +- .../employee_income_summary_field_string.rb | 2 +- lib/plaid/models/employer.rb | 2 +- .../employer_income_summary_field_string.rb | 2 +- lib/plaid/models/employer_verification.rb | 2 +- lib/plaid/models/employers_search_request.rb | 2 +- lib/plaid/models/employers_search_response.rb | 2 +- lib/plaid/models/employment_details.rb | 2 +- lib/plaid/models/employment_verification.rb | 2 +- .../employment_verification_get_request.rb | 2 +- .../employment_verification_get_response.rb | 2 +- .../models/employment_verification_status.rb | 2 +- lib/plaid/models/enhancements.rb | 2 +- lib/plaid/models/entity_document.rb | 2 +- lib/plaid/models/entity_document_type.rb | 2 +- .../models/entity_screening_hit_analysis.rb | 2 +- lib/plaid/models/entity_screening_hit_data.rb | 2 +- .../entity_screening_hit_documents_items.rb | 2 +- .../models/entity_screening_hit_emails.rb | 2 +- .../entity_screening_hit_emails_items.rb | 2 +- .../models/entity_screening_hit_names.rb | 2 +- .../entity_screening_hit_names_items.rb | 2 +- .../entity_screening_hit_phone_numbers.rb | 2 +- lib/plaid/models/entity_screening_hit_urls.rb | 2 +- .../models/entity_screening_hit_urls_items.rb | 2 +- ...ntity_screening_hits_phone_number_items.rb | 2 +- ...entity_screening_status_updated_webhook.rb | 2 +- lib/plaid/models/entity_watchlist_code.rb | 2 +- lib/plaid/models/entity_watchlist_program.rb | 2 +- .../models/entity_watchlist_screening.rb | 2 +- .../models/entity_watchlist_screening_hit.rb | 2 +- .../entity_watchlist_screening_review.rb | 2 +- ...entity_watchlist_screening_search_terms.rb | 2 +- .../models/entity_watchlist_search_terms.rb | 2 +- lib/plaid/models/expiration_date.rb | 2 +- ...rnal_payment_initiation_consent_options.rb | 2 +- lib/plaid/models/external_payment_options.rb | 2 +- .../models/external_payment_refund_details.rb | 2 +- .../models/external_payment_schedule_base.rb | 2 +- .../models/external_payment_schedule_get.rb | 2 +- .../external_payment_schedule_request.rb | 2 +- lib/plaid/models/fdx_content_types.rb | 2 +- lib/plaid/models/fdx_hateoas_link.rb | 2 +- lib/plaid/models/fdx_hateoas_link_action.rb | 2 +- lib/plaid/models/fdx_notification.rb | 2 +- lib/plaid/models/fdx_notification_category.rb | 2 +- lib/plaid/models/fdx_notification_payload.rb | 2 +- .../fdx_notification_payload_id_type.rb | 2 +- lib/plaid/models/fdx_notification_priority.rb | 2 +- lib/plaid/models/fdx_notification_severity.rb | 2 +- lib/plaid/models/fdx_notification_type.rb | 2 +- lib/plaid/models/fdx_party.rb | 2 +- lib/plaid/models/fdx_party_registry.rb | 2 +- lib/plaid/models/fdx_party_type.rb | 2 +- lib/plaid/models/fdxfi_attribute.rb | 2 +- lib/plaid/models/form1099_type.rb | 2 +- .../generic_screening_hit_location_items.rb | 2 +- lib/plaid/models/health_incident.rb | 3 +- lib/plaid/models/historical_balance.rb | 2 +- lib/plaid/models/historical_update_webhook.rb | 4 +- lib/plaid/models/holding.rb | 6 +- .../models/holdings_default_update_webhook.rb | 2 +- lib/plaid/models/holdings_override.rb | 2 +- lib/plaid/models/id_number_type.rb | 2 +- .../models/identity_default_update_webhook.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/identity_match_request.rb | 2 +- .../models/identity_match_request_options.rb | 2 +- lib/plaid/models/identity_match_response.rb | 2 +- lib/plaid/models/identity_match_user.rb | 2 +- lib/plaid/models/identity_update_types.rb | 2 +- lib/plaid/models/identity_verification.rb | 2 +- .../identity_verification_create_request.rb | 2 +- .../identity_verification_create_response.rb | 2 +- .../identity_verification_get_request.rb | 2 +- .../identity_verification_get_response.rb | 2 +- .../identity_verification_list_request.rb | 2 +- .../identity_verification_list_response.rb | 2 +- .../identity_verification_request_user.rb | 5 +- .../identity_verification_retried_webhook.rb | 2 +- .../identity_verification_retry_request.rb | 2 +- ...verification_retry_request_steps_object.rb | 2 +- .../identity_verification_retry_response.rb | 2 +- .../models/identity_verification_status.rb | 2 +- ...ity_verification_status_updated_webhook.rb | 2 +- .../identity_verification_step_status.rb | 2 +- .../identity_verification_step_summary.rb | 2 +- ...ntity_verification_step_updated_webhook.rb | 2 +- ...dentity_verification_template_reference.rb | 2 +- .../identity_verification_user_address.rb | 2 +- .../models/identity_verification_user_data.rb | 2 +- lib/plaid/models/image_quality.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_payroll_flow_type.rb | 2 +- ...ncome_verification_paystubs_get_request.rb | 2 +- ...come_verification_paystubs_get_response.rb | 2 +- ...income_verification_precheck_confidence.rb | 2 +- .../income_verification_precheck_employer.rb | 2 +- ..._verification_precheck_employer_address.rb | 2 +- ...fication_precheck_employer_address_data.rb | 2 +- ...ome_verification_precheck_military_info.rb | 2 +- ...rification_precheck_payroll_institution.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 +- .../models/income_verification_source_type.rb | 2 +- .../income_verification_status_webhook.rb | 4 +- ...ncome_verification_taxforms_get_request.rb | 2 +- ...come_verification_taxforms_get_response.rb | 2 +- .../income_verification_webhook_status.rb | 2 +- lib/plaid/models/individual_name.rb | 2 +- .../models/individual_screening_hit_names.rb | 2 +- lib/plaid/models/individual_watchlist_code.rb | 2 +- .../models/individual_watchlist_program.rb | 2 +- lib/plaid/models/inflow_model.rb | 2 +- lib/plaid/models/initial_update_webhook.rb | 4 +- lib/plaid/models/institution.rb | 4 +- lib/plaid/models/institution_status.rb | 2 +- .../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 | 4 +- 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 | 4 +- .../models/institutions_search_response.rb | 2 +- .../models/investment_account_subtype.rb | 3 +- lib/plaid/models/investment_filter.rb | 2 +- ...investment_holdings_get_request_options.rb | 2 +- lib/plaid/models/investment_transaction.rb | 2 +- .../models/investment_transaction_subtype.rb | 3 +- .../models/investment_transaction_type.rb | 2 +- .../investments_default_update_webhook.rb | 2 +- .../investments_holdings_get_request.rb | 2 +- .../investments_holdings_get_response.rb | 2 +- .../investments_transactions_get_request.rb | 2 +- ...tments_transactions_get_request_options.rb | 2 +- .../investments_transactions_get_response.rb | 2 +- .../investments_transactions_override.rb | 2 +- lib/plaid/models/issuing_country.rb | 2 +- lib/plaid/models/item.rb | 2 +- .../item_access_token_invalidate_request.rb | 2 +- .../item_access_token_invalidate_response.rb | 2 +- .../models/item_application_list_request.rb | 2 +- .../models/item_application_list_response.rb | 2 +- .../models/item_application_list_user_auth.rb | 2 +- .../item_application_scopes_update_request.rb | 2 +- ...item_application_scopes_update_response.rb | 2 +- lib/plaid/models/item_error_webhook.rb | 2 +- lib/plaid/models/item_get_request.rb | 2 +- lib/plaid/models/item_get_response.rb | 2 +- lib/plaid/models/item_import_request.rb | 2 +- .../models/item_import_request_options.rb | 2 +- .../models/item_import_request_user_auth.rb | 2 +- lib/plaid/models/item_import_response.rb | 2 +- .../models/item_product_ready_webhook.rb | 2 +- .../item_public_token_create_request.rb | 2 +- .../item_public_token_create_response.rb | 2 +- .../item_public_token_exchange_request.rb | 2 +- .../item_public_token_exchange_response.rb | 2 +- lib/plaid/models/item_remove_request.rb | 2 +- lib/plaid/models/item_remove_response.rb | 2 +- lib/plaid/models/item_status.rb | 2 +- lib/plaid/models/item_status_investments.rb | 2 +- lib/plaid/models/item_status_last_webhook.rb | 2 +- lib/plaid/models/item_status_nullable.rb | 2 +- lib/plaid/models/item_status_transactions.rb | 2 +- .../models/item_webhook_update_request.rb | 2 +- .../models/item_webhook_update_response.rb | 2 +- lib/plaid/models/jwk_public_key.rb | 2 +- lib/plaid/models/jwt_header.rb | 2 +- lib/plaid/models/kyc_check_address_summary.rb | 2 +- .../models/kyc_check_date_of_birth_summary.rb | 2 +- lib/plaid/models/kyc_check_details.rb | 2 +- .../models/kyc_check_id_number_summary.rb | 2 +- lib/plaid/models/kyc_check_name_summary.rb | 2 +- lib/plaid/models/kyc_check_phone_summary.rb | 2 +- .../liabilities_default_update_webhook.rb | 2 +- lib/plaid/models/liabilities_get_request.rb | 2 +- .../models/liabilities_get_request_options.rb | 2 +- lib/plaid/models/liabilities_get_response.rb | 2 +- lib/plaid/models/liabilities_object.rb | 2 +- lib/plaid/models/liability_override.rb | 2 +- .../models/link_delivery_create_request.rb | 2 +- .../models/link_delivery_create_response.rb | 2 +- .../models/link_delivery_delivery_method.rb | 2 +- lib/plaid/models/link_delivery_get_request.rb | 2 +- .../models/link_delivery_get_response.rb | 2 +- .../models/link_delivery_session_status.rb | 2 +- ..._o_auth_correlation_id_exchange_request.rb | 245 ++++++++++++++ ...o_auth_correlation_id_exchange_response.rb | 240 ++++++++++++++ .../models/link_token_account_filters.rb | 2 +- .../models/link_token_create_credit_filter.rb | 2 +- .../link_token_create_depository_filter.rb | 2 +- .../link_token_create_institution_data.rb | 2 +- .../link_token_create_investment_filter.rb | 2 +- .../models/link_token_create_loan_filter.rb | 2 +- lib/plaid/models/link_token_create_request.rb | 6 +- ...k_token_create_request_account_subtypes.rb | 2 +- .../models/link_token_create_request_auth.rb | 4 +- ...ink_token_create_request_deposit_switch.rb | 2 +- ...en_create_request_identity_verification.rb | 2 +- ...oken_create_request_income_verification.rb | 2 +- ...request_income_verification_bank_income.rb | 2 +- ...uest_income_verification_payroll_income.rb | 2 +- ...token_create_request_payment_initiation.rb | 19 +- .../link_token_create_request_transfer.rb | 18 +- .../link_token_create_request_update.rb | 2 +- .../models/link_token_create_request_user.rb | 2 +- ...reate_request_user_stated_income_source.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/link_token_investments.rb | 2 +- lib/plaid/models/loan.rb | 2 +- lib/plaid/models/loan_account_subtype.rb | 2 +- lib/plaid/models/loan_filter.rb | 2 +- lib/plaid/models/loan_identifier.rb | 2 +- lib/plaid/models/loan_identifier_type.rb | 2 +- lib/plaid/models/loan_identifiers.rb | 2 +- lib/plaid/models/loans.rb | 2 +- lib/plaid/models/location.rb | 2 +- lib/plaid/models/match_summary.rb | 2 +- lib/plaid/models/match_summary_code.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 +- .../models/multi_document_risk_signal.rb | 2 +- lib/plaid/models/name_match_score.rb | 2 +- lib/plaid/models/net_pay.rb | 2 +- .../models/new_accounts_available_webhook.rb | 2 +- lib/plaid/models/numbers.rb | 2 +- lib/plaid/models/numbers_ach.rb | 2 +- lib/plaid/models/numbers_ach_nullable.rb | 2 +- lib/plaid/models/numbers_bacs.rb | 2 +- lib/plaid/models/numbers_bacs_nullable.rb | 2 +- lib/plaid/models/numbers_eft.rb | 2 +- lib/plaid/models/numbers_eft_nullable.rb | 2 +- lib/plaid/models/numbers_iban_nullable.rb | 2 +- lib/plaid/models/numbers_international.rb | 2 +- .../models/numbers_international_iban.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/ownership_type.rb | 2 +- lib/plaid/models/parties.rb | 2 +- .../models/partner_customer_create_request.rb | 4 +- .../partner_customer_create_response.rb | 2 +- .../models/partner_customer_enable_request.rb | 244 ++++++++++++++ .../partner_customer_enable_response.rb | 230 ++++++++++++++ .../models/partner_customer_get_request.rb | 2 +- .../models/partner_customer_get_response.rb | 2 +- lib/plaid/models/partner_end_customer.rb | 3 +- .../models/partner_end_customer_address.rb | 2 +- .../partner_end_customer_billing_contact.rb | 2 +- .../models/partner_end_customer_secrets.rb | 16 +- .../models/partner_end_customer_status.rb | 3 +- .../partner_end_customer_technical_contact.rb | 2 +- .../partner_end_customer_with_secrets.rb | 13 +- ...artner_end_customer_with_secrets_all_of.rb | 218 +++++++++++++ lib/plaid/models/party.rb | 2 +- lib/plaid/models/party_individual.rb | 2 +- lib/plaid/models/party_role_type.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 +- .../models/pay_stub_deductions_breakdown.rb | 2 +- lib/plaid/models/pay_stub_deductions_total.rb | 2 +- .../models/pay_stub_distribution_breakdown.rb | 2 +- .../models/pay_stub_earnings_breakdown.rb | 2 +- lib/plaid/models/pay_stub_earnings_total.rb | 2 +- .../models/pay_stub_pay_period_details.rb | 2 +- lib/plaid/models/pay_stub_taxpayer_id.rb | 2 +- lib/plaid/models/payment_amount.rb | 2 +- lib/plaid/models/payment_amount_currency.rb | 2 +- lib/plaid/models/payment_channel.rb | 2 +- .../payment_consent_max_payment_amount.rb | 2 +- .../payment_consent_periodic_alignment.rb | 2 +- .../models/payment_consent_periodic_amount.rb | 2 +- .../payment_consent_periodic_amount_amount.rb | 2 +- .../payment_consent_periodic_interval.rb | 2 +- .../models/payment_consent_valid_date_time.rb | 2 +- .../models/payment_initiation_address.rb | 2 +- .../models/payment_initiation_consent.rb | 2 +- .../payment_initiation_consent_constraints.rb | 2 +- ...yment_initiation_consent_create_request.rb | 2 +- ...ment_initiation_consent_create_response.rb | 2 +- .../payment_initiation_consent_get_request.rb | 2 +- ...payment_initiation_consent_get_response.rb | 2 +- ...tiation_consent_payment_execute_request.rb | 2 +- ...iation_consent_payment_execute_response.rb | 2 +- ...yment_initiation_consent_revoke_request.rb | 2 +- ...ment_initiation_consent_revoke_response.rb | 2 +- .../payment_initiation_consent_scope.rb | 2 +- .../payment_initiation_consent_status.rb | 2 +- .../models/payment_initiation_metadata.rb | 2 +- ...nt_initiation_optional_restriction_bacs.rb | 2 +- .../models/payment_initiation_payment.rb | 2 +- ...yment_initiation_payment_create_request.rb | 2 +- ...ment_initiation_payment_create_response.rb | 2 +- ...ayment_initiation_payment_create_status.rb | 2 +- .../payment_initiation_payment_get_request.rb | 2 +- ...payment_initiation_payment_get_response.rb | 2 +- ...payment_initiation_payment_list_request.rb | 2 +- ...ayment_initiation_payment_list_response.rb | 2 +- ...ment_initiation_payment_reverse_request.rb | 2 +- ...ent_initiation_payment_reverse_response.rb | 2 +- .../payment_initiation_payment_status.rb | 2 +- ...initiation_payment_token_create_request.rb | 2 +- ...nitiation_payment_token_create_response.rb | 2 +- .../models/payment_initiation_recipient.rb | 2 +- ...ent_initiation_recipient_create_request.rb | 2 +- ...nt_initiation_recipient_create_response.rb | 2 +- ...ayment_initiation_recipient_get_request.rb | 2 +- ...yment_initiation_recipient_get_response.rb | 2 +- ...nitiation_recipient_get_response_all_of.rb | 2 +- ...yment_initiation_recipient_list_request.rb | 2 +- ...ment_initiation_recipient_list_response.rb | 2 +- ...ment_initiation_standing_order_metadata.rb | 2 +- lib/plaid/models/payment_meta.rb | 2 +- .../models/payment_profile_create_request.rb | 2 +- .../models/payment_profile_create_response.rb | 24 +- .../models/payment_profile_get_request.rb | 24 +- .../models/payment_profile_get_response.rb | 2 +- .../models/payment_profile_remove_request.rb | 24 +- .../models/payment_profile_remove_response.rb | 2 +- lib/plaid/models/payment_profile_status.rb | 2 +- lib/plaid/models/payment_schedule_interval.rb | 2 +- lib/plaid/models/payment_scheme.rb | 2 +- .../models/payment_status_update_webhook.rb | 2 +- .../models/payroll_income_account_data.rb | 2 +- lib/plaid/models/payroll_income_object.rb | 2 +- .../models/payroll_income_rate_of_pay.rb | 2 +- lib/plaid/models/payroll_item.rb | 2 +- lib/plaid/models/payroll_item_status.rb | 2 +- lib/plaid/models/payroll_risk_signals_item.rb | 2 +- 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_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/phone_number_match_score.rb | 2 +- lib/plaid/models/phone_type.rb | 2 +- .../models/physical_document_category.rb | 2 +- .../physical_document_extracted_data.rb | 2 +- ...ysical_document_extracted_data_analysis.rb | 2 +- lib/plaid/models/physical_document_images.rb | 2 +- lib/plaid/models/plaid_error.rb | 46 +-- lib/plaid/models/plaid_error_type.rb | 51 +++ lib/plaid/models/platform_ids.rb | 2 +- lib/plaid/models/po_box_status.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 +- lib/plaid/models/program_name_sensitivity.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 +- .../recurring_transactions_update_webhook.rb | 2 +- lib/plaid/models/removed_transaction.rb | 2 +- lib/plaid/models/report_type.rb | 2 +- lib/plaid/models/reporting_information.rb | 2 +- .../models/risk_signal_document_reference.rb | 2 +- lib/plaid/models/role.rb | 2 +- lib/plaid/models/role_detail.rb | 2 +- lib/plaid/models/roles.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 | 4 +- .../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 +- ...box_payment_profile_reset_login_request.rb | 245 ++++++++++++++ ...ox_payment_profile_reset_login_response.rb | 240 ++++++++++++++ .../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 +- ...request_income_verification_bank_income.rb | 220 +++++++++++++ ...box_public_token_create_request_options.rb | 19 +- ...ate_request_options_income_verification.rb | 231 ++++++++++++++ ...ken_create_request_options_transactions.rb | 2 +- .../sandbox_public_token_create_response.rb | 2 +- .../sandbox_transfer_fire_webhook_request.rb | 2 +- .../sandbox_transfer_fire_webhook_response.rb | 2 +- ...box_transfer_repayment_simulate_request.rb | 2 +- ...ox_transfer_repayment_simulate_response.rb | 2 +- .../sandbox_transfer_simulate_request.rb | 2 +- .../sandbox_transfer_simulate_response.rb | 2 +- ...sandbox_transfer_sweep_simulate_request.rb | 2 +- ...andbox_transfer_sweep_simulate_response.rb | 2 +- lib/plaid/models/scopes.rb | 2 +- lib/plaid/models/scopes_context.rb | 2 +- lib/plaid/models/scopes_nullable.rb | 2 +- lib/plaid/models/screening_hit_analysis.rb | 2 +- lib/plaid/models/screening_hit_data.rb | 2 +- .../screening_hit_date_of_birth_item.rb | 2 +- .../models/screening_hit_documents_items.rb | 2 +- lib/plaid/models/screening_hit_names_items.rb | 2 +- .../screening_status_updated_webhook.rb | 2 +- lib/plaid/models/security.rb | 4 +- lib/plaid/models/security_override.rb | 2 +- lib/plaid/models/sender_bacs_nullable.rb | 2 +- lib/plaid/models/service.rb | 2 +- .../models/service_product_fulfillment.rb | 2 +- .../service_product_fulfillment_detail.rb | 2 +- .../service_product_fulfillment_identifier.rb | 2 +- lib/plaid/models/servicer_address_data.rb | 2 +- lib/plaid/models/services.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 +- lib/plaid/models/signal_prepare_request.rb | 2 +- lib/plaid/models/signal_prepare_response.rb | 2 +- .../models/signal_return_report_request.rb | 2 +- .../models/signal_return_report_response.rb | 2 +- lib/plaid/models/signal_scores.rb | 2 +- lib/plaid/models/signal_user.rb | 2 +- lib/plaid/models/simulated_transfer_sweep.rb | 2 +- .../models/single_document_risk_signal.rb | 2 +- lib/plaid/models/source.rb | 2 +- lib/plaid/models/standalone_account_type.rb | 2 +- .../models/standalone_currency_code_list.rb | 2 +- .../standalone_investment_transaction_type.rb | 2 +- lib/plaid/models/status.rb | 2 +- lib/plaid/models/statuses.rb | 2 +- lib/plaid/models/strategy.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 +- .../models/sync_updates_available_webhook.rb | 4 +- lib/plaid/models/taxform.rb | 2 +- lib/plaid/models/taxpayer_id.rb | 2 +- lib/plaid/models/taxpayer_identifier.rb | 2 +- lib/plaid/models/taxpayer_identifier_type.rb | 2 +- lib/plaid/models/taxpayer_identifiers.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/transaction_stream_status.rb | 2 +- .../models/transactions_category_rule.rb | 2 +- .../transactions_enhance_get_request.rb | 2 +- .../transactions_enhance_get_response.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 +- ...nsactions_recurring_get_request_options.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 | 4 +- lib/plaid/models/transactions_rule_details.rb | 2 +- lib/plaid/models/transactions_rule_field.rb | 2 +- lib/plaid/models/transactions_rule_type.rb | 2 +- .../transactions_rules_create_request.rb | 2 +- .../transactions_rules_create_response.rb | 2 +- .../models/transactions_rules_list_request.rb | 2 +- .../transactions_rules_list_response.rb | 2 +- .../transactions_rules_remove_request.rb | 2 +- .../transactions_rules_remove_response.rb | 2 +- lib/plaid/models/transactions_sync_request.rb | 2 +- .../transactions_sync_request_options.rb | 2 +- .../models/transactions_sync_response.rb | 2 +- lib/plaid/models/transfer.rb | 7 +- lib/plaid/models/transfer_authorization.rb | 2 +- .../transfer_authorization_create_request.rb | 70 ++-- .../transfer_authorization_create_response.rb | 2 +- .../models/transfer_authorization_decision.rb | 2 +- ...ansfer_authorization_decision_rationale.rb | 2 +- ...r_authorization_decision_rationale_code.rb | 5 +- .../models/transfer_authorization_device.rb | 2 +- ...ansfer_authorization_guarantee_decision.rb | 2 +- ...horization_guarantee_decision_rationale.rb | 2 +- ...ation_guarantee_decision_rationale_code.rb | 2 +- ...ransfer_authorization_proposed_transfer.rb | 7 +- .../transfer_authorization_user_in_request.rb | 2 +- lib/plaid/models/transfer_cancel_request.rb | 2 +- lib/plaid/models/transfer_cancel_response.rb | 2 +- lib/plaid/models/transfer_create_request.rb | 35 +- 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 +- .../transfer_event_list_transfer_type.rb | 2 +- .../models/transfer_event_sync_request.rb | 2 +- .../models/transfer_event_sync_response.rb | 2 +- lib/plaid/models/transfer_event_type.rb | 2 +- .../models/transfer_events_update_webhook.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 +- .../transfer_intent_authorization_decision.rb | 2 +- lib/plaid/models/transfer_intent_create.rb | 7 +- .../models/transfer_intent_create_mode.rb | 2 +- .../models/transfer_intent_create_request.rb | 7 +- .../models/transfer_intent_create_response.rb | 2 +- lib/plaid/models/transfer_intent_get.rb | 7 +- .../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_intent_status.rb | 2 +- lib/plaid/models/transfer_list_request.rb | 2 +- lib/plaid/models/transfer_list_response.rb | 2 +- .../transfer_migrate_account_request.rb | 2 +- .../transfer_migrate_account_response.rb | 2 +- lib/plaid/models/transfer_network.rb | 3 +- lib/plaid/models/transfer_repayment.rb | 2 +- .../models/transfer_repayment_list_request.rb | 2 +- .../transfer_repayment_list_response.rb | 2 +- lib/plaid/models/transfer_repayment_return.rb | 2 +- .../transfer_repayment_return_list_request.rb | 2 +- ...transfer_repayment_return_list_response.rb | 2 +- lib/plaid/models/transfer_status.rb | 2 +- lib/plaid/models/transfer_sweep.rb | 2 +- .../models/transfer_sweep_get_request.rb | 2 +- .../models/transfer_sweep_get_response.rb | 2 +- .../models/transfer_sweep_list_request.rb | 2 +- .../models/transfer_sweep_list_response.rb | 2 +- lib/plaid/models/transfer_sweep_status.rb | 2 +- lib/plaid/models/transfer_type.rb | 2 +- .../transfer_user_address_in_request.rb | 2 +- .../transfer_user_address_in_response.rb | 2 +- lib/plaid/models/transfer_user_in_request.rb | 2 +- .../transfer_user_in_request_deprecated.rb | 14 +- lib/plaid/models/transfer_user_in_response.rb | 2 +- ...e_entity_screening_request_search_terms.rb | 2 +- ...dividual_screening_request_search_terms.rb | 2 +- lib/plaid/models/user_address.rb | 2 +- lib/plaid/models/user_create_request.rb | 34 +- lib/plaid/models/user_create_response.rb | 2 +- lib/plaid/models/user_custom_password.rb | 4 +- lib/plaid/models/user_id_number.rb | 2 +- lib/plaid/models/user_name.rb | 2 +- .../models/user_permission_revoked_webhook.rb | 2 +- .../user_stated_income_source_category.rb | 2 +- .../user_stated_income_source_frequency.rb | 2 +- .../user_stated_income_source_pay_type.rb | 2 +- lib/plaid/models/validation_source.rb | 2 +- lib/plaid/models/validation_sources.rb | 2 +- .../models/verification_expired_webhook.rb | 2 +- lib/plaid/models/verification_of_asset.rb | 2 +- .../models/verification_of_asset_response.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.rb | 2 +- lib/plaid/models/wallet_balance.rb | 2 +- lib/plaid/models/wallet_create_request.rb | 2 +- lib/plaid/models/wallet_create_response.rb | 2 +- lib/plaid/models/wallet_get_request.rb | 2 +- lib/plaid/models/wallet_get_response.rb | 2 +- lib/plaid/models/wallet_iso_currency_code.rb | 2 +- lib/plaid/models/wallet_list_request.rb | 2 +- lib/plaid/models/wallet_list_response.rb | 2 +- lib/plaid/models/wallet_numbers.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 +- ..._transaction_counterparty_international.rb | 2 +- ...wallet_transaction_counterparty_numbers.rb | 2 +- .../wallet_transaction_execute_request.rb | 2 +- .../wallet_transaction_execute_response.rb | 2 +- .../models/wallet_transaction_get_request.rb | 2 +- .../models/wallet_transaction_get_response.rb | 2 +- lib/plaid/models/wallet_transaction_status.rb | 2 +- ...allet_transaction_status_update_webhook.rb | 2 +- .../wallet_transactions_list_request.rb | 2 +- .../wallet_transactions_list_response.rb | 2 +- lib/plaid/models/warning.rb | 2 +- .../models/watchlist_screening_audit_trail.rb | 2 +- .../models/watchlist_screening_document.rb | 2 +- .../watchlist_screening_document_type.rb | 2 +- ...tchlist_screening_entity_create_request.rb | 2 +- ...chlist_screening_entity_create_response.rb | 2 +- .../watchlist_screening_entity_get_request.rb | 2 +- ...watchlist_screening_entity_get_response.rb | 2 +- ...t_screening_entity_history_list_request.rb | 2 +- ..._screening_entity_history_list_response.rb | 2 +- ...hlist_screening_entity_hit_list_request.rb | 2 +- ...list_screening_entity_hit_list_response.rb | 2 +- ...watchlist_screening_entity_list_request.rb | 2 +- ...atchlist_screening_entity_list_response.rb | 2 +- ...st_screening_entity_program_get_request.rb | 2 +- ...t_screening_entity_program_get_response.rb | 2 +- ...t_screening_entity_program_list_request.rb | 2 +- ..._screening_entity_program_list_response.rb | 2 +- ..._screening_entity_review_create_request.rb | 2 +- ...screening_entity_review_create_response.rb | 2 +- ...st_screening_entity_review_list_request.rb | 2 +- ...t_screening_entity_review_list_response.rb | 2 +- ...tchlist_screening_entity_update_request.rb | 2 +- ..._entity_update_request_resettable_field.rb | 2 +- ...chlist_screening_entity_update_response.rb | 2 +- lib/plaid/models/watchlist_screening_hit.rb | 2 +- .../watchlist_screening_hit_locations.rb | 2 +- .../models/watchlist_screening_hit_status.rb | 2 +- .../models/watchlist_screening_individual.rb | 2 +- ...ist_screening_individual_create_request.rb | 2 +- ...st_screening_individual_create_response.rb | 2 +- ...chlist_screening_individual_get_request.rb | 2 +- ...hlist_screening_individual_get_response.rb | 2 +- ...reening_individual_history_list_request.rb | 2 +- ...eening_individual_history_list_response.rb | 2 +- ...t_screening_individual_hit_list_request.rb | 2 +- ..._screening_individual_hit_list_response.rb | 2 +- ...hlist_screening_individual_list_request.rb | 2 +- ...list_screening_individual_list_response.rb | 2 +- ...creening_individual_program_get_request.rb | 2 +- ...reening_individual_program_get_response.rb | 2 +- ...reening_individual_program_list_request.rb | 2 +- ...eening_individual_program_list_response.rb | 2 +- ...eening_individual_review_create_request.rb | 2 +- ...ening_individual_review_create_response.rb | 2 +- ...creening_individual_review_list_request.rb | 2 +- ...reening_individual_review_list_response.rb | 2 +- ...ist_screening_individual_update_request.rb | 2 +- ...ividual_update_request_resettable_field.rb | 2 +- ...st_screening_individual_update_response.rb | 2 +- ...atchlist_screening_request_search_terms.rb | 2 +- .../models/watchlist_screening_review.rb | 2 +- .../watchlist_screening_search_terms.rb | 2 +- .../models/watchlist_screening_status.rb | 2 +- lib/plaid/models/weak_alias_determination.rb | 2 +- .../models/webhook_environment_values.rb | 2 +- lib/plaid/models/webhook_type.rb | 2 +- .../webhook_update_acknowledged_webhook.rb | 2 +- .../webhook_verification_key_get_request.rb | 2 +- .../webhook_verification_key_get_response.rb | 2 +- .../ytd_gross_income_summary_field_number.rb | 2 +- .../ytd_net_income_summary_field_number.rb | 2 +- lib/plaid/version.rb | 4 +- plaid.gemspec | 9 +- templates/ruby/api_client.mustache | 1 + .../ruby/api_client_faraday_partial.mustache | 4 +- templates/ruby/gemspec.mustache | 5 +- test/test_api_client.rb | 2 + test/test_sandbox.rb | 31 ++ 972 files changed, 4387 insertions(+), 1436 deletions(-) create mode 100644 lib/plaid/models/credit_session_document_income_result.rb rename lib/plaid/models/{error.rb => credit_session_error.rb} (55%) create mode 100644 lib/plaid/models/credit_session_payroll_income_result.rb create mode 100644 lib/plaid/models/link_o_auth_correlation_id_exchange_request.rb create mode 100644 lib/plaid/models/link_o_auth_correlation_id_exchange_response.rb create mode 100644 lib/plaid/models/partner_customer_enable_request.rb create mode 100644 lib/plaid/models/partner_customer_enable_response.rb create mode 100644 lib/plaid/models/partner_end_customer_with_secrets_all_of.rb create mode 100644 lib/plaid/models/plaid_error_type.rb create mode 100644 lib/plaid/models/sandbox_payment_profile_reset_login_request.rb create mode 100644 lib/plaid/models/sandbox_payment_profile_reset_login_response.rb create mode 100644 lib/plaid/models/sandbox_public_token_create_request_income_verification_bank_income.rb create mode 100644 lib/plaid/models/sandbox_public_token_create_request_options_income_verification.rb create mode 100644 test/test_sandbox.rb diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 94c999a28..708200777 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -192,7 +192,10 @@ docs/CreditRelayRemoveResponse.md docs/CreditSession.md docs/CreditSessionBankIncomeResult.md docs/CreditSessionBankIncomeStatus.md +docs/CreditSessionDocumentIncomeResult.md +docs/CreditSessionError.md docs/CreditSessionItemAddResult.md +docs/CreditSessionPayrollIncomeResult.md docs/CreditSessionResults.md docs/CreditSessionsGetRequest.md docs/CreditSessionsGetResponse.md @@ -277,7 +280,6 @@ docs/EntityWatchlistScreeningHit.md docs/EntityWatchlistScreeningReview.md docs/EntityWatchlistScreeningSearchTerms.md docs/EntityWatchlistSearchTerms.md -docs/Error.md docs/ExpirationDate.md docs/ExternalPaymentInitiationConsentOptions.md docs/ExternalPaymentOptions.md @@ -450,6 +452,8 @@ docs/LinkDeliveryDeliveryMethod.md docs/LinkDeliveryGetRequest.md docs/LinkDeliveryGetResponse.md docs/LinkDeliverySessionStatus.md +docs/LinkOAuthCorrelationIdExchangeRequest.md +docs/LinkOAuthCorrelationIdExchangeResponse.md docs/LinkTokenAccountFilters.md docs/LinkTokenCreateCreditFilter.md docs/LinkTokenCreateDepositoryFilter.md @@ -515,6 +519,8 @@ docs/PSLFStatus.md docs/Parties.md docs/PartnerCustomerCreateRequest.md docs/PartnerCustomerCreateResponse.md +docs/PartnerCustomerEnableRequest.md +docs/PartnerCustomerEnableResponse.md docs/PartnerCustomerGetRequest.md docs/PartnerCustomerGetResponse.md docs/PartnerEndCustomer.md @@ -524,6 +530,7 @@ docs/PartnerEndCustomerSecrets.md docs/PartnerEndCustomerStatus.md docs/PartnerEndCustomerTechnicalContact.md docs/PartnerEndCustomerWithSecrets.md +docs/PartnerEndCustomerWithSecretsAllOf.md docs/Party.md docs/PartyIndividual.md docs/PartyRoleType.md @@ -623,6 +630,7 @@ docs/PhysicalDocumentExtractedDataAnalysis.md docs/PhysicalDocumentImages.md docs/PlaidApi.md docs/PlaidError.md +docs/PlaidErrorType.md docs/PlatformIds.md docs/ProcessorApexProcessorTokenCreateRequest.md docs/ProcessorAuthGetRequest.md @@ -670,11 +678,15 @@ docs/SandboxItemResetLoginResponse.md docs/SandboxItemSetVerificationStatusRequest.md docs/SandboxItemSetVerificationStatusResponse.md docs/SandboxOauthSelectAccountsRequest.md +docs/SandboxPaymentProfileResetLoginRequest.md +docs/SandboxPaymentProfileResetLoginResponse.md docs/SandboxProcessorTokenCreateRequest.md docs/SandboxProcessorTokenCreateRequestOptions.md docs/SandboxProcessorTokenCreateResponse.md docs/SandboxPublicTokenCreateRequest.md +docs/SandboxPublicTokenCreateRequestIncomeVerificationBankIncome.md docs/SandboxPublicTokenCreateRequestOptions.md +docs/SandboxPublicTokenCreateRequestOptionsIncomeVerification.md docs/SandboxPublicTokenCreateRequestOptionsTransactions.md docs/SandboxPublicTokenCreateResponse.md docs/SandboxTransferFireWebhookRequest.md @@ -1140,7 +1152,10 @@ lib/plaid/models/credit_relay_remove_response.rb lib/plaid/models/credit_session.rb lib/plaid/models/credit_session_bank_income_result.rb lib/plaid/models/credit_session_bank_income_status.rb +lib/plaid/models/credit_session_document_income_result.rb +lib/plaid/models/credit_session_error.rb lib/plaid/models/credit_session_item_add_result.rb +lib/plaid/models/credit_session_payroll_income_result.rb lib/plaid/models/credit_session_results.rb lib/plaid/models/credit_sessions_get_request.rb lib/plaid/models/credit_sessions_get_response.rb @@ -1225,7 +1240,6 @@ lib/plaid/models/entity_watchlist_screening_hit.rb lib/plaid/models/entity_watchlist_screening_review.rb lib/plaid/models/entity_watchlist_screening_search_terms.rb lib/plaid/models/entity_watchlist_search_terms.rb -lib/plaid/models/error.rb lib/plaid/models/expiration_date.rb lib/plaid/models/external_payment_initiation_consent_options.rb lib/plaid/models/external_payment_options.rb @@ -1398,6 +1412,8 @@ lib/plaid/models/link_delivery_delivery_method.rb lib/plaid/models/link_delivery_get_request.rb lib/plaid/models/link_delivery_get_response.rb lib/plaid/models/link_delivery_session_status.rb +lib/plaid/models/link_o_auth_correlation_id_exchange_request.rb +lib/plaid/models/link_o_auth_correlation_id_exchange_response.rb lib/plaid/models/link_token_account_filters.rb lib/plaid/models/link_token_create_credit_filter.rb lib/plaid/models/link_token_create_depository_filter.rb @@ -1461,6 +1477,8 @@ lib/plaid/models/ownership_type.rb lib/plaid/models/parties.rb lib/plaid/models/partner_customer_create_request.rb lib/plaid/models/partner_customer_create_response.rb +lib/plaid/models/partner_customer_enable_request.rb +lib/plaid/models/partner_customer_enable_response.rb lib/plaid/models/partner_customer_get_request.rb lib/plaid/models/partner_customer_get_response.rb lib/plaid/models/partner_end_customer.rb @@ -1470,6 +1488,7 @@ lib/plaid/models/partner_end_customer_secrets.rb lib/plaid/models/partner_end_customer_status.rb lib/plaid/models/partner_end_customer_technical_contact.rb lib/plaid/models/partner_end_customer_with_secrets.rb +lib/plaid/models/partner_end_customer_with_secrets_all_of.rb lib/plaid/models/party.rb lib/plaid/models/party_individual.rb lib/plaid/models/party_role_type.rb @@ -1568,6 +1587,7 @@ lib/plaid/models/physical_document_extracted_data.rb lib/plaid/models/physical_document_extracted_data_analysis.rb lib/plaid/models/physical_document_images.rb lib/plaid/models/plaid_error.rb +lib/plaid/models/plaid_error_type.rb lib/plaid/models/platform_ids.rb lib/plaid/models/po_box_status.rb lib/plaid/models/processor_apex_processor_token_create_request.rb @@ -1617,11 +1637,15 @@ lib/plaid/models/sandbox_item_reset_login_response.rb lib/plaid/models/sandbox_item_set_verification_status_request.rb lib/plaid/models/sandbox_item_set_verification_status_response.rb lib/plaid/models/sandbox_oauth_select_accounts_request.rb +lib/plaid/models/sandbox_payment_profile_reset_login_request.rb +lib/plaid/models/sandbox_payment_profile_reset_login_response.rb lib/plaid/models/sandbox_processor_token_create_request.rb lib/plaid/models/sandbox_processor_token_create_request_options.rb lib/plaid/models/sandbox_processor_token_create_response.rb lib/plaid/models/sandbox_public_token_create_request.rb +lib/plaid/models/sandbox_public_token_create_request_income_verification_bank_income.rb lib/plaid/models/sandbox_public_token_create_request_options.rb +lib/plaid/models/sandbox_public_token_create_request_options_income_verification.rb lib/plaid/models/sandbox_public_token_create_request_options_transactions.rb lib/plaid/models/sandbox_public_token_create_response.rb lib/plaid/models/sandbox_transfer_fire_webhook_request.rb diff --git a/CHANGELOG.md b/CHANGELOG.md index 858343849..6abf13f48 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,117 @@ See full changelog for the OpenAPI schema (OAS) [here](https://github.com/plaid/plaid-openapi/blob/master/CHANGELOG.md). +# 17.0.0 +- Updating to OAS 2020-09-14_1.197.3 + +## Breaking changes +- Move from Ruby 2.4.0 to Ruby 3, incorporating [#440](https://github.com/plaid/plaid-ruby/pull/440) +- Consolidate usages of `Error` into `PlaidError` +- Rename `LOGIN_REQUIRED` from transfer authorizations `decision_rationale` to `ITEM_LOGIN_REQUIRED` +- Update `IdentityVerificationRequestUser.date_of_birth` to be required to match the existing behavior of the API. + +## OpenAPI Schema Changes +### 2020-09-14_1.197.3 +- Update supported `CountryCode`'s in `link/token/create` docs. + +### 2020-09-14_1.197.2 +- ach_class optional +- add rtp network option + +### 2020-09-14_1.197.1 +- Add newly supported languages for Link + +### 2020-09-14_1.197.0 +- Add `PAYMENT_PROFILE_LOGIN_REQUIRED` to transfer authorization `decision_rationale.code`. + +### 2020-09-14_1.196.3 +- Add `institution_name` field to `payroll_income_result` of `/credit/sessions/get` + +### 2020-09-14_1.196.2 +- Add requirements for `logo` in `PartnerCustomerCreateRequest`. + +### 2020-09-14_1.196.2 +- Deprecate webhook status `VERIFICATION_STATUS_PENDING_APPROVAL` in `income_verification` apis. + +### 2020-09-14_1.196.1 +- Add a note in the description of `/transfer/authorization/create` + +### 2020-09-14_1.196.0 +- Added endpoint `/sandbox/payment_profile/reset_login` + +### 2020-09-14_1.195.0 +- Consolidate usages of `Error` into `PlaidError` +- Add a `PlaidErrorType` enum + +### 2020-09-14_1.194.2 +- Fix typo for `income_verification` in `/sandbox/public_token/create` options + +### 2020-09-14_1.194.1 +- Update field descriptions in `/partner/customer/*` responses. +- Make `PartnerEndCustomerWithSecrets` extend `PartnerEndCustomer`. +- Fix documentation links in `/partner/customer/*` endpoints. + +### 2020-09-14_1.194.0 +- Add `/partner/customer/enable` endpoint + +### 2020-09-14_1.193.0 +- Rename `LOGIN_REQUIRED` from transfer authorizations `decision_rationale` to `ITEM_LOGIN_REQUIRED` + +### 2020-09-14_1.192.3 +- Add `/fdx/notifications` endpoint. + +### 2020-09-14_1.192.2 +- Add `USER_REPORTED_NO_INCOME` to CreditSessionBankIncomeStatus + +### 2020-09-14_1.192.1 +- Update description for `payment_profile_token` field + +### 2020-09-14_1.192.0 +- Add `income_verfication` field to `/sandbox/public_token/create` + +### 2020-09-14_1.191.1 +- Add `document_income_result` field to `credit/sessions/get` + +### 2020-09-14_1.191.0 +- Remove `payment_profile_id` from `/payment_profile/*`, `/transfer/authorization/create`, and `/transfer/create` endpoints and replace with `payment_profile_token` + +### 2020-09-14_1.190.0 +- Removed auditor_id from /credit/audit_copy/token/create + +### 2020-09-14_1.189.0 +- Add length boundary for the `client_user_id` field in `user/create` + +### 2020-09-14_1.188.0 +- Add `SchemaVersion` field to Freddie Mac Verification of Assets Schema + +### 2020-09-14_1.187.0 +- Add `non-custodial wallet` to account subtypes supported for investments +- Add `trade` investment transaction subtype as a subtype of `transfer` investment transaction type + +### 2020-09-14_1.186.2 +- Add `errors` field to `credit/sessions/get` + +### 2020-09-14_1.186.1 +- Add `payroll_income_result` field to `credit/sessions/get` + +### 2020-09-14_1.186.0 + +- Update `IdentityVerificationRequestUser.date_of_birth` to be required to match the existing behavior of the API. + +### 2020-09-14_1.185.0 + +- Add support for `USER_INPUT_TIMEOUT` as a value for `force_error` in the sandbox custom user schema. + +### 2020-09-14_1.184.0 + +- Make `payment_id` not required in `/link/token/create` under the `payment_initiation` field. + +### 2020-09-14_1.183.0 + +- Add `beacon_session_id` field in req of /transfer/authorization/create endpoint. + +### 2020-09-14_1.182.0 +- Add `/link/oauth/correlation_id/exchange` endpoint. + # 16.0.0 - Updating to OAS 2020-09-14_1.181.1 diff --git a/Dockerfile b/Dockerfile index de4ce8bc5..080190a50 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ruby:2.4.0 +FROM ruby:3.0.0 # Create app directory WORKDIR /usr/src/app diff --git a/Gemfile.lock b/Gemfile.lock index 345862b28..67094c8f3 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,8 +1,9 @@ PATH remote: . specs: - plaid (14.12.1) - faraday (~> 1.0, >= 1.0.1) + plaid (16.0.0) + faraday (>= 1.0.1, < 3.0) + faraday-multipart (>= 1.0.1, < 2.0) GEM remote: https://rubygems.org/ @@ -10,33 +11,16 @@ GEM ast (2.4.1) diff-lcs (1.4.4) dotenv (2.7.6) - faraday (1.9.3) - faraday-em_http (~> 1.0) - faraday-em_synchrony (~> 1.0) - faraday-excon (~> 1.1) - faraday-httpclient (~> 1.0) - faraday-multipart (~> 1.0) - faraday-net_http (~> 1.0) - faraday-net_http_persistent (~> 1.0) - faraday-patron (~> 1.0) - faraday-rack (~> 1.0) - faraday-retry (~> 1.0) + faraday (2.6.0) + faraday-net_http (>= 2.0, < 3.1) ruby2_keywords (>= 0.0.4) - faraday-em_http (1.0.0) - faraday-em_synchrony (1.0.0) - faraday-excon (1.1.0) - faraday-httpclient (1.0.1) - faraday-multipart (1.0.3) - multipart-post (>= 1.2, < 3) - faraday-net_http (1.0.1) - faraday-net_http_persistent (1.2.0) - faraday-patron (1.0.0) - faraday-rack (1.0.0) - faraday-retry (1.0.3) + faraday-multipart (1.0.4) + multipart-post (~> 2) + faraday-net_http (3.0.1) minitest (5.14.2) minitest-around (0.5.0) minitest (~> 5.0) - multipart-post (2.1.1) + multipart-post (2.2.3) parallel (1.20.1) parser (2.7.2.0) ast (~> 2.4.1) diff --git a/Makefile b/Makefile index 79dcfa9b6..e096936fd 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # Ruby embeds the version in the generator where as others don't so it's not possible to cat for it. -RUBY_PACKAGE_VERSION=16.0.0 +RUBY_PACKAGE_VERSION=17.0.0 .PHONY: release release: diff --git a/README.md b/README.md index d98c52e2b..f5d84e350 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Or install it yourself as: $ gem install plaid -The gem supports Ruby 2.4.0+ only. +The gem supports Ruby 3.0.0+ only. ### Versioning diff --git a/lib/plaid.rb b/lib/plaid.rb index 38800048c..112972500 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -211,7 +211,10 @@ require 'plaid/models/credit_session' require 'plaid/models/credit_session_bank_income_result' require 'plaid/models/credit_session_bank_income_status' +require 'plaid/models/credit_session_document_income_result' +require 'plaid/models/credit_session_error' require 'plaid/models/credit_session_item_add_result' +require 'plaid/models/credit_session_payroll_income_result' require 'plaid/models/credit_session_results' require 'plaid/models/credit_sessions_get_request' require 'plaid/models/credit_sessions_get_response' @@ -296,7 +299,6 @@ require 'plaid/models/entity_watchlist_screening_review' require 'plaid/models/entity_watchlist_screening_search_terms' require 'plaid/models/entity_watchlist_search_terms' -require 'plaid/models/error' require 'plaid/models/expiration_date' require 'plaid/models/external_payment_initiation_consent_options' require 'plaid/models/external_payment_options' @@ -469,6 +471,8 @@ require 'plaid/models/link_delivery_get_request' require 'plaid/models/link_delivery_get_response' require 'plaid/models/link_delivery_session_status' +require 'plaid/models/link_o_auth_correlation_id_exchange_request' +require 'plaid/models/link_o_auth_correlation_id_exchange_response' require 'plaid/models/link_token_account_filters' require 'plaid/models/link_token_create_credit_filter' require 'plaid/models/link_token_create_depository_filter' @@ -534,6 +538,8 @@ require 'plaid/models/parties' require 'plaid/models/partner_customer_create_request' require 'plaid/models/partner_customer_create_response' +require 'plaid/models/partner_customer_enable_request' +require 'plaid/models/partner_customer_enable_response' require 'plaid/models/partner_customer_get_request' require 'plaid/models/partner_customer_get_response' require 'plaid/models/partner_end_customer' @@ -543,6 +549,7 @@ require 'plaid/models/partner_end_customer_status' require 'plaid/models/partner_end_customer_technical_contact' require 'plaid/models/partner_end_customer_with_secrets' +require 'plaid/models/partner_end_customer_with_secrets_all_of' require 'plaid/models/party' require 'plaid/models/party_individual' require 'plaid/models/party_role_type' @@ -641,6 +648,7 @@ require 'plaid/models/physical_document_extracted_data_analysis' require 'plaid/models/physical_document_images' require 'plaid/models/plaid_error' +require 'plaid/models/plaid_error_type' require 'plaid/models/platform_ids' require 'plaid/models/processor_apex_processor_token_create_request' require 'plaid/models/processor_auth_get_request' @@ -688,11 +696,15 @@ require 'plaid/models/sandbox_item_set_verification_status_request' require 'plaid/models/sandbox_item_set_verification_status_response' require 'plaid/models/sandbox_oauth_select_accounts_request' +require 'plaid/models/sandbox_payment_profile_reset_login_request' +require 'plaid/models/sandbox_payment_profile_reset_login_response' require 'plaid/models/sandbox_processor_token_create_request' require 'plaid/models/sandbox_processor_token_create_request_options' require 'plaid/models/sandbox_processor_token_create_response' require 'plaid/models/sandbox_public_token_create_request' +require 'plaid/models/sandbox_public_token_create_request_income_verification_bank_income' require 'plaid/models/sandbox_public_token_create_request_options' +require 'plaid/models/sandbox_public_token_create_request_options_income_verification' require 'plaid/models/sandbox_public_token_create_request_options_transactions' require 'plaid/models/sandbox_public_token_create_response' require 'plaid/models/sandbox_transfer_fire_webhook_request' diff --git a/lib/plaid/api/plaid_api.rb b/lib/plaid/api/plaid_api.rb index 7311203d1..c78146312 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -20,7 +20,7 @@ def initialize(api_client = ApiClient.default) @api_client = api_client end # Retrieve real-time balance data - # The `/accounts/balance/get` endpoint returns the real-time balance for each of an Item's accounts. While other endpoints may return a balance object, only `/accounts/balance/get` forces the available and current balance fields to be refreshed rather than cached. This endpoint can be used for existing Items that were added via any of Plaid’s other products. This endpoint can be used as long as Link has been initialized with any other product, `balance` itself is not a product that can be used to initialize Link. + # The `/accounts/balance/get` endpoint returns the real-time balance for each of an Item's accounts. While other endpoints may return a balance object, only `/accounts/balance/get` forces the available and current balance fields to be refreshed rather than cached. This endpoint can be used for existing Items that were added via any of Plaid’s other products. This endpoint can be used as long as Link has been initialized with any other product, `balance` itself is not a product that can be used to initialize Link. As this endpoint triggers a synchronous request for fresh data, latency may be higher than for other Plaid endpoints; if you encounter errors, you may find it necessary to adjust your timeout period when making requests. # @param accounts_balance_get_request [AccountsBalanceGetRequest] # @param [Hash] opts the optional parameters # @return [AccountsGetResponse] @@ -30,7 +30,7 @@ def accounts_balance_get(accounts_balance_get_request, opts = {}) end # Retrieve real-time balance data - # The `/accounts/balance/get` endpoint returns the real-time balance for each of an Item's accounts. While other endpoints may return a balance object, only `/accounts/balance/get` forces the available and current balance fields to be refreshed rather than cached. This endpoint can be used for existing Items that were added via any of Plaid’s other products. This endpoint can be used as long as Link has been initialized with any other product, `balance` itself is not a product that can be used to initialize Link. + # The `/accounts/balance/get` endpoint returns the real-time balance for each of an Item's accounts. While other endpoints may return a balance object, only `/accounts/balance/get` forces the available and current balance fields to be refreshed rather than cached. This endpoint can be used for existing Items that were added via any of Plaid’s other products. This endpoint can be used as long as Link has been initialized with any other product, `balance` itself is not a product that can be used to initialize Link. As this endpoint triggers a synchronous request for fresh data, latency may be higher than for other Plaid endpoints; if you encounter errors, you may find it necessary to adjust your timeout period when making requests. # @param accounts_balance_get_request [AccountsBalanceGetRequest] # @param [Hash] opts the optional parameters # @return [Array<(AccountsGetResponse, Integer, Hash)>] AccountsGetResponse data, response status code and response headers @@ -1710,7 +1710,7 @@ def credit_asset_report_freddie_mac_get_with_http_info(request_body, opts = {}) end # Create Asset or Income Report Audit Copy Token - # Plaid can provide an Audit Copy token of an Asset Report and/or Income Report directly to a participating third party on your behalf. For example, Plaid can supply an Audit Copy token directly to Fannie Mae on your behalf if you participate in the Day 1 Certainty™ program. An Audit Copy token contains the same underlying data as the Asset Report and/or Income Report (result of /credit/payroll_income/get). To grant access to an Audit Copy token, use the `/credit/audit_copy_token/create` endpoint to create an `audit_copy_token` and then pass that token to the third party who needs access. Each third party has its own `auditor_id`, for example `fannie_mae`. You’ll need to create a separate Audit Copy for each third party to whom you want to grant access to the Report. + # Plaid can create an Audit Copy token of an Asset Report and/or Income Report to share with participating Government Sponsored Entity (GSE). If you participate in the Day 1 Certainty™ program, Plaid can supply an Audit Copy token directly to Fannie Mae on your behalf. An Audit Copy token contains the same underlying data as the Asset Report and/or Income Report (result of /credit/payroll_income/get). Use the `/credit/audit_copy_token/create` endpoint to create an `audit_copy_token` and then pass that token to the GSE who needs access. # @param credit_audit_copy_token_create_request [CreditAuditCopyTokenCreateRequest] # @param [Hash] opts the optional parameters # @return [CreditAuditCopyTokenCreateResponse] @@ -1720,7 +1720,7 @@ def credit_audit_copy_token_create(credit_audit_copy_token_create_request, opts end # Create Asset or Income Report Audit Copy Token - # Plaid can provide an Audit Copy token of an Asset Report and/or Income Report directly to a participating third party on your behalf. For example, Plaid can supply an Audit Copy token directly to Fannie Mae on your behalf if you participate in the Day 1 Certainty™ program. An Audit Copy token contains the same underlying data as the Asset Report and/or Income Report (result of /credit/payroll_income/get). To grant access to an Audit Copy token, use the `/credit/audit_copy_token/create` endpoint to create an `audit_copy_token` and then pass that token to the third party who needs access. Each third party has its own `auditor_id`, for example `fannie_mae`. You’ll need to create a separate Audit Copy for each third party to whom you want to grant access to the Report. + # Plaid can create an Audit Copy token of an Asset Report and/or Income Report to share with participating Government Sponsored Entity (GSE). If you participate in the Day 1 Certainty™ program, Plaid can supply an Audit Copy token directly to Fannie Mae on your behalf. An Audit Copy token contains the same underlying data as the Asset Report and/or Income Report (result of /credit/payroll_income/get). Use the `/credit/audit_copy_token/create` endpoint to create an `audit_copy_token` and then pass that token to the GSE who needs access. # @param credit_audit_copy_token_create_request [CreditAuditCopyTokenCreateRequest] # @param [Hash] opts the optional parameters # @return [Array<(CreditAuditCopyTokenCreateResponse, Integer, Hash)>] CreditAuditCopyTokenCreateResponse data, response status code and response headers @@ -2554,8 +2554,8 @@ def credit_report_audit_copy_remove_with_http_info(credit_audit_copy_token_remov return data, status_code, headers end - # Retrieve Link Sessions For Your User - # This endpoint can be used for your end users after they complete the Link flow. This endpoint returns a list of Link sessions that your user completed, where each session includes the results from the Link flow. These results include details about the Item that was created and some product related metadata(for e.g. whether the user finished the bank income verification step). + # Retrieve Link sessions for your user + # This endpoint can be used for your end users after they complete the Link flow. This endpoint returns a list of Link sessions that your user completed, where each session includes the results from the Link flow. These results include details about the Item that was created and some product related metadata (showing, for example, whether the user finished the bank income verification step). # @param credit_sessions_get_request [CreditSessionsGetRequest] # @param [Hash] opts the optional parameters # @return [CreditSessionsGetResponse] @@ -2564,8 +2564,8 @@ def credit_sessions_get(credit_sessions_get_request, opts = {}) data end - # Retrieve Link Sessions For Your User - # This endpoint can be used for your end users after they complete the Link flow. This endpoint returns a list of Link sessions that your user completed, where each session includes the results from the Link flow. These results include details about the Item that was created and some product related metadata(for e.g. whether the user finished the bank income verification step). + # Retrieve Link sessions for your user + # This endpoint can be used for your end users after they complete the Link flow. This endpoint returns a list of Link sessions that your user completed, where each session includes the results from the Link flow. These results include details about the Item that was created and some product related metadata (showing, for example, whether the user finished the bank income verification step). # @param credit_sessions_get_request [CreditSessionsGetRequest] # @param [Hash] opts the optional parameters # @return [Array<(CreditSessionsGetResponse, Integer, Hash)>] CreditSessionsGetResponse data, response status code and response headers @@ -3139,6 +3139,71 @@ def employment_verification_get_with_http_info(employment_verification_get_reque return data, status_code, headers end + # Webhook receiver for fdx notifications + # A generic webhook receiver endpoint for FDX Event Notifications + # @param fdx_notification [FDXNotification] + # @param [Hash] opts the optional parameters + # @return [nil] + def fdx_notifications(fdx_notification, opts = {}) + fdx_notifications_with_http_info(fdx_notification, opts) + nil + end + + # Webhook receiver for fdx notifications + # A generic webhook receiver endpoint for FDX Event Notifications + # @param fdx_notification [FDXNotification] + # @param [Hash] opts the optional parameters + # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers + def fdx_notifications_with_http_info(fdx_notification, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: PlaidApi.fdx_notifications ...' + end + # verify the required parameter 'fdx_notification' is set + if @api_client.config.client_side_validation && fdx_notification.nil? + fail ArgumentError, "Missing the required parameter 'fdx_notification' when calling PlaidApi.fdx_notifications" + end + # resource path + local_var_path = '/fdx/notifications' + + # query parameters + query_params = opts[:query_params] || {} + + # header parameters + header_params = opts[:header_params] || {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] || @api_client.object_to_http_body(fdx_notification) + + # return_type + return_type = opts[:debug_return_type] + + # auth_names + auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] + + new_options = opts.merge( + :operation => :"PlaidApi.fdx_notifications", + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type + ) + + data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: PlaidApi#fdx_notifications\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # Retrieve identity data # The `/identity/get` endpoint allows you to retrieve various account holder information on file with the financial institution, including names, emails, phone numbers, and addresses. Only name data is guaranteed to be returned; other fields will be empty arrays if not provided by the institution. This request may take some time to complete if identity was not specified as an initial product when creating the Item. This is because Plaid must communicate directly with the institution to retrieve the data. Note: In API versions 2018-05-22 and earlier, the `owners` object is not returned, and instead identity information is returned in the top level `identity` object. For more details, see [Plaid API versioning](https://plaid.com/docs/api/versioning/#version-2019-05-29). # @param identity_get_request [IdentityGetRequest] @@ -3335,7 +3400,7 @@ def identity_verification_create_with_http_info(identity_verification_create_req end # Retrieve Identity Verification - # Retrieve a previously created identity verification + # Retrieve a previously created identity verification. # @param identity_verification_get_request [IdentityVerificationGetRequest] # @param [Hash] opts the optional parameters # @return [IdentityVerificationGetResponse] @@ -3345,7 +3410,7 @@ def identity_verification_get(identity_verification_get_request, opts = {}) end # Retrieve Identity Verification - # Retrieve a previously created identity verification + # Retrieve a previously created identity verification. # @param identity_verification_get_request [IdentityVerificationGetRequest] # @param [Hash] opts the optional parameters # @return [Array<(IdentityVerificationGetResponse, Integer, Hash)>] IdentityVerificationGetResponse data, response status code and response headers @@ -5024,6 +5089,71 @@ def link_delivery_get_with_http_info(link_delivery_get_request, opts = {}) return data, status_code, headers end + # Exchange the Link Correlation Id for a Link Token + # Exchange an OAuth `link_correlation_id` for the corresponding `link_token`. The `link_correlation_id` is only available for 'payment_initiation' products and is provided to the client via the OAuth `redirect_uri` as a query parameter. The `link_correlation_id` is ephemeral and expires in a brief period, after which it can no longer be exchanged for the 'link_token'. + # @param link_o_auth_correlation_id_exchange_request [LinkOAuthCorrelationIdExchangeRequest] + # @param [Hash] opts the optional parameters + # @return [LinkOAuthCorrelationIdExchangeResponse] + def link_oauth_correlation_id_exchange(link_o_auth_correlation_id_exchange_request, opts = {}) + data, _status_code, _headers = link_oauth_correlation_id_exchange_with_http_info(link_o_auth_correlation_id_exchange_request, opts) + data + end + + # Exchange the Link Correlation Id for a Link Token + # Exchange an OAuth `link_correlation_id` for the corresponding `link_token`. The `link_correlation_id` is only available for 'payment_initiation' products and is provided to the client via the OAuth `redirect_uri` as a query parameter. The `link_correlation_id` is ephemeral and expires in a brief period, after which it can no longer be exchanged for the 'link_token'. + # @param link_o_auth_correlation_id_exchange_request [LinkOAuthCorrelationIdExchangeRequest] + # @param [Hash] opts the optional parameters + # @return [Array<(LinkOAuthCorrelationIdExchangeResponse, Integer, Hash)>] LinkOAuthCorrelationIdExchangeResponse data, response status code and response headers + def link_oauth_correlation_id_exchange_with_http_info(link_o_auth_correlation_id_exchange_request, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: PlaidApi.link_oauth_correlation_id_exchange ...' + end + # verify the required parameter 'link_o_auth_correlation_id_exchange_request' is set + if @api_client.config.client_side_validation && link_o_auth_correlation_id_exchange_request.nil? + fail ArgumentError, "Missing the required parameter 'link_o_auth_correlation_id_exchange_request' when calling PlaidApi.link_oauth_correlation_id_exchange" + end + # resource path + local_var_path = '/link/oauth/correlation_id/exchange' + + # query parameters + query_params = opts[:query_params] || {} + + # header parameters + header_params = opts[:header_params] || {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] || @api_client.object_to_http_body(link_o_auth_correlation_id_exchange_request) + + # return_type + return_type = opts[:debug_return_type] || 'LinkOAuthCorrelationIdExchangeResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] + + new_options = opts.merge( + :operation => :"PlaidApi.link_oauth_correlation_id_exchange", + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type + ) + + data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: PlaidApi#link_oauth_correlation_id_exchange\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # Create Link Token # The `/link/token/create` endpoint creates a `link_token`, which is required as a parameter when initializing Link. Once Link has been initialized, it returns a `public_token`, which can then be exchanged for an `access_token` via `/item/public_token/exchange` as part of the main Link flow. A `link_token` generated by `/link/token/create` is also used to initialize other Link flows, such as the update mode flow for tokens with expired credentials, or the Payment Initiation (Europe) flow. # @param link_token_create_request [LinkTokenCreateRequest] @@ -5219,6 +5349,71 @@ def partner_customer_create_with_http_info(partner_customer_create_request, opts return data, status_code, headers end + # Enables a Plaid reseller's end customer in the Production environment. + # The `/partner/customer/enable` endpoint is used by reseller partners to enable an end customer in the Production environment. + # @param partner_customer_enable_request [PartnerCustomerEnableRequest] + # @param [Hash] opts the optional parameters + # @return [PartnerCustomerEnableResponse] + def partner_customer_enable(partner_customer_enable_request, opts = {}) + data, _status_code, _headers = partner_customer_enable_with_http_info(partner_customer_enable_request, opts) + data + end + + # Enables a Plaid reseller's end customer in the Production environment. + # The `/partner/customer/enable` endpoint is used by reseller partners to enable an end customer in the Production environment. + # @param partner_customer_enable_request [PartnerCustomerEnableRequest] + # @param [Hash] opts the optional parameters + # @return [Array<(PartnerCustomerEnableResponse, Integer, Hash)>] PartnerCustomerEnableResponse data, response status code and response headers + def partner_customer_enable_with_http_info(partner_customer_enable_request, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: PlaidApi.partner_customer_enable ...' + end + # verify the required parameter 'partner_customer_enable_request' is set + if @api_client.config.client_side_validation && partner_customer_enable_request.nil? + fail ArgumentError, "Missing the required parameter 'partner_customer_enable_request' when calling PlaidApi.partner_customer_enable" + end + # resource path + local_var_path = '/partner/customer/enable' + + # query parameters + query_params = opts[:query_params] || {} + + # header parameters + header_params = opts[:header_params] || {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] || @api_client.object_to_http_body(partner_customer_enable_request) + + # return_type + return_type = opts[:debug_return_type] || 'PartnerCustomerEnableResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] + + new_options = opts.merge( + :operation => :"PlaidApi.partner_customer_enable", + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type + ) + + data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: PlaidApi#partner_customer_enable\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # Returns a Plaid reseller's end customer. # The `/partner/customer/get` endpoint is used by reseller partners to retrieve data about a single end customer. # @param partner_customer_get_request [PartnerCustomerGetRequest] @@ -6000,7 +6195,7 @@ def payment_initiation_recipient_list_with_http_info(payment_initiation_recipien end # Create payment profile - # Use `/payment_profile/create` endpoint to create a new payment profile, identified by a Payment Profile ID. To initiate the account linking experience, call `/link/token/create` and provide the Payment Profile ID in the `transfer.payment_profile_id` field. You can then use the Payment Profile ID when creating transfers using `/transfer/authorization/create` and `/transfer/create`. + # Use `/payment_profile/create` endpoint to create a new payment profile. To initiate the account linking experience, call `/link/token/create` and provide the `payment_profile_token` in the `transfer.payment_profile_token` field. You can then use the `payment_profile_token` when creating transfers using `/transfer/authorization/create` and `/transfer/create`. # @param payment_profile_create_request [PaymentProfileCreateRequest] # @param [Hash] opts the optional parameters # @return [PaymentProfileCreateResponse] @@ -6010,7 +6205,7 @@ def payment_profile_create(payment_profile_create_request, opts = {}) end # Create payment profile - # Use `/payment_profile/create` endpoint to create a new payment profile, identified by a Payment Profile ID. To initiate the account linking experience, call `/link/token/create` and provide the Payment Profile ID in the `transfer.payment_profile_id` field. You can then use the Payment Profile ID when creating transfers using `/transfer/authorization/create` and `/transfer/create`. + # Use `/payment_profile/create` endpoint to create a new payment profile. To initiate the account linking experience, call `/link/token/create` and provide the `payment_profile_token` in the `transfer.payment_profile_token` field. You can then use the `payment_profile_token` when creating transfers using `/transfer/authorization/create` and `/transfer/create`. # @param payment_profile_create_request [PaymentProfileCreateRequest] # @param [Hash] opts the optional parameters # @return [Array<(PaymentProfileCreateResponse, Integer, Hash)>] PaymentProfileCreateResponse data, response status code and response headers @@ -6520,7 +6715,7 @@ def processor_identity_get_with_http_info(processor_identity_get_request, opts = end # Create Stripe bank account token - # Used to create a token suitable for sending to Stripe to enable Plaid-Stripe integrations. For a detailed guide on integrating Stripe, see [Add Stripe to your app](https://plaid.com/docs/auth/partnerships/stripe/). Note that the Stripe bank account token is a one-time use token. To store bank account information for later use, you can use a Stripe customer object and create an associated bank account from the token, or you can use a Stripe Custom account and create an associated external bank account from the token. This bank account information should work indefinitely, unless the user's bank account information changes or they revoke Plaid's permissions to access their account. Stripe bank account information cannot be modified once the bank account token has been created. If you ever need to change the bank account details used by Stripe for a specific customer, have the user go through Link again and create a new bank account token from the new `access_token`. Bank account tokens can also be revoked, using `/item/remove`.' + # Used to create a token suitable for sending to Stripe to enable Plaid-Stripe integrations. For a detailed guide on integrating Stripe, see [Add Stripe to your app](https://plaid.com/docs/auth/partnerships/stripe/). Note that the Stripe bank account token is a one-time use token. To store bank account information for later use, you can use a Stripe customer object and create an associated bank account from the token, or you can use a Stripe Custom account and create an associated external bank account from the token. This bank account information should work indefinitely, unless the user's bank account information changes or they revoke Plaid's permissions to access their account. Stripe bank account information cannot be modified once the bank account token has been created. If you ever need to change the bank account details used by Stripe for a specific customer, have the user go through Link again and create a new bank account token from the new `access_token`. Bank account tokens can also be revoked, using `/item/remove`.' # @param processor_stripe_bank_account_token_create_request [ProcessorStripeBankAccountTokenCreateRequest] # @param [Hash] opts the optional parameters # @return [ProcessorStripeBankAccountTokenCreateResponse] @@ -6530,7 +6725,7 @@ def processor_stripe_bank_account_token_create(processor_stripe_bank_account_tok end # Create Stripe bank account token - # Used to create a token suitable for sending to Stripe to enable Plaid-Stripe integrations. For a detailed guide on integrating Stripe, see [Add Stripe to your app](https://plaid.com/docs/auth/partnerships/stripe/). Note that the Stripe bank account token is a one-time use token. To store bank account information for later use, you can use a Stripe customer object and create an associated bank account from the token, or you can use a Stripe Custom account and create an associated external bank account from the token. This bank account information should work indefinitely, unless the user's bank account information changes or they revoke Plaid's permissions to access their account. Stripe bank account information cannot be modified once the bank account token has been created. If you ever need to change the bank account details used by Stripe for a specific customer, have the user go through Link again and create a new bank account token from the new `access_token`. Bank account tokens can also be revoked, using `/item/remove`.' + # Used to create a token suitable for sending to Stripe to enable Plaid-Stripe integrations. For a detailed guide on integrating Stripe, see [Add Stripe to your app](https://plaid.com/docs/auth/partnerships/stripe/). Note that the Stripe bank account token is a one-time use token. To store bank account information for later use, you can use a Stripe customer object and create an associated bank account from the token, or you can use a Stripe Custom account and create an associated external bank account from the token. This bank account information should work indefinitely, unless the user's bank account information changes or they revoke Plaid's permissions to access their account. Stripe bank account information cannot be modified once the bank account token has been created. If you ever need to change the bank account details used by Stripe for a specific customer, have the user go through Link again and create a new bank account token from the new `access_token`. Bank account tokens can also be revoked, using `/item/remove`.' # @param processor_stripe_bank_account_token_create_request [ProcessorStripeBankAccountTokenCreateRequest] # @param [Hash] opts the optional parameters # @return [Array<(ProcessorStripeBankAccountTokenCreateResponse, Integer, Hash)>] ProcessorStripeBankAccountTokenCreateResponse data, response status code and response headers @@ -7104,6 +7299,71 @@ def sandbox_oauth_select_accounts_with_http_info(sandbox_oauth_select_accounts_r return data, status_code, headers end + # Reset the login of a Payment Profile + # `/sandbox/payment_profile/reset_login/` forces a Payment Profile into a state where the login is no longer valid. This makes it easy to test update mode for Payment Profile in the Sandbox environment. After calling `/sandbox/payment_profile/reset_login`, calls to the `/transfer/authorization/create` with the Payment Profile will result in a decision_rationale `PAYMENT_PROFILE_LOGIN_REQUIRED``. You can then use update mode for Payment Profile to restore it into a good state. In order to invoke this endpoint, you must first [create a Payment Profile](https://plaid.com/docs/transfer/add-to-app/#create-a-payment-profile-optional) and [go through the Link flow](https://plaid.com/docs/transfer/add-to-app/#create-a-link-token). + # @param sandbox_payment_profile_reset_login_request [SandboxPaymentProfileResetLoginRequest] + # @param [Hash] opts the optional parameters + # @return [SandboxPaymentProfileResetLoginResponse] + def sandbox_payment_profile_reset_login(sandbox_payment_profile_reset_login_request, opts = {}) + data, _status_code, _headers = sandbox_payment_profile_reset_login_with_http_info(sandbox_payment_profile_reset_login_request, opts) + data + end + + # Reset the login of a Payment Profile + # `/sandbox/payment_profile/reset_login/` forces a Payment Profile into a state where the login is no longer valid. This makes it easy to test update mode for Payment Profile in the Sandbox environment. After calling `/sandbox/payment_profile/reset_login`, calls to the `/transfer/authorization/create` with the Payment Profile will result in a decision_rationale `PAYMENT_PROFILE_LOGIN_REQUIRED``. You can then use update mode for Payment Profile to restore it into a good state. In order to invoke this endpoint, you must first [create a Payment Profile](https://plaid.com/docs/transfer/add-to-app/#create-a-payment-profile-optional) and [go through the Link flow](https://plaid.com/docs/transfer/add-to-app/#create-a-link-token). + # @param sandbox_payment_profile_reset_login_request [SandboxPaymentProfileResetLoginRequest] + # @param [Hash] opts the optional parameters + # @return [Array<(SandboxPaymentProfileResetLoginResponse, Integer, Hash)>] SandboxPaymentProfileResetLoginResponse data, response status code and response headers + def sandbox_payment_profile_reset_login_with_http_info(sandbox_payment_profile_reset_login_request, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: PlaidApi.sandbox_payment_profile_reset_login ...' + end + # verify the required parameter 'sandbox_payment_profile_reset_login_request' is set + if @api_client.config.client_side_validation && sandbox_payment_profile_reset_login_request.nil? + fail ArgumentError, "Missing the required parameter 'sandbox_payment_profile_reset_login_request' when calling PlaidApi.sandbox_payment_profile_reset_login" + end + # resource path + local_var_path = '/sandbox/payment_profile/reset_login' + + # query parameters + query_params = opts[:query_params] || {} + + # header parameters + header_params = opts[:header_params] || {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] || @api_client.object_to_http_body(sandbox_payment_profile_reset_login_request) + + # return_type + return_type = opts[:debug_return_type] || 'SandboxPaymentProfileResetLoginResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] + + new_options = opts.merge( + :operation => :"PlaidApi.sandbox_payment_profile_reset_login", + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type + ) + + data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: PlaidApi#sandbox_payment_profile_reset_login\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # Create a test Item and processor token # Use the `/sandbox/processor_token/create` endpoint to create a valid `processor_token` for an arbitrary institution ID and test credentials. The created `processor_token` corresponds to a new Sandbox Item. You can then use this `processor_token` with the `/processor/` API endpoints in Sandbox. You can also use `/sandbox/processor_token/create` with the [`user_custom` test username](https://plaid.com/docs/sandbox/user-custom) to generate a test account with custom data. # @param sandbox_processor_token_create_request [SandboxProcessorTokenCreateRequest] @@ -7950,7 +8210,7 @@ def transactions_recurring_get_with_http_info(transactions_recurring_get_request end # Refresh transaction data - # `/transactions/refresh` is an optional endpoint for users of the Transactions product. It initiates an on-demand extraction to fetch the newest transactions for an Item. This on-demand extraction takes place in addition to the periodic extractions that automatically occur multiple times a day for any Transactions-enabled Item. If changes to transactions are discovered after calling `/transactions/refresh`, Plaid will fire a webhook: [`TRANSACTIONS_REMOVED`](https://plaid.com/docs/api/products/transactions/#transactions_removed) will be fired if any removed transactions are detected, and [`DEFAULT_UPDATE`](https://plaid.com/docs/api/products/transactions/#default_update) will be fired if any new transactions are detected. New transactions can be fetched by calling `/transactions/get`. Access to `/transactions/refresh` in Production is specific to certain pricing plans. If you cannot access `/transactions/refresh` in Production, [contact Sales](https://www.plaid.com/contact) for assistance. + # `/transactions/refresh` is an optional endpoint for users of the Transactions product. It initiates an on-demand extraction to fetch the newest transactions for an Item. This on-demand extraction takes place in addition to the periodic extractions that automatically occur multiple times a day for any Transactions-enabled Item. If changes to transactions are discovered after calling `/transactions/refresh`, Plaid will fire a webhook: for `/transactions/sync` users, [`SYNC_UDPATES_AVAILABLE`](https://plaid.com/docs/api/products/transactions/#sync_updates_available) will be fired if there are any transactions updated, added, or removed. For users of both `/transactions/sync` and `/transactions/get`, [`TRANSACTIONS_REMOVED`](https://plaid.com/docs/api/products/transactions/#transactions_removed) will be fired if any removed transactions are detected, and [`DEFAULT_UPDATE`](https://plaid.com/docs/api/products/transactions/#default_update) will be fired if any new transactions are detected. New transactions can be fetched by calling `/transactions/get` or `/transactions/sync`. Access to `/transactions/refresh` in Production is specific to certain pricing plans. If you cannot access `/transactions/refresh` in Production, [contact Sales](https://www.plaid.com/contact) for assistance. # @param transactions_refresh_request [TransactionsRefreshRequest] # @param [Hash] opts the optional parameters # @return [TransactionsRefreshResponse] @@ -7960,7 +8220,7 @@ def transactions_refresh(transactions_refresh_request, opts = {}) end # Refresh transaction data - # `/transactions/refresh` is an optional endpoint for users of the Transactions product. It initiates an on-demand extraction to fetch the newest transactions for an Item. This on-demand extraction takes place in addition to the periodic extractions that automatically occur multiple times a day for any Transactions-enabled Item. If changes to transactions are discovered after calling `/transactions/refresh`, Plaid will fire a webhook: [`TRANSACTIONS_REMOVED`](https://plaid.com/docs/api/products/transactions/#transactions_removed) will be fired if any removed transactions are detected, and [`DEFAULT_UPDATE`](https://plaid.com/docs/api/products/transactions/#default_update) will be fired if any new transactions are detected. New transactions can be fetched by calling `/transactions/get`. Access to `/transactions/refresh` in Production is specific to certain pricing plans. If you cannot access `/transactions/refresh` in Production, [contact Sales](https://www.plaid.com/contact) for assistance. + # `/transactions/refresh` is an optional endpoint for users of the Transactions product. It initiates an on-demand extraction to fetch the newest transactions for an Item. This on-demand extraction takes place in addition to the periodic extractions that automatically occur multiple times a day for any Transactions-enabled Item. If changes to transactions are discovered after calling `/transactions/refresh`, Plaid will fire a webhook: for `/transactions/sync` users, [`SYNC_UDPATES_AVAILABLE`](https://plaid.com/docs/api/products/transactions/#sync_updates_available) will be fired if there are any transactions updated, added, or removed. For users of both `/transactions/sync` and `/transactions/get`, [`TRANSACTIONS_REMOVED`](https://plaid.com/docs/api/products/transactions/#transactions_removed) will be fired if any removed transactions are detected, and [`DEFAULT_UPDATE`](https://plaid.com/docs/api/products/transactions/#default_update) will be fired if any new transactions are detected. New transactions can be fetched by calling `/transactions/get` or `/transactions/sync`. Access to `/transactions/refresh` in Production is specific to certain pricing plans. If you cannot access `/transactions/refresh` in Production, [contact Sales](https://www.plaid.com/contact) for assistance. # @param transactions_refresh_request [TransactionsRefreshRequest] # @param [Hash] opts the optional parameters # @return [Array<(TransactionsRefreshResponse, Integer, Hash)>] TransactionsRefreshResponse data, response status code and response headers @@ -8275,7 +8535,7 @@ def transactions_sync_with_http_info(transactions_sync_request, opts = {}) end # Create a transfer authorization - # Use the `/transfer/authorization/create` endpoint to determine transfer failure risk. In Plaid's Sandbox environment the decisions will be returned as follows: - To approve a transfer with null rationale code, make an authorization request with an `amount` less than the available balance in the account. - To approve a transfer with the rationale code `MANUALLY_VERIFIED_ITEM`, create an Item in Link through the [Same Day Micro-deposits flow](https://plaid.com/docs/auth/coverage/testing/#testing-same-day-micro-deposits). - To approve a transfer with the rationale code `LOGIN_REQUIRED`, [reset the login for an Item](https://plaid.com/docs/sandbox/#item_login_required). - To decline a transfer with the rationale code `NSF`, the available balance on the account must be less than the authorization `amount`. See [Create Sandbox test data](https://plaid.com/docs/sandbox/user-custom/) for details on how to customize data in Sandbox. - To decline a transfer with the rationale code `RISK`, the available balance on the account must be exactly $0. See [Create Sandbox test data](https://plaid.com/docs/sandbox/user-custom/) for details on how to customize data in Sandbox. For [Guarantee](https://www.plaid.com/docs//transfer/guarantee/), the following fields are required : `idempotency_key`, `user.phone_number` (optional if `email_address` provided), `user.email_address` (optional if `phone_number` provided), `device.ip_address`, `device.user_agent`, and `user_present`. + # Use the `/transfer/authorization/create` endpoint to determine transfer failure risk. In Plaid's Sandbox environment the decisions will be returned as follows: - To approve a transfer with null rationale code, make an authorization request with an `amount` less than the available balance in the account. - To approve a transfer with the rationale code `MANUALLY_VERIFIED_ITEM`, create an Item in Link through the [Same Day Micro-deposits flow](https://plaid.com/docs/auth/coverage/testing/#testing-same-day-micro-deposits). - To approve a transfer with the rationale code `ITEM_LOGIN_REQUIRED`, [reset the login for an Item](https://plaid.com/docs/sandbox/#item_login_required). - To decline a transfer with the rationale code `NSF`, the available balance on the account must be less than the authorization `amount`. See [Create Sandbox test data](https://plaid.com/docs/sandbox/user-custom/) for details on how to customize data in Sandbox. - To decline a transfer with the rationale code `RISK`, the available balance on the account must be exactly $0. See [Create Sandbox test data](https://plaid.com/docs/sandbox/user-custom/) for details on how to customize data in Sandbox. `device.ip_address`, `device.user_agent` are required fields. For [Guarantee](https://www.plaid.com/docs//transfer/guarantee/), the following fields are required : `idempotency_key`, `user.phone_number` (optional if `email_address` provided), `user.email_address` (optional if `phone_number` provided), `device.ip_address`, `device.user_agent`, and `user_present`. # @param transfer_authorization_create_request [TransferAuthorizationCreateRequest] # @param [Hash] opts the optional parameters # @return [TransferAuthorizationCreateResponse] @@ -8285,7 +8545,7 @@ def transfer_authorization_create(transfer_authorization_create_request, opts = end # Create a transfer authorization - # Use the `/transfer/authorization/create` endpoint to determine transfer failure risk. In Plaid's Sandbox environment the decisions will be returned as follows: - To approve a transfer with null rationale code, make an authorization request with an `amount` less than the available balance in the account. - To approve a transfer with the rationale code `MANUALLY_VERIFIED_ITEM`, create an Item in Link through the [Same Day Micro-deposits flow](https://plaid.com/docs/auth/coverage/testing/#testing-same-day-micro-deposits). - To approve a transfer with the rationale code `LOGIN_REQUIRED`, [reset the login for an Item](https://plaid.com/docs/sandbox/#item_login_required). - To decline a transfer with the rationale code `NSF`, the available balance on the account must be less than the authorization `amount`. See [Create Sandbox test data](https://plaid.com/docs/sandbox/user-custom/) for details on how to customize data in Sandbox. - To decline a transfer with the rationale code `RISK`, the available balance on the account must be exactly $0. See [Create Sandbox test data](https://plaid.com/docs/sandbox/user-custom/) for details on how to customize data in Sandbox. For [Guarantee](https://www.plaid.com/docs//transfer/guarantee/), the following fields are required : `idempotency_key`, `user.phone_number` (optional if `email_address` provided), `user.email_address` (optional if `phone_number` provided), `device.ip_address`, `device.user_agent`, and `user_present`. + # Use the `/transfer/authorization/create` endpoint to determine transfer failure risk. In Plaid's Sandbox environment the decisions will be returned as follows: - To approve a transfer with null rationale code, make an authorization request with an `amount` less than the available balance in the account. - To approve a transfer with the rationale code `MANUALLY_VERIFIED_ITEM`, create an Item in Link through the [Same Day Micro-deposits flow](https://plaid.com/docs/auth/coverage/testing/#testing-same-day-micro-deposits). - To approve a transfer with the rationale code `ITEM_LOGIN_REQUIRED`, [reset the login for an Item](https://plaid.com/docs/sandbox/#item_login_required). - To decline a transfer with the rationale code `NSF`, the available balance on the account must be less than the authorization `amount`. See [Create Sandbox test data](https://plaid.com/docs/sandbox/user-custom/) for details on how to customize data in Sandbox. - To decline a transfer with the rationale code `RISK`, the available balance on the account must be exactly $0. See [Create Sandbox test data](https://plaid.com/docs/sandbox/user-custom/) for details on how to customize data in Sandbox. `device.ip_address`, `device.user_agent` are required fields. For [Guarantee](https://www.plaid.com/docs//transfer/guarantee/), the following fields are required : `idempotency_key`, `user.phone_number` (optional if `email_address` provided), `user.email_address` (optional if `phone_number` provided), `device.ip_address`, `device.user_agent`, and `user_present`. # @param transfer_authorization_create_request [TransferAuthorizationCreateRequest] # @param [Hash] opts the optional parameters # @return [Array<(TransferAuthorizationCreateResponse, Integer, Hash)>] TransferAuthorizationCreateResponse data, response status code and response headers diff --git a/lib/plaid/api_client.rb b/lib/plaid/api_client.rb index 0a4405b16..46b69933b 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -15,6 +15,7 @@ require 'logger' require 'tempfile' require 'faraday' +require 'faraday/multipart' module Plaid class ApiClient @@ -33,7 +34,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 v16.0.0" + @user_agent = "Plaid Ruby v17.0.0" @default_headers = { 'Content-Type' => 'application/json', 'User-Agent' => @user_agent, @@ -154,7 +155,7 @@ def build_request_body(header_params, form_params, body) case value when ::File, ::Tempfile # TODO hardcode to application/octet-stream, need better way to detect content type - data[key] = Faraday::UploadIO.new(value.path, 'application/octet-stream', value.path) + data[key] = Faraday::Multipart::Post::UploadIO.new(value.path, 'application/octet-stream', value.path) when ::Array, nil # let Faraday handle Array and nil parameters data[key] = value @@ -169,6 +170,7 @@ def build_request_body(header_params, form_params, body) end data end + # Check if the given MIME is a JSON MIME. # JSON MIME examples: # application/json diff --git a/lib/plaid/api_error.rb b/lib/plaid/api_error.rb index 34525b190..99c92d0d0 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/configuration.rb b/lib/plaid/configuration.rb index 002e6b5b0..3292554eb 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/account_access.rb b/lib/plaid/models/account_access.rb index 233ee8a26..ecd6b068b 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/account_assets.rb b/lib/plaid/models/account_assets.rb index c3a429fc7..1248f3ae1 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/account_assets_all_of.rb b/lib/plaid/models/account_assets_all_of.rb index 05f6d938c..49d703456 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/account_balance.rb b/lib/plaid/models/account_balance.rb index 8547b0526..85e73f7a1 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/account_base.rb b/lib/plaid/models/account_base.rb index 209d2a4a4..a1f525204 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/account_filter.rb b/lib/plaid/models/account_filter.rb index 0b59d6182..28d9957f3 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/account_filters_response.rb b/lib/plaid/models/account_filters_response.rb index 51486e8d7..1d5088643 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/account_identity.rb b/lib/plaid/models/account_identity.rb index 546dfae94..1622ca621 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/account_identity_all_of.rb b/lib/plaid/models/account_identity_all_of.rb index 2dd8d5a9b..32beb957f 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/account_identity_match_score.rb b/lib/plaid/models/account_identity_match_score.rb index e85a293f7..df12ed651 100644 --- a/lib/plaid/models/account_identity_match_score.rb +++ b/lib/plaid/models/account_identity_match_score.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/account_identity_match_score_all_of.rb b/lib/plaid/models/account_identity_match_score_all_of.rb index eda65bd88..1649b55e5 100644 --- a/lib/plaid/models/account_identity_match_score_all_of.rb +++ b/lib/plaid/models/account_identity_match_score_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/account_product_access.rb b/lib/plaid/models/account_product_access.rb index 1f06eae8a..fe81e77fe 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/account_product_access_nullable.rb b/lib/plaid/models/account_product_access_nullable.rb index 5aa3f2c6e..05d454f4b 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/account_selection_cardinality.rb b/lib/plaid/models/account_selection_cardinality.rb index 594e02e18..c282e1cc2 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/account_subtype.rb b/lib/plaid/models/account_subtype.rb index 9eb84775c..c8a8a7f14 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -36,6 +36,7 @@ class AccountSubtype LIRA = "lira".freeze LRIF = "lrif".freeze LRSP = "lrsp".freeze + NON_CUSTODIAL_WALLET = "non-custodial wallet".freeze NON_TAXABLE_BROKERAGE_ACCOUNT = "non-taxable brokerage account".freeze OTHER = "other".freeze OTHER_INSURANCE = "other insurance".freeze diff --git a/lib/plaid/models/account_type.rb b/lib/plaid/models/account_type.rb index 500e2b7bd..cb46da45f 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/accounts_balance_get_request.rb b/lib/plaid/models/accounts_balance_get_request.rb index e5c50533a..cd364dd45 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/accounts_balance_get_request_options.rb b/lib/plaid/models/accounts_balance_get_request_options.rb index aef5ce416..6f5445ad3 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/accounts_get_request.rb b/lib/plaid/models/accounts_get_request.rb index 791616bc6..3b292cdd4 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/accounts_get_request_options.rb b/lib/plaid/models/accounts_get_request_options.rb index 4bcc4f44e..9153ac031 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/accounts_get_response.rb b/lib/plaid/models/accounts_get_response.rb index ef57b1070..34507ef2b 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/ach_class.rb b/lib/plaid/models/ach_class.rb index e0511fb80..54e235fd6 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/address.rb b/lib/plaid/models/address.rb index 3d0558ec0..86f39f0ce 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/address_data.rb b/lib/plaid/models/address_data.rb index 157d225ef..7ea5e052f 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/address_data_nullable.rb b/lib/plaid/models/address_data_nullable.rb index 0727d438f..709140e92 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/address_match_score.rb b/lib/plaid/models/address_match_score.rb index 3f052b5e3..2b0a75bf6 100644 --- a/lib/plaid/models/address_match_score.rb +++ b/lib/plaid/models/address_match_score.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/address_nullable.rb b/lib/plaid/models/address_nullable.rb index c28ffca3e..a873bd4a0 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/address_purpose_label.rb b/lib/plaid/models/address_purpose_label.rb index f1e339669..a006372bb 100644 --- a/lib/plaid/models/address_purpose_label.rb +++ b/lib/plaid/models/address_purpose_label.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/application.rb b/lib/plaid/models/application.rb index d5902e3ab..069df8c17 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/application_get_request.rb b/lib/plaid/models/application_get_request.rb index 297189025..76be00d81 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/application_get_response.rb b/lib/plaid/models/application_get_response.rb index 6c6afcee7..e36d682d0 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/apr.rb b/lib/plaid/models/apr.rb index f8595809d..75c41605a 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset.rb b/lib/plaid/models/asset.rb index d95e104bf..f107eea96 100644 --- a/lib/plaid/models/asset.rb +++ b/lib/plaid/models/asset.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_detail.rb b/lib/plaid/models/asset_detail.rb index 17a3ae82f..2758d0bb1 100644 --- a/lib/plaid/models/asset_detail.rb +++ b/lib/plaid/models/asset_detail.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_holder.rb b/lib/plaid/models/asset_holder.rb index 05af7c6b5..bdea70299 100644 --- a/lib/plaid/models/asset_holder.rb +++ b/lib/plaid/models/asset_holder.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_holder_name.rb b/lib/plaid/models/asset_holder_name.rb index 85f3265b8..53a8f2cbf 100644 --- a/lib/plaid/models/asset_holder_name.rb +++ b/lib/plaid/models/asset_holder_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_owner.rb b/lib/plaid/models/asset_owner.rb index 4351d080d..331860626 100644 --- a/lib/plaid/models/asset_owner.rb +++ b/lib/plaid/models/asset_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_owners.rb b/lib/plaid/models/asset_owners.rb index 831d4490f..462730813 100644 --- a/lib/plaid/models/asset_owners.rb +++ b/lib/plaid/models/asset_owners.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_report.rb b/lib/plaid/models/asset_report.rb index 6a8df3255..73aa7587d 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 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 ebb59c9a4..53605bf6a 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -99,10 +99,6 @@ def list_invalid_properties invalid_properties.push('invalid value for "asset_report_token", asset_report_token cannot be nil.') end - if @auditor_id.nil? - invalid_properties.push('invalid value for "auditor_id", auditor_id cannot be nil.') - end - invalid_properties end @@ -110,7 +106,6 @@ def list_invalid_properties # @return true if the model is valid def valid? return false if @asset_report_token.nil? - return false if @auditor_id.nil? true end 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 a4cd77405..b8f5b4390 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 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 b1d95f21a..163397404 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 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 840c93e45..48964e2a3 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 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 90497e3fe..51e7ff07c 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_report_create_request.rb b/lib/plaid/models/asset_report_create_request.rb index a3a7c3385..9332a3315 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_report_create_request_options.rb b/lib/plaid/models/asset_report_create_request_options.rb index 76a3ad6b0..eeddffc1d 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_report_create_response.rb b/lib/plaid/models/asset_report_create_response.rb index cf79009fc..c509ed81b 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_report_filter_request.rb b/lib/plaid/models/asset_report_filter_request.rb index e889a3ab8..918516040 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_report_filter_response.rb b/lib/plaid/models/asset_report_filter_response.rb index 592c1ed26..8535f5b35 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_report_freddie.rb b/lib/plaid/models/asset_report_freddie.rb index bef92bb06..ba2f0345e 100644 --- a/lib/plaid/models/asset_report_freddie.rb +++ b/lib/plaid/models/asset_report_freddie.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -14,7 +14,7 @@ require 'time' module Plaid - # An object representing an Asset Report with Freddie Mac schema + # An object representing an Asset Report with Freddie Mac schema. class AssetReportFreddie attr_accessor :loans diff --git a/lib/plaid/models/asset_report_freddie_get_request.rb b/lib/plaid/models/asset_report_freddie_get_request.rb index ba074f28d..87c712398 100644 --- a/lib/plaid/models/asset_report_freddie_get_request.rb +++ b/lib/plaid/models/asset_report_freddie_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_report_freddie_get_response.rb b/lib/plaid/models/asset_report_freddie_get_response.rb index da1e57ad9..d74e83871 100644 --- a/lib/plaid/models/asset_report_freddie_get_response.rb +++ b/lib/plaid/models/asset_report_freddie_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -21,11 +21,15 @@ class AssetReportFreddieGetResponse # 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 + # The Verification Of Assets (aka VOA or Freddie Mac Schema) schema version. + attr_accessor :schema_version + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'deal' => :'DEAL', - :'request_id' => :'request_id' + :'request_id' => :'request_id', + :'schema_version' => :'SchemaVersion' } end @@ -38,7 +42,8 @@ def self.acceptable_attributes def self.openapi_types { :'deal' => :'AssetReportFreddie', - :'request_id' => :'String' + :'request_id' => :'String', + :'schema_version' => :'Float' } end @@ -70,6 +75,10 @@ def initialize(attributes = {}) if attributes.key?(:'request_id') self.request_id = attributes[:'request_id'] end + + if attributes.key?(:'schema_version') + self.schema_version = attributes[:'schema_version'] + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -84,6 +93,10 @@ def list_invalid_properties invalid_properties.push('invalid value for "request_id", request_id cannot be nil.') end + if @schema_version.nil? + invalid_properties.push('invalid value for "schema_version", schema_version cannot be nil.') + end + invalid_properties end @@ -92,6 +105,7 @@ def list_invalid_properties def valid? return false if @deal.nil? return false if @request_id.nil? + return false if @schema_version.nil? true end @@ -101,7 +115,8 @@ def ==(o) return true if self.equal?(o) self.class == o.class && deal == o.deal && - request_id == o.request_id + request_id == o.request_id && + schema_version == o.schema_version end # @see the `==` method @@ -113,7 +128,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [deal, request_id].hash + [deal, request_id, schema_version].hash end # Builds the object from hash diff --git a/lib/plaid/models/asset_report_get_request.rb b/lib/plaid/models/asset_report_get_request.rb index 7a258473b..6fc0c42ab 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_report_get_request_options.rb b/lib/plaid/models/asset_report_get_request_options.rb index 2fe6041fc..27912a4e7 100644 --- a/lib/plaid/models/asset_report_get_request_options.rb +++ b/lib/plaid/models/asset_report_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_report_get_response.rb b/lib/plaid/models/asset_report_get_response.rb index f5bfd91de..a64a1c48d 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_report_item.rb b/lib/plaid/models/asset_report_item.rb index 22e68b104..bbe5f3965 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_report_pdf_get_request.rb b/lib/plaid/models/asset_report_pdf_get_request.rb index 6f20dfda8..1e4a34a2c 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_report_pdf_get_request_options.rb b/lib/plaid/models/asset_report_pdf_get_request_options.rb index 655c894f1..180fd0f0a 100644 --- a/lib/plaid/models/asset_report_pdf_get_request_options.rb +++ b/lib/plaid/models/asset_report_pdf_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_report_refresh_request.rb b/lib/plaid/models/asset_report_refresh_request.rb index 8ff35b1ec..71436f01f 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_report_refresh_request_options.rb b/lib/plaid/models/asset_report_refresh_request_options.rb index f91b69392..3bc9c8a81 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_report_refresh_response.rb b/lib/plaid/models/asset_report_refresh_response.rb index 1b0b8b91c..1e14bed13 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_report_remove_request.rb b/lib/plaid/models/asset_report_remove_request.rb index 5133bdae2..b7f9d2679 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_report_remove_response.rb b/lib/plaid/models/asset_report_remove_response.rb index e69e5a2bb..fafceb019 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_report_transaction.rb b/lib/plaid/models/asset_report_transaction.rb index 1b8b4182b..c12e400ad 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_report_transaction_all_of.rb b/lib/plaid/models/asset_report_transaction_all_of.rb index 857a4f29f..1fb70a372 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_report_user.rb b/lib/plaid/models/asset_report_user.rb index 43f7acfda..a4544639c 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_transaction.rb b/lib/plaid/models/asset_transaction.rb index b8404b416..6c866aeab 100644 --- a/lib/plaid/models/asset_transaction.rb +++ b/lib/plaid/models/asset_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_transaction_category_type.rb b/lib/plaid/models/asset_transaction_category_type.rb index 1a3c6f077..8a36e9714 100644 --- a/lib/plaid/models/asset_transaction_category_type.rb +++ b/lib/plaid/models/asset_transaction_category_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_transaction_description.rb b/lib/plaid/models/asset_transaction_description.rb index e91e31457..b513a0983 100644 --- a/lib/plaid/models/asset_transaction_description.rb +++ b/lib/plaid/models/asset_transaction_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_transaction_detail.rb b/lib/plaid/models/asset_transaction_detail.rb index 595b47c65..d97b0ca23 100644 --- a/lib/plaid/models/asset_transaction_detail.rb +++ b/lib/plaid/models/asset_transaction_detail.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_transaction_type.rb b/lib/plaid/models/asset_transaction_type.rb index 27515217c..e396e37e7 100644 --- a/lib/plaid/models/asset_transaction_type.rb +++ b/lib/plaid/models/asset_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_transactions.rb b/lib/plaid/models/asset_transactions.rb index 8710d7e03..f34d253c3 100644 --- a/lib/plaid/models/asset_transactions.rb +++ b/lib/plaid/models/asset_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_type.rb b/lib/plaid/models/asset_type.rb index 5aa0aec97..442ed66bf 100644 --- a/lib/plaid/models/asset_type.rb +++ b/lib/plaid/models/asset_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/assets.rb b/lib/plaid/models/assets.rb index 3c58f86b4..c3c83b846 100644 --- a/lib/plaid/models/assets.rb +++ b/lib/plaid/models/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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/assets_error_webhook.rb b/lib/plaid/models/assets_error_webhook.rb index 7cedc8901..83edffc38 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/assets_product_ready_webhook.rb b/lib/plaid/models/assets_product_ready_webhook.rb index a91de320e..c198ecd33 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/auth_get_numbers.rb b/lib/plaid/models/auth_get_numbers.rb index 121fc647a..cff332150 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/auth_get_request.rb b/lib/plaid/models/auth_get_request.rb index 3e8118e16..4ac808666 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/auth_get_request_options.rb b/lib/plaid/models/auth_get_request_options.rb index 83b70fea4..63fa9d857 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/auth_get_response.rb b/lib/plaid/models/auth_get_response.rb index e5e97cdc3..bb5e30ab6 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/auth_metadata.rb b/lib/plaid/models/auth_metadata.rb index 694ad038e..ebf575dbf 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/auth_supported_methods.rb b/lib/plaid/models/auth_supported_methods.rb index 7a4d63e07..730bc1899 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/automatically_verified_webhook.rb b/lib/plaid/models/automatically_verified_webhook.rb index 1bf247898..1ab2630e3 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_initiated_return_risk.rb b/lib/plaid/models/bank_initiated_return_risk.rb index 1491e662c..1b3be7e6e 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer.rb b/lib/plaid/models/bank_transfer.rb index 2e4f63707..dc765fe25 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_balance.rb b/lib/plaid/models/bank_transfer_balance.rb index 5870dc4f7..deda9eb20 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_balance_get_request.rb b/lib/plaid/models/bank_transfer_balance_get_request.rb index 4f78c1f95..0ab6017a6 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_balance_get_response.rb b/lib/plaid/models/bank_transfer_balance_get_response.rb index f93c035ee..e869abbdc 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_cancel_request.rb b/lib/plaid/models/bank_transfer_cancel_request.rb index b26451a11..7f1b48816 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_cancel_response.rb b/lib/plaid/models/bank_transfer_cancel_response.rb index fc1bc3e1d..ab884c03a 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_create_request.rb b/lib/plaid/models/bank_transfer_create_request.rb index 17cde1627..5b8bcecc7 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_create_response.rb b/lib/plaid/models/bank_transfer_create_response.rb index 629f3eb90..611d21b78 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_direction.rb b/lib/plaid/models/bank_transfer_direction.rb index bf2047793..8efa171a9 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_event.rb b/lib/plaid/models/bank_transfer_event.rb index dfc5bdb3d..296a54c43 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_event_list_bank_transfer_type.rb b/lib/plaid/models/bank_transfer_event_list_bank_transfer_type.rb index 61d6ae823..ca19eaab8 100644 --- a/lib/plaid/models/bank_transfer_event_list_bank_transfer_type.rb +++ b/lib/plaid/models/bank_transfer_event_list_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_event_list_direction.rb b/lib/plaid/models/bank_transfer_event_list_direction.rb index e720880ab..7db99ba1a 100644 --- a/lib/plaid/models/bank_transfer_event_list_direction.rb +++ b/lib/plaid/models/bank_transfer_event_list_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_event_list_request.rb b/lib/plaid/models/bank_transfer_event_list_request.rb index 74b137d67..f4c624e84 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_event_list_response.rb b/lib/plaid/models/bank_transfer_event_list_response.rb index a456ccee6..d6583cdbb 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_event_sync_request.rb b/lib/plaid/models/bank_transfer_event_sync_request.rb index d06701bce..4178cbb2c 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_event_sync_response.rb b/lib/plaid/models/bank_transfer_event_sync_response.rb index eb5ff33ab..aa78f0bc1 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_event_type.rb b/lib/plaid/models/bank_transfer_event_type.rb index 6dfbff329..db4da7a21 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_failure.rb b/lib/plaid/models/bank_transfer_failure.rb index 57e8a78d2..47617cad3 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_get_request.rb b/lib/plaid/models/bank_transfer_get_request.rb index 312dc230b..47638e35b 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_get_response.rb b/lib/plaid/models/bank_transfer_get_response.rb index 4be26cc53..14dbe658d 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_list_request.rb b/lib/plaid/models/bank_transfer_list_request.rb index f6961d29d..72e1f1ab5 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_list_response.rb b/lib/plaid/models/bank_transfer_list_response.rb index 50c93f0d7..0611f288b 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_migrate_account_request.rb b/lib/plaid/models/bank_transfer_migrate_account_request.rb index 25bf68159..9aead9736 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_migrate_account_response.rb b/lib/plaid/models/bank_transfer_migrate_account_response.rb index bdd1d508c..9d8cb1bd5 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_network.rb b/lib/plaid/models/bank_transfer_network.rb index 0706f835e..12942c5a8 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_status.rb b/lib/plaid/models/bank_transfer_status.rb index fa27ab59f..320fdc09d 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_sweep.rb b/lib/plaid/models/bank_transfer_sweep.rb index 82037576f..f15556691 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_sweep_get_request.rb b/lib/plaid/models/bank_transfer_sweep_get_request.rb index 33055f78a..2572c1475 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_sweep_get_response.rb b/lib/plaid/models/bank_transfer_sweep_get_response.rb index aa2f95766..9550051f4 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_sweep_list_request.rb b/lib/plaid/models/bank_transfer_sweep_list_request.rb index 186eb1634..983149c81 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_sweep_list_response.rb b/lib/plaid/models/bank_transfer_sweep_list_response.rb index 6412907a9..d8faab1d6 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_type.rb b/lib/plaid/models/bank_transfer_type.rb index ac48b836d..bea1ac274 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_user.rb b/lib/plaid/models/bank_transfer_user.rb index 4d5756164..54cb21932 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfers_events_update_webhook.rb b/lib/plaid/models/bank_transfers_events_update_webhook.rb index 25560b7bf..9dffb1650 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/categories_get_response.rb b/lib/plaid/models/categories_get_response.rb index 322bb9277..33b4fcc26 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/category.rb b/lib/plaid/models/category.rb index 12e892bd4..038bee0f5 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/cause.rb b/lib/plaid/models/cause.rb index b1dbd7a9a..55143dc62 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -16,7 +16,6 @@ module Plaid # An error object and associated `item_id` used to identify a specific Item and error when a batch operation operating on multiple Items has encountered an error in one of the Items. class Cause - # A broad categorization of the error. Safe for programmatic use. attr_accessor :error_type # The particular error code. Safe for programmatic use. @@ -46,28 +45,6 @@ class Cause # The `item_id` of the Item associated with this webhook, warning, or error attr_accessor :item_id - 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 { @@ -92,7 +69,7 @@ def self.acceptable_attributes # Attribute type mapping. def self.openapi_types { - :'error_type' => :'String', + :'error_type' => :'PlaidErrorType', :'error_code' => :'String', :'error_message' => :'String', :'display_message' => :'String', @@ -207,24 +184,12 @@ def list_invalid_properties # @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", "MICRODEPOSITS_ERROR"]) - return false unless error_type_validator.valid?(@error_type) return false if @error_code.nil? return false if @error_message.nil? return false if @item_id.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", "MICRODEPOSITS_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) diff --git a/lib/plaid/models/cause_all_of.rb b/lib/plaid/models/cause_all_of.rb index 51db132a5..9d063b663 100644 --- a/lib/plaid/models/cause_all_of.rb +++ b/lib/plaid/models/cause_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/client_provided_enhanced_transaction.rb b/lib/plaid/models/client_provided_enhanced_transaction.rb index 829672d1e..256895301 100644 --- a/lib/plaid/models/client_provided_enhanced_transaction.rb +++ b/lib/plaid/models/client_provided_enhanced_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/client_provided_raw_transaction.rb b/lib/plaid/models/client_provided_raw_transaction.rb index 092b690a9..909c3b1d3 100644 --- a/lib/plaid/models/client_provided_raw_transaction.rb +++ b/lib/plaid/models/client_provided_raw_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/connected_application.rb b/lib/plaid/models/connected_application.rb index cbfde5570..f2eef4fde 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/counterparty.rb b/lib/plaid/models/counterparty.rb index 8383c13f2..64ec96765 100644 --- a/lib/plaid/models/counterparty.rb +++ b/lib/plaid/models/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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/counterparty_type.rb b/lib/plaid/models/counterparty_type.rb index 8210c3a07..38eda612e 100644 --- a/lib/plaid/models/counterparty_type.rb +++ b/lib/plaid/models/counterparty_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/country_code.rb b/lib/plaid/models/country_code.rb index 6849020f6..719772553 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -24,6 +24,13 @@ class CountryCode CA = "CA".freeze DE = "DE".freeze IT = "IT".freeze + PL = "PL".freeze + DK = "DK".freeze + NO = "NO".freeze + SE = "SE".freeze + EE = "EE".freeze + LT = "LT".freeze + LV = "LV".freeze # Builds the enum from string # @param [String] The enum value in the form of the string diff --git a/lib/plaid/models/credit1099.rb b/lib/plaid/models/credit1099.rb index 28a47e4a2..369a8e458 100644 --- a/lib/plaid/models/credit1099.rb +++ b/lib/plaid/models/credit1099.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit1099_filer.rb b/lib/plaid/models/credit1099_filer.rb index 9e73f4fa9..ab2accdf4 100644 --- a/lib/plaid/models/credit1099_filer.rb +++ b/lib/plaid/models/credit1099_filer.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit1099_payer.rb b/lib/plaid/models/credit1099_payer.rb index c62feebb6..2c0f9cafb 100644 --- a/lib/plaid/models/credit1099_payer.rb +++ b/lib/plaid/models/credit1099_payer.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit1099_recipient.rb b/lib/plaid/models/credit1099_recipient.rb index 3f4092319..81d5813e9 100644 --- a/lib/plaid/models/credit1099_recipient.rb +++ b/lib/plaid/models/credit1099_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_account_subtype.rb b/lib/plaid/models/credit_account_subtype.rb index ade44a55b..4f5cdc31c 100644 --- a/lib/plaid/models/credit_account_subtype.rb +++ b/lib/plaid/models/credit_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_audit_copy_token_create_request.rb b/lib/plaid/models/credit_audit_copy_token_create_request.rb index 3921e53fd..9845a15ff 100644 --- a/lib/plaid/models/credit_audit_copy_token_create_request.rb +++ b/lib/plaid/models/credit_audit_copy_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -25,16 +25,12 @@ class CreditAuditCopyTokenCreateRequest # List of report tokens; can include both Asset Report tokens and Income Report tokens. attr_accessor :report_tokens - # The `auditor_id` of the third party with whom you would like to share the Asset Report and/or Income Report. - attr_accessor :auditor_id - # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'client_id' => :'client_id', :'secret' => :'secret', - :'report_tokens' => :'report_tokens', - :'auditor_id' => :'auditor_id' + :'report_tokens' => :'report_tokens' } end @@ -48,8 +44,7 @@ def self.openapi_types { :'client_id' => :'String', :'secret' => :'String', - :'report_tokens' => :'Array', - :'auditor_id' => :'String' + :'report_tokens' => :'Array' } end @@ -87,10 +82,6 @@ def initialize(attributes = {}) self.report_tokens = value end end - - if attributes.key?(:'auditor_id') - self.auditor_id = attributes[:'auditor_id'] - end end # Show invalid properties with the reasons. Usually used together with valid? @@ -101,10 +92,6 @@ def list_invalid_properties invalid_properties.push('invalid value for "report_tokens", report_tokens cannot be nil.') end - if @auditor_id.nil? - invalid_properties.push('invalid value for "auditor_id", auditor_id cannot be nil.') - end - invalid_properties end @@ -112,7 +99,6 @@ def list_invalid_properties # @return true if the model is valid def valid? return false if @report_tokens.nil? - return false if @auditor_id.nil? true end @@ -123,8 +109,7 @@ def ==(o) self.class == o.class && client_id == o.client_id && secret == o.secret && - report_tokens == o.report_tokens && - auditor_id == o.auditor_id + report_tokens == o.report_tokens end # @see the `==` method @@ -136,7 +121,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [client_id, secret, report_tokens, auditor_id].hash + [client_id, secret, report_tokens].hash end # Builds the object from hash diff --git a/lib/plaid/models/credit_audit_copy_token_create_response.rb b/lib/plaid/models/credit_audit_copy_token_create_response.rb index a0332fe3d..fd57a4938 100644 --- a/lib/plaid/models/credit_audit_copy_token_create_response.rb +++ b/lib/plaid/models/credit_audit_copy_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_audit_copy_token_remove_request.rb b/lib/plaid/models/credit_audit_copy_token_remove_request.rb index 41083df66..48bbc82cb 100644 --- a/lib/plaid/models/credit_audit_copy_token_remove_request.rb +++ b/lib/plaid/models/credit_audit_copy_token_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_audit_copy_token_remove_response.rb b/lib/plaid/models/credit_audit_copy_token_remove_response.rb index 5d2efa1e6..454366e96 100644 --- a/lib/plaid/models/credit_audit_copy_token_remove_response.rb +++ b/lib/plaid/models/credit_audit_copy_token_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_bank_income.rb b/lib/plaid/models/credit_bank_income.rb index 5c361ae97..233c71858 100644 --- a/lib/plaid/models/credit_bank_income.rb +++ b/lib/plaid/models/credit_bank_income.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_bank_income_account.rb b/lib/plaid/models/credit_bank_income_account.rb index 53d910e1f..534fceac8 100644 --- a/lib/plaid/models/credit_bank_income_account.rb +++ b/lib/plaid/models/credit_bank_income_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_bank_income_account_type.rb b/lib/plaid/models/credit_bank_income_account_type.rb index 8da4dcc1e..44e1f8efc 100644 --- a/lib/plaid/models/credit_bank_income_account_type.rb +++ b/lib/plaid/models/credit_bank_income_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_bank_income_category.rb b/lib/plaid/models/credit_bank_income_category.rb index 36085608f..515a4d1fa 100644 --- a/lib/plaid/models/credit_bank_income_category.rb +++ b/lib/plaid/models/credit_bank_income_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_bank_income_cause.rb b/lib/plaid/models/credit_bank_income_cause.rb index aae23f479..84526b53b 100644 --- a/lib/plaid/models/credit_bank_income_cause.rb +++ b/lib/plaid/models/credit_bank_income_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_bank_income_error_type.rb b/lib/plaid/models/credit_bank_income_error_type.rb index 8df18bdc7..8d4534cb6 100644 --- a/lib/plaid/models/credit_bank_income_error_type.rb +++ b/lib/plaid/models/credit_bank_income_error_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_bank_income_get_request.rb b/lib/plaid/models/credit_bank_income_get_request.rb index 623772adf..7cd8d8135 100644 --- a/lib/plaid/models/credit_bank_income_get_request.rb +++ b/lib/plaid/models/credit_bank_income_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_bank_income_get_request_options.rb b/lib/plaid/models/credit_bank_income_get_request_options.rb index d602137fe..53eec60bb 100644 --- a/lib/plaid/models/credit_bank_income_get_request_options.rb +++ b/lib/plaid/models/credit_bank_income_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_bank_income_get_response.rb b/lib/plaid/models/credit_bank_income_get_response.rb index ed60a5d8a..480ab1e2b 100644 --- a/lib/plaid/models/credit_bank_income_get_response.rb +++ b/lib/plaid/models/credit_bank_income_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_bank_income_historical_summary.rb b/lib/plaid/models/credit_bank_income_historical_summary.rb index e04a60855..b8a5927e1 100644 --- a/lib/plaid/models/credit_bank_income_historical_summary.rb +++ b/lib/plaid/models/credit_bank_income_historical_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_bank_income_item.rb b/lib/plaid/models/credit_bank_income_item.rb index b0170ea21..46fd21ce1 100644 --- a/lib/plaid/models/credit_bank_income_item.rb +++ b/lib/plaid/models/credit_bank_income_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_bank_income_pay_frequency.rb b/lib/plaid/models/credit_bank_income_pay_frequency.rb index 74b100e49..ef7e79be6 100644 --- a/lib/plaid/models/credit_bank_income_pay_frequency.rb +++ b/lib/plaid/models/credit_bank_income_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_bank_income_pdf_get_request.rb b/lib/plaid/models/credit_bank_income_pdf_get_request.rb index 0c2c6f277..47ed44894 100644 --- a/lib/plaid/models/credit_bank_income_pdf_get_request.rb +++ b/lib/plaid/models/credit_bank_income_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_bank_income_refresh_request.rb b/lib/plaid/models/credit_bank_income_refresh_request.rb index ea6015697..0af4a6da3 100644 --- a/lib/plaid/models/credit_bank_income_refresh_request.rb +++ b/lib/plaid/models/credit_bank_income_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_bank_income_refresh_request_options.rb b/lib/plaid/models/credit_bank_income_refresh_request_options.rb index db2f1489a..ffcd2ae6e 100644 --- a/lib/plaid/models/credit_bank_income_refresh_request_options.rb +++ b/lib/plaid/models/credit_bank_income_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_bank_income_refresh_response.rb b/lib/plaid/models/credit_bank_income_refresh_response.rb index a969adddc..50e948a28 100644 --- a/lib/plaid/models/credit_bank_income_refresh_response.rb +++ b/lib/plaid/models/credit_bank_income_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_bank_income_source.rb b/lib/plaid/models/credit_bank_income_source.rb index 556ffc76d..880665429 100644 --- a/lib/plaid/models/credit_bank_income_source.rb +++ b/lib/plaid/models/credit_bank_income_source.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_bank_income_summary.rb b/lib/plaid/models/credit_bank_income_summary.rb index 288a0d00b..221d9d09a 100644 --- a/lib/plaid/models/credit_bank_income_summary.rb +++ b/lib/plaid/models/credit_bank_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_bank_income_transaction.rb b/lib/plaid/models/credit_bank_income_transaction.rb index d6f8654be..90aca73cb 100644 --- a/lib/plaid/models/credit_bank_income_transaction.rb +++ b/lib/plaid/models/credit_bank_income_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_bank_income_warning.rb b/lib/plaid/models/credit_bank_income_warning.rb index f204f0128..49b2ab387 100644 --- a/lib/plaid/models/credit_bank_income_warning.rb +++ b/lib/plaid/models/credit_bank_income_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_bank_income_warning_code.rb b/lib/plaid/models/credit_bank_income_warning_code.rb index f4e0922af..005914061 100644 --- a/lib/plaid/models/credit_bank_income_warning_code.rb +++ b/lib/plaid/models/credit_bank_income_warning_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_bank_income_warning_type.rb b/lib/plaid/models/credit_bank_income_warning_type.rb index 99bd48856..f7e1c73e6 100644 --- a/lib/plaid/models/credit_bank_income_warning_type.rb +++ b/lib/plaid/models/credit_bank_income_warning_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_card_liability.rb b/lib/plaid/models/credit_card_liability.rb index aeaaddb6e..7906989f3 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_category.rb b/lib/plaid/models/credit_category.rb index 67bae4888..5ffc7bb15 100644 --- a/lib/plaid/models/credit_category.rb +++ b/lib/plaid/models/credit_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_document_metadata.rb b/lib/plaid/models/credit_document_metadata.rb index 273ed80cf..24e5a7cdf 100644 --- a/lib/plaid/models/credit_document_metadata.rb +++ b/lib/plaid/models/credit_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -19,7 +19,7 @@ class CreditDocumentMetadata # The name of the document. attr_accessor :name - # The type of document. `PAYSTUB`: A paystub. `BANK_STATEMENT`: A bank statement. `US_TAX_W2`: A W-2 wage and tax statement provided by a US employer reflecting wages earned by the employee. `US_MILITARY_ERAS`: An electronic Retirement Account Statement (eRAS) issued by the US military. `US_MILITARY_LES`: A Leave and Earnings Statement (LES) issued by the US military. `US_MILITARY_CLES`: A Civilian Leave and Earnings Statment (CLES) issued by the US military. `GIG`: Used to indicate that the income is related to gig work. Does not necessarily correspond to a specific document type. `NONE`: Used to indicate that there is no underlying document for the data. `UNKNOWN`: Document type could not be determined. + # The type of document. `PAYSTUB`: A paystub. `BANK_STATEMENT`: A bank statement. `US_TAX_W2`: A W-2 wage and tax statement provided by a US employer reflecting wages earned by the employee. `US_MILITARY_ERAS`: An electronic Retirement Account Statement (eRAS) issued by the US military. `US_MILITARY_LES`: A Leave and Earnings Statement (LES) issued by the US military. `US_MILITARY_CLES`: A Civilian Leave and Earnings Statment (CLES) issued by the US military. `GIG`: Used to indicate that the income is related to gig work. Does not necessarily correspond to a specific document type. `PLAID_GENERATED_PAYSTUB_PDF`: Used to indicate that the PDF for the paystub was generated by Plaid. `NONE`: Used to indicate that there is no underlying document for the data. `UNKNOWN`: Document type could not be determined. attr_accessor :document_type # Signed URL to retrieve the underlying file. diff --git a/lib/plaid/models/credit_employer_verification.rb b/lib/plaid/models/credit_employer_verification.rb index e9d81fcaa..79a31ec8b 100644 --- a/lib/plaid/models/credit_employer_verification.rb +++ b/lib/plaid/models/credit_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_employment_get_request.rb b/lib/plaid/models/credit_employment_get_request.rb index 4591db4c4..6cc4e5d1e 100644 --- a/lib/plaid/models/credit_employment_get_request.rb +++ b/lib/plaid/models/credit_employment_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_employment_get_response.rb b/lib/plaid/models/credit_employment_get_response.rb index c628f6664..d35e13b75 100644 --- a/lib/plaid/models/credit_employment_get_response.rb +++ b/lib/plaid/models/credit_employment_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_employment_item.rb b/lib/plaid/models/credit_employment_item.rb index 7f4dd5ead..f19fdde7d 100644 --- a/lib/plaid/models/credit_employment_item.rb +++ b/lib/plaid/models/credit_employment_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_employment_verification.rb b/lib/plaid/models/credit_employment_verification.rb index ec51c1459..85ed48a26 100644 --- a/lib/plaid/models/credit_employment_verification.rb +++ b/lib/plaid/models/credit_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_filter.rb b/lib/plaid/models/credit_filter.rb index b819c6b19..71ac9354b 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_pay_stub.rb b/lib/plaid/models/credit_pay_stub.rb index 2d5bf8346..a23433c82 100644 --- a/lib/plaid/models/credit_pay_stub.rb +++ b/lib/plaid/models/credit_pay_stub.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_pay_stub_address.rb b/lib/plaid/models/credit_pay_stub_address.rb index 400819e76..5d18a1199 100644 --- a/lib/plaid/models/credit_pay_stub_address.rb +++ b/lib/plaid/models/credit_pay_stub_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_pay_stub_deductions.rb b/lib/plaid/models/credit_pay_stub_deductions.rb index cd9b785e9..8e6afd39f 100644 --- a/lib/plaid/models/credit_pay_stub_deductions.rb +++ b/lib/plaid/models/credit_pay_stub_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_pay_stub_earnings.rb b/lib/plaid/models/credit_pay_stub_earnings.rb index f898cf531..8e88c7e3c 100644 --- a/lib/plaid/models/credit_pay_stub_earnings.rb +++ b/lib/plaid/models/credit_pay_stub_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_pay_stub_employee.rb b/lib/plaid/models/credit_pay_stub_employee.rb index 22ccc6159..1f7f10121 100644 --- a/lib/plaid/models/credit_pay_stub_employee.rb +++ b/lib/plaid/models/credit_pay_stub_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_pay_stub_employer.rb b/lib/plaid/models/credit_pay_stub_employer.rb index b2af1c6ee..3df542ba6 100644 --- a/lib/plaid/models/credit_pay_stub_employer.rb +++ b/lib/plaid/models/credit_pay_stub_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_pay_stub_net_pay.rb b/lib/plaid/models/credit_pay_stub_net_pay.rb index af430cfbe..021c00320 100644 --- a/lib/plaid/models/credit_pay_stub_net_pay.rb +++ b/lib/plaid/models/credit_pay_stub_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_payroll_income_get_request.rb b/lib/plaid/models/credit_payroll_income_get_request.rb index 66f4e1e88..7a965ef11 100644 --- a/lib/plaid/models/credit_payroll_income_get_request.rb +++ b/lib/plaid/models/credit_payroll_income_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_payroll_income_get_response.rb b/lib/plaid/models/credit_payroll_income_get_response.rb index a4f701199..608a221c6 100644 --- a/lib/plaid/models/credit_payroll_income_get_response.rb +++ b/lib/plaid/models/credit_payroll_income_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_payroll_income_precheck_request.rb b/lib/plaid/models/credit_payroll_income_precheck_request.rb index 4d368334a..cea2f68f8 100644 --- a/lib/plaid/models/credit_payroll_income_precheck_request.rb +++ b/lib/plaid/models/credit_payroll_income_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_payroll_income_precheck_response.rb b/lib/plaid/models/credit_payroll_income_precheck_response.rb index a16834f7c..399e9f9ce 100644 --- a/lib/plaid/models/credit_payroll_income_precheck_response.rb +++ b/lib/plaid/models/credit_payroll_income_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_payroll_income_refresh_request.rb b/lib/plaid/models/credit_payroll_income_refresh_request.rb index 5e0085f98..0751a76e7 100644 --- a/lib/plaid/models/credit_payroll_income_refresh_request.rb +++ b/lib/plaid/models/credit_payroll_income_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_payroll_income_refresh_response.rb b/lib/plaid/models/credit_payroll_income_refresh_response.rb index 0a90c701d..3d8bbca59 100644 --- a/lib/plaid/models/credit_payroll_income_refresh_response.rb +++ b/lib/plaid/models/credit_payroll_income_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_payroll_income_risk_signals_get_request.rb b/lib/plaid/models/credit_payroll_income_risk_signals_get_request.rb index fd40f1423..e106ec326 100644 --- a/lib/plaid/models/credit_payroll_income_risk_signals_get_request.rb +++ b/lib/plaid/models/credit_payroll_income_risk_signals_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_payroll_income_risk_signals_get_response.rb b/lib/plaid/models/credit_payroll_income_risk_signals_get_response.rb index 94a40d1cb..0933b3e59 100644 --- a/lib/plaid/models/credit_payroll_income_risk_signals_get_response.rb +++ b/lib/plaid/models/credit_payroll_income_risk_signals_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_platform_ids.rb b/lib/plaid/models/credit_platform_ids.rb index 4012e2f36..b09ca432b 100644 --- a/lib/plaid/models/credit_platform_ids.rb +++ b/lib/plaid/models/credit_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_relay_create_request.rb b/lib/plaid/models/credit_relay_create_request.rb index 2eadf7f5f..08d0bbbec 100644 --- a/lib/plaid/models/credit_relay_create_request.rb +++ b/lib/plaid/models/credit_relay_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_relay_create_response.rb b/lib/plaid/models/credit_relay_create_response.rb index 1902a938c..42f6a399e 100644 --- a/lib/plaid/models/credit_relay_create_response.rb +++ b/lib/plaid/models/credit_relay_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_relay_get_request.rb b/lib/plaid/models/credit_relay_get_request.rb index 937281c08..bf6b40e19 100644 --- a/lib/plaid/models/credit_relay_get_request.rb +++ b/lib/plaid/models/credit_relay_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_relay_refresh_request.rb b/lib/plaid/models/credit_relay_refresh_request.rb index e9c6bb14c..b1dc76c17 100644 --- a/lib/plaid/models/credit_relay_refresh_request.rb +++ b/lib/plaid/models/credit_relay_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_relay_refresh_response.rb b/lib/plaid/models/credit_relay_refresh_response.rb index bdfa4b2e6..cf9dea489 100644 --- a/lib/plaid/models/credit_relay_refresh_response.rb +++ b/lib/plaid/models/credit_relay_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_relay_remove_request.rb b/lib/plaid/models/credit_relay_remove_request.rb index ab474c3a1..409da2191 100644 --- a/lib/plaid/models/credit_relay_remove_request.rb +++ b/lib/plaid/models/credit_relay_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_relay_remove_response.rb b/lib/plaid/models/credit_relay_remove_response.rb index 998bb554a..a0ebcb75b 100644 --- a/lib/plaid/models/credit_relay_remove_response.rb +++ b/lib/plaid/models/credit_relay_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_session.rb b/lib/plaid/models/credit_session.rb index c9eeb8133..4be265e5a 100644 --- a/lib/plaid/models/credit_session.rb +++ b/lib/plaid/models/credit_session.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -14,22 +14,26 @@ require 'time' module Plaid - # Metadata and results for a link session + # Metadata and results for a Link session class CreditSession - # The unique identifier associated with the Link Session. + # The unique identifier associated with the Link session. This identifier matches the `link_session_id` returned in the onSuccess/onExit callbacks. attr_accessor :link_session_id - # The time when the link session started + # The time when the Link session started attr_accessor :session_start_time attr_accessor :results + # The set of errors that occurred during the Link session. + attr_accessor :errors + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'link_session_id' => :'link_session_id', :'session_start_time' => :'session_start_time', - :'results' => :'results' + :'results' => :'results', + :'errors' => :'errors' } end @@ -43,7 +47,8 @@ def self.openapi_types { :'link_session_id' => :'String', :'session_start_time' => :'Time', - :'results' => :'CreditSessionResults' + :'results' => :'CreditSessionResults', + :'errors' => :'Array' } end @@ -79,6 +84,12 @@ def initialize(attributes = {}) if attributes.key?(:'results') self.results = attributes[:'results'] end + + if attributes.key?(:'errors') + if (value = attributes[:'errors']).is_a?(Array) + self.errors = value + end + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -101,7 +112,8 @@ def ==(o) self.class == o.class && link_session_id == o.link_session_id && session_start_time == o.session_start_time && - results == o.results + results == o.results && + errors == o.errors end # @see the `==` method @@ -113,7 +125,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [link_session_id, session_start_time, results].hash + [link_session_id, session_start_time, results, errors].hash end # Builds the object from hash diff --git a/lib/plaid/models/credit_session_bank_income_result.rb b/lib/plaid/models/credit_session_bank_income_result.rb index 39ce383e6..844d66a51 100644 --- a/lib/plaid/models/credit_session_bank_income_result.rb +++ b/lib/plaid/models/credit_session_bank_income_result.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -14,12 +14,14 @@ require 'time' module Plaid - # The details of a bank income verification in link + # The details of a bank income verification in Link class CreditSessionBankIncomeResult attr_accessor :status + # The Plaid Item ID. The `item_id` is always unique; linking the same account at the same institution twice will result in two Items with different `item_id` values. Like all Plaid identifiers, the `item_id` is case-sensitive. attr_accessor :item_id + # The Plaid Institution ID associated with the Item. attr_accessor :institution_id # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/plaid/models/credit_session_bank_income_status.rb b/lib/plaid/models/credit_session_bank_income_status.rb index 64765626a..9a932e55e 100644 --- a/lib/plaid/models/credit_session_bank_income_status.rb +++ b/lib/plaid/models/credit_session_bank_income_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -17,6 +17,7 @@ module Plaid class CreditSessionBankIncomeStatus APPROVED = "APPROVED".freeze NO_DEPOSITS_FOUND = "NO_DEPOSITS_FOUND".freeze + USER_REPORTED_NO_INCOME = "USER_REPORTED_NO_INCOME".freeze # Builds the enum from string # @param [String] The enum value in the form of the string diff --git a/lib/plaid/models/credit_session_document_income_result.rb b/lib/plaid/models/credit_session_document_income_result.rb new file mode 100644 index 000000000..1e63971e4 --- /dev/null +++ b/lib/plaid/models/credit_session_document_income_result.rb @@ -0,0 +1,240 @@ +=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.197.3 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 5.1.1 + +=end + +require 'date' +require 'time' + +module Plaid + # The details of a document income verification in Link + class CreditSessionDocumentIncomeResult + # The number of paystubs uploaded by the user. + attr_accessor :num_paystubs_uploaded + + # The number of w2s uploaded by the user. + attr_accessor :num_w2s_uploaded + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'num_paystubs_uploaded' => :'num_paystubs_uploaded', + :'num_w2s_uploaded' => :'num_w2s_uploaded' + } + 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 + { + :'num_paystubs_uploaded' => :'Integer', + :'num_w2s_uploaded' => :'Integer' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::CreditSessionDocumentIncomeResult` 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::CreditSessionDocumentIncomeResult`. 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?(:'num_paystubs_uploaded') + self.num_paystubs_uploaded = attributes[:'num_paystubs_uploaded'] + end + + if attributes.key?(:'num_w2s_uploaded') + self.num_w2s_uploaded = attributes[:'num_w2s_uploaded'] + 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 @num_paystubs_uploaded.nil? + invalid_properties.push('invalid value for "num_paystubs_uploaded", num_paystubs_uploaded cannot be nil.') + end + + if @num_w2s_uploaded.nil? + invalid_properties.push('invalid value for "num_w2s_uploaded", num_w2s_uploaded 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 @num_paystubs_uploaded.nil? + return false if @num_w2s_uploaded.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 && + num_paystubs_uploaded == o.num_paystubs_uploaded && + num_w2s_uploaded == o.num_w2s_uploaded + 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 + [num_paystubs_uploaded, num_w2s_uploaded].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/error.rb b/lib/plaid/models/credit_session_error.rb similarity index 55% rename from lib/plaid/models/error.rb rename to lib/plaid/models/credit_session_error.rb index c620200a1..9e0efc6c2 100644 --- a/lib/plaid/models/error.rb +++ b/lib/plaid/models/credit_session_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -14,69 +14,27 @@ require 'time' module Plaid - # We use standard HTTP response codes for success and failure notifications, and our errors are further classified by `error_type`. In general, 200 HTTP codes correspond to success, 40X codes are for developer- or user-related failures, and 50X codes are for Plaid-related issues. Error fields will be `null` if no error has occurred. - class Error - # A broad categorization of the error. Safe for programmatic use. + # The details of a Link error. + class CreditSessionError + # A broad categorization of the error. attr_accessor :error_type - # The particular error code. Safe for programmatic use. + # The particular error code. attr_accessor :error_code - # A developer-friendly representation of the error code. This may change over time and is not safe for programmatic use. + # A developer-friendly representation of the error code. 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. + # A user-friendly representation of the error code. `null` if the error is not related to user action. 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' + :'display_message' => :'display_message' } end @@ -91,21 +49,14 @@ 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' + :'display_message' => :'String' } end # List of attributes with nullable: true def self.openapi_nullable Set.new([ - :'display_message', - :'status', - :'suggested_action' + :'display_message' ]) end @@ -113,13 +64,13 @@ 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::Error` initialize method" + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::CreditSessionError` 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::Error`. 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::CreditSessionError`. 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 } @@ -139,70 +90,21 @@ def initialize(attributes = {}) 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", "MICRODEPOSITS_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", "MICRODEPOSITS_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) @@ -211,12 +113,7 @@ def ==(o) 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 + display_message == o.display_message end # @see the `==` method @@ -228,7 +125,7 @@ def eql?(o) # 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 + [error_type, error_code, error_message, display_message].hash end # Builds the object from hash diff --git a/lib/plaid/models/credit_session_item_add_result.rb b/lib/plaid/models/credit_session_item_add_result.rb index 4d0138737..6def6df87 100644 --- a/lib/plaid/models/credit_session_item_add_result.rb +++ b/lib/plaid/models/credit_session_item_add_result.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -14,19 +14,22 @@ require 'time' module Plaid - # The details of an item add in link + # The details of an item add in Link class CreditSessionItemAddResult - attr_accessor :item_id - + # Returned once a user has successfully linked their Item. attr_accessor :public_token + # The Plaid Item ID. The `item_id` is always unique; linking the same account at the same institution twice will result in two Items with different `item_id` values. Like all Plaid identifiers, the `item_id` is case-sensitive. + attr_accessor :item_id + + # The Plaid Institution ID associated with the Item. attr_accessor :institution_id # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { - :'item_id' => :'item_id', :'public_token' => :'public_token', + :'item_id' => :'item_id', :'institution_id' => :'institution_id' } end @@ -39,8 +42,8 @@ def self.acceptable_attributes # Attribute type mapping. def self.openapi_types { - :'item_id' => :'String', :'public_token' => :'String', + :'item_id' => :'String', :'institution_id' => :'String' } end @@ -66,14 +69,14 @@ def initialize(attributes = {}) h[k.to_sym] = v } - if attributes.key?(:'item_id') - self.item_id = attributes[:'item_id'] - end - if attributes.key?(:'public_token') self.public_token = attributes[:'public_token'] end + if attributes.key?(:'item_id') + self.item_id = attributes[:'item_id'] + end + if attributes.key?(:'institution_id') self.institution_id = attributes[:'institution_id'] end @@ -97,8 +100,8 @@ def valid? def ==(o) return true if self.equal?(o) self.class == o.class && - item_id == o.item_id && public_token == o.public_token && + item_id == o.item_id && institution_id == o.institution_id end @@ -111,7 +114,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [item_id, public_token, institution_id].hash + [public_token, item_id, institution_id].hash end # Builds the object from hash diff --git a/lib/plaid/models/credit_session_payroll_income_result.rb b/lib/plaid/models/credit_session_payroll_income_result.rb new file mode 100644 index 000000000..1f456dab3 --- /dev/null +++ b/lib/plaid/models/credit_session_payroll_income_result.rb @@ -0,0 +1,250 @@ +=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.197.3 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 5.1.1 + +=end + +require 'date' +require 'time' + +module Plaid + # The details of a digital payroll income verification in Link + class CreditSessionPayrollIncomeResult + # The number of paystubs retrieved from a payroll provider. + attr_accessor :num_paystubs_retrieved + + # The number of w2s retrieved from a payroll provider. + attr_accessor :num_w2s_retrieved + + # The Plaid Institution ID associated with the Item. + attr_accessor :institution_id + + # The Institution Name associated with the Item. + attr_accessor :institution_name + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'num_paystubs_retrieved' => :'num_paystubs_retrieved', + :'num_w2s_retrieved' => :'num_w2s_retrieved', + :'institution_id' => :'institution_id', + :'institution_name' => :'institution_name' + } + 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 + { + :'num_paystubs_retrieved' => :'Integer', + :'num_w2s_retrieved' => :'Integer', + :'institution_id' => :'String', + :'institution_name' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::CreditSessionPayrollIncomeResult` 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::CreditSessionPayrollIncomeResult`. 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?(:'num_paystubs_retrieved') + self.num_paystubs_retrieved = attributes[:'num_paystubs_retrieved'] + end + + if attributes.key?(:'num_w2s_retrieved') + self.num_w2s_retrieved = attributes[:'num_w2s_retrieved'] + end + + if attributes.key?(:'institution_id') + self.institution_id = attributes[:'institution_id'] + end + + if attributes.key?(:'institution_name') + self.institution_name = attributes[:'institution_name'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + num_paystubs_retrieved == o.num_paystubs_retrieved && + num_w2s_retrieved == o.num_w2s_retrieved && + institution_id == o.institution_id && + institution_name == o.institution_name + 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 + [num_paystubs_retrieved, num_w2s_retrieved, institution_id, institution_name].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/credit_session_results.rb b/lib/plaid/models/credit_session_results.rb index cd8f4a783..4cc53b868 100644 --- a/lib/plaid/models/credit_session_results.rb +++ b/lib/plaid/models/credit_session_results.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -14,17 +14,26 @@ require 'time' module Plaid - # The set of results for a link session + # The set of results for a Link session. class CreditSessionResults + # The set of item adds for the Link session. attr_accessor :item_add_results + # The set of bank income verifications for the Link session. attr_accessor :bank_income_results + # The set of payroll income verifications for the Link session. + attr_accessor :payroll_income_results + + attr_accessor :document_income_results + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'item_add_results' => :'item_add_results', - :'bank_income_results' => :'bank_income_results' + :'bank_income_results' => :'bank_income_results', + :'payroll_income_results' => :'payroll_income_results', + :'document_income_results' => :'document_income_results' } end @@ -37,13 +46,16 @@ def self.acceptable_attributes def self.openapi_types { :'item_add_results' => :'Array', - :'bank_income_results' => :'Array' + :'bank_income_results' => :'Array', + :'payroll_income_results' => :'Array', + :'document_income_results' => :'CreditSessionDocumentIncomeResult' } end # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'document_income_results' ]) end @@ -73,6 +85,16 @@ def initialize(attributes = {}) self.bank_income_results = value end end + + if attributes.key?(:'payroll_income_results') + if (value = attributes[:'payroll_income_results']).is_a?(Array) + self.payroll_income_results = value + end + end + + if attributes.key?(:'document_income_results') + self.document_income_results = attributes[:'document_income_results'] + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -94,7 +116,9 @@ def ==(o) return true if self.equal?(o) self.class == o.class && item_add_results == o.item_add_results && - bank_income_results == o.bank_income_results + bank_income_results == o.bank_income_results && + payroll_income_results == o.payroll_income_results && + document_income_results == o.document_income_results end # @see the `==` method @@ -106,7 +130,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [item_add_results, bank_income_results].hash + [item_add_results, bank_income_results, payroll_income_results, document_income_results].hash end # Builds the object from hash diff --git a/lib/plaid/models/credit_sessions_get_request.rb b/lib/plaid/models/credit_sessions_get_request.rb index 17aa1e073..d423f2e09 100644 --- a/lib/plaid/models/credit_sessions_get_request.rb +++ b/lib/plaid/models/credit_sessions_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_sessions_get_response.rb b/lib/plaid/models/credit_sessions_get_response.rb index 5c1ba50b0..4999bfbc3 100644 --- a/lib/plaid/models/credit_sessions_get_response.rb +++ b/lib/plaid/models/credit_sessions_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -16,6 +16,7 @@ module Plaid # CreditSessionsGetResponse defines the response schema for `/credit/sessions/get` class CreditSessionsGetResponse + # A list of Link sessions for the user. Sessions will be sorted in reverse chronological order. attr_accessor :sessions # A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive. diff --git a/lib/plaid/models/credit_w2.rb b/lib/plaid/models/credit_w2.rb index 06e8ae655..3c81dcf07 100644 --- a/lib/plaid/models/credit_w2.rb +++ b/lib/plaid/models/credit_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/customer_initiated_return_risk.rb b/lib/plaid/models/customer_initiated_return_risk.rb index e9408c23f..92fa82636 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/dashboard_user.rb b/lib/plaid/models/dashboard_user.rb index 9e94a1277..79cbbc608 100644 --- a/lib/plaid/models/dashboard_user.rb +++ b/lib/plaid/models/dashboard_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/dashboard_user_get_request.rb b/lib/plaid/models/dashboard_user_get_request.rb index 840c34ebe..d21484ddd 100644 --- a/lib/plaid/models/dashboard_user_get_request.rb +++ b/lib/plaid/models/dashboard_user_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/dashboard_user_get_response.rb b/lib/plaid/models/dashboard_user_get_response.rb index 291895dab..d5d553155 100644 --- a/lib/plaid/models/dashboard_user_get_response.rb +++ b/lib/plaid/models/dashboard_user_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/dashboard_user_list_request.rb b/lib/plaid/models/dashboard_user_list_request.rb index f516ac134..efbeb4e59 100644 --- a/lib/plaid/models/dashboard_user_list_request.rb +++ b/lib/plaid/models/dashboard_user_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/dashboard_user_list_response.rb b/lib/plaid/models/dashboard_user_list_response.rb index c51bb7d94..3d8d942b0 100644 --- a/lib/plaid/models/dashboard_user_list_response.rb +++ b/lib/plaid/models/dashboard_user_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/dashboard_user_status.rb b/lib/plaid/models/dashboard_user_status.rb index 8dfef5526..276f98ecd 100644 --- a/lib/plaid/models/dashboard_user_status.rb +++ b/lib/plaid/models/dashboard_user_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/date_range.rb b/lib/plaid/models/date_range.rb index 43dcda7f7..f2f874f90 100644 --- a/lib/plaid/models/date_range.rb +++ b/lib/plaid/models/date_range.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/deductions.rb b/lib/plaid/models/deductions.rb index ef9e953ee..6ae5ca706 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/deductions_breakdown.rb b/lib/plaid/models/deductions_breakdown.rb index e9024fec2..fbb405648 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/deductions_total.rb b/lib/plaid/models/deductions_total.rb index dae02ec77..c83f9f9ef 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/default_update_webhook.rb b/lib/plaid/models/default_update_webhook.rb index 8546c64ff..0adf11863 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -14,7 +14,7 @@ require 'time' module Plaid - # Fired when new transaction data is available for an Item. Plaid will typically check for new transaction data several times a day. + # Fired when new transaction data is available for an Item. Plaid will typically check for new transaction data several times a day. This webhook is intended for use with `/transactions/get`; if you are using the newer `/transactions/sync` endpoint, this webhook will still be fired to maintain backwards compatibility, but it is recommended to listen for and respond to the `SYNC_UPDATES_AVAILABLE` webhook instead. class DefaultUpdateWebhook # `TRANSACTIONS` attr_accessor :webhook_type diff --git a/lib/plaid/models/deposit_switch_address_data.rb b/lib/plaid/models/deposit_switch_address_data.rb index af371290b..f07acb9bb 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/deposit_switch_alt_create_request.rb b/lib/plaid/models/deposit_switch_alt_create_request.rb index 493258732..5fa753255 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/deposit_switch_alt_create_response.rb b/lib/plaid/models/deposit_switch_alt_create_response.rb index e5011ac4c..f744667bc 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/deposit_switch_create_request.rb b/lib/plaid/models/deposit_switch_create_request.rb index 5336d66fb..5fb6dfabe 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/deposit_switch_create_request_options.rb b/lib/plaid/models/deposit_switch_create_request_options.rb index 7ebfd5aa8..368eb1f2c 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/deposit_switch_create_response.rb b/lib/plaid/models/deposit_switch_create_response.rb index 8d9c9f463..0c8c297fa 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/deposit_switch_get_request.rb b/lib/plaid/models/deposit_switch_get_request.rb index d82c7d152..3dfa44d03 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/deposit_switch_get_response.rb b/lib/plaid/models/deposit_switch_get_response.rb index 03206cac8..606e25fdc 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/deposit_switch_state_update_webhook.rb b/lib/plaid/models/deposit_switch_state_update_webhook.rb index ca74b63f6..07e4ac3bf 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/deposit_switch_target_account.rb b/lib/plaid/models/deposit_switch_target_account.rb index 9f1ced361..2639c4177 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/deposit_switch_target_user.rb b/lib/plaid/models/deposit_switch_target_user.rb index 683363643..a88ea6f4a 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/deposit_switch_token_create_request.rb b/lib/plaid/models/deposit_switch_token_create_request.rb index b5ecb01d9..887b5f46a 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/deposit_switch_token_create_response.rb b/lib/plaid/models/deposit_switch_token_create_response.rb index 4048b0498..d6d5de38c 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/depository_account_subtype.rb b/lib/plaid/models/depository_account_subtype.rb index a73348188..fb0d3eaba 100644 --- a/lib/plaid/models/depository_account_subtype.rb +++ b/lib/plaid/models/depository_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/depository_filter.rb b/lib/plaid/models/depository_filter.rb index cea379b46..1de3e40a3 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/distribution_breakdown.rb b/lib/plaid/models/distribution_breakdown.rb index 85cc97e05..07f7b40b2 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/doc_type.rb b/lib/plaid/models/doc_type.rb index cd29bc082..6a3a573b3 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/document_analysis.rb b/lib/plaid/models/document_analysis.rb index b8188902d..9d59eb128 100644 --- a/lib/plaid/models/document_analysis.rb +++ b/lib/plaid/models/document_analysis.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/document_authenticity_match_code.rb b/lib/plaid/models/document_authenticity_match_code.rb index 84e139ba5..65f6eaf79 100644 --- a/lib/plaid/models/document_authenticity_match_code.rb +++ b/lib/plaid/models/document_authenticity_match_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/document_date_of_birth_match_code.rb b/lib/plaid/models/document_date_of_birth_match_code.rb index 32a3d447a..af59c0b80 100644 --- a/lib/plaid/models/document_date_of_birth_match_code.rb +++ b/lib/plaid/models/document_date_of_birth_match_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/document_metadata.rb b/lib/plaid/models/document_metadata.rb index dd5270432..572321f4f 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/document_name_match_code.rb b/lib/plaid/models/document_name_match_code.rb index c7815e673..2a8830dae 100644 --- a/lib/plaid/models/document_name_match_code.rb +++ b/lib/plaid/models/document_name_match_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/document_risk_signal.rb b/lib/plaid/models/document_risk_signal.rb index 9de3e408b..ad49f4b9f 100644 --- a/lib/plaid/models/document_risk_signal.rb +++ b/lib/plaid/models/document_risk_signal.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/document_risk_signal_institution_metadata.rb b/lib/plaid/models/document_risk_signal_institution_metadata.rb index 86b10ce62..bbc67f09e 100644 --- a/lib/plaid/models/document_risk_signal_institution_metadata.rb +++ b/lib/plaid/models/document_risk_signal_institution_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/document_risk_signals_object.rb b/lib/plaid/models/document_risk_signals_object.rb index c114a50cb..30f6677fa 100644 --- a/lib/plaid/models/document_risk_signals_object.rb +++ b/lib/plaid/models/document_risk_signals_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/document_status.rb b/lib/plaid/models/document_status.rb index 498683a8b..2c4291dbc 100644 --- a/lib/plaid/models/document_status.rb +++ b/lib/plaid/models/document_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/documentary_verification.rb b/lib/plaid/models/documentary_verification.rb index d461550f7..ce9bcdb67 100644 --- a/lib/plaid/models/documentary_verification.rb +++ b/lib/plaid/models/documentary_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/documentary_verification_document.rb b/lib/plaid/models/documentary_verification_document.rb index 9df6069d9..0315f8a6b 100644 --- a/lib/plaid/models/documentary_verification_document.rb +++ b/lib/plaid/models/documentary_verification_document.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/earnings.rb b/lib/plaid/models/earnings.rb index 01363fc7e..17d8ff346 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/earnings_breakdown.rb b/lib/plaid/models/earnings_breakdown.rb index 41b6330de..ebd95782d 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/earnings_breakdown_canonical_description.rb b/lib/plaid/models/earnings_breakdown_canonical_description.rb index 9fbba6d4b..ed5bdecae 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/earnings_total.rb b/lib/plaid/models/earnings_total.rb index d6f181daf..023b644b6 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/email.rb b/lib/plaid/models/email.rb index 9e99341df..1317280ec 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/email_address_match_score.rb b/lib/plaid/models/email_address_match_score.rb index 77f752735..925eb83c8 100644 --- a/lib/plaid/models/email_address_match_score.rb +++ b/lib/plaid/models/email_address_match_score.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/employee.rb b/lib/plaid/models/employee.rb index 3771985c6..d63111d99 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/employee_income_summary_field_string.rb b/lib/plaid/models/employee_income_summary_field_string.rb index 76fb4d143..edc022a72 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/employer.rb b/lib/plaid/models/employer.rb index 352521fe1..0a2920e0e 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/employer_income_summary_field_string.rb b/lib/plaid/models/employer_income_summary_field_string.rb index 47a0f5b94..69db33445 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/employer_verification.rb b/lib/plaid/models/employer_verification.rb index ecbcf228b..2a5c33272 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/employers_search_request.rb b/lib/plaid/models/employers_search_request.rb index dba33e9b8..794ad5d55 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/employers_search_response.rb b/lib/plaid/models/employers_search_response.rb index 5145108a7..ad9f28d8d 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/employment_details.rb b/lib/plaid/models/employment_details.rb index f326ff6ec..34a9fa44f 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/employment_verification.rb b/lib/plaid/models/employment_verification.rb index 15b1eb80b..ddeed59c6 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/employment_verification_get_request.rb b/lib/plaid/models/employment_verification_get_request.rb index b9ca9198d..8e15ac8cf 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/employment_verification_get_response.rb b/lib/plaid/models/employment_verification_get_response.rb index 688701177..e8b8dc9ef 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/employment_verification_status.rb b/lib/plaid/models/employment_verification_status.rb index 973c388e8..53af666ba 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/enhancements.rb b/lib/plaid/models/enhancements.rb index 4fac52df4..167aada1d 100644 --- a/lib/plaid/models/enhancements.rb +++ b/lib/plaid/models/enhancements.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/entity_document.rb b/lib/plaid/models/entity_document.rb index 59d99cf4d..3c47ab783 100644 --- a/lib/plaid/models/entity_document.rb +++ b/lib/plaid/models/entity_document.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/entity_document_type.rb b/lib/plaid/models/entity_document_type.rb index f124eaf28..7720f4da8 100644 --- a/lib/plaid/models/entity_document_type.rb +++ b/lib/plaid/models/entity_document_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/entity_screening_hit_analysis.rb b/lib/plaid/models/entity_screening_hit_analysis.rb index c8d1815aa..3a7195fa3 100644 --- a/lib/plaid/models/entity_screening_hit_analysis.rb +++ b/lib/plaid/models/entity_screening_hit_analysis.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/entity_screening_hit_data.rb b/lib/plaid/models/entity_screening_hit_data.rb index 771a0a711..5c973ea83 100644 --- a/lib/plaid/models/entity_screening_hit_data.rb +++ b/lib/plaid/models/entity_screening_hit_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/entity_screening_hit_documents_items.rb b/lib/plaid/models/entity_screening_hit_documents_items.rb index ab9cb682a..63fdfe897 100644 --- a/lib/plaid/models/entity_screening_hit_documents_items.rb +++ b/lib/plaid/models/entity_screening_hit_documents_items.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/entity_screening_hit_emails.rb b/lib/plaid/models/entity_screening_hit_emails.rb index d5e85d50b..c71d51e7b 100644 --- a/lib/plaid/models/entity_screening_hit_emails.rb +++ b/lib/plaid/models/entity_screening_hit_emails.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/entity_screening_hit_emails_items.rb b/lib/plaid/models/entity_screening_hit_emails_items.rb index a70e45a97..528efa387 100644 --- a/lib/plaid/models/entity_screening_hit_emails_items.rb +++ b/lib/plaid/models/entity_screening_hit_emails_items.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/entity_screening_hit_names.rb b/lib/plaid/models/entity_screening_hit_names.rb index 65fa44697..def3d5944 100644 --- a/lib/plaid/models/entity_screening_hit_names.rb +++ b/lib/plaid/models/entity_screening_hit_names.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/entity_screening_hit_names_items.rb b/lib/plaid/models/entity_screening_hit_names_items.rb index 62e847f4d..dbe451bc6 100644 --- a/lib/plaid/models/entity_screening_hit_names_items.rb +++ b/lib/plaid/models/entity_screening_hit_names_items.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/entity_screening_hit_phone_numbers.rb b/lib/plaid/models/entity_screening_hit_phone_numbers.rb index c93db18ba..a3fcc2b66 100644 --- a/lib/plaid/models/entity_screening_hit_phone_numbers.rb +++ b/lib/plaid/models/entity_screening_hit_phone_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/entity_screening_hit_urls.rb b/lib/plaid/models/entity_screening_hit_urls.rb index dfa5ead21..3c7e6e180 100644 --- a/lib/plaid/models/entity_screening_hit_urls.rb +++ b/lib/plaid/models/entity_screening_hit_urls.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/entity_screening_hit_urls_items.rb b/lib/plaid/models/entity_screening_hit_urls_items.rb index 0ad1ddce0..ca08eb651 100644 --- a/lib/plaid/models/entity_screening_hit_urls_items.rb +++ b/lib/plaid/models/entity_screening_hit_urls_items.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/entity_screening_hits_phone_number_items.rb b/lib/plaid/models/entity_screening_hits_phone_number_items.rb index b9d7645dd..63abfda29 100644 --- a/lib/plaid/models/entity_screening_hits_phone_number_items.rb +++ b/lib/plaid/models/entity_screening_hits_phone_number_items.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/entity_screening_status_updated_webhook.rb b/lib/plaid/models/entity_screening_status_updated_webhook.rb index 5928dbcc2..ff15ed130 100644 --- a/lib/plaid/models/entity_screening_status_updated_webhook.rb +++ b/lib/plaid/models/entity_screening_status_updated_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/entity_watchlist_code.rb b/lib/plaid/models/entity_watchlist_code.rb index 5f2c8f20b..99b5cf561 100644 --- a/lib/plaid/models/entity_watchlist_code.rb +++ b/lib/plaid/models/entity_watchlist_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/entity_watchlist_program.rb b/lib/plaid/models/entity_watchlist_program.rb index cf40e3b75..3db6c2746 100644 --- a/lib/plaid/models/entity_watchlist_program.rb +++ b/lib/plaid/models/entity_watchlist_program.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/entity_watchlist_screening.rb b/lib/plaid/models/entity_watchlist_screening.rb index 8d05d2b09..7cc730fa1 100644 --- a/lib/plaid/models/entity_watchlist_screening.rb +++ b/lib/plaid/models/entity_watchlist_screening.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/entity_watchlist_screening_hit.rb b/lib/plaid/models/entity_watchlist_screening_hit.rb index bb6ca593c..5ed0f3cb5 100644 --- a/lib/plaid/models/entity_watchlist_screening_hit.rb +++ b/lib/plaid/models/entity_watchlist_screening_hit.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/entity_watchlist_screening_review.rb b/lib/plaid/models/entity_watchlist_screening_review.rb index b84b53c1e..e364321a0 100644 --- a/lib/plaid/models/entity_watchlist_screening_review.rb +++ b/lib/plaid/models/entity_watchlist_screening_review.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/entity_watchlist_screening_search_terms.rb b/lib/plaid/models/entity_watchlist_screening_search_terms.rb index b21c6cf31..89baabb21 100644 --- a/lib/plaid/models/entity_watchlist_screening_search_terms.rb +++ b/lib/plaid/models/entity_watchlist_screening_search_terms.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/entity_watchlist_search_terms.rb b/lib/plaid/models/entity_watchlist_search_terms.rb index cc386df2f..9ba2399fd 100644 --- a/lib/plaid/models/entity_watchlist_search_terms.rb +++ b/lib/plaid/models/entity_watchlist_search_terms.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/expiration_date.rb b/lib/plaid/models/expiration_date.rb index 84f1e3781..17a4e3a07 100644 --- a/lib/plaid/models/expiration_date.rb +++ b/lib/plaid/models/expiration_date.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/external_payment_initiation_consent_options.rb b/lib/plaid/models/external_payment_initiation_consent_options.rb index 22031580a..5890acc52 100644 --- a/lib/plaid/models/external_payment_initiation_consent_options.rb +++ b/lib/plaid/models/external_payment_initiation_consent_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/external_payment_options.rb b/lib/plaid/models/external_payment_options.rb index 176cf6172..85b332ab6 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/external_payment_refund_details.rb b/lib/plaid/models/external_payment_refund_details.rb index 171abfa45..248623b49 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/external_payment_schedule_base.rb b/lib/plaid/models/external_payment_schedule_base.rb index d861f0490..0f462e52d 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/external_payment_schedule_get.rb b/lib/plaid/models/external_payment_schedule_get.rb index 8a6c09750..b4e5a3368 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/external_payment_schedule_request.rb b/lib/plaid/models/external_payment_schedule_request.rb index 6131393a8..5ea3d0755 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/fdx_content_types.rb b/lib/plaid/models/fdx_content_types.rb index c4769e240..0a499da77 100644 --- a/lib/plaid/models/fdx_content_types.rb +++ b/lib/plaid/models/fdx_content_types.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/fdx_hateoas_link.rb b/lib/plaid/models/fdx_hateoas_link.rb index c8727780a..d677cf8fb 100644 --- a/lib/plaid/models/fdx_hateoas_link.rb +++ b/lib/plaid/models/fdx_hateoas_link.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/fdx_hateoas_link_action.rb b/lib/plaid/models/fdx_hateoas_link_action.rb index 893f0df90..90b7ec5a9 100644 --- a/lib/plaid/models/fdx_hateoas_link_action.rb +++ b/lib/plaid/models/fdx_hateoas_link_action.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/fdx_notification.rb b/lib/plaid/models/fdx_notification.rb index 72580c29b..96e0c8356 100644 --- a/lib/plaid/models/fdx_notification.rb +++ b/lib/plaid/models/fdx_notification.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/fdx_notification_category.rb b/lib/plaid/models/fdx_notification_category.rb index 840b7b6ea..d39a14adb 100644 --- a/lib/plaid/models/fdx_notification_category.rb +++ b/lib/plaid/models/fdx_notification_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/fdx_notification_payload.rb b/lib/plaid/models/fdx_notification_payload.rb index dc539955b..2b908edb4 100644 --- a/lib/plaid/models/fdx_notification_payload.rb +++ b/lib/plaid/models/fdx_notification_payload.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/fdx_notification_payload_id_type.rb b/lib/plaid/models/fdx_notification_payload_id_type.rb index 2cdef4d70..10cbd2f99 100644 --- a/lib/plaid/models/fdx_notification_payload_id_type.rb +++ b/lib/plaid/models/fdx_notification_payload_id_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/fdx_notification_priority.rb b/lib/plaid/models/fdx_notification_priority.rb index 8b5f07a15..bf0178452 100644 --- a/lib/plaid/models/fdx_notification_priority.rb +++ b/lib/plaid/models/fdx_notification_priority.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/fdx_notification_severity.rb b/lib/plaid/models/fdx_notification_severity.rb index 57a42fa66..3f7ea38e6 100644 --- a/lib/plaid/models/fdx_notification_severity.rb +++ b/lib/plaid/models/fdx_notification_severity.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/fdx_notification_type.rb b/lib/plaid/models/fdx_notification_type.rb index bcd15b303..15726c6f6 100644 --- a/lib/plaid/models/fdx_notification_type.rb +++ b/lib/plaid/models/fdx_notification_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/fdx_party.rb b/lib/plaid/models/fdx_party.rb index 009768c93..1b8995dee 100644 --- a/lib/plaid/models/fdx_party.rb +++ b/lib/plaid/models/fdx_party.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/fdx_party_registry.rb b/lib/plaid/models/fdx_party_registry.rb index c745e32d4..ab858b426 100644 --- a/lib/plaid/models/fdx_party_registry.rb +++ b/lib/plaid/models/fdx_party_registry.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/fdx_party_type.rb b/lib/plaid/models/fdx_party_type.rb index 8eacec253..f46e0e4cc 100644 --- a/lib/plaid/models/fdx_party_type.rb +++ b/lib/plaid/models/fdx_party_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/fdxfi_attribute.rb b/lib/plaid/models/fdxfi_attribute.rb index aa19058a9..70cc5f756 100644 --- a/lib/plaid/models/fdxfi_attribute.rb +++ b/lib/plaid/models/fdxfi_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/form1099_type.rb b/lib/plaid/models/form1099_type.rb index 80536d3b7..7c50bde1c 100644 --- a/lib/plaid/models/form1099_type.rb +++ b/lib/plaid/models/form1099_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/generic_screening_hit_location_items.rb b/lib/plaid/models/generic_screening_hit_location_items.rb index 198b6aca5..b2b63b1c2 100644 --- a/lib/plaid/models/generic_screening_hit_location_items.rb +++ b/lib/plaid/models/generic_screening_hit_location_items.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/health_incident.rb b/lib/plaid/models/health_incident.rb index 13743db2f..9bf64cfe3 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -56,6 +56,7 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'end_date', ]) end diff --git a/lib/plaid/models/historical_balance.rb b/lib/plaid/models/historical_balance.rb index 250c68e69..26762727f 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/historical_update_webhook.rb b/lib/plaid/models/historical_update_webhook.rb index 5ee858f30..85a1d12cb 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -14,7 +14,7 @@ require 'time' module Plaid - # Fired when an Item's historical transaction pull is completed and Plaid has prepared as much historical transaction data as possible for the Item. Once this webhook has been fired, transaction data beyond the most recent 30 days can be fetched for the Item. If [Account Select v2](https://plaid.com/docs/link/customization/#account-select) is enabled, this webhook will also be fired if account selections for the Item are updated, with `new_transactions` set to the number of net new transactions pulled after the account selection update. + # Fired when an Item's historical transaction pull is completed and Plaid has prepared as much historical transaction data as possible for the Item. Once this webhook has been fired, transaction data beyond the most recent 30 days can be fetched for the Item. If [Account Select v2](https://plaid.com/docs/link/customization/#account-select) is enabled, this webhook will also be fired if account selections for the Item are updated, with `new_transactions` set to the number of net new transactions pulled after the account selection update. This webhook is intended for use with `/transactions/get`; if you are using the newer `/transactions/sync` endpoint, this webhook will still be fired to maintain backwards compatibility, but it is recommended to listen for and respond to the `SYNC_UPDATES_AVAILABLE` webhook instead. class HistoricalUpdateWebhook # `TRANSACTIONS` attr_accessor :webhook_type diff --git a/lib/plaid/models/holding.rb b/lib/plaid/models/holding.rb index 12f8e7d96..2a3347832 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -19,7 +19,7 @@ class Holding # The Plaid `account_id` associated with the holding. attr_accessor :account_id - # The Plaid `security_id` associated with the holding. + # The Plaid `security_id` associated with the holding. The `security_id` may change if inherent details of the security change due to a corporate action, for example, in the event of a ticker symbol change or CUSIP change. attr_accessor :security_id # The last price given by the institution for this security. @@ -34,7 +34,7 @@ class Holding # The value of the holding, as reported by the institution. attr_accessor :institution_value - # The original total value or the purchase price per share of the holding. This field is an aggregate on a per holding basis and dependent on the information provided by the institution. + # The original total value of the holding. The accuracy of this field is dependent on the information provided by the institution. attr_accessor :cost_basis # The total quantity of the asset held, as reported by the financial institution. If the security is an option, `quantity` will reflect the total number of options (typically the number of contracts multiplied by 100), not the number of contracts. diff --git a/lib/plaid/models/holdings_default_update_webhook.rb b/lib/plaid/models/holdings_default_update_webhook.rb index b701f81bb..d64beadc5 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/holdings_override.rb b/lib/plaid/models/holdings_override.rb index 9b1b17467..c0d9d3df5 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/id_number_type.rb b/lib/plaid/models/id_number_type.rb index 541c7be52..9275bef9c 100644 --- a/lib/plaid/models/id_number_type.rb +++ b/lib/plaid/models/id_number_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/identity_default_update_webhook.rb b/lib/plaid/models/identity_default_update_webhook.rb index bf6177c6b..273374f6d 100644 --- a/lib/plaid/models/identity_default_update_webhook.rb +++ b/lib/plaid/models/identity_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/identity_get_request.rb b/lib/plaid/models/identity_get_request.rb index 7c254b537..2c81e8d87 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/identity_get_request_options.rb b/lib/plaid/models/identity_get_request_options.rb index eb0969148..fbf7c4a3a 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/identity_get_response.rb b/lib/plaid/models/identity_get_response.rb index 1e63d9ea5..b53f7306c 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/identity_match_request.rb b/lib/plaid/models/identity_match_request.rb index d3d3e173c..3d9ad54c3 100644 --- a/lib/plaid/models/identity_match_request.rb +++ b/lib/plaid/models/identity_match_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/identity_match_request_options.rb b/lib/plaid/models/identity_match_request_options.rb index ff8f98048..b80f2b320 100644 --- a/lib/plaid/models/identity_match_request_options.rb +++ b/lib/plaid/models/identity_match_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/identity_match_response.rb b/lib/plaid/models/identity_match_response.rb index 51a00eb3b..ca3cb43ed 100644 --- a/lib/plaid/models/identity_match_response.rb +++ b/lib/plaid/models/identity_match_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/identity_match_user.rb b/lib/plaid/models/identity_match_user.rb index 5925e77e9..c6293acbd 100644 --- a/lib/plaid/models/identity_match_user.rb +++ b/lib/plaid/models/identity_match_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/identity_update_types.rb b/lib/plaid/models/identity_update_types.rb index 0116801fb..ae7ec9c89 100644 --- a/lib/plaid/models/identity_update_types.rb +++ b/lib/plaid/models/identity_update_types.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/identity_verification.rb b/lib/plaid/models/identity_verification.rb index 51fdaca1f..acfaba482 100644 --- a/lib/plaid/models/identity_verification.rb +++ b/lib/plaid/models/identity_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/identity_verification_create_request.rb b/lib/plaid/models/identity_verification_create_request.rb index d614b8ab3..4bcdc5436 100644 --- a/lib/plaid/models/identity_verification_create_request.rb +++ b/lib/plaid/models/identity_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/identity_verification_create_response.rb b/lib/plaid/models/identity_verification_create_response.rb index 62850dce3..189fa3922 100644 --- a/lib/plaid/models/identity_verification_create_response.rb +++ b/lib/plaid/models/identity_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/identity_verification_get_request.rb b/lib/plaid/models/identity_verification_get_request.rb index d3c40d05f..e142d9759 100644 --- a/lib/plaid/models/identity_verification_get_request.rb +++ b/lib/plaid/models/identity_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/identity_verification_get_response.rb b/lib/plaid/models/identity_verification_get_response.rb index 092f88db2..13c3517b3 100644 --- a/lib/plaid/models/identity_verification_get_response.rb +++ b/lib/plaid/models/identity_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/identity_verification_list_request.rb b/lib/plaid/models/identity_verification_list_request.rb index 83e7c599c..7e1283840 100644 --- a/lib/plaid/models/identity_verification_list_request.rb +++ b/lib/plaid/models/identity_verification_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/identity_verification_list_response.rb b/lib/plaid/models/identity_verification_list_response.rb index 7789dafa0..e924e7fb4 100644 --- a/lib/plaid/models/identity_verification_list_response.rb +++ b/lib/plaid/models/identity_verification_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/identity_verification_request_user.rb b/lib/plaid/models/identity_verification_request_user.rb index de9a07f55..bdadce7d1 100644 --- a/lib/plaid/models/identity_verification_request_user.rb +++ b/lib/plaid/models/identity_verification_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -14,7 +14,7 @@ require 'time' module Plaid - # User information collected outside of Link, most likely via your own onboarding process. Each of the following identity fields are optional: `email_address` `phone_number` `date_of_birth` `name` `address` `id_number` Specifically, these fields are optional in that they can either be fully provided (satisfying every required field in their subschema) or omitted from the request entirely by not providing the key or value. Providing these fields via the API will result in Link skipping the data collection process for the associated user. All verification steps enabled in the associated Identity Verification Template will still be run. Verification steps will either be run immediately, or once the user completes the `accept_tos` step, depending on the value provided to the `gave_consent` field. + # User information collected outside of Link, most likely via your own onboarding process. Each of the following identity fields are optional: `email_address` `phone_number` `date_of_birth` `name` `address` `id_number` Specifically, these fields are optional in that they can either be fully provided (satisfying every required field in their subschema) or omitted from the request entirely by not providing the key or value. Providing these fields via the API will result in Link skipping the data collection process for the associated user. All verification steps enabled in the associated Identity Verification Template will still be run. Verification steps will either be run immediately, or once the user completes the `accept_tos` step, depending on the value provided to the `gave_consent` field. class IdentityVerificationRequestUser # An identifier to help you connect this object to your internal systems. For example, your database ID corresponding to this object. attr_accessor :client_user_id @@ -69,7 +69,6 @@ def self.openapi_types def self.openapi_nullable Set.new([ :'phone_number', - :'date_of_birth', :'name', :'address', :'id_number' diff --git a/lib/plaid/models/identity_verification_retried_webhook.rb b/lib/plaid/models/identity_verification_retried_webhook.rb index 26d7cca74..2fa7b1d9c 100644 --- a/lib/plaid/models/identity_verification_retried_webhook.rb +++ b/lib/plaid/models/identity_verification_retried_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/identity_verification_retry_request.rb b/lib/plaid/models/identity_verification_retry_request.rb index 7e8913531..62e2bb2d0 100644 --- a/lib/plaid/models/identity_verification_retry_request.rb +++ b/lib/plaid/models/identity_verification_retry_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/identity_verification_retry_request_steps_object.rb b/lib/plaid/models/identity_verification_retry_request_steps_object.rb index c101f139c..a9243958c 100644 --- a/lib/plaid/models/identity_verification_retry_request_steps_object.rb +++ b/lib/plaid/models/identity_verification_retry_request_steps_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/identity_verification_retry_response.rb b/lib/plaid/models/identity_verification_retry_response.rb index 052ded876..7c16c4925 100644 --- a/lib/plaid/models/identity_verification_retry_response.rb +++ b/lib/plaid/models/identity_verification_retry_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/identity_verification_status.rb b/lib/plaid/models/identity_verification_status.rb index 2701f9e86..2ff974ea2 100644 --- a/lib/plaid/models/identity_verification_status.rb +++ b/lib/plaid/models/identity_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/identity_verification_status_updated_webhook.rb b/lib/plaid/models/identity_verification_status_updated_webhook.rb index ce88bd270..86529797d 100644 --- a/lib/plaid/models/identity_verification_status_updated_webhook.rb +++ b/lib/plaid/models/identity_verification_status_updated_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/identity_verification_step_status.rb b/lib/plaid/models/identity_verification_step_status.rb index cc7d78ae2..3a4d5303f 100644 --- a/lib/plaid/models/identity_verification_step_status.rb +++ b/lib/plaid/models/identity_verification_step_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/identity_verification_step_summary.rb b/lib/plaid/models/identity_verification_step_summary.rb index 0de6543ab..5af0275f1 100644 --- a/lib/plaid/models/identity_verification_step_summary.rb +++ b/lib/plaid/models/identity_verification_step_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/identity_verification_step_updated_webhook.rb b/lib/plaid/models/identity_verification_step_updated_webhook.rb index 75890a7f0..19d1562a9 100644 --- a/lib/plaid/models/identity_verification_step_updated_webhook.rb +++ b/lib/plaid/models/identity_verification_step_updated_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/identity_verification_template_reference.rb b/lib/plaid/models/identity_verification_template_reference.rb index 4044cbca4..40c949e12 100644 --- a/lib/plaid/models/identity_verification_template_reference.rb +++ b/lib/plaid/models/identity_verification_template_reference.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/identity_verification_user_address.rb b/lib/plaid/models/identity_verification_user_address.rb index b6037898e..8115bbae7 100644 --- a/lib/plaid/models/identity_verification_user_address.rb +++ b/lib/plaid/models/identity_verification_user_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/identity_verification_user_data.rb b/lib/plaid/models/identity_verification_user_data.rb index d56e014e8..755c2c867 100644 --- a/lib/plaid/models/identity_verification_user_data.rb +++ b/lib/plaid/models/identity_verification_user_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/image_quality.rb b/lib/plaid/models/image_quality.rb index 35f2d0a2a..e2aa6c7ec 100644 --- a/lib/plaid/models/image_quality.rb +++ b/lib/plaid/models/image_quality.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/incident_update.rb b/lib/plaid/models/incident_update.rb index b5fe26d1b..bcae7d09c 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/income_breakdown.rb b/lib/plaid/models/income_breakdown.rb index 3b34c9daf..2d88a52f4 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/income_breakdown_type.rb b/lib/plaid/models/income_breakdown_type.rb index 1bf14e4e9..ed91c2a42 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/income_override.rb b/lib/plaid/models/income_override.rb index be22f55fd..3e7cf1fe2 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/income_summary.rb b/lib/plaid/models/income_summary.rb index c9eb021ab..8ad794fed 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/income_summary_field_number.rb b/lib/plaid/models/income_summary_field_number.rb index b94b4b176..77abb51ba 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/income_summary_field_string.rb b/lib/plaid/models/income_summary_field_string.rb index 91c1083ec..86347cfc7 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/income_verification_create_request.rb b/lib/plaid/models/income_verification_create_request.rb index 8334a3c31..7c419ecbd 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/income_verification_create_request_options.rb b/lib/plaid/models/income_verification_create_request_options.rb index aa864eec3..004ade75f 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/income_verification_create_response.rb b/lib/plaid/models/income_verification_create_response.rb index e57fea8c1..c150570ca 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/income_verification_documents_download_request.rb b/lib/plaid/models/income_verification_documents_download_request.rb index 5956d4385..de72ac21e 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/income_verification_payroll_flow_type.rb b/lib/plaid/models/income_verification_payroll_flow_type.rb index 7fd7c97b7..019478816 100644 --- a/lib/plaid/models/income_verification_payroll_flow_type.rb +++ b/lib/plaid/models/income_verification_payroll_flow_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/income_verification_paystubs_get_request.rb b/lib/plaid/models/income_verification_paystubs_get_request.rb index bc95bc540..303d1d61a 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/income_verification_paystubs_get_response.rb b/lib/plaid/models/income_verification_paystubs_get_response.rb index 00d88ac04..4899042fc 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/income_verification_precheck_confidence.rb b/lib/plaid/models/income_verification_precheck_confidence.rb index dc35ec394..31269b9f4 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/income_verification_precheck_employer.rb b/lib/plaid/models/income_verification_precheck_employer.rb index 1fb9ab0aa..5e69fcc8d 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/income_verification_precheck_employer_address.rb b/lib/plaid/models/income_verification_precheck_employer_address.rb index 124e20669..a74a3d269 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/income_verification_precheck_employer_address_data.rb b/lib/plaid/models/income_verification_precheck_employer_address_data.rb index 61f1a665e..ae8cd2364 100644 --- a/lib/plaid/models/income_verification_precheck_employer_address_data.rb +++ b/lib/plaid/models/income_verification_precheck_employer_address_data.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/income_verification_precheck_military_info.rb b/lib/plaid/models/income_verification_precheck_military_info.rb index f4555dc61..05506b288 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/income_verification_precheck_payroll_institution.rb b/lib/plaid/models/income_verification_precheck_payroll_institution.rb index ec68314aa..856eb9625 100644 --- a/lib/plaid/models/income_verification_precheck_payroll_institution.rb +++ b/lib/plaid/models/income_verification_precheck_payroll_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/income_verification_precheck_request.rb b/lib/plaid/models/income_verification_precheck_request.rb index 092685412..6dfcf927a 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/income_verification_precheck_response.rb b/lib/plaid/models/income_verification_precheck_response.rb index 57fd150a2..a32a11d19 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/income_verification_precheck_user.rb b/lib/plaid/models/income_verification_precheck_user.rb index 805cd12ed..6ba60f3eb 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/income_verification_refresh_request.rb b/lib/plaid/models/income_verification_refresh_request.rb index a691fc7eb..56f5d030d 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/income_verification_refresh_response.rb b/lib/plaid/models/income_verification_refresh_response.rb index a9bcb7813..941c7d7ac 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/income_verification_source_type.rb b/lib/plaid/models/income_verification_source_type.rb index 3290baf54..895072038 100644 --- a/lib/plaid/models/income_verification_source_type.rb +++ b/lib/plaid/models/income_verification_source_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/income_verification_status_webhook.rb b/lib/plaid/models/income_verification_status_webhook.rb index 97e8d6f0f..613df6ece 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -28,7 +28,7 @@ class IncomeVerificationStatusWebhook # The Plaid `user_id` of the User associated with this webhook, warning, or error. attr_accessor :user_id - # `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 `/income/verification/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. + # `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 `/income/verification/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`: (deprecated) The income verification has been sent to the user for review. attr_accessor :verification_status attr_accessor :environment diff --git a/lib/plaid/models/income_verification_taxforms_get_request.rb b/lib/plaid/models/income_verification_taxforms_get_request.rb index eaf558146..e0a78c3af 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/income_verification_taxforms_get_response.rb b/lib/plaid/models/income_verification_taxforms_get_response.rb index 55c2262bb..36ea9e4b8 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/income_verification_webhook_status.rb b/lib/plaid/models/income_verification_webhook_status.rb index e9f76b26a..ca651dcb5 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/individual_name.rb b/lib/plaid/models/individual_name.rb index 1b81e2e15..4498dd422 100644 --- a/lib/plaid/models/individual_name.rb +++ b/lib/plaid/models/individual_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/individual_screening_hit_names.rb b/lib/plaid/models/individual_screening_hit_names.rb index 97749dcc1..0372667dd 100644 --- a/lib/plaid/models/individual_screening_hit_names.rb +++ b/lib/plaid/models/individual_screening_hit_names.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/individual_watchlist_code.rb b/lib/plaid/models/individual_watchlist_code.rb index ab90f1f6c..58e6768ee 100644 --- a/lib/plaid/models/individual_watchlist_code.rb +++ b/lib/plaid/models/individual_watchlist_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/individual_watchlist_program.rb b/lib/plaid/models/individual_watchlist_program.rb index d8666e4b7..67263743b 100644 --- a/lib/plaid/models/individual_watchlist_program.rb +++ b/lib/plaid/models/individual_watchlist_program.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/inflow_model.rb b/lib/plaid/models/inflow_model.rb index 4d317a9a7..a0b7aefc5 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/initial_update_webhook.rb b/lib/plaid/models/initial_update_webhook.rb index ea7d0e74a..cfa1369b7 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -14,7 +14,7 @@ require 'time' module Plaid - # Fired when an Item's initial transaction pull is completed. Once this webhook has been fired, transaction data for the most recent 30 days can be fetched for the Item. If [Account Select v2](https://plaid.com/docs/link/customization/#account-select) is enabled, this webhook will also be fired if account selections for the Item are updated, with `new_transactions` set to the number of net new transactions pulled after the account selection update. + # Fired when an Item's initial transaction pull is completed. Once this webhook has been fired, transaction data for the most recent 30 days can be fetched for the Item. If [Account Select v2](https://plaid.com/docs/link/customization/#account-select) is enabled, this webhook will also be fired if account selections for the Item are updated, with `new_transactions` set to the number of net new transactions pulled after the account selection update. This webhook is intended for use with `/transactions/get`; if you are using the newer `/transactions/sync` endpoint, this webhook will still be fired to maintain backwards compatibility, but it is recommended to listen for and respond to the `SYNC_UPDATES_AVAILABLE` webhook instead. class InitialUpdateWebhook # `TRANSACTIONS` attr_accessor :webhook_type diff --git a/lib/plaid/models/institution.rb b/lib/plaid/models/institution.rb index 54a23cf6c..ae012767f 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -40,7 +40,7 @@ class Institution # A partial list of routing numbers associated with the institution. This list is provided for the purpose of looking up institutions by routing number. It is not comprehensive and should never be used as a complete list of routing numbers for an institution. attr_accessor :routing_numbers - # Indicates that the institution has an OAuth login flow. + # Indicates that the institution has a mandatory OAuth login flow. Note that `oauth` may be `false` even for institutions that support OAuth, if the institution is in the process of migrating to OAuth and some active Items still exist that do not use OAuth. attr_accessor :oauth attr_accessor :status diff --git a/lib/plaid/models/institution_status.rb b/lib/plaid/models/institution_status.rb index c6b99605c..e2adf812c 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/institutions_get_by_id_request.rb b/lib/plaid/models/institutions_get_by_id_request.rb index ec3f612d3..e2dfa39ae 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 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 1cc2f1e6f..b69300e31 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/institutions_get_by_id_response.rb b/lib/plaid/models/institutions_get_by_id_response.rb index abbd86051..526b1d1d5 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/institutions_get_request.rb b/lib/plaid/models/institutions_get_request.rb index df81e2e62..8ab9ffdc1 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/institutions_get_request_options.rb b/lib/plaid/models/institutions_get_request_options.rb index a34d904e3..e33815fa8 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -22,7 +22,7 @@ class InstitutionsGetRequestOptions # Specify an array of routing numbers to filter institutions. The response will only return institutions that match all of the routing numbers in the array. Routing number records used for this matching are not comprehensive; failure to match a given routing number to an institution does not mean that the institution is unsupported by Plaid. attr_accessor :routing_numbers - # Limit results to institutions with or without OAuth login flows. + # Limit results to institutions with or without mandatory OAuth login flows. Note that institutions will only have `oauth` set to `true` if *all* Items associated with that institution are required to use OAuth flows; institutions in a state of migration to OAuth may have the `oauth` attribute set to `false` even if they support OAuth. attr_accessor :oauth # When `true`, return the institution's homepage URL, logo and primary brand color. Note that Plaid does not own any of the logos shared by the API, and that by accessing or using these logos, you agree that you are doing so at your own risk and will, if necessary, obtain all required permissions from the appropriate rights holders and adhere to any applicable usage guidelines. Plaid disclaims all express or implied warranties with respect to the logos. diff --git a/lib/plaid/models/institutions_get_response.rb b/lib/plaid/models/institutions_get_response.rb index 4fee7a0c5..beb821129 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/institutions_search_account_filter.rb b/lib/plaid/models/institutions_search_account_filter.rb index 4352018eb..b73660cca 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/institutions_search_payment_initiation_options.rb b/lib/plaid/models/institutions_search_payment_initiation_options.rb index d66f647c6..7ea5d6ac1 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/institutions_search_request.rb b/lib/plaid/models/institutions_search_request.rb index ea7924120..ecb3926d8 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/institutions_search_request_options.rb b/lib/plaid/models/institutions_search_request_options.rb index 1e6f5e22f..f4a4b68e1 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -16,7 +16,7 @@ module Plaid # An optional object to filter `/institutions/search` results. class InstitutionsSearchRequestOptions - # Limit results to institutions with or without OAuth login flows. + # Limit results to institutions with or without mandatory OAuth login flows. Note that institutions will only have `oauth` set to `true` if *all* Items associated with that institution are required to use OAuth flows; institutions in a state of migration to OAuth may have the `oauth` attribute set to `false` even if they support OAuth. attr_accessor :oauth # When true, return the institution's homepage URL, logo and primary brand color. diff --git a/lib/plaid/models/institutions_search_response.rb b/lib/plaid/models/institutions_search_response.rb index e0aeae65a..35b5ca53a 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/investment_account_subtype.rb b/lib/plaid/models/investment_account_subtype.rb index e97cd0135..2d33a3974 100644 --- a/lib/plaid/models/investment_account_subtype.rb +++ b/lib/plaid/models/investment_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -37,6 +37,7 @@ class InvestmentAccountSubtype LRIF = "lrif".freeze LRSP = "lrsp".freeze MUTUAL_FUND = "mutual fund".freeze + NON_CUSTODIAL_WALLET = "non-custodial wallet".freeze NON_TAXABLE_BROKERAGE_ACCOUNT = "non-taxable brokerage account".freeze OTHER = "other".freeze OTHER_ANNUITY = "other annuity".freeze diff --git a/lib/plaid/models/investment_filter.rb b/lib/plaid/models/investment_filter.rb index 55f54bf77..8a75b50f1 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/investment_holdings_get_request_options.rb b/lib/plaid/models/investment_holdings_get_request_options.rb index d2b01609d..bc09dc99e 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/investment_transaction.rb b/lib/plaid/models/investment_transaction.rb index 55780f884..e132c5551 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/investment_transaction_subtype.rb b/lib/plaid/models/investment_transaction_subtype.rb index 3933d7825..991a0bd7a 100644 --- a/lib/plaid/models/investment_transaction_subtype.rb +++ b/lib/plaid/models/investment_transaction_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -57,6 +57,7 @@ class InvestmentTransactionSubtype STOCK_DISTRIBUTION = "stock distribution".freeze TAX = "tax".freeze TAX_WITHHELD = "tax withheld".freeze + TRADE = "trade".freeze TRANSFER = "transfer".freeze TRANSFER_FEE = "transfer fee".freeze TRUST_FEE = "trust fee".freeze diff --git a/lib/plaid/models/investment_transaction_type.rb b/lib/plaid/models/investment_transaction_type.rb index ddd2c311f..9a2bfc9d9 100644 --- a/lib/plaid/models/investment_transaction_type.rb +++ b/lib/plaid/models/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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/investments_default_update_webhook.rb b/lib/plaid/models/investments_default_update_webhook.rb index fd936083d..8808246e5 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/investments_holdings_get_request.rb b/lib/plaid/models/investments_holdings_get_request.rb index 824baea04..25b843f1d 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/investments_holdings_get_response.rb b/lib/plaid/models/investments_holdings_get_response.rb index b9c6324ae..7077a6cf3 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/investments_transactions_get_request.rb b/lib/plaid/models/investments_transactions_get_request.rb index 6f39f902d..0da26b315 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/investments_transactions_get_request_options.rb b/lib/plaid/models/investments_transactions_get_request_options.rb index 59ee92136..b929604b0 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/investments_transactions_get_response.rb b/lib/plaid/models/investments_transactions_get_response.rb index a08273ebd..f1539462c 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/investments_transactions_override.rb b/lib/plaid/models/investments_transactions_override.rb index c48a364c9..9063264b5 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/issuing_country.rb b/lib/plaid/models/issuing_country.rb index 2ab3747e4..e7a7aa05b 100644 --- a/lib/plaid/models/issuing_country.rb +++ b/lib/plaid/models/issuing_country.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item.rb b/lib/plaid/models/item.rb index f67cbdd1e..58d03f9eb 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item_access_token_invalidate_request.rb b/lib/plaid/models/item_access_token_invalidate_request.rb index 52abcb622..190c48712 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item_access_token_invalidate_response.rb b/lib/plaid/models/item_access_token_invalidate_response.rb index 9cb9b75eb..473435e70 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item_application_list_request.rb b/lib/plaid/models/item_application_list_request.rb index 8f99eada0..d7d572a40 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item_application_list_response.rb b/lib/plaid/models/item_application_list_response.rb index 6fd72ef53..ce9f0f55d 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item_application_list_user_auth.rb b/lib/plaid/models/item_application_list_user_auth.rb index 9d0186eb2..90ef90f47 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item_application_scopes_update_request.rb b/lib/plaid/models/item_application_scopes_update_request.rb index c62f41de3..d131aa094 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item_application_scopes_update_response.rb b/lib/plaid/models/item_application_scopes_update_response.rb index f5c0faceb..2a932d8cd 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item_error_webhook.rb b/lib/plaid/models/item_error_webhook.rb index 40cf2e477..756d8385b 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item_get_request.rb b/lib/plaid/models/item_get_request.rb index 0cfe8f305..0b0a3bfcf 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item_get_response.rb b/lib/plaid/models/item_get_response.rb index 6f7eea5cc..ab0d28d6a 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item_import_request.rb b/lib/plaid/models/item_import_request.rb index 8c7c03791..506981818 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item_import_request_options.rb b/lib/plaid/models/item_import_request_options.rb index 72a24b32c..084f41f2d 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item_import_request_user_auth.rb b/lib/plaid/models/item_import_request_user_auth.rb index c6c830aa4..012adfa05 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item_import_response.rb b/lib/plaid/models/item_import_response.rb index 553d56f26..d68f70a3b 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item_product_ready_webhook.rb b/lib/plaid/models/item_product_ready_webhook.rb index 198844599..1511a1add 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item_public_token_create_request.rb b/lib/plaid/models/item_public_token_create_request.rb index 00501466e..feaba850e 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item_public_token_create_response.rb b/lib/plaid/models/item_public_token_create_response.rb index 1a7a3ac79..2b9e8ddf5 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item_public_token_exchange_request.rb b/lib/plaid/models/item_public_token_exchange_request.rb index 0514badb2..5b01de198 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item_public_token_exchange_response.rb b/lib/plaid/models/item_public_token_exchange_response.rb index 321b7c5f9..f446292f2 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item_remove_request.rb b/lib/plaid/models/item_remove_request.rb index 9cb8a8311..4a1bac373 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item_remove_response.rb b/lib/plaid/models/item_remove_response.rb index ffb962b8e..574284cc6 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item_status.rb b/lib/plaid/models/item_status.rb index b5c4c3cbd..b1edd7531 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item_status_investments.rb b/lib/plaid/models/item_status_investments.rb index 5349d2260..fe0434593 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item_status_last_webhook.rb b/lib/plaid/models/item_status_last_webhook.rb index f2560ef12..5f8b5dc3f 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item_status_nullable.rb b/lib/plaid/models/item_status_nullable.rb index 5f52ab4f6..ad80cec5a 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item_status_transactions.rb b/lib/plaid/models/item_status_transactions.rb index 463286cfc..1d792955f 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item_webhook_update_request.rb b/lib/plaid/models/item_webhook_update_request.rb index 4132378e1..b3f7a72ff 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item_webhook_update_response.rb b/lib/plaid/models/item_webhook_update_response.rb index a7b54a250..19416f0c0 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/jwk_public_key.rb b/lib/plaid/models/jwk_public_key.rb index 7e6b05fa8..7f6fa1df2 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/jwt_header.rb b/lib/plaid/models/jwt_header.rb index 75b662dfc..fcf95aaa1 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/kyc_check_address_summary.rb b/lib/plaid/models/kyc_check_address_summary.rb index aeaf1d523..40236e36e 100644 --- a/lib/plaid/models/kyc_check_address_summary.rb +++ b/lib/plaid/models/kyc_check_address_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/kyc_check_date_of_birth_summary.rb b/lib/plaid/models/kyc_check_date_of_birth_summary.rb index 8f274fd06..9c620d1c4 100644 --- a/lib/plaid/models/kyc_check_date_of_birth_summary.rb +++ b/lib/plaid/models/kyc_check_date_of_birth_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/kyc_check_details.rb b/lib/plaid/models/kyc_check_details.rb index fb7dba2c6..f4197a880 100644 --- a/lib/plaid/models/kyc_check_details.rb +++ b/lib/plaid/models/kyc_check_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/kyc_check_id_number_summary.rb b/lib/plaid/models/kyc_check_id_number_summary.rb index 5f98677c7..5b9682284 100644 --- a/lib/plaid/models/kyc_check_id_number_summary.rb +++ b/lib/plaid/models/kyc_check_id_number_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/kyc_check_name_summary.rb b/lib/plaid/models/kyc_check_name_summary.rb index 017d7e361..a6ea507c9 100644 --- a/lib/plaid/models/kyc_check_name_summary.rb +++ b/lib/plaid/models/kyc_check_name_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/kyc_check_phone_summary.rb b/lib/plaid/models/kyc_check_phone_summary.rb index d1efd2cd6..cd58922bc 100644 --- a/lib/plaid/models/kyc_check_phone_summary.rb +++ b/lib/plaid/models/kyc_check_phone_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/liabilities_default_update_webhook.rb b/lib/plaid/models/liabilities_default_update_webhook.rb index a08dd7661..bf85db2a8 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/liabilities_get_request.rb b/lib/plaid/models/liabilities_get_request.rb index 2b8608c65..af002f199 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/liabilities_get_request_options.rb b/lib/plaid/models/liabilities_get_request_options.rb index 91a2bfa39..559c58435 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/liabilities_get_response.rb b/lib/plaid/models/liabilities_get_response.rb index b2bebf05b..f556ca6d6 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/liabilities_object.rb b/lib/plaid/models/liabilities_object.rb index e8da7c308..7189df9bb 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/liability_override.rb b/lib/plaid/models/liability_override.rb index d4271c0b6..228b38daa 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/link_delivery_create_request.rb b/lib/plaid/models/link_delivery_create_request.rb index 84ca6cafd..f8f89e035 100644 --- a/lib/plaid/models/link_delivery_create_request.rb +++ b/lib/plaid/models/link_delivery_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/link_delivery_create_response.rb b/lib/plaid/models/link_delivery_create_response.rb index e2e414079..cfe08c62f 100644 --- a/lib/plaid/models/link_delivery_create_response.rb +++ b/lib/plaid/models/link_delivery_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/link_delivery_delivery_method.rb b/lib/plaid/models/link_delivery_delivery_method.rb index e4e3e875d..012d0438c 100644 --- a/lib/plaid/models/link_delivery_delivery_method.rb +++ b/lib/plaid/models/link_delivery_delivery_method.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/link_delivery_get_request.rb b/lib/plaid/models/link_delivery_get_request.rb index 6f54b7a7b..421de8dff 100644 --- a/lib/plaid/models/link_delivery_get_request.rb +++ b/lib/plaid/models/link_delivery_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/link_delivery_get_response.rb b/lib/plaid/models/link_delivery_get_response.rb index bbaf57c9f..68465941d 100644 --- a/lib/plaid/models/link_delivery_get_response.rb +++ b/lib/plaid/models/link_delivery_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/link_delivery_session_status.rb b/lib/plaid/models/link_delivery_session_status.rb index 7a9639cba..ed595c334 100644 --- a/lib/plaid/models/link_delivery_session_status.rb +++ b/lib/plaid/models/link_delivery_session_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/link_o_auth_correlation_id_exchange_request.rb b/lib/plaid/models/link_o_auth_correlation_id_exchange_request.rb new file mode 100644 index 000000000..a71233b7d --- /dev/null +++ b/lib/plaid/models/link_o_auth_correlation_id_exchange_request.rb @@ -0,0 +1,245 @@ +=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.197.3 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 5.1.1 + +=end + +require 'date' +require 'time' + +module Plaid + # LinkOAuthCorrelationIdExchangeRequest defines the request schema for `/link/oauth/correlation_id/exchange` + class LinkOAuthCorrelationIdExchangeRequest + # Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body. + attr_accessor :client_id + + # Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body. + attr_accessor :secret + + # A `link_correlation_id` from a received OAuth redirect URI callback + attr_accessor :link_correlation_id + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'client_id' => :'client_id', + :'secret' => :'secret', + :'link_correlation_id' => :'link_correlation_id' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'client_id' => :'String', + :'secret' => :'String', + :'link_correlation_id' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::LinkOAuthCorrelationIdExchangeRequest` 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::LinkOAuthCorrelationIdExchangeRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'client_id') + self.client_id = attributes[:'client_id'] + end + + if attributes.key?(:'secret') + self.secret = attributes[:'secret'] + end + + if attributes.key?(:'link_correlation_id') + self.link_correlation_id = attributes[:'link_correlation_id'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @link_correlation_id.nil? + invalid_properties.push('invalid value for "link_correlation_id", link_correlation_id cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @link_correlation_id.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + client_id == o.client_id && + secret == o.secret && + link_correlation_id == o.link_correlation_id + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [client_id, secret, link_correlation_id].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/link_o_auth_correlation_id_exchange_response.rb b/lib/plaid/models/link_o_auth_correlation_id_exchange_response.rb new file mode 100644 index 000000000..748d58927 --- /dev/null +++ b/lib/plaid/models/link_o_auth_correlation_id_exchange_response.rb @@ -0,0 +1,240 @@ +=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.197.3 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 5.1.1 + +=end + +require 'date' +require 'time' + +module Plaid + # LinkOAuthCorrelationIdExchangeResponse defines the response schema for `/link/oauth/correlation_id/exchange` + class LinkOAuthCorrelationIdExchangeResponse + # The `link_token` associated to the given `link_correlation_id`, which can be used to re-initialize Link. + attr_accessor :link_token + + # A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive. + attr_accessor :request_id + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'link_token' => :'link_token', + :'request_id' => :'request_id' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'link_token' => :'String', + :'request_id' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::LinkOAuthCorrelationIdExchangeResponse` 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::LinkOAuthCorrelationIdExchangeResponse`. 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?(:'link_token') + self.link_token = attributes[:'link_token'] + end + + if attributes.key?(:'request_id') + self.request_id = attributes[:'request_id'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @link_token.nil? + invalid_properties.push('invalid value for "link_token", link_token cannot be nil.') + end + + if @request_id.nil? + invalid_properties.push('invalid value for "request_id", request_id cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @link_token.nil? + return false if @request_id.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + link_token == o.link_token && + request_id == o.request_id + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [link_token, request_id].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/link_token_account_filters.rb b/lib/plaid/models/link_token_account_filters.rb index 6628df149..28d95a121 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/link_token_create_credit_filter.rb b/lib/plaid/models/link_token_create_credit_filter.rb index c64ee96ad..bee0ede98 100644 --- a/lib/plaid/models/link_token_create_credit_filter.rb +++ b/lib/plaid/models/link_token_create_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/link_token_create_depository_filter.rb b/lib/plaid/models/link_token_create_depository_filter.rb index 1cd006c03..392cf0f2a 100644 --- a/lib/plaid/models/link_token_create_depository_filter.rb +++ b/lib/plaid/models/link_token_create_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/link_token_create_institution_data.rb b/lib/plaid/models/link_token_create_institution_data.rb index 1eac4dcae..6c6c3b520 100644 --- a/lib/plaid/models/link_token_create_institution_data.rb +++ b/lib/plaid/models/link_token_create_institution_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/link_token_create_investment_filter.rb b/lib/plaid/models/link_token_create_investment_filter.rb index bd7d885f0..5c4476b88 100644 --- a/lib/plaid/models/link_token_create_investment_filter.rb +++ b/lib/plaid/models/link_token_create_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/link_token_create_loan_filter.rb b/lib/plaid/models/link_token_create_loan_filter.rb index df36af3d8..5499526e0 100644 --- a/lib/plaid/models/link_token_create_loan_filter.rb +++ b/lib/plaid/models/link_token_create_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/link_token_create_request.rb b/lib/plaid/models/link_token_create_request.rb index d71fcdd7f..81080a0ed 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -25,7 +25,7 @@ class LinkTokenCreateRequest # The name of your application, as it should be displayed in Link. Maximum length of 30 characters. If a value longer than 30 characters is provided, Link will display \"This Application\" instead. attr_accessor :client_name - # The language that Link should be displayed in. Supported languages are: - English (`'en'`) - French (`'fr'`) - Spanish (`'es'`) - Dutch (`'nl'`) - German(`'de'`) When using a Link customization, the language configured here must match the setting in the customization, or the customization will not be applied. + # The language that Link should be displayed in. Supported languages are: - Danish (`'da'`) - Dutch (`'nl'`) - English (`'en'`) - Estonian (`'et'`) - French (`'fr'`) - German (`'de'`) - Italian (`'it'`) - Latvian (`'lv'`) - Lithuanian (`'lt'`) - Norwegian (`'no'`) - Polish (`'po'`) - Romanian (`'ro'`) - Spanish (`'es'`) - Swedish (`'se'`) When using a Link customization, the language configured here must match the setting in the customization, or the customization will not be applied. attr_accessor :language # Specify an array of Plaid-supported country codes using the ISO-3166-1 alpha-2 country code standard. Institutions from all listed countries will be shown. Supported country codes are: `US`, `CA`, `DE`, `ES`, `FR`, `GB`, `IE`, `IT`, `NL`. For a complete mapping of supported products by country, see https://plaid.com/global/. If Link is launched with multiple country codes, only products that you are enabled for in all countries will be used by Link. Note that while all countries are enabled by default in Sandbox and Development, in Production only US and Canada are enabled by default. To gain access to European institutions in the Production environment, [file a product access Support ticket](https://dashboard.plaid.com/support/new/product-and-development/product-troubleshooting/request-product-access) via the Plaid dashboard. If you initialize with a European country code, your users will see the European consent panel during the Link flow. If using a Link customization, make sure the country codes in the customization match those specified in `country_codes`. If both `country_codes` and a Link customization are used, the value in `country_codes` may override the value in the customization. If using the Auth features Instant Match, Same-day Micro-deposits, or Automated Micro-deposits, `country_codes` must be set to `['US']`. @@ -42,7 +42,7 @@ class LinkTokenCreateRequest # The destination URL to which any webhooks should be sent. attr_accessor :webhook - # The `access_token` associated with the Item to update, used when updating or modifying an existing `access_token`. Used when launching Link in update mode, when completing the Same-day (manual) Micro-deposit flow, or (optionally) when initializing Link as part of the Payment Initiation (UK and Europe) flow. + # The `access_token` associated with the Item to update or reference, used when updating, modifying, or accessing an existing `access_token`. Used when launching Link in update mode, when completing the Same-day (manual) Micro-deposit flow, or (optionally) when initializing Link for a returning user as part of the Transfer UI flow. attr_accessor :access_token # The name of the Link customization from the Plaid Dashboard to be applied to Link. If not specified, the `default` customization will be used. When using a Link customization, the language in the customization must match the language selected via the `language` parameter, and the countries in the customization should match the country codes selected via `country_codes`. 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 41df16ab2..5e82f2692 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/link_token_create_request_auth.rb b/lib/plaid/models/link_token_create_request_auth.rb index dd9a96cfa..8801335c9 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -22,7 +22,7 @@ class LinkTokenCreateRequestAuth # Specifies whether the Link session is enabled for the Automated Micro-deposits flow. attr_accessor :automated_microdeposits_enabled - # Specifies whether the Link session is enabled for the Instant Match flow. + # Specifies whether the Link session is enabled for the Instant Match flow. As of October 5th, 2022, Instant Match has been enabled by default for all new customers; this field is only necessary to enable Instant Match for customers who enabled auth before October 5th, 2022 and who have not previously enabled Instant Match via their Account Manager. attr_accessor :instant_match_enabled # Specifies whether the Link session is enabled for the Same Day Micro-deposits flow. 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 abe645721..9bc84786e 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/link_token_create_request_identity_verification.rb b/lib/plaid/models/link_token_create_request_identity_verification.rb index ac3d0bc3e..4e8f3364d 100644 --- a/lib/plaid/models/link_token_create_request_identity_verification.rb +++ b/lib/plaid/models/link_token_create_request_identity_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 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 12ccc1544..7bb800c49 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/link_token_create_request_income_verification_bank_income.rb b/lib/plaid/models/link_token_create_request_income_verification_bank_income.rb index 34529ab03..c957128ce 100644 --- a/lib/plaid/models/link_token_create_request_income_verification_bank_income.rb +++ b/lib/plaid/models/link_token_create_request_income_verification_bank_income.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/link_token_create_request_income_verification_payroll_income.rb b/lib/plaid/models/link_token_create_request_income_verification_payroll_income.rb index 4b75273ab..0f7e49ed0 100644 --- a/lib/plaid/models/link_token_create_request_income_verification_payroll_income.rb +++ b/lib/plaid/models/link_token_create_request_income_verification_payroll_income.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 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 fff93cd59..bc96cb6a7 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -14,7 +14,7 @@ require 'time' module Plaid - # Specifies options for initializing Link for use with the Payment Initiation (Europe) product. This field is required if `payment_initiation` is included in the `products` array. + # Specifies options for initializing Link for use with the Payment Initiation (Europe) product. This field is required if `payment_initiation` is included in the `products` array. Either `payment_id` or `consent_id` must be provided. class LinkTokenCreateRequestPaymentInitiation # The `payment_id` provided by the `/payment_initiation/payment/create` endpoint. attr_accessor :payment_id @@ -77,11 +77,7 @@ def initialize(attributes = {}) # @return Array for valid properties with the reasons def list_invalid_properties invalid_properties = Array.new - if @payment_id.nil? - invalid_properties.push('invalid value for "payment_id", payment_id cannot be nil.') - end - - if @payment_id.to_s.length < 1 + if !@payment_id.nil? && @payment_id.to_s.length < 1 invalid_properties.push('invalid value for "payment_id", the character length must be great than or equal to 1.') end @@ -97,8 +93,7 @@ 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 @payment_id.nil? - return false if @payment_id.to_s.length < 1 + return false if !@payment_id.nil? && @payment_id.to_s.length < 1 return false if !@consent_id.nil? && @consent_id.to_s.length < 1 true end @@ -106,11 +101,7 @@ def valid? # Custom attribute writer method with validation # @param [Object] payment_id Value to be assigned def payment_id=(payment_id) - if payment_id.nil? - fail ArgumentError, 'payment_id cannot be nil' - end - - if payment_id.to_s.length < 1 + if !payment_id.nil? && payment_id.to_s.length < 1 fail ArgumentError, 'invalid value for "payment_id", the character length must be great than or equal to 1.' end diff --git a/lib/plaid/models/link_token_create_request_transfer.rb b/lib/plaid/models/link_token_create_request_transfer.rb index 649870974..448a585f4 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -19,14 +19,14 @@ class LinkTokenCreateRequestTransfer # The `id` returned by the `/transfer/intent/create` endpoint. attr_accessor :intent_id - # The `payment_profile_id` returned by the `/payment_profile/create` endpoint. - attr_accessor :payment_profile_id + # The `payment_profile_token` returned by the `/payment_profile/create` endpoint. + attr_accessor :payment_profile_token # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'intent_id' => :'intent_id', - :'payment_profile_id' => :'payment_profile_id' + :'payment_profile_token' => :'payment_profile_token' } end @@ -39,7 +39,7 @@ def self.acceptable_attributes def self.openapi_types { :'intent_id' => :'String', - :'payment_profile_id' => :'String' + :'payment_profile_token' => :'String' } end @@ -68,8 +68,8 @@ def initialize(attributes = {}) self.intent_id = attributes[:'intent_id'] end - if attributes.key?(:'payment_profile_id') - self.payment_profile_id = attributes[:'payment_profile_id'] + if attributes.key?(:'payment_profile_token') + self.payment_profile_token = attributes[:'payment_profile_token'] end end @@ -92,7 +92,7 @@ def ==(o) return true if self.equal?(o) self.class == o.class && intent_id == o.intent_id && - payment_profile_id == o.payment_profile_id + payment_profile_token == o.payment_profile_token end # @see the `==` method @@ -104,7 +104,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [intent_id, payment_profile_id].hash + [intent_id, payment_profile_token].hash end # Builds the object from hash diff --git a/lib/plaid/models/link_token_create_request_update.rb b/lib/plaid/models/link_token_create_request_update.rb index 81b026a89..ff8d0b550 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/link_token_create_request_user.rb b/lib/plaid/models/link_token_create_request_user.rb index b5a411998..6c36ce31a 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/link_token_create_request_user_stated_income_source.rb b/lib/plaid/models/link_token_create_request_user_stated_income_source.rb index 38cb71058..0950c6986 100644 --- a/lib/plaid/models/link_token_create_request_user_stated_income_source.rb +++ b/lib/plaid/models/link_token_create_request_user_stated_income_source.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/link_token_create_response.rb b/lib/plaid/models/link_token_create_response.rb index 1426cc5fe..83d9a41be 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/link_token_eu_config.rb b/lib/plaid/models/link_token_eu_config.rb index d254e507e..79256dbb6 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/link_token_get_metadata_response.rb b/lib/plaid/models/link_token_get_metadata_response.rb index d3c17e2f9..355306342 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/link_token_get_request.rb b/lib/plaid/models/link_token_get_request.rb index 27db29d9c..6e38817f1 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/link_token_get_response.rb b/lib/plaid/models/link_token_get_response.rb index 395c58da2..a4ed85069 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/link_token_investments.rb b/lib/plaid/models/link_token_investments.rb index 8ff7a9514..84eefba80 100644 --- a/lib/plaid/models/link_token_investments.rb +++ b/lib/plaid/models/link_token_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/loan.rb b/lib/plaid/models/loan.rb index 0c9a05074..4144fff1b 100644 --- a/lib/plaid/models/loan.rb +++ b/lib/plaid/models/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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/loan_account_subtype.rb b/lib/plaid/models/loan_account_subtype.rb index c9defa506..76b6ae6a1 100644 --- a/lib/plaid/models/loan_account_subtype.rb +++ b/lib/plaid/models/loan_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/loan_filter.rb b/lib/plaid/models/loan_filter.rb index 1f482dab6..4886dd95a 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/loan_identifier.rb b/lib/plaid/models/loan_identifier.rb index 096458800..8ef1ce672 100644 --- a/lib/plaid/models/loan_identifier.rb +++ b/lib/plaid/models/loan_identifier.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/loan_identifier_type.rb b/lib/plaid/models/loan_identifier_type.rb index 97724b986..3d4546315 100644 --- a/lib/plaid/models/loan_identifier_type.rb +++ b/lib/plaid/models/loan_identifier_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/loan_identifiers.rb b/lib/plaid/models/loan_identifiers.rb index ae1299df3..76eca0517 100644 --- a/lib/plaid/models/loan_identifiers.rb +++ b/lib/plaid/models/loan_identifiers.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/loans.rb b/lib/plaid/models/loans.rb index 9d81a5959..567729400 100644 --- a/lib/plaid/models/loans.rb +++ b/lib/plaid/models/loans.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/location.rb b/lib/plaid/models/location.rb index 7d765ad19..e20daf97f 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/match_summary.rb b/lib/plaid/models/match_summary.rb index 7fdedc773..0752e1a23 100644 --- a/lib/plaid/models/match_summary.rb +++ b/lib/plaid/models/match_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/match_summary_code.rb b/lib/plaid/models/match_summary_code.rb index 9680bb238..08be4a552 100644 --- a/lib/plaid/models/match_summary_code.rb +++ b/lib/plaid/models/match_summary_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/meta.rb b/lib/plaid/models/meta.rb index f5b4b3afd..0be0e7746 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/mfa.rb b/lib/plaid/models/mfa.rb index ba214bf0e..1c70ddf58 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/mortgage_interest_rate.rb b/lib/plaid/models/mortgage_interest_rate.rb index d1a761b7c..98a2fa67d 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/mortgage_liability.rb b/lib/plaid/models/mortgage_liability.rb index 12d41bc07..759ae1370 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/mortgage_property_address.rb b/lib/plaid/models/mortgage_property_address.rb index ebd02c7e8..6ffc8c3db 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/multi_document_risk_signal.rb b/lib/plaid/models/multi_document_risk_signal.rb index 145deafb4..9f68ac726 100644 --- a/lib/plaid/models/multi_document_risk_signal.rb +++ b/lib/plaid/models/multi_document_risk_signal.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/name_match_score.rb b/lib/plaid/models/name_match_score.rb index 3c231af4f..281ba57d9 100644 --- a/lib/plaid/models/name_match_score.rb +++ b/lib/plaid/models/name_match_score.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/net_pay.rb b/lib/plaid/models/net_pay.rb index 567e7719c..817a951cd 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/new_accounts_available_webhook.rb b/lib/plaid/models/new_accounts_available_webhook.rb index 229e37ac4..a30436bf4 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/numbers.rb b/lib/plaid/models/numbers.rb index 2afc80ff1..113db3692 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/numbers_ach.rb b/lib/plaid/models/numbers_ach.rb index e25af96d1..e1b5bb65c 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/numbers_ach_nullable.rb b/lib/plaid/models/numbers_ach_nullable.rb index 0cfe8d7ff..ef1dcd3b1 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/numbers_bacs.rb b/lib/plaid/models/numbers_bacs.rb index 736369aa3..0defb6df1 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/numbers_bacs_nullable.rb b/lib/plaid/models/numbers_bacs_nullable.rb index ea63b571d..b7b5c5add 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/numbers_eft.rb b/lib/plaid/models/numbers_eft.rb index 877619f68..c00310db9 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/numbers_eft_nullable.rb b/lib/plaid/models/numbers_eft_nullable.rb index 2c32df0f0..47b18c113 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/numbers_iban_nullable.rb b/lib/plaid/models/numbers_iban_nullable.rb index 3e67e1f7f..3cbb3104e 100644 --- a/lib/plaid/models/numbers_iban_nullable.rb +++ b/lib/plaid/models/numbers_iban_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/numbers_international.rb b/lib/plaid/models/numbers_international.rb index 46b5687d1..346263145 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/numbers_international_iban.rb b/lib/plaid/models/numbers_international_iban.rb index 3f4716c7b..098e97368 100644 --- a/lib/plaid/models/numbers_international_iban.rb +++ b/lib/plaid/models/numbers_international_iban.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/numbers_international_nullable.rb b/lib/plaid/models/numbers_international_nullable.rb index 8f5e2de21..4d3be2c13 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/override_account_type.rb b/lib/plaid/models/override_account_type.rb index 091932bc2..8e850e692 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/override_accounts.rb b/lib/plaid/models/override_accounts.rb index 1b28fb3bc..9684db51c 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/owner.rb b/lib/plaid/models/owner.rb index 0439b9ace..1c136d551 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/owner_override.rb b/lib/plaid/models/owner_override.rb index f1d74f724..777c052b6 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/ownership_type.rb b/lib/plaid/models/ownership_type.rb index 80f563b98..2149b9eb8 100644 --- a/lib/plaid/models/ownership_type.rb +++ b/lib/plaid/models/ownership_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/parties.rb b/lib/plaid/models/parties.rb index da58d32ff..5be326a6b 100644 --- a/lib/plaid/models/parties.rb +++ b/lib/plaid/models/parties.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/partner_customer_create_request.rb b/lib/plaid/models/partner_customer_create_request.rb index 1c1569f07..64e97ca60 100644 --- a/lib/plaid/models/partner_customer_create_request.rb +++ b/lib/plaid/models/partner_customer_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -34,7 +34,7 @@ class PartnerCustomerCreateRequest # If true, the end customer's default Link customization will be set to match the partner's. attr_accessor :create_link_customization - # Base64-encoded representation of the end customer's logo. Defaults to the partner's logo if omitted. + # Base64-encoded representation of the end customer's logo. Must be a PNG of size 1024x1024 under 4MB. Defaults to the partner's logo if omitted. attr_accessor :logo # The end customer's legal name. diff --git a/lib/plaid/models/partner_customer_create_response.rb b/lib/plaid/models/partner_customer_create_response.rb index 98f465c9c..8444e294a 100644 --- a/lib/plaid/models/partner_customer_create_response.rb +++ b/lib/plaid/models/partner_customer_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/partner_customer_enable_request.rb b/lib/plaid/models/partner_customer_enable_request.rb new file mode 100644 index 000000000..6e087c1f5 --- /dev/null +++ b/lib/plaid/models/partner_customer_enable_request.rb @@ -0,0 +1,244 @@ +=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.197.3 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 5.1.1 + +=end + +require 'date' +require 'time' + +module Plaid + # Request schema for `/partner/customer/enable`. + class PartnerCustomerEnableRequest + # Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body. + attr_accessor :client_id + + # Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body. + attr_accessor :secret + + attr_accessor :end_customer_client_id + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'client_id' => :'client_id', + :'secret' => :'secret', + :'end_customer_client_id' => :'end_customer_client_id' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'client_id' => :'String', + :'secret' => :'String', + :'end_customer_client_id' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::PartnerCustomerEnableRequest` 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::PartnerCustomerEnableRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'client_id') + self.client_id = attributes[:'client_id'] + end + + if attributes.key?(:'secret') + self.secret = attributes[:'secret'] + end + + if attributes.key?(:'end_customer_client_id') + self.end_customer_client_id = attributes[:'end_customer_client_id'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @end_customer_client_id.nil? + invalid_properties.push('invalid value for "end_customer_client_id", end_customer_client_id cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @end_customer_client_id.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + client_id == o.client_id && + secret == o.secret && + end_customer_client_id == o.end_customer_client_id + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [client_id, secret, end_customer_client_id].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/partner_customer_enable_response.rb b/lib/plaid/models/partner_customer_enable_response.rb new file mode 100644 index 000000000..d6ad8b9f5 --- /dev/null +++ b/lib/plaid/models/partner_customer_enable_response.rb @@ -0,0 +1,230 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.197.3 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 5.1.1 + +=end + +require 'date' +require 'time' + +module Plaid + # Response schema for `/partner/customer/enable`. + class PartnerCustomerEnableResponse + # The end customer's secret key for the Production environment. + attr_accessor :production_secret + + # A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive. + attr_accessor :request_id + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'production_secret' => :'production_secret', + :'request_id' => :'request_id' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'production_secret' => :'String', + :'request_id' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::PartnerCustomerEnableResponse` 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::PartnerCustomerEnableResponse`. 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?(:'production_secret') + self.production_secret = attributes[:'production_secret'] + end + + if attributes.key?(:'request_id') + self.request_id = attributes[:'request_id'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + production_secret == o.production_secret && + request_id == o.request_id + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [production_secret, request_id].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/partner_customer_get_request.rb b/lib/plaid/models/partner_customer_get_request.rb index 2fb3b294e..f43a5aa48 100644 --- a/lib/plaid/models/partner_customer_get_request.rb +++ b/lib/plaid/models/partner_customer_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/partner_customer_get_response.rb b/lib/plaid/models/partner_customer_get_response.rb index b7718fd08..4aaf6ba20 100644 --- a/lib/plaid/models/partner_customer_get_response.rb +++ b/lib/plaid/models/partner_customer_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/partner_end_customer.rb b/lib/plaid/models/partner_end_customer.rb index 23401f030..4ed18dc7a 100644 --- a/lib/plaid/models/partner_end_customer.rb +++ b/lib/plaid/models/partner_end_customer.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -16,7 +16,6 @@ module Plaid # The details for an end customer. class PartnerEndCustomer - # 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 attr_accessor :company_name diff --git a/lib/plaid/models/partner_end_customer_address.rb b/lib/plaid/models/partner_end_customer_address.rb index e5c78958d..fe097c2f3 100644 --- a/lib/plaid/models/partner_end_customer_address.rb +++ b/lib/plaid/models/partner_end_customer_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/partner_end_customer_billing_contact.rb b/lib/plaid/models/partner_end_customer_billing_contact.rb index 36f365d7f..4ca124bed 100644 --- a/lib/plaid/models/partner_end_customer_billing_contact.rb +++ b/lib/plaid/models/partner_end_customer_billing_contact.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/partner_end_customer_secrets.rb b/lib/plaid/models/partner_end_customer_secrets.rb index da47fa0cd..056038689 100644 --- a/lib/plaid/models/partner_end_customer_secrets.rb +++ b/lib/plaid/models/partner_end_customer_secrets.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -14,11 +14,8 @@ require 'time' module Plaid - # The secrets for the newly created end customer. + # The secrets for the newly created end customer in non-Production environments. class PartnerEndCustomerSecrets - # The end customer's secret key for the Production environment. - attr_accessor :production - # The end customer's secret key for the Sandbox environment. attr_accessor :sandbox @@ -28,7 +25,6 @@ class PartnerEndCustomerSecrets # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { - :'production' => :'production', :'sandbox' => :'sandbox', :'development' => :'development' } @@ -42,7 +38,6 @@ def self.acceptable_attributes # Attribute type mapping. def self.openapi_types { - :'production' => :'String', :'sandbox' => :'String', :'development' => :'String' } @@ -69,10 +64,6 @@ def initialize(attributes = {}) h[k.to_sym] = v } - if attributes.key?(:'production') - self.production = attributes[:'production'] - end - if attributes.key?(:'sandbox') self.sandbox = attributes[:'sandbox'] end @@ -100,7 +91,6 @@ def valid? def ==(o) return true if self.equal?(o) self.class == o.class && - production == o.production && sandbox == o.sandbox && development == o.development end @@ -114,7 +104,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [production, sandbox, development].hash + [sandbox, development].hash end # Builds the object from hash diff --git a/lib/plaid/models/partner_end_customer_status.rb b/lib/plaid/models/partner_end_customer_status.rb index e275b2c3d..894cdd1ff 100644 --- a/lib/plaid/models/partner_end_customer_status.rb +++ b/lib/plaid/models/partner_end_customer_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -16,6 +16,7 @@ module Plaid class PartnerEndCustomerStatus UNDER_REVIEW = "UNDER REVIEW".freeze + READY_FOR_ENABLEMENT = "READY FOR ENABLEMENT".freeze ACTIVE = "ACTIVE".freeze DENIED = "DENIED".freeze diff --git a/lib/plaid/models/partner_end_customer_technical_contact.rb b/lib/plaid/models/partner_end_customer_technical_contact.rb index 080dc7687..9e730c9a6 100644 --- a/lib/plaid/models/partner_end_customer_technical_contact.rb +++ b/lib/plaid/models/partner_end_customer_technical_contact.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/partner_end_customer_with_secrets.rb b/lib/plaid/models/partner_end_customer_with_secrets.rb index 6881a1c4b..d36b4ea96 100644 --- a/lib/plaid/models/partner_end_customer_with_secrets.rb +++ b/lib/plaid/models/partner_end_customer_with_secrets.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -14,9 +14,8 @@ require 'time' module Plaid - # The details for the newly created end customer, including secrets for all environments. + # The details for the newly created end customer, including secrets for non-Production environments. class PartnerEndCustomerWithSecrets - # 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 attr_accessor :company_name @@ -56,6 +55,14 @@ def self.openapi_nullable ]) end + # List of class defined in allOf (OpenAPI v3) + def self.openapi_all_of + [ + :'PartnerEndCustomer', + :'PartnerEndCustomerWithSecretsAllOf' + ] + end + # Initializes the object # @param [Hash] attributes Model attributes in the form of hash def initialize(attributes = {}) diff --git a/lib/plaid/models/partner_end_customer_with_secrets_all_of.rb b/lib/plaid/models/partner_end_customer_with_secrets_all_of.rb new file mode 100644 index 000000000..fd188a018 --- /dev/null +++ b/lib/plaid/models/partner_end_customer_with_secrets_all_of.rb @@ -0,0 +1,218 @@ +=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.197.3 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 5.1.1 + +=end + +require 'date' +require 'time' + +module Plaid + class PartnerEndCustomerWithSecretsAllOf + attr_accessor :secrets + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'secrets' => :'secrets' + } + 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 + { + :'secrets' => :'PartnerEndCustomerSecrets' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::PartnerEndCustomerWithSecretsAllOf` 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::PartnerEndCustomerWithSecretsAllOf`. 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?(:'secrets') + self.secrets = attributes[:'secrets'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + secrets == o.secrets + 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 + [secrets].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/party.rb b/lib/plaid/models/party.rb index 11e202fc7..ad7448ada 100644 --- a/lib/plaid/models/party.rb +++ b/lib/plaid/models/party.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/party_individual.rb b/lib/plaid/models/party_individual.rb index fc9f2f1ed..018353715 100644 --- a/lib/plaid/models/party_individual.rb +++ b/lib/plaid/models/party_individual.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/party_role_type.rb b/lib/plaid/models/party_role_type.rb index 32fe22ac6..c5d3dc1f1 100644 --- a/lib/plaid/models/party_role_type.rb +++ b/lib/plaid/models/party_role_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/pay.rb b/lib/plaid/models/pay.rb index 8e8feb775..72ac3ec19 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/pay_frequency.rb b/lib/plaid/models/pay_frequency.rb index 25ed1e989..663c6b2af 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/pay_frequency_value.rb b/lib/plaid/models/pay_frequency_value.rb index 08063cd08..11f644f2e 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/pay_period_details.rb b/lib/plaid/models/pay_period_details.rb index 75c2abea9..362d4a8d7 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/pay_stub_deductions_breakdown.rb b/lib/plaid/models/pay_stub_deductions_breakdown.rb index c1f6350a1..1bbd689f2 100644 --- a/lib/plaid/models/pay_stub_deductions_breakdown.rb +++ b/lib/plaid/models/pay_stub_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/pay_stub_deductions_total.rb b/lib/plaid/models/pay_stub_deductions_total.rb index 95cc8087b..9012ae045 100644 --- a/lib/plaid/models/pay_stub_deductions_total.rb +++ b/lib/plaid/models/pay_stub_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/pay_stub_distribution_breakdown.rb b/lib/plaid/models/pay_stub_distribution_breakdown.rb index 3f2b38459..e4830f7cc 100644 --- a/lib/plaid/models/pay_stub_distribution_breakdown.rb +++ b/lib/plaid/models/pay_stub_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/pay_stub_earnings_breakdown.rb b/lib/plaid/models/pay_stub_earnings_breakdown.rb index 9e772234a..382aa5f61 100644 --- a/lib/plaid/models/pay_stub_earnings_breakdown.rb +++ b/lib/plaid/models/pay_stub_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/pay_stub_earnings_total.rb b/lib/plaid/models/pay_stub_earnings_total.rb index 7bef2397c..92b30ad4c 100644 --- a/lib/plaid/models/pay_stub_earnings_total.rb +++ b/lib/plaid/models/pay_stub_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/pay_stub_pay_period_details.rb b/lib/plaid/models/pay_stub_pay_period_details.rb index 6d9f31604..a5056067c 100644 --- a/lib/plaid/models/pay_stub_pay_period_details.rb +++ b/lib/plaid/models/pay_stub_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/pay_stub_taxpayer_id.rb b/lib/plaid/models/pay_stub_taxpayer_id.rb index c0beca9a6..791c6bcc0 100644 --- a/lib/plaid/models/pay_stub_taxpayer_id.rb +++ b/lib/plaid/models/pay_stub_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_amount.rb b/lib/plaid/models/payment_amount.rb index 494822975..3133eff9c 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_amount_currency.rb b/lib/plaid/models/payment_amount_currency.rb index 51f658a85..62c051e43 100644 --- a/lib/plaid/models/payment_amount_currency.rb +++ b/lib/plaid/models/payment_amount_currency.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_channel.rb b/lib/plaid/models/payment_channel.rb index abfbaa109..b5203aa3f 100644 --- a/lib/plaid/models/payment_channel.rb +++ b/lib/plaid/models/payment_channel.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_consent_max_payment_amount.rb b/lib/plaid/models/payment_consent_max_payment_amount.rb index 92f6fc01c..0f9948b8e 100644 --- a/lib/plaid/models/payment_consent_max_payment_amount.rb +++ b/lib/plaid/models/payment_consent_max_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_consent_periodic_alignment.rb b/lib/plaid/models/payment_consent_periodic_alignment.rb index ce2ca2f48..eb4bb18c1 100644 --- a/lib/plaid/models/payment_consent_periodic_alignment.rb +++ b/lib/plaid/models/payment_consent_periodic_alignment.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_consent_periodic_amount.rb b/lib/plaid/models/payment_consent_periodic_amount.rb index e6e247cfc..f7291eb77 100644 --- a/lib/plaid/models/payment_consent_periodic_amount.rb +++ b/lib/plaid/models/payment_consent_periodic_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_consent_periodic_amount_amount.rb b/lib/plaid/models/payment_consent_periodic_amount_amount.rb index 0ef8df048..be4933d45 100644 --- a/lib/plaid/models/payment_consent_periodic_amount_amount.rb +++ b/lib/plaid/models/payment_consent_periodic_amount_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_consent_periodic_interval.rb b/lib/plaid/models/payment_consent_periodic_interval.rb index 7dccf7441..70abc6848 100644 --- a/lib/plaid/models/payment_consent_periodic_interval.rb +++ b/lib/plaid/models/payment_consent_periodic_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_consent_valid_date_time.rb b/lib/plaid/models/payment_consent_valid_date_time.rb index e54272cd1..f6db396bf 100644 --- a/lib/plaid/models/payment_consent_valid_date_time.rb +++ b/lib/plaid/models/payment_consent_valid_date_time.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_address.rb b/lib/plaid/models/payment_initiation_address.rb index 638b1c27f..ef70f2c0d 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_consent.rb b/lib/plaid/models/payment_initiation_consent.rb index 204fa1ed8..45be36db6 100644 --- a/lib/plaid/models/payment_initiation_consent.rb +++ b/lib/plaid/models/payment_initiation_consent.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_consent_constraints.rb b/lib/plaid/models/payment_initiation_consent_constraints.rb index 2114ec7b0..b8c3cdafc 100644 --- a/lib/plaid/models/payment_initiation_consent_constraints.rb +++ b/lib/plaid/models/payment_initiation_consent_constraints.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_consent_create_request.rb b/lib/plaid/models/payment_initiation_consent_create_request.rb index 80caa747d..9837a0c55 100644 --- a/lib/plaid/models/payment_initiation_consent_create_request.rb +++ b/lib/plaid/models/payment_initiation_consent_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_consent_create_response.rb b/lib/plaid/models/payment_initiation_consent_create_response.rb index 88dc483d1..010ff9324 100644 --- a/lib/plaid/models/payment_initiation_consent_create_response.rb +++ b/lib/plaid/models/payment_initiation_consent_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_consent_get_request.rb b/lib/plaid/models/payment_initiation_consent_get_request.rb index 9965efb83..6c86b4a26 100644 --- a/lib/plaid/models/payment_initiation_consent_get_request.rb +++ b/lib/plaid/models/payment_initiation_consent_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_consent_get_response.rb b/lib/plaid/models/payment_initiation_consent_get_response.rb index c8cc15591..d2c638e60 100644 --- a/lib/plaid/models/payment_initiation_consent_get_response.rb +++ b/lib/plaid/models/payment_initiation_consent_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_consent_payment_execute_request.rb b/lib/plaid/models/payment_initiation_consent_payment_execute_request.rb index a3243bdc0..f9d663fc5 100644 --- a/lib/plaid/models/payment_initiation_consent_payment_execute_request.rb +++ b/lib/plaid/models/payment_initiation_consent_payment_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_consent_payment_execute_response.rb b/lib/plaid/models/payment_initiation_consent_payment_execute_response.rb index 88196dd4c..eb3972c8d 100644 --- a/lib/plaid/models/payment_initiation_consent_payment_execute_response.rb +++ b/lib/plaid/models/payment_initiation_consent_payment_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_consent_revoke_request.rb b/lib/plaid/models/payment_initiation_consent_revoke_request.rb index e0572d1b4..ca2ae5bbe 100644 --- a/lib/plaid/models/payment_initiation_consent_revoke_request.rb +++ b/lib/plaid/models/payment_initiation_consent_revoke_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_consent_revoke_response.rb b/lib/plaid/models/payment_initiation_consent_revoke_response.rb index 5d5ebb4a6..d1708cdc4 100644 --- a/lib/plaid/models/payment_initiation_consent_revoke_response.rb +++ b/lib/plaid/models/payment_initiation_consent_revoke_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_consent_scope.rb b/lib/plaid/models/payment_initiation_consent_scope.rb index bde7427d4..ec30c40cb 100644 --- a/lib/plaid/models/payment_initiation_consent_scope.rb +++ b/lib/plaid/models/payment_initiation_consent_scope.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_consent_status.rb b/lib/plaid/models/payment_initiation_consent_status.rb index 223e1dd88..7291a0ae1 100644 --- a/lib/plaid/models/payment_initiation_consent_status.rb +++ b/lib/plaid/models/payment_initiation_consent_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_metadata.rb b/lib/plaid/models/payment_initiation_metadata.rb index 53cd4f415..3b76d0ce1 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_optional_restriction_bacs.rb b/lib/plaid/models/payment_initiation_optional_restriction_bacs.rb index 69968d99d..e50bde785 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_payment.rb b/lib/plaid/models/payment_initiation_payment.rb index e5313a4ab..063008a37 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_payment_create_request.rb b/lib/plaid/models/payment_initiation_payment_create_request.rb index f84c92a96..ac24b6d06 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_payment_create_response.rb b/lib/plaid/models/payment_initiation_payment_create_response.rb index adddc9952..f6391f58d 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_payment_create_status.rb b/lib/plaid/models/payment_initiation_payment_create_status.rb index 2a91fbec9..d062b2515 100644 --- a/lib/plaid/models/payment_initiation_payment_create_status.rb +++ b/lib/plaid/models/payment_initiation_payment_create_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_payment_get_request.rb b/lib/plaid/models/payment_initiation_payment_get_request.rb index 1b9c56a05..4170f1ded 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_payment_get_response.rb b/lib/plaid/models/payment_initiation_payment_get_response.rb index 4c84de006..cf0842bce 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_payment_list_request.rb b/lib/plaid/models/payment_initiation_payment_list_request.rb index b475e77ba..df523fc36 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_payment_list_response.rb b/lib/plaid/models/payment_initiation_payment_list_response.rb index 10ecb2b9d..42571364c 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_payment_reverse_request.rb b/lib/plaid/models/payment_initiation_payment_reverse_request.rb index 7f18c8809..be67f3eb5 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_payment_reverse_response.rb b/lib/plaid/models/payment_initiation_payment_reverse_response.rb index bf8e8d505..624535a16 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_payment_status.rb b/lib/plaid/models/payment_initiation_payment_status.rb index 1d41de865..8ce592bbd 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 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 b0ee6f8a2..64f55dd6f 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 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 cee5eb040..76556717c 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_recipient.rb b/lib/plaid/models/payment_initiation_recipient.rb index c60d5b9f5..25aff96d1 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_recipient_create_request.rb b/lib/plaid/models/payment_initiation_recipient_create_request.rb index 8c01de52e..816ffe4f2 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_recipient_create_response.rb b/lib/plaid/models/payment_initiation_recipient_create_response.rb index f8d48eeba..18d5f358d 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_recipient_get_request.rb b/lib/plaid/models/payment_initiation_recipient_get_request.rb index ca62235ff..7e80a0d4e 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_recipient_get_response.rb b/lib/plaid/models/payment_initiation_recipient_get_response.rb index 623b5af6b..28aad96e1 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 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 4c786ff5b..5987a2766 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_recipient_list_request.rb b/lib/plaid/models/payment_initiation_recipient_list_request.rb index 8556f634f..c4d3582ef 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_recipient_list_response.rb b/lib/plaid/models/payment_initiation_recipient_list_response.rb index 5589ba4bf..e0eeabdb8 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_standing_order_metadata.rb b/lib/plaid/models/payment_initiation_standing_order_metadata.rb index 0b54b343e..a194fda78 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_meta.rb b/lib/plaid/models/payment_meta.rb index 5ab09ae44..f4bc647b8 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_profile_create_request.rb b/lib/plaid/models/payment_profile_create_request.rb index 3cc8623d2..f28691228 100644 --- a/lib/plaid/models/payment_profile_create_request.rb +++ b/lib/plaid/models/payment_profile_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_profile_create_response.rb b/lib/plaid/models/payment_profile_create_response.rb index 5cf6d147a..e0861b190 100644 --- a/lib/plaid/models/payment_profile_create_response.rb +++ b/lib/plaid/models/payment_profile_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -16,8 +16,8 @@ module Plaid # PaymentProfileCreateResponse defines the response schema for `/payment_profile/create` class PaymentProfileCreateResponse - # Plaid’s unique identifier for a payment profile. - attr_accessor :payment_profile_id + # A payment profile token associated with the Payment Profile data that is being requested. + attr_accessor :payment_profile_token # 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 @@ -25,7 +25,7 @@ class PaymentProfileCreateResponse # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { - :'payment_profile_id' => :'payment_profile_id', + :'payment_profile_token' => :'payment_profile_token', :'request_id' => :'request_id' } end @@ -38,7 +38,7 @@ def self.acceptable_attributes # Attribute type mapping. def self.openapi_types { - :'payment_profile_id' => :'String', + :'payment_profile_token' => :'String', :'request_id' => :'String' } end @@ -64,8 +64,8 @@ def initialize(attributes = {}) h[k.to_sym] = v } - if attributes.key?(:'payment_profile_id') - self.payment_profile_id = attributes[:'payment_profile_id'] + if attributes.key?(:'payment_profile_token') + self.payment_profile_token = attributes[:'payment_profile_token'] end if attributes.key?(:'request_id') @@ -77,8 +77,8 @@ def initialize(attributes = {}) # @return Array for valid properties with the reasons def list_invalid_properties invalid_properties = Array.new - if @payment_profile_id.nil? - invalid_properties.push('invalid value for "payment_profile_id", payment_profile_id cannot be nil.') + if @payment_profile_token.nil? + invalid_properties.push('invalid value for "payment_profile_token", payment_profile_token cannot be nil.') end if @request_id.nil? @@ -91,7 +91,7 @@ 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 @payment_profile_id.nil? + return false if @payment_profile_token.nil? return false if @request_id.nil? true end @@ -101,7 +101,7 @@ def valid? def ==(o) return true if self.equal?(o) self.class == o.class && - payment_profile_id == o.payment_profile_id && + payment_profile_token == o.payment_profile_token && request_id == o.request_id end @@ -114,7 +114,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [payment_profile_id, request_id].hash + [payment_profile_token, request_id].hash end # Builds the object from hash diff --git a/lib/plaid/models/payment_profile_get_request.rb b/lib/plaid/models/payment_profile_get_request.rb index f387a2ada..9e43d72ad 100644 --- a/lib/plaid/models/payment_profile_get_request.rb +++ b/lib/plaid/models/payment_profile_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -22,15 +22,15 @@ class PaymentProfileGetRequest # 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 - # Plaid’s unique identifier for a payment profile. - attr_accessor :payment_profile_id + # A payment profile token associated with the Payment Profile data that is being requested. + attr_accessor :payment_profile_token # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'client_id' => :'client_id', :'secret' => :'secret', - :'payment_profile_id' => :'payment_profile_id' + :'payment_profile_token' => :'payment_profile_token' } end @@ -44,7 +44,7 @@ def self.openapi_types { :'client_id' => :'String', :'secret' => :'String', - :'payment_profile_id' => :'String' + :'payment_profile_token' => :'String' } end @@ -77,8 +77,8 @@ def initialize(attributes = {}) self.secret = attributes[:'secret'] end - if attributes.key?(:'payment_profile_id') - self.payment_profile_id = attributes[:'payment_profile_id'] + if attributes.key?(:'payment_profile_token') + self.payment_profile_token = attributes[:'payment_profile_token'] end end @@ -86,8 +86,8 @@ def initialize(attributes = {}) # @return Array for valid properties with the reasons def list_invalid_properties invalid_properties = Array.new - if @payment_profile_id.nil? - invalid_properties.push('invalid value for "payment_profile_id", payment_profile_id cannot be nil.') + if @payment_profile_token.nil? + invalid_properties.push('invalid value for "payment_profile_token", payment_profile_token cannot be nil.') end invalid_properties @@ -96,7 +96,7 @@ 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 @payment_profile_id.nil? + return false if @payment_profile_token.nil? true end @@ -107,7 +107,7 @@ def ==(o) self.class == o.class && client_id == o.client_id && secret == o.secret && - payment_profile_id == o.payment_profile_id + payment_profile_token == o.payment_profile_token end # @see the `==` method @@ -119,7 +119,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [client_id, secret, payment_profile_id].hash + [client_id, secret, payment_profile_token].hash end # Builds the object from hash diff --git a/lib/plaid/models/payment_profile_get_response.rb b/lib/plaid/models/payment_profile_get_response.rb index 12c13c4e9..1a1974549 100644 --- a/lib/plaid/models/payment_profile_get_response.rb +++ b/lib/plaid/models/payment_profile_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_profile_remove_request.rb b/lib/plaid/models/payment_profile_remove_request.rb index a844dd4ef..b58d8e8f4 100644 --- a/lib/plaid/models/payment_profile_remove_request.rb +++ b/lib/plaid/models/payment_profile_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -22,15 +22,15 @@ class PaymentProfileRemoveRequest # 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 - # Plaid’s unique identifier for a payment profile. - attr_accessor :payment_profile_id + # A payment profile token associated with the Payment Profile data that is being requested. + attr_accessor :payment_profile_token # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'client_id' => :'client_id', :'secret' => :'secret', - :'payment_profile_id' => :'payment_profile_id' + :'payment_profile_token' => :'payment_profile_token' } end @@ -44,7 +44,7 @@ def self.openapi_types { :'client_id' => :'String', :'secret' => :'String', - :'payment_profile_id' => :'String' + :'payment_profile_token' => :'String' } end @@ -77,8 +77,8 @@ def initialize(attributes = {}) self.secret = attributes[:'secret'] end - if attributes.key?(:'payment_profile_id') - self.payment_profile_id = attributes[:'payment_profile_id'] + if attributes.key?(:'payment_profile_token') + self.payment_profile_token = attributes[:'payment_profile_token'] end end @@ -86,8 +86,8 @@ def initialize(attributes = {}) # @return Array for valid properties with the reasons def list_invalid_properties invalid_properties = Array.new - if @payment_profile_id.nil? - invalid_properties.push('invalid value for "payment_profile_id", payment_profile_id cannot be nil.') + if @payment_profile_token.nil? + invalid_properties.push('invalid value for "payment_profile_token", payment_profile_token cannot be nil.') end invalid_properties @@ -96,7 +96,7 @@ 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 @payment_profile_id.nil? + return false if @payment_profile_token.nil? true end @@ -107,7 +107,7 @@ def ==(o) self.class == o.class && client_id == o.client_id && secret == o.secret && - payment_profile_id == o.payment_profile_id + payment_profile_token == o.payment_profile_token end # @see the `==` method @@ -119,7 +119,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [client_id, secret, payment_profile_id].hash + [client_id, secret, payment_profile_token].hash end # Builds the object from hash diff --git a/lib/plaid/models/payment_profile_remove_response.rb b/lib/plaid/models/payment_profile_remove_response.rb index bd7c0b4b9..47443fdcc 100644 --- a/lib/plaid/models/payment_profile_remove_response.rb +++ b/lib/plaid/models/payment_profile_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_profile_status.rb b/lib/plaid/models/payment_profile_status.rb index c02e9bb06..142c1136e 100644 --- a/lib/plaid/models/payment_profile_status.rb +++ b/lib/plaid/models/payment_profile_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_schedule_interval.rb b/lib/plaid/models/payment_schedule_interval.rb index 9b545586d..222065fe3 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_scheme.rb b/lib/plaid/models/payment_scheme.rb index 3f20863d4..6d8d793f2 100644 --- a/lib/plaid/models/payment_scheme.rb +++ b/lib/plaid/models/payment_scheme.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_status_update_webhook.rb b/lib/plaid/models/payment_status_update_webhook.rb index 75f74fa2b..62f3ec845 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payroll_income_account_data.rb b/lib/plaid/models/payroll_income_account_data.rb index d6d3f6f9d..e365fd198 100644 --- a/lib/plaid/models/payroll_income_account_data.rb +++ b/lib/plaid/models/payroll_income_account_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payroll_income_object.rb b/lib/plaid/models/payroll_income_object.rb index 72a3ed1e8..39d6d2991 100644 --- a/lib/plaid/models/payroll_income_object.rb +++ b/lib/plaid/models/payroll_income_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payroll_income_rate_of_pay.rb b/lib/plaid/models/payroll_income_rate_of_pay.rb index a37f9ae5c..b97a04001 100644 --- a/lib/plaid/models/payroll_income_rate_of_pay.rb +++ b/lib/plaid/models/payroll_income_rate_of_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payroll_item.rb b/lib/plaid/models/payroll_item.rb index de99fd373..49db30cd5 100644 --- a/lib/plaid/models/payroll_item.rb +++ b/lib/plaid/models/payroll_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payroll_item_status.rb b/lib/plaid/models/payroll_item_status.rb index a2e79a782..0e551f9a8 100644 --- a/lib/plaid/models/payroll_item_status.rb +++ b/lib/plaid/models/payroll_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payroll_risk_signals_item.rb b/lib/plaid/models/payroll_risk_signals_item.rb index 534213bcf..622f70207 100644 --- a/lib/plaid/models/payroll_risk_signals_item.rb +++ b/lib/plaid/models/payroll_risk_signals_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/paystub.rb b/lib/plaid/models/paystub.rb index eadd2d39f..7f79abf33 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/paystub_address.rb b/lib/plaid/models/paystub_address.rb index 876e2a8de..30e439c54 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/paystub_deduction.rb b/lib/plaid/models/paystub_deduction.rb index f58ac4fb9..be4ef8c8a 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/paystub_details.rb b/lib/plaid/models/paystub_details.rb index d74322705..38be4a74a 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/paystub_employer.rb b/lib/plaid/models/paystub_employer.rb index dab39ac3c..2b2f493b4 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/paystub_override.rb b/lib/plaid/models/paystub_override.rb index 1f1288550..ca02f9ab3 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/paystub_override_employee.rb b/lib/plaid/models/paystub_override_employee.rb index e3f47c3de..956bbcb90 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/paystub_override_employee_address.rb b/lib/plaid/models/paystub_override_employee_address.rb index 9de50795a..5c9de3f93 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/paystub_override_employer.rb b/lib/plaid/models/paystub_override_employer.rb index 3bd8915b4..4a8673a8b 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/paystub_pay_frequency.rb b/lib/plaid/models/paystub_pay_frequency.rb index a0979ee37..3d79458ad 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/paystub_ytd_details.rb b/lib/plaid/models/paystub_ytd_details.rb index c18a20c61..67898c150 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/pending_expiration_webhook.rb b/lib/plaid/models/pending_expiration_webhook.rb index 77ad59a4d..26fb0451f 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/personal_finance_category.rb b/lib/plaid/models/personal_finance_category.rb index ef6092457..53f42a7f8 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/phone_number.rb b/lib/plaid/models/phone_number.rb index d7443150a..1304904b9 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/phone_number_match_score.rb b/lib/plaid/models/phone_number_match_score.rb index 4fd18205e..bacb9cbe5 100644 --- a/lib/plaid/models/phone_number_match_score.rb +++ b/lib/plaid/models/phone_number_match_score.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/phone_type.rb b/lib/plaid/models/phone_type.rb index 9b6f2a994..3c0ddbb8d 100644 --- a/lib/plaid/models/phone_type.rb +++ b/lib/plaid/models/phone_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/physical_document_category.rb b/lib/plaid/models/physical_document_category.rb index 3c2ea7a56..91ba7690b 100644 --- a/lib/plaid/models/physical_document_category.rb +++ b/lib/plaid/models/physical_document_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/physical_document_extracted_data.rb b/lib/plaid/models/physical_document_extracted_data.rb index 7cf289e3f..48876e052 100644 --- a/lib/plaid/models/physical_document_extracted_data.rb +++ b/lib/plaid/models/physical_document_extracted_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/physical_document_extracted_data_analysis.rb b/lib/plaid/models/physical_document_extracted_data_analysis.rb index aa6047007..db19d33ea 100644 --- a/lib/plaid/models/physical_document_extracted_data_analysis.rb +++ b/lib/plaid/models/physical_document_extracted_data_analysis.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/physical_document_images.rb b/lib/plaid/models/physical_document_images.rb index f10aeb743..a30c75943 100644 --- a/lib/plaid/models/physical_document_images.rb +++ b/lib/plaid/models/physical_document_images.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/plaid_error.rb b/lib/plaid/models/plaid_error.rb index 07704354e..acfcdd82f 100644 --- a/lib/plaid/models/plaid_error.rb +++ b/lib/plaid/models/plaid_error.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -16,7 +16,6 @@ module Plaid # We use standard HTTP response codes for success and failure notifications, and our errors are further classified by `error_type`. In general, 200 HTTP codes correspond to success, 40X codes are for developer- or user-related failures, and 50X codes are for Plaid-related issues. An Item with a non-`null` error object will only be part of an API response when calling `/item/get` to view Item status. Otherwise, error fields will be `null` if no error has occurred; if an error has occurred, an error code will be returned instead. class PlaidError - # A broad categorization of the error. Safe for programmatic use. attr_accessor :error_type # The particular error code. Safe for programmatic use. @@ -43,28 +42,6 @@ class PlaidError # 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 { @@ -88,7 +65,7 @@ def self.acceptable_attributes # Attribute type mapping. def self.openapi_types { - :'error_type' => :'String', + :'error_type' => :'PlaidErrorType', :'error_code' => :'String', :'error_message' => :'String', :'display_message' => :'String', @@ -109,13 +86,6 @@ def self.openapi_nullable ]) 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 = {}) @@ -193,23 +163,11 @@ def list_invalid_properties # @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", "MICRODEPOSITS_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", "MICRODEPOSITS_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) diff --git a/lib/plaid/models/plaid_error_type.rb b/lib/plaid/models/plaid_error_type.rb new file mode 100644 index 000000000..8e500045d --- /dev/null +++ b/lib/plaid/models/plaid_error_type.rb @@ -0,0 +1,51 @@ +=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.197.3 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 5.1.1 + +=end + +require 'date' +require 'time' + +module Plaid + class PlaidErrorType + INVALID_REQUEST = "INVALID_REQUEST".freeze + INVALID_RESULT = "INVALID_RESULT".freeze + INVALID_INPUT = "INVALID_INPUT".freeze + INSTITUTION_ERROR = "INSTITUTION_ERROR".freeze + RATE_LIMIT_EXCEEDED = "RATE_LIMIT_EXCEEDED".freeze + API_ERROR = "API_ERROR".freeze + ITEM_ERROR = "ITEM_ERROR".freeze + ASSET_REPORT_ERROR = "ASSET_REPORT_ERROR".freeze + RECAPTCHA_ERROR = "RECAPTCHA_ERROR".freeze + OAUTH_ERROR = "OAUTH_ERROR".freeze + PAYMENT_ERROR = "PAYMENT_ERROR".freeze + BANK_TRANSFER_ERROR = "BANK_TRANSFER_ERROR".freeze + INCOME_VERIFICATION_ERROR = "INCOME_VERIFICATION_ERROR".freeze + MICRODEPOSITS_ERROR = "MICRODEPOSITS_ERROR".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/platform_ids.rb b/lib/plaid/models/platform_ids.rb index ca349448f..1c33f766c 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/po_box_status.rb b/lib/plaid/models/po_box_status.rb index ec5fb10c5..4d1929b39 100644 --- a/lib/plaid/models/po_box_status.rb +++ b/lib/plaid/models/po_box_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 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 5734e7999..94cd1cfc3 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/processor_auth_get_request.rb b/lib/plaid/models/processor_auth_get_request.rb index 7542d9e80..8912431ad 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/processor_auth_get_response.rb b/lib/plaid/models/processor_auth_get_response.rb index 2f8eedda3..c71553bab 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/processor_balance_get_request.rb b/lib/plaid/models/processor_balance_get_request.rb index 053c2b36e..f326174a1 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/processor_balance_get_request_options.rb b/lib/plaid/models/processor_balance_get_request_options.rb index 674d408ad..230169961 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/processor_balance_get_response.rb b/lib/plaid/models/processor_balance_get_response.rb index c583e548f..06bfd24ea 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/processor_bank_transfer_create_request.rb b/lib/plaid/models/processor_bank_transfer_create_request.rb index 88ebf79e3..a325a4531 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/processor_bank_transfer_create_response.rb b/lib/plaid/models/processor_bank_transfer_create_response.rb index e1707046f..d506223d0 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/processor_identity_get_request.rb b/lib/plaid/models/processor_identity_get_request.rb index e22001797..347ea455f 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/processor_identity_get_response.rb b/lib/plaid/models/processor_identity_get_response.rb index c8c9d4fa4..d3e7975a7 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/processor_number.rb b/lib/plaid/models/processor_number.rb index 996fcecf9..832aa412a 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 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 83dbe811a..f13ef9b36 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 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 06fc54e17..d75e92248 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/processor_token_create_request.rb b/lib/plaid/models/processor_token_create_request.rb index 65a90e38a..2f09e6eeb 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/processor_token_create_response.rb b/lib/plaid/models/processor_token_create_response.rb index 17268038b..63d0d0b38 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/product_access.rb b/lib/plaid/models/product_access.rb index b5a3fb493..b28b95139 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/product_status.rb b/lib/plaid/models/product_status.rb index 2935bc59d..8a27c631d 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/product_status_breakdown.rb b/lib/plaid/models/product_status_breakdown.rb index c1f64234a..e9f61c302 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/products.rb b/lib/plaid/models/products.rb index 851ef2561..8884d7608 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/program_name_sensitivity.rb b/lib/plaid/models/program_name_sensitivity.rb index 786594839..3365dfa51 100644 --- a/lib/plaid/models/program_name_sensitivity.rb +++ b/lib/plaid/models/program_name_sensitivity.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/projected_income_summary_field_number.rb b/lib/plaid/models/projected_income_summary_field_number.rb index 1d7d926d3..e279c8693 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/pslf_status.rb b/lib/plaid/models/pslf_status.rb index 4c8a192a6..fb8898488 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/recaptcha_required_error.rb b/lib/plaid/models/recaptcha_required_error.rb index 3facf2598..f7cf7e896 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/recipient_bacs.rb b/lib/plaid/models/recipient_bacs.rb index 534ad2178..ba5ce4906 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/recipient_bacs_nullable.rb b/lib/plaid/models/recipient_bacs_nullable.rb index 517c06d66..5662a0359 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/recurring_transaction_frequency.rb b/lib/plaid/models/recurring_transaction_frequency.rb index 38083ad70..da86d4875 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/recurring_transactions_update_webhook.rb b/lib/plaid/models/recurring_transactions_update_webhook.rb index ef5b9a495..d8909bf58 100644 --- a/lib/plaid/models/recurring_transactions_update_webhook.rb +++ b/lib/plaid/models/recurring_transactions_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/removed_transaction.rb b/lib/plaid/models/removed_transaction.rb index 3a600fb03..a4bff6f74 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/report_type.rb b/lib/plaid/models/report_type.rb index 16be2ba60..1d1bdc847 100644 --- a/lib/plaid/models/report_type.rb +++ b/lib/plaid/models/report_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/reporting_information.rb b/lib/plaid/models/reporting_information.rb index e9ed7aea7..72aec1c4a 100644 --- a/lib/plaid/models/reporting_information.rb +++ b/lib/plaid/models/reporting_information.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/risk_signal_document_reference.rb b/lib/plaid/models/risk_signal_document_reference.rb index 90bf71433..da5ff06b1 100644 --- a/lib/plaid/models/risk_signal_document_reference.rb +++ b/lib/plaid/models/risk_signal_document_reference.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/role.rb b/lib/plaid/models/role.rb index 617a774d7..d84417fc5 100644 --- a/lib/plaid/models/role.rb +++ b/lib/plaid/models/role.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/role_detail.rb b/lib/plaid/models/role_detail.rb index 99ef34e85..ec803fad1 100644 --- a/lib/plaid/models/role_detail.rb +++ b/lib/plaid/models/role_detail.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/roles.rb b/lib/plaid/models/roles.rb index 2eb66d08c..5cb969f7e 100644 --- a/lib/plaid/models/roles.rb +++ b/lib/plaid/models/roles.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 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 9f4b8b0f4..0545e43b6 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 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 ebd37c0c3..b4c539978 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/sandbox_bank_transfer_simulate_request.rb b/lib/plaid/models/sandbox_bank_transfer_simulate_request.rb index 5f21aa46f..17194dc3b 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/sandbox_bank_transfer_simulate_response.rb b/lib/plaid/models/sandbox_bank_transfer_simulate_response.rb index cbc946feb..123e1642c 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/sandbox_income_fire_webhook_request.rb b/lib/plaid/models/sandbox_income_fire_webhook_request.rb index 8a0a6fca0..79d431b79 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -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. If the user uploaded multiple documents, this webhook will fire when all documents have finished processing. Call the `/income/verification/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. + # `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 `/income/verification/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`: (deprecated) The income verification has been sent to the user for review. attr_accessor :verification_status class EnumAttributeValidator diff --git a/lib/plaid/models/sandbox_income_fire_webhook_response.rb b/lib/plaid/models/sandbox_income_fire_webhook_response.rb index 448cc0237..193519f67 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/sandbox_item_fire_webhook_request.rb b/lib/plaid/models/sandbox_item_fire_webhook_request.rb index e313ceafb..368578ac7 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/sandbox_item_fire_webhook_response.rb b/lib/plaid/models/sandbox_item_fire_webhook_response.rb index db5109f57..e1878aebe 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/sandbox_item_reset_login_request.rb b/lib/plaid/models/sandbox_item_reset_login_request.rb index ffdcb45b9..844fb7374 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/sandbox_item_reset_login_response.rb b/lib/plaid/models/sandbox_item_reset_login_response.rb index ed6a85edd..d1f430658 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 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 7c1bf6afa..8c89b7fea 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 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 4a4c15e10..24fc9e9f0 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/sandbox_oauth_select_accounts_request.rb b/lib/plaid/models/sandbox_oauth_select_accounts_request.rb index 79a38f36f..acfa3d4b4 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/sandbox_payment_profile_reset_login_request.rb b/lib/plaid/models/sandbox_payment_profile_reset_login_request.rb new file mode 100644 index 000000000..b373b063e --- /dev/null +++ b/lib/plaid/models/sandbox_payment_profile_reset_login_request.rb @@ -0,0 +1,245 @@ +=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.197.3 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 5.1.1 + +=end + +require 'date' +require 'time' + +module Plaid + # SandboxPaymentProfileResetLoginRequest defines the request schema for `/sandbox/payment_profile/reset_login` + class SandboxPaymentProfileResetLoginRequest + # Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body. + attr_accessor :client_id + + # Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body. + attr_accessor :secret + + # A payment profile token associated with the Payment Profile data that is being requested. + attr_accessor :payment_profile_token + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'client_id' => :'client_id', + :'secret' => :'secret', + :'payment_profile_token' => :'payment_profile_token' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'client_id' => :'String', + :'secret' => :'String', + :'payment_profile_token' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::SandboxPaymentProfileResetLoginRequest` 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::SandboxPaymentProfileResetLoginRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'client_id') + self.client_id = attributes[:'client_id'] + end + + if attributes.key?(:'secret') + self.secret = attributes[:'secret'] + end + + if attributes.key?(:'payment_profile_token') + self.payment_profile_token = attributes[:'payment_profile_token'] + 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 @payment_profile_token.nil? + invalid_properties.push('invalid value for "payment_profile_token", payment_profile_token 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 @payment_profile_token.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 && + client_id == o.client_id && + secret == o.secret && + payment_profile_token == o.payment_profile_token + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [client_id, secret, payment_profile_token].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/sandbox_payment_profile_reset_login_response.rb b/lib/plaid/models/sandbox_payment_profile_reset_login_response.rb new file mode 100644 index 000000000..216ad0408 --- /dev/null +++ b/lib/plaid/models/sandbox_payment_profile_reset_login_response.rb @@ -0,0 +1,240 @@ +=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.197.3 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 5.1.1 + +=end + +require 'date' +require 'time' + +module Plaid + # SandboxPaymentProfileResetLoginResponse defines the response schema for `/sandbox/payment_profile/reset_login` + class SandboxPaymentProfileResetLoginResponse + # `true` if the call succeeded + attr_accessor :reset_login + + # A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive. + attr_accessor :request_id + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'reset_login' => :'reset_login', + :'request_id' => :'request_id' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'reset_login' => :'Boolean', + :'request_id' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::SandboxPaymentProfileResetLoginResponse` 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::SandboxPaymentProfileResetLoginResponse`. 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?(:'reset_login') + self.reset_login = attributes[:'reset_login'] + end + + if attributes.key?(:'request_id') + self.request_id = attributes[:'request_id'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @reset_login.nil? + invalid_properties.push('invalid value for "reset_login", reset_login cannot be nil.') + end + + if @request_id.nil? + invalid_properties.push('invalid value for "request_id", request_id cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @reset_login.nil? + return false if @request_id.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + reset_login == o.reset_login && + request_id == o.request_id + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [reset_login, request_id].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/sandbox_processor_token_create_request.rb b/lib/plaid/models/sandbox_processor_token_create_request.rb index 776fc5f25..5b6d6aa87 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 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 f32614679..8f9dd74cc 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/sandbox_processor_token_create_response.rb b/lib/plaid/models/sandbox_processor_token_create_response.rb index b365fbe5c..bd527e653 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/sandbox_public_token_create_request.rb b/lib/plaid/models/sandbox_public_token_create_request.rb index eef7f25cb..5e4437a09 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/sandbox_public_token_create_request_income_verification_bank_income.rb b/lib/plaid/models/sandbox_public_token_create_request_income_verification_bank_income.rb new file mode 100644 index 000000000..dfdfd2391 --- /dev/null +++ b/lib/plaid/models/sandbox_public_token_create_request_income_verification_bank_income.rb @@ -0,0 +1,220 @@ +=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.197.3 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 5.1.1 + +=end + +require 'date' +require 'time' + +module Plaid + # Specifies options for Bank Income. This field is required if `income_verification` is included in the `initial_products` array and `bank` is specified in `income_source_types`. + class SandboxPublicTokenCreateRequestIncomeVerificationBankIncome + # The number of days of data to request for the Bank Income product + attr_accessor :days_requested + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'days_requested' => :'days_requested' + } + 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 + { + :'days_requested' => :'Integer' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::SandboxPublicTokenCreateRequestIncomeVerificationBankIncome` 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::SandboxPublicTokenCreateRequestIncomeVerificationBankIncome`. 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?(:'days_requested') + self.days_requested = attributes[:'days_requested'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + days_requested == o.days_requested + 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 + [days_requested].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/sandbox_public_token_create_request_options.rb b/lib/plaid/models/sandbox_public_token_create_request_options.rb index a7002cf65..1b1ba19a0 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -27,13 +27,16 @@ class SandboxPublicTokenCreateRequestOptions attr_accessor :transactions + attr_accessor :income_verification + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'webhook' => :'webhook', :'override_username' => :'override_username', :'override_password' => :'override_password', - :'transactions' => :'transactions' + :'transactions' => :'transactions', + :'income_verification' => :'income_verification' } end @@ -48,7 +51,8 @@ def self.openapi_types :'webhook' => :'String', :'override_username' => :'String', :'override_password' => :'String', - :'transactions' => :'SandboxPublicTokenCreateRequestOptionsTransactions' + :'transactions' => :'SandboxPublicTokenCreateRequestOptionsTransactions', + :'income_verification' => :'SandboxPublicTokenCreateRequestOptionsIncomeVerification' } end @@ -94,6 +98,10 @@ def initialize(attributes = {}) if attributes.key?(:'transactions') self.transactions = attributes[:'transactions'] end + + if attributes.key?(:'income_verification') + self.income_verification = attributes[:'income_verification'] + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -117,7 +125,8 @@ def ==(o) webhook == o.webhook && override_username == o.override_username && override_password == o.override_password && - transactions == o.transactions + transactions == o.transactions && + income_verification == o.income_verification end # @see the `==` method @@ -129,7 +138,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [webhook, override_username, override_password, transactions].hash + [webhook, override_username, override_password, transactions, income_verification].hash end # Builds the object from hash diff --git a/lib/plaid/models/sandbox_public_token_create_request_options_income_verification.rb b/lib/plaid/models/sandbox_public_token_create_request_options_income_verification.rb new file mode 100644 index 000000000..f5a37ba16 --- /dev/null +++ b/lib/plaid/models/sandbox_public_token_create_request_options_income_verification.rb @@ -0,0 +1,231 @@ +=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.197.3 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 5.1.1 + +=end + +require 'date' +require 'time' + +module Plaid + # A set of parameters for income verification options. This field is required if `income_verification` is included in the `initial_products` array. + class SandboxPublicTokenCreateRequestOptionsIncomeVerification + # The types of source income data that users will be permitted to share. Options include `bank` and `payroll`. Currently you can only specify one of these options. + attr_accessor :income_source_types + + attr_accessor :bank_income + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'income_source_types' => :'income_source_types', + :'bank_income' => :'bank_income' + } + 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 + { + :'income_source_types' => :'Array', + :'bank_income' => :'SandboxPublicTokenCreateRequestIncomeVerificationBankIncome' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::SandboxPublicTokenCreateRequestOptionsIncomeVerification` 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::SandboxPublicTokenCreateRequestOptionsIncomeVerification`. 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?(:'income_source_types') + if (value = attributes[:'income_source_types']).is_a?(Array) + self.income_source_types = value + end + end + + if attributes.key?(:'bank_income') + self.bank_income = attributes[:'bank_income'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + income_source_types == o.income_source_types && + bank_income == o.bank_income + 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 + [income_source_types, bank_income].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/sandbox_public_token_create_request_options_transactions.rb b/lib/plaid/models/sandbox_public_token_create_request_options_transactions.rb index cf29de016..b9eab3f05 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/sandbox_public_token_create_response.rb b/lib/plaid/models/sandbox_public_token_create_response.rb index 9a3b9accd..ec3e251cf 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/sandbox_transfer_fire_webhook_request.rb b/lib/plaid/models/sandbox_transfer_fire_webhook_request.rb index 8d25d5c8e..325953f30 100644 --- a/lib/plaid/models/sandbox_transfer_fire_webhook_request.rb +++ b/lib/plaid/models/sandbox_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/sandbox_transfer_fire_webhook_response.rb b/lib/plaid/models/sandbox_transfer_fire_webhook_response.rb index 9cee0d370..fc79ee1bd 100644 --- a/lib/plaid/models/sandbox_transfer_fire_webhook_response.rb +++ b/lib/plaid/models/sandbox_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/sandbox_transfer_repayment_simulate_request.rb b/lib/plaid/models/sandbox_transfer_repayment_simulate_request.rb index 8669a5b84..716d58963 100644 --- a/lib/plaid/models/sandbox_transfer_repayment_simulate_request.rb +++ b/lib/plaid/models/sandbox_transfer_repayment_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/sandbox_transfer_repayment_simulate_response.rb b/lib/plaid/models/sandbox_transfer_repayment_simulate_response.rb index 79633e76b..46fe4b291 100644 --- a/lib/plaid/models/sandbox_transfer_repayment_simulate_response.rb +++ b/lib/plaid/models/sandbox_transfer_repayment_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/sandbox_transfer_simulate_request.rb b/lib/plaid/models/sandbox_transfer_simulate_request.rb index 86c7c8913..3e8a4dccb 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/sandbox_transfer_simulate_response.rb b/lib/plaid/models/sandbox_transfer_simulate_response.rb index ee961ec79..66ab71945 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/sandbox_transfer_sweep_simulate_request.rb b/lib/plaid/models/sandbox_transfer_sweep_simulate_request.rb index 9b96c1b04..271b23386 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/sandbox_transfer_sweep_simulate_response.rb b/lib/plaid/models/sandbox_transfer_sweep_simulate_response.rb index ead6470fc..a2b28f965 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/scopes.rb b/lib/plaid/models/scopes.rb index b03dd88ae..cc8c9ded6 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/scopes_context.rb b/lib/plaid/models/scopes_context.rb index d8308e64c..3d8380926 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/scopes_nullable.rb b/lib/plaid/models/scopes_nullable.rb index b01ce156e..158645af8 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/screening_hit_analysis.rb b/lib/plaid/models/screening_hit_analysis.rb index 8abf24144..c24b09b88 100644 --- a/lib/plaid/models/screening_hit_analysis.rb +++ b/lib/plaid/models/screening_hit_analysis.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/screening_hit_data.rb b/lib/plaid/models/screening_hit_data.rb index 55245b884..5e1aa0437 100644 --- a/lib/plaid/models/screening_hit_data.rb +++ b/lib/plaid/models/screening_hit_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/screening_hit_date_of_birth_item.rb b/lib/plaid/models/screening_hit_date_of_birth_item.rb index 02a76c034..1322a7318 100644 --- a/lib/plaid/models/screening_hit_date_of_birth_item.rb +++ b/lib/plaid/models/screening_hit_date_of_birth_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/screening_hit_documents_items.rb b/lib/plaid/models/screening_hit_documents_items.rb index 33ddf8a5e..d7249e952 100644 --- a/lib/plaid/models/screening_hit_documents_items.rb +++ b/lib/plaid/models/screening_hit_documents_items.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/screening_hit_names_items.rb b/lib/plaid/models/screening_hit_names_items.rb index cc469759f..3bc448cc0 100644 --- a/lib/plaid/models/screening_hit_names_items.rb +++ b/lib/plaid/models/screening_hit_names_items.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/screening_status_updated_webhook.rb b/lib/plaid/models/screening_status_updated_webhook.rb index b074fc4aa..f8e2899c2 100644 --- a/lib/plaid/models/screening_status_updated_webhook.rb +++ b/lib/plaid/models/screening_status_updated_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/security.rb b/lib/plaid/models/security.rb index 4ea81fb49..2bd06cc31 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -16,7 +16,7 @@ module Plaid # Contains details about a security class Security - # A unique, Plaid-specific identifier for the security, used to associate securities with holdings. Like all Plaid identifiers, the `security_id` is case sensitive. + # A unique, Plaid-specific identifier for the security, used to associate securities with holdings. Like all Plaid identifiers, the `security_id` is case sensitive. The `security_id` may change if inherent details of the security change due to a corporate action, for example, in the event of a ticker symbol change or CUSIP change. attr_accessor :security_id # 12-character ISIN, a globally unique securities identifier. diff --git a/lib/plaid/models/security_override.rb b/lib/plaid/models/security_override.rb index 81076ec5f..81716a385 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/sender_bacs_nullable.rb b/lib/plaid/models/sender_bacs_nullable.rb index f5f155795..7df5152e8 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/service.rb b/lib/plaid/models/service.rb index af9d23575..3dc938e29 100644 --- a/lib/plaid/models/service.rb +++ b/lib/plaid/models/service.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/service_product_fulfillment.rb b/lib/plaid/models/service_product_fulfillment.rb index 2d3a8616a..6528e8ece 100644 --- a/lib/plaid/models/service_product_fulfillment.rb +++ b/lib/plaid/models/service_product_fulfillment.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/service_product_fulfillment_detail.rb b/lib/plaid/models/service_product_fulfillment_detail.rb index 54ba094b1..706ff538d 100644 --- a/lib/plaid/models/service_product_fulfillment_detail.rb +++ b/lib/plaid/models/service_product_fulfillment_detail.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/service_product_fulfillment_identifier.rb b/lib/plaid/models/service_product_fulfillment_identifier.rb index 8b2a61815..d5bf66958 100644 --- a/lib/plaid/models/service_product_fulfillment_identifier.rb +++ b/lib/plaid/models/service_product_fulfillment_identifier.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/servicer_address_data.rb b/lib/plaid/models/servicer_address_data.rb index cd631825d..246ab5357 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/services.rb b/lib/plaid/models/services.rb index a4c5dd0fa..f7f4f7067 100644 --- a/lib/plaid/models/services.rb +++ b/lib/plaid/models/services.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/signal_address_data.rb b/lib/plaid/models/signal_address_data.rb index 643b71671..53020d164 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/signal_decision_report_request.rb b/lib/plaid/models/signal_decision_report_request.rb index 5038c2eee..ed1c44fa2 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/signal_decision_report_response.rb b/lib/plaid/models/signal_decision_report_response.rb index c5400e792..2f360640a 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/signal_device.rb b/lib/plaid/models/signal_device.rb index ab936c81c..33201427a 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/signal_evaluate_core_attributes.rb b/lib/plaid/models/signal_evaluate_core_attributes.rb index 3b79e9d9c..604c3b802 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/signal_evaluate_request.rb b/lib/plaid/models/signal_evaluate_request.rb index 6f7a3cfa1..cdfcc2858 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/signal_evaluate_response.rb b/lib/plaid/models/signal_evaluate_response.rb index 24135a653..55e100cbe 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/signal_person_name.rb b/lib/plaid/models/signal_person_name.rb index 2666e8f75..8f72285df 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/signal_prepare_request.rb b/lib/plaid/models/signal_prepare_request.rb index 8e444453d..929a2f351 100644 --- a/lib/plaid/models/signal_prepare_request.rb +++ b/lib/plaid/models/signal_prepare_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/signal_prepare_response.rb b/lib/plaid/models/signal_prepare_response.rb index 0a1b6e527..5f56db6e8 100644 --- a/lib/plaid/models/signal_prepare_response.rb +++ b/lib/plaid/models/signal_prepare_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/signal_return_report_request.rb b/lib/plaid/models/signal_return_report_request.rb index 9bc290404..b8201eb49 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/signal_return_report_response.rb b/lib/plaid/models/signal_return_report_response.rb index 575ed7bd3..27b246499 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/signal_scores.rb b/lib/plaid/models/signal_scores.rb index ff12811a6..45d95eea1 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/signal_user.rb b/lib/plaid/models/signal_user.rb index 622ab5075..fa33992c2 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/simulated_transfer_sweep.rb b/lib/plaid/models/simulated_transfer_sweep.rb index 37cae6a5a..d2cc33f7a 100644 --- a/lib/plaid/models/simulated_transfer_sweep.rb +++ b/lib/plaid/models/simulated_transfer_sweep.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/single_document_risk_signal.rb b/lib/plaid/models/single_document_risk_signal.rb index 5f0cace4d..3a68a463c 100644 --- a/lib/plaid/models/single_document_risk_signal.rb +++ b/lib/plaid/models/single_document_risk_signal.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/source.rb b/lib/plaid/models/source.rb index ddbd33f03..9e5abf181 100644 --- a/lib/plaid/models/source.rb +++ b/lib/plaid/models/source.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/standalone_account_type.rb b/lib/plaid/models/standalone_account_type.rb index 4422c6eb3..2687b1fa0 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/standalone_currency_code_list.rb b/lib/plaid/models/standalone_currency_code_list.rb index 619b13322..bb6f9b7e2 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/standalone_investment_transaction_type.rb b/lib/plaid/models/standalone_investment_transaction_type.rb index f7fe3d25a..d79f08eca 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/status.rb b/lib/plaid/models/status.rb index 635763053..650bb7ec0 100644 --- a/lib/plaid/models/status.rb +++ b/lib/plaid/models/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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/statuses.rb b/lib/plaid/models/statuses.rb index 70ca09598..e181c9630 100644 --- a/lib/plaid/models/statuses.rb +++ b/lib/plaid/models/statuses.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/strategy.rb b/lib/plaid/models/strategy.rb index 9b77d619a..e3556701a 100644 --- a/lib/plaid/models/strategy.rb +++ b/lib/plaid/models/strategy.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/student_loan.rb b/lib/plaid/models/student_loan.rb index 6c7e43a80..3847ad8db 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/student_loan_repayment_model.rb b/lib/plaid/models/student_loan_repayment_model.rb index 6de06164f..6be02a2a5 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/student_loan_status.rb b/lib/plaid/models/student_loan_status.rb index 2ddc56169..60ebb5059 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/student_repayment_plan.rb b/lib/plaid/models/student_repayment_plan.rb index 049b8de86..939289414 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/sync_updates_available_webhook.rb b/lib/plaid/models/sync_updates_available_webhook.rb index b378bcdd9..abba8a9ce 100644 --- a/lib/plaid/models/sync_updates_available_webhook.rb +++ b/lib/plaid/models/sync_updates_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -14,7 +14,7 @@ require 'time' module Plaid - # Fired when an Item's transactions change. This can be due to any event resulting in new changes, such as an initial 30-day transactions fetch upon the initialization of an Item with transactions, the backfill of historical transactions that occurs shortly after, or when changes are populated from a regularly-scheduled transactions update job. It is recommended to listen for the `SYNC_UPDATES_AVAILABLE` webhook when using the `/transactions/sync` endpoint. Note that when using `/transactions/sync` the older webhooks `INITIAL_UPDATE`, `HISTORICAL_UPDATE`, or `DEFAULT_UPDATE`, which are intended for use with `/transactions/get`, will also continue to be sent in order to maintain backwards compatibility. After receipt of this webhook, the new changes can be fetched for the Item from `/transactions/sync`. Note that to receive this webhook for an Item, `/transactions/sync` must have been called at least once on that Item. + # Fired when an Item's transactions change. This can be due to any event resulting in new changes, such as an initial 30-day transactions fetch upon the initialization of an Item with transactions, the backfill of historical transactions that occurs shortly after, or when changes are populated from a regularly-scheduled transactions update job. It is recommended to listen for the `SYNC_UPDATES_AVAILABLE` webhook when using the `/transactions/sync` endpoint. Note that when using `/transactions/sync` the older webhooks `INITIAL_UPDATE`, `HISTORICAL_UPDATE`, `DEFAULT_UPDATE`, and `TRANSACTIONS_REMOVED`, which are intended for use with `/transactions/get`, will also continue to be sent in order to maintain backwards compatibility. It is not necessary to listen for and respond to those webhooks when using `/transactions/sync`. After receipt of this webhook, the new changes can be fetched for the Item from `/transactions/sync`. Note that to receive this webhook for an Item, `/transactions/sync` must have been called at least once on that Item. class SyncUpdatesAvailableWebhook # `TRANSACTIONS` attr_accessor :webhook_type diff --git a/lib/plaid/models/taxform.rb b/lib/plaid/models/taxform.rb index 085611296..e80e850d1 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/taxpayer_id.rb b/lib/plaid/models/taxpayer_id.rb index 368327a76..5a3d9d754 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/taxpayer_identifier.rb b/lib/plaid/models/taxpayer_identifier.rb index 748d24fdf..4a6225e92 100644 --- a/lib/plaid/models/taxpayer_identifier.rb +++ b/lib/plaid/models/taxpayer_identifier.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/taxpayer_identifier_type.rb b/lib/plaid/models/taxpayer_identifier_type.rb index 48d7b5004..a776c734b 100644 --- a/lib/plaid/models/taxpayer_identifier_type.rb +++ b/lib/plaid/models/taxpayer_identifier_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/taxpayer_identifiers.rb b/lib/plaid/models/taxpayer_identifiers.rb index 0f31d426b..c84e2834e 100644 --- a/lib/plaid/models/taxpayer_identifiers.rb +++ b/lib/plaid/models/taxpayer_identifiers.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/total.rb b/lib/plaid/models/total.rb index 60ef20000..23ab78690 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/total_canonical_description.rb b/lib/plaid/models/total_canonical_description.rb index fbd634d9b..4c27b33b2 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transaction.rb b/lib/plaid/models/transaction.rb index 58cb01e79..3cb68196a 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transaction_all_of.rb b/lib/plaid/models/transaction_all_of.rb index 76b8e297f..455d0a025 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transaction_base.rb b/lib/plaid/models/transaction_base.rb index 0d898c2b2..ac48968a9 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transaction_code.rb b/lib/plaid/models/transaction_code.rb index e80100a9c..89e585115 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transaction_data.rb b/lib/plaid/models/transaction_data.rb index c937860b2..b5b0ce81a 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transaction_override.rb b/lib/plaid/models/transaction_override.rb index b96a183cb..4f19f1077 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transaction_stream.rb b/lib/plaid/models/transaction_stream.rb index 942013733..1b4fccd02 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transaction_stream_amount.rb b/lib/plaid/models/transaction_stream_amount.rb index 5a198d233..ee6d3b674 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transaction_stream_status.rb b/lib/plaid/models/transaction_stream_status.rb index fd8c9d27d..099e94a11 100644 --- a/lib/plaid/models/transaction_stream_status.rb +++ b/lib/plaid/models/transaction_stream_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transactions_category_rule.rb b/lib/plaid/models/transactions_category_rule.rb index 522bd003a..752c5d7c1 100644 --- a/lib/plaid/models/transactions_category_rule.rb +++ b/lib/plaid/models/transactions_category_rule.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transactions_enhance_get_request.rb b/lib/plaid/models/transactions_enhance_get_request.rb index cf326eb0b..b576c8ebe 100644 --- a/lib/plaid/models/transactions_enhance_get_request.rb +++ b/lib/plaid/models/transactions_enhance_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transactions_enhance_get_response.rb b/lib/plaid/models/transactions_enhance_get_response.rb index f5c094699..9b2f0e254 100644 --- a/lib/plaid/models/transactions_enhance_get_response.rb +++ b/lib/plaid/models/transactions_enhance_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transactions_get_request.rb b/lib/plaid/models/transactions_get_request.rb index 2c3b043ca..7c7c2de6c 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transactions_get_request_options.rb b/lib/plaid/models/transactions_get_request_options.rb index 3aa8a4283..792ac4f33 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transactions_get_response.rb b/lib/plaid/models/transactions_get_response.rb index ae4c35b9d..bfd71f8df 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transactions_recurring_get_request.rb b/lib/plaid/models/transactions_recurring_get_request.rb index 825dd7a62..a9d3eb942 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transactions_recurring_get_request_options.rb b/lib/plaid/models/transactions_recurring_get_request_options.rb index 6e153c388..28f7ffc5a 100644 --- a/lib/plaid/models/transactions_recurring_get_request_options.rb +++ b/lib/plaid/models/transactions_recurring_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transactions_recurring_get_response.rb b/lib/plaid/models/transactions_recurring_get_response.rb index 7b72d826d..f1b102f4d 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transactions_refresh_request.rb b/lib/plaid/models/transactions_refresh_request.rb index 1a8304485..60342bbb7 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transactions_refresh_response.rb b/lib/plaid/models/transactions_refresh_response.rb index f6d7d65df..4cb8e70a2 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transactions_removed_webhook.rb b/lib/plaid/models/transactions_removed_webhook.rb index 3307f08ea..14c17e8e3 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -14,7 +14,7 @@ require 'time' module Plaid - # Fired when transaction(s) for an Item are deleted. The deleted transaction IDs are included in the webhook payload. Plaid will typically check for deleted transaction data several times a day. + # Fired when transaction(s) for an Item are deleted. The deleted transaction IDs are included in the webhook payload. Plaid will typically check for deleted transaction data several times a day. This webhook is intended for use with `/transactions/get`; if you are using the newer `/transactions/sync` endpoint, this webhook will still be fired to maintain backwards compatibility, but it is recommended to listen for and respond to the `SYNC_UPDATES_AVAILABLE` webhook instead. class TransactionsRemovedWebhook # `TRANSACTIONS` attr_accessor :webhook_type diff --git a/lib/plaid/models/transactions_rule_details.rb b/lib/plaid/models/transactions_rule_details.rb index 8c27967ef..a09f94764 100644 --- a/lib/plaid/models/transactions_rule_details.rb +++ b/lib/plaid/models/transactions_rule_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transactions_rule_field.rb b/lib/plaid/models/transactions_rule_field.rb index c38d812e1..86e517630 100644 --- a/lib/plaid/models/transactions_rule_field.rb +++ b/lib/plaid/models/transactions_rule_field.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transactions_rule_type.rb b/lib/plaid/models/transactions_rule_type.rb index 4add0db66..be0833c52 100644 --- a/lib/plaid/models/transactions_rule_type.rb +++ b/lib/plaid/models/transactions_rule_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transactions_rules_create_request.rb b/lib/plaid/models/transactions_rules_create_request.rb index c5dd02677..ea7ba11d1 100644 --- a/lib/plaid/models/transactions_rules_create_request.rb +++ b/lib/plaid/models/transactions_rules_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transactions_rules_create_response.rb b/lib/plaid/models/transactions_rules_create_response.rb index bad1cf7bd..ccf3381e6 100644 --- a/lib/plaid/models/transactions_rules_create_response.rb +++ b/lib/plaid/models/transactions_rules_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transactions_rules_list_request.rb b/lib/plaid/models/transactions_rules_list_request.rb index cede1dbe0..59c9364a8 100644 --- a/lib/plaid/models/transactions_rules_list_request.rb +++ b/lib/plaid/models/transactions_rules_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transactions_rules_list_response.rb b/lib/plaid/models/transactions_rules_list_response.rb index 1e861e347..6a878084c 100644 --- a/lib/plaid/models/transactions_rules_list_response.rb +++ b/lib/plaid/models/transactions_rules_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transactions_rules_remove_request.rb b/lib/plaid/models/transactions_rules_remove_request.rb index eb309ad4f..26ffcb8bf 100644 --- a/lib/plaid/models/transactions_rules_remove_request.rb +++ b/lib/plaid/models/transactions_rules_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transactions_rules_remove_response.rb b/lib/plaid/models/transactions_rules_remove_response.rb index da6175a56..c60b63d8b 100644 --- a/lib/plaid/models/transactions_rules_remove_response.rb +++ b/lib/plaid/models/transactions_rules_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transactions_sync_request.rb b/lib/plaid/models/transactions_sync_request.rb index 29d30450b..49cd6b401 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transactions_sync_request_options.rb b/lib/plaid/models/transactions_sync_request_options.rb index ae6ed5a05..cdd4f0a41 100644 --- a/lib/plaid/models/transactions_sync_request_options.rb +++ b/lib/plaid/models/transactions_sync_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transactions_sync_response.rb b/lib/plaid/models/transactions_sync_response.rb index 8ed356d3d..c63ffd96a 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer.rb b/lib/plaid/models/transfer.rb index 89b17b970..0f4173dea 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -243,10 +243,6 @@ def list_invalid_properties invalid_properties.push('invalid value for "id", id cannot be nil.') end - if @ach_class.nil? - invalid_properties.push('invalid value for "ach_class", ach_class cannot be nil.') - end - if @account_id.nil? invalid_properties.push('invalid value for "account_id", account_id cannot be nil.') end @@ -299,7 +295,6 @@ def list_invalid_properties # @return true if the model is valid def valid? return false if @id.nil? - return false if @ach_class.nil? return false if @account_id.nil? return false if @type.nil? return false if @user.nil? diff --git a/lib/plaid/models/transfer_authorization.rb b/lib/plaid/models/transfer_authorization.rb index cf5b54b67..ee9310e10 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_authorization_create_request.rb b/lib/plaid/models/transfer_authorization_create_request.rb index 53befb0a5..43bb0b4c7 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -22,15 +22,15 @@ class TransferAuthorizationCreateRequest # Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body. attr_accessor :secret - # The Plaid `access_token` for the account that will be debited or credited. + # The Plaid `access_token` for the account that will be debited or credited. Required if not using `payment_profile_token`. attr_accessor :access_token - # A random key provided by the client, per unique authorization. Maximum of 50 characters. The API supports idempotency for safely retrying requests without accidentally performing the same operation twice. For example, if a request to create an authorization fails due to a network connection error, you can retry the request with the same idempotency key to guarantee that only a single authorization is created. Failure to provide this key may result in duplicate charges. Required for guaranteed ACH customers. - attr_accessor :idempotency_key - - # The Plaid `account_id` for the account that will be debited or credited. + # The Plaid `account_id` for the account that will be debited or credited. Required if not using `payment_profile_token`. attr_accessor :account_id + # The payment profile token associated with the Payment Profile that will be debited or credited. Required if not using `access_token`. + attr_accessor :payment_profile_token + attr_accessor :type attr_accessor :network @@ -50,14 +50,17 @@ class TransferAuthorizationCreateRequest # The currency of the transfer amount. The default value is \"USD\". attr_accessor :iso_currency_code + # A random key provided by the client, per unique authorization. Maximum of 50 characters. The API supports idempotency for safely retrying requests without accidentally performing the same operation twice. For example, if a request to create an authorization fails due to a network connection error, you can retry the request with the same idempotency key to guarantee that only a single authorization is created. Failure to provide this key may result in duplicate charges. Required for guaranteed ACH customers. + attr_accessor :idempotency_key + # Required for Guarantee. If the end user is initiating the specific transfer themselves via an interactive UI, this should be `true`; for automatic recurring payments where the end user is not actually initiating each individual transfer, it should be `false`. attr_accessor :user_present # If set to `false`, Plaid will not offer a `guarantee_decision` for this request(Guarantee customers only). attr_accessor :with_guarantee - # Plaid’s unique identifier for a payment profile. - attr_accessor :payment_profile_id + # The unique identifier returned by Plaid's [beacon](https://plaid.com/docs/transfer/guarantee/#using-a-beacon) when it is run on your webpage. Required for Guarantee customers who are not using [Transfer UI](https://plaid.com/docs/transfer/using-transfer-ui/) and have a web checkout experience. + attr_accessor :beacon_session_id # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map @@ -65,8 +68,8 @@ def self.attribute_map :'client_id' => :'client_id', :'secret' => :'secret', :'access_token' => :'access_token', - :'idempotency_key' => :'idempotency_key', :'account_id' => :'account_id', + :'payment_profile_token' => :'payment_profile_token', :'type' => :'type', :'network' => :'network', :'amount' => :'amount', @@ -75,9 +78,10 @@ def self.attribute_map :'device' => :'device', :'origination_account_id' => :'origination_account_id', :'iso_currency_code' => :'iso_currency_code', + :'idempotency_key' => :'idempotency_key', :'user_present' => :'user_present', :'with_guarantee' => :'with_guarantee', - :'payment_profile_id' => :'payment_profile_id' + :'beacon_session_id' => :'beacon_session_id' } end @@ -92,8 +96,8 @@ def self.openapi_types :'client_id' => :'String', :'secret' => :'String', :'access_token' => :'String', - :'idempotency_key' => :'String', :'account_id' => :'String', + :'payment_profile_token' => :'String', :'type' => :'TransferType', :'network' => :'TransferNetwork', :'amount' => :'String', @@ -102,9 +106,10 @@ def self.openapi_types :'device' => :'TransferAuthorizationDevice', :'origination_account_id' => :'String', :'iso_currency_code' => :'String', + :'idempotency_key' => :'String', :'user_present' => :'Boolean', :'with_guarantee' => :'Boolean', - :'payment_profile_id' => :'String' + :'beacon_session_id' => :'String' } end @@ -114,6 +119,7 @@ def self.openapi_nullable :'idempotency_key', :'user_present', :'with_guarantee', + :'beacon_session_id' ]) end @@ -144,14 +150,14 @@ def initialize(attributes = {}) self.access_token = attributes[:'access_token'] end - if attributes.key?(:'idempotency_key') - self.idempotency_key = attributes[:'idempotency_key'] - end - if attributes.key?(:'account_id') self.account_id = attributes[:'account_id'] end + if attributes.key?(:'payment_profile_token') + self.payment_profile_token = attributes[:'payment_profile_token'] + end + if attributes.key?(:'type') self.type = attributes[:'type'] end @@ -184,6 +190,10 @@ def initialize(attributes = {}) self.iso_currency_code = attributes[:'iso_currency_code'] end + if attributes.key?(:'idempotency_key') + self.idempotency_key = attributes[:'idempotency_key'] + end + if attributes.key?(:'user_present') self.user_present = attributes[:'user_present'] end @@ -194,8 +204,8 @@ def initialize(attributes = {}) self.with_guarantee = true end - if attributes.key?(:'payment_profile_id') - self.payment_profile_id = attributes[:'payment_profile_id'] + if attributes.key?(:'beacon_session_id') + self.beacon_session_id = attributes[:'beacon_session_id'] end end @@ -203,11 +213,6 @@ def initialize(attributes = {}) # @return Array for valid properties with the reasons def list_invalid_properties invalid_properties = Array.new - if !@idempotency_key.nil? && @idempotency_key.to_s.length > 50 - invalid_properties.push('invalid value for "idempotency_key", the character length must be smaller than or equal to 50.') - end - - if @type.nil? invalid_properties.push('invalid value for "type", type cannot be nil.') end @@ -220,26 +225,26 @@ def list_invalid_properties invalid_properties.push('invalid value for "amount", amount cannot be nil.') end - if @ach_class.nil? - invalid_properties.push('invalid value for "ach_class", ach_class cannot be nil.') - end - if @user.nil? invalid_properties.push('invalid value for "user", user cannot be nil.') end + if !@idempotency_key.nil? && @idempotency_key.to_s.length > 50 + invalid_properties.push('invalid value for "idempotency_key", the character length must be smaller than or equal to 50.') + 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 !@idempotency_key.nil? && @idempotency_key.to_s.length > 50 return false if @type.nil? return false if @network.nil? return false if @amount.nil? - return false if @ach_class.nil? return false if @user.nil? + return false if !@idempotency_key.nil? && @idempotency_key.to_s.length > 50 true end @@ -262,8 +267,8 @@ def ==(o) client_id == o.client_id && secret == o.secret && access_token == o.access_token && - idempotency_key == o.idempotency_key && account_id == o.account_id && + payment_profile_token == o.payment_profile_token && type == o.type && network == o.network && amount == o.amount && @@ -272,9 +277,10 @@ def ==(o) device == o.device && origination_account_id == o.origination_account_id && iso_currency_code == o.iso_currency_code && + idempotency_key == o.idempotency_key && user_present == o.user_present && with_guarantee == o.with_guarantee && - payment_profile_id == o.payment_profile_id + beacon_session_id == o.beacon_session_id end # @see the `==` method @@ -286,7 +292,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [client_id, secret, access_token, idempotency_key, account_id, type, network, amount, ach_class, user, device, origination_account_id, iso_currency_code, user_present, with_guarantee, payment_profile_id].hash + [client_id, secret, access_token, account_id, payment_profile_token, type, network, amount, ach_class, user, device, origination_account_id, iso_currency_code, idempotency_key, user_present, with_guarantee, beacon_session_id].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 5271399db..d2c948f36 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_authorization_decision.rb b/lib/plaid/models/transfer_authorization_decision.rb index db1d49bd3..4bdfd0745 100644 --- a/lib/plaid/models/transfer_authorization_decision.rb +++ b/lib/plaid/models/transfer_authorization_decision.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_authorization_decision_rationale.rb b/lib/plaid/models/transfer_authorization_decision_rationale.rb index 8a9d510a8..ccfd4f84c 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_authorization_decision_rationale_code.rb b/lib/plaid/models/transfer_authorization_decision_rationale_code.rb index 237d13b33..d8be6e133 100644 --- a/lib/plaid/models/transfer_authorization_decision_rationale_code.rb +++ b/lib/plaid/models/transfer_authorization_decision_rationale_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -19,7 +19,8 @@ class TransferAuthorizationDecisionRationaleCode RISK = "RISK".freeze TRANSFER_LIMIT_REACHED = "TRANSFER_LIMIT_REACHED".freeze MANUALLY_VERIFIED_ITEM = "MANUALLY_VERIFIED_ITEM".freeze - LOGIN_REQUIRED = "LOGIN_REQUIRED".freeze + ITEM_LOGIN_REQUIRED = "ITEM_LOGIN_REQUIRED".freeze + PAYMENT_PROFILE_LOGIN_REQUIRED = "PAYMENT_PROFILE_LOGIN_REQUIRED".freeze ERROR = "ERROR".freeze MIGRATED_ACCOUNT_ITEM = "MIGRATED_ACCOUNT_ITEM".freeze diff --git a/lib/plaid/models/transfer_authorization_device.rb b/lib/plaid/models/transfer_authorization_device.rb index 2cd828b8e..d08e1c766 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_authorization_guarantee_decision.rb b/lib/plaid/models/transfer_authorization_guarantee_decision.rb index 5eed3d27a..9cb61d581 100644 --- a/lib/plaid/models/transfer_authorization_guarantee_decision.rb +++ b/lib/plaid/models/transfer_authorization_guarantee_decision.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_authorization_guarantee_decision_rationale.rb b/lib/plaid/models/transfer_authorization_guarantee_decision_rationale.rb index d97d05111..4a40b70ab 100644 --- a/lib/plaid/models/transfer_authorization_guarantee_decision_rationale.rb +++ b/lib/plaid/models/transfer_authorization_guarantee_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_authorization_guarantee_decision_rationale_code.rb b/lib/plaid/models/transfer_authorization_guarantee_decision_rationale_code.rb index 912135eb6..425e463a4 100644 --- a/lib/plaid/models/transfer_authorization_guarantee_decision_rationale_code.rb +++ b/lib/plaid/models/transfer_authorization_guarantee_decision_rationale_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_authorization_proposed_transfer.rb b/lib/plaid/models/transfer_authorization_proposed_transfer.rb index 4fad903aa..669d248b1 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -128,10 +128,6 @@ def initialize(attributes = {}) # @return Array for valid properties with the reasons def list_invalid_properties invalid_properties = Array.new - if @ach_class.nil? - invalid_properties.push('invalid value for "ach_class", ach_class cannot be nil.') - end - if @account_id.nil? invalid_properties.push('invalid value for "account_id", account_id cannot be nil.') end @@ -166,7 +162,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 @ach_class.nil? return false if @account_id.nil? return false if @type.nil? return false if @user.nil? diff --git a/lib/plaid/models/transfer_authorization_user_in_request.rb b/lib/plaid/models/transfer_authorization_user_in_request.rb index 3a0a2437f..0e9212667 100644 --- a/lib/plaid/models/transfer_authorization_user_in_request.rb +++ b/lib/plaid/models/transfer_authorization_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_cancel_request.rb b/lib/plaid/models/transfer_cancel_request.rb index 7e413b6d3..360de0ac3 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_cancel_response.rb b/lib/plaid/models/transfer_cancel_response.rb index 8c2fcd07d..a620f8e86 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_create_request.rb b/lib/plaid/models/transfer_create_request.rb index bb946a392..212faf954 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -25,12 +25,15 @@ class TransferCreateRequest # Deprecated. `authorization_id` is now used as idempotency instead. A random key provided by the client, per unique transfer. Maximum of 50 characters. The API supports idempotency for safely retrying requests without accidentally performing the same operation twice. For example, if a request to create a transfer fails due to a network connection error, you can retry the request with the same idempotency key to guarantee that only a single transfer is created. attr_accessor :idempotency_key - # The Plaid `access_token` for the account that will be debited or credited. + # The Plaid `access_token` for the account that will be debited or credited. Required if not using `payment_profile_token`. attr_accessor :access_token - # The Plaid `account_id` for the account that will be debited or credited. + # The Plaid `account_id` for the account that will be debited or credited. Required if not using `payment_profile_token`. attr_accessor :account_id + # The payment profile token associated with the Payment Profile that will be debited or credited. Required if not using `access_token`. + attr_accessor :payment_profile_token + # Plaid’s unique identifier for a transfer authorization. This parameter also serves the purpose of acting as an idempotency identifier. attr_accessor :authorization_id @@ -57,9 +60,6 @@ class TransferCreateRequest # The currency of the transfer amount. The default value is \"USD\". attr_accessor :iso_currency_code - # Plaid’s unique identifier for a payment profile. - attr_accessor :payment_profile_id - # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { @@ -68,6 +68,7 @@ def self.attribute_map :'idempotency_key' => :'idempotency_key', :'access_token' => :'access_token', :'account_id' => :'account_id', + :'payment_profile_token' => :'payment_profile_token', :'authorization_id' => :'authorization_id', :'type' => :'type', :'network' => :'network', @@ -77,8 +78,7 @@ def self.attribute_map :'user' => :'user', :'metadata' => :'metadata', :'origination_account_id' => :'origination_account_id', - :'iso_currency_code' => :'iso_currency_code', - :'payment_profile_id' => :'payment_profile_id' + :'iso_currency_code' => :'iso_currency_code' } end @@ -95,6 +95,7 @@ def self.openapi_types :'idempotency_key' => :'String', :'access_token' => :'String', :'account_id' => :'String', + :'payment_profile_token' => :'String', :'authorization_id' => :'String', :'type' => :'TransferType', :'network' => :'TransferNetwork', @@ -104,14 +105,14 @@ def self.openapi_types :'user' => :'TransferUserInRequestDeprecated', :'metadata' => :'Hash', :'origination_account_id' => :'String', - :'iso_currency_code' => :'String', - :'payment_profile_id' => :'String' + :'iso_currency_code' => :'String' } end # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'user', :'metadata', :'origination_account_id', ]) @@ -152,6 +153,10 @@ def initialize(attributes = {}) self.account_id = attributes[:'account_id'] end + if attributes.key?(:'payment_profile_token') + self.payment_profile_token = attributes[:'payment_profile_token'] + end + if attributes.key?(:'authorization_id') self.authorization_id = attributes[:'authorization_id'] end @@ -193,10 +198,6 @@ def initialize(attributes = {}) if attributes.key?(:'iso_currency_code') self.iso_currency_code = attributes[:'iso_currency_code'] end - - if attributes.key?(:'payment_profile_id') - self.payment_profile_id = attributes[:'payment_profile_id'] - end end # Show invalid properties with the reasons. Usually used together with valid? @@ -279,6 +280,7 @@ def ==(o) idempotency_key == o.idempotency_key && access_token == o.access_token && account_id == o.account_id && + payment_profile_token == o.payment_profile_token && authorization_id == o.authorization_id && type == o.type && network == o.network && @@ -288,8 +290,7 @@ def ==(o) user == o.user && metadata == o.metadata && origination_account_id == o.origination_account_id && - iso_currency_code == o.iso_currency_code && - payment_profile_id == o.payment_profile_id + iso_currency_code == o.iso_currency_code end # @see the `==` method @@ -301,7 +302,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, iso_currency_code, payment_profile_id].hash + [client_id, secret, idempotency_key, access_token, account_id, payment_profile_token, 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 75cf7fd81..fbe96b27c 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_event.rb b/lib/plaid/models/transfer_event.rb index 9aba78a3c..f0e490baa 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_event_list_request.rb b/lib/plaid/models/transfer_event_list_request.rb index cdadde166..bdbc49720 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_event_list_response.rb b/lib/plaid/models/transfer_event_list_response.rb index fb4b07ed2..64f2a68e4 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_event_list_transfer_type.rb b/lib/plaid/models/transfer_event_list_transfer_type.rb index 0e3a9792c..4d5434478 100644 --- a/lib/plaid/models/transfer_event_list_transfer_type.rb +++ b/lib/plaid/models/transfer_event_list_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_event_sync_request.rb b/lib/plaid/models/transfer_event_sync_request.rb index f9e697e25..bdbdfd283 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_event_sync_response.rb b/lib/plaid/models/transfer_event_sync_response.rb index 598471d51..783900038 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_event_type.rb b/lib/plaid/models/transfer_event_type.rb index 5b33184b0..7563c0cfd 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_events_update_webhook.rb b/lib/plaid/models/transfer_events_update_webhook.rb index 059f5b888..adb1f5451 100644 --- a/lib/plaid/models/transfer_events_update_webhook.rb +++ b/lib/plaid/models/transfer_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_failure.rb b/lib/plaid/models/transfer_failure.rb index cdf2f77fb..00fd59eef 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_get_request.rb b/lib/plaid/models/transfer_get_request.rb index bdf3ce23c..865cfef9f 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_get_response.rb b/lib/plaid/models/transfer_get_response.rb index 43bbc0988..7d47fd101 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_intent_authorization_decision.rb b/lib/plaid/models/transfer_intent_authorization_decision.rb index f35bd67f7..64ceccf3f 100644 --- a/lib/plaid/models/transfer_intent_authorization_decision.rb +++ b/lib/plaid/models/transfer_intent_authorization_decision.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_intent_create.rb b/lib/plaid/models/transfer_intent_create.rb index f15a4ac79..b44810f12 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -201,10 +201,6 @@ def list_invalid_properties invalid_properties.push('invalid value for "mode", mode cannot be nil.') end - if @ach_class.nil? - invalid_properties.push('invalid value for "ach_class", ach_class cannot be nil.') - end - if @user.nil? invalid_properties.push('invalid value for "user", user cannot be nil.') end @@ -230,7 +226,6 @@ def valid? return false if @origination_account_id.nil? return false if @amount.nil? return false if @mode.nil? - return false if @ach_class.nil? return false if @user.nil? return false if @description.nil? return false if !@metadata.nil? && @metadata.length > 50 diff --git a/lib/plaid/models/transfer_intent_create_mode.rb b/lib/plaid/models/transfer_intent_create_mode.rb index 307a4aaff..da0c8b1e3 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_intent_create_request.rb b/lib/plaid/models/transfer_intent_create_request.rb index 75e416adc..758ec2f24 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -193,10 +193,6 @@ def list_invalid_properties end - if @ach_class.nil? - invalid_properties.push('invalid value for "ach_class", ach_class cannot be nil.') - end - if @user.nil? invalid_properties.push('invalid value for "user", user cannot be nil.') end @@ -213,7 +209,6 @@ def valid? return false if @description.nil? return false if @description.to_s.length > 8 return false if @description.to_s.length < 1 - return false if @ach_class.nil? return false if @user.nil? return false if !@metadata.nil? && @metadata.length > 50 true diff --git a/lib/plaid/models/transfer_intent_create_response.rb b/lib/plaid/models/transfer_intent_create_response.rb index 28403f8f0..ea648d745 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_intent_get.rb b/lib/plaid/models/transfer_intent_get.rb index f33617ecd..2f8de5c47 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -256,10 +256,6 @@ def list_invalid_properties invalid_properties.push('invalid value for "mode", mode cannot be nil.') end - if @ach_class.nil? - invalid_properties.push('invalid value for "ach_class", ach_class cannot be nil.') - end - if @user.nil? invalid_properties.push('invalid value for "user", user cannot be nil.') end @@ -285,7 +281,6 @@ def valid? return false if @origination_account_id.nil? return false if @amount.nil? return false if @mode.nil? - return false if @ach_class.nil? return false if @user.nil? return false if @description.nil? return false if !@metadata.nil? && @metadata.length > 50 diff --git a/lib/plaid/models/transfer_intent_get_failure_reason.rb b/lib/plaid/models/transfer_intent_get_failure_reason.rb index aa541146e..a09eb07cd 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_intent_get_request.rb b/lib/plaid/models/transfer_intent_get_request.rb index 752b7c90b..9af6d8ddd 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_intent_get_response.rb b/lib/plaid/models/transfer_intent_get_response.rb index 0d3b5d1f9..4451f174a 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_intent_status.rb b/lib/plaid/models/transfer_intent_status.rb index c7cac9e36..d3bd61f42 100644 --- a/lib/plaid/models/transfer_intent_status.rb +++ b/lib/plaid/models/transfer_intent_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_list_request.rb b/lib/plaid/models/transfer_list_request.rb index 55ace329d..b192a53ec 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_list_response.rb b/lib/plaid/models/transfer_list_response.rb index 75aef00a5..c71f42898 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_migrate_account_request.rb b/lib/plaid/models/transfer_migrate_account_request.rb index 3ee8e4642..74e1fd714 100644 --- a/lib/plaid/models/transfer_migrate_account_request.rb +++ b/lib/plaid/models/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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_migrate_account_response.rb b/lib/plaid/models/transfer_migrate_account_response.rb index 5b87b27b9..29105464d 100644 --- a/lib/plaid/models/transfer_migrate_account_response.rb +++ b/lib/plaid/models/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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_network.rb b/lib/plaid/models/transfer_network.rb index 51fa09463..621b073b6 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -17,6 +17,7 @@ module Plaid class TransferNetwork ACH = "ach".freeze SAME_DAY_ACH = "same-day-ach".freeze + RTP = "rtp".freeze # Builds the enum from string # @param [String] The enum value in the form of the string diff --git a/lib/plaid/models/transfer_repayment.rb b/lib/plaid/models/transfer_repayment.rb index f542cbaa6..966fc6379 100644 --- a/lib/plaid/models/transfer_repayment.rb +++ b/lib/plaid/models/transfer_repayment.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_repayment_list_request.rb b/lib/plaid/models/transfer_repayment_list_request.rb index bd2506eab..e45b83b05 100644 --- a/lib/plaid/models/transfer_repayment_list_request.rb +++ b/lib/plaid/models/transfer_repayment_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_repayment_list_response.rb b/lib/plaid/models/transfer_repayment_list_response.rb index 3cfba34c0..d939c1ea6 100644 --- a/lib/plaid/models/transfer_repayment_list_response.rb +++ b/lib/plaid/models/transfer_repayment_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_repayment_return.rb b/lib/plaid/models/transfer_repayment_return.rb index 4efae4103..0b31244d7 100644 --- a/lib/plaid/models/transfer_repayment_return.rb +++ b/lib/plaid/models/transfer_repayment_return.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_repayment_return_list_request.rb b/lib/plaid/models/transfer_repayment_return_list_request.rb index 0d7b6a27a..8f7bd52ed 100644 --- a/lib/plaid/models/transfer_repayment_return_list_request.rb +++ b/lib/plaid/models/transfer_repayment_return_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_repayment_return_list_response.rb b/lib/plaid/models/transfer_repayment_return_list_response.rb index 85114604e..7eb1db3a0 100644 --- a/lib/plaid/models/transfer_repayment_return_list_response.rb +++ b/lib/plaid/models/transfer_repayment_return_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_status.rb b/lib/plaid/models/transfer_status.rb index 7c074338d..bfc176297 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_sweep.rb b/lib/plaid/models/transfer_sweep.rb index 697d0b806..9ff1098f8 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_sweep_get_request.rb b/lib/plaid/models/transfer_sweep_get_request.rb index 630e5289f..5be3a92d7 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_sweep_get_response.rb b/lib/plaid/models/transfer_sweep_get_response.rb index 28452a70f..9957b6a43 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_sweep_list_request.rb b/lib/plaid/models/transfer_sweep_list_request.rb index 0769c1381..81128f3f0 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_sweep_list_response.rb b/lib/plaid/models/transfer_sweep_list_response.rb index 858c83f05..6e82de652 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_sweep_status.rb b/lib/plaid/models/transfer_sweep_status.rb index a14921dfc..a6d71269b 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_type.rb b/lib/plaid/models/transfer_type.rb index 05e3caf00..c072e2d4c 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_user_address_in_request.rb b/lib/plaid/models/transfer_user_address_in_request.rb index 8226f234d..a16dc6823 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_user_address_in_response.rb b/lib/plaid/models/transfer_user_address_in_response.rb index 1cae40daa..bd98f1773 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_user_in_request.rb b/lib/plaid/models/transfer_user_in_request.rb index cf44cac28..02347e0ba 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_user_in_request_deprecated.rb b/lib/plaid/models/transfer_user_in_request_deprecated.rb index 25aa1bedc..12840c3ab 100644 --- a/lib/plaid/models/transfer_user_in_request_deprecated.rb +++ b/lib/plaid/models/transfer_user_in_request_deprecated.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -58,13 +58,6 @@ def self.openapi_nullable ]) end - # List of class defined in allOf (OpenAPI v3) - def self.openapi_all_of - [ - :'TransferUserInRequest' - ] - end - # Initializes the object # @param [Hash] attributes Model attributes in the form of hash def initialize(attributes = {}) @@ -101,17 +94,12 @@ def initialize(attributes = {}) # @return Array for valid properties with the reasons def list_invalid_properties invalid_properties = Array.new - if @legal_name.nil? - invalid_properties.push('invalid value for "legal_name", legal_name 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 @legal_name.nil? true end diff --git a/lib/plaid/models/transfer_user_in_response.rb b/lib/plaid/models/transfer_user_in_response.rb index a75ef0451..b32849eda 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/update_entity_screening_request_search_terms.rb b/lib/plaid/models/update_entity_screening_request_search_terms.rb index b62ac01ba..d0826b48d 100644 --- a/lib/plaid/models/update_entity_screening_request_search_terms.rb +++ b/lib/plaid/models/update_entity_screening_request_search_terms.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/update_individual_screening_request_search_terms.rb b/lib/plaid/models/update_individual_screening_request_search_terms.rb index a59200673..36aa81d33 100644 --- a/lib/plaid/models/update_individual_screening_request_search_terms.rb +++ b/lib/plaid/models/update_individual_screening_request_search_terms.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/user_address.rb b/lib/plaid/models/user_address.rb index a6eed7b51..c19843dbd 100644 --- a/lib/plaid/models/user_address.rb +++ b/lib/plaid/models/user_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/user_create_request.rb b/lib/plaid/models/user_create_request.rb index cf58db6e2..15da8d7b9 100644 --- a/lib/plaid/models/user_create_request.rb +++ b/lib/plaid/models/user_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -22,7 +22,7 @@ class UserCreateRequest # 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 unique ID representing the end user. Typically this will be a user ID number from your application. Personally identifiable information, such as an email address or phone number, should not be used in the `client_user_id`. + # A unique ID representing the end user. Maximum of 128 characters. Typically this will be a user ID number from your application. Personally identifiable information, such as an email address or phone number, should not be used in the `client_user_id`. attr_accessor :client_user_id # Attribute mapping from ruby-style variable name to JSON key. @@ -90,6 +90,15 @@ def list_invalid_properties invalid_properties.push('invalid value for "client_user_id", client_user_id cannot be nil.') end + if @client_user_id.to_s.length > 128 + invalid_properties.push('invalid value for "client_user_id", the character length must be smaller than or equal to 128.') + end + + if @client_user_id.to_s.length < 1 + invalid_properties.push('invalid value for "client_user_id", the character length must be great than or equal to 1.') + end + + invalid_properties end @@ -97,9 +106,30 @@ def list_invalid_properties # @return true if the model is valid def valid? return false if @client_user_id.nil? + return false if @client_user_id.to_s.length > 128 + return false if @client_user_id.to_s.length < 1 true end + # Custom attribute writer method with validation + # @param [Object] client_user_id Value to be assigned + def client_user_id=(client_user_id) + if client_user_id.nil? + fail ArgumentError, 'client_user_id cannot be nil' + end + + if client_user_id.to_s.length > 128 + fail ArgumentError, 'invalid value for "client_user_id", the character length must be smaller than or equal to 128.' + end + + if client_user_id.to_s.length < 1 + fail ArgumentError, 'invalid value for "client_user_id", the character length must be great than or equal to 1.' + end + + + @client_user_id = client_user_id + end + # Checks equality by comparing each attribute. # @param [Object] Object to be compared def ==(o) diff --git a/lib/plaid/models/user_create_response.rb b/lib/plaid/models/user_create_response.rb index 29ebb6ecd..630d16cbe 100644 --- a/lib/plaid/models/user_create_response.rb +++ b/lib/plaid/models/user_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/user_custom_password.rb b/lib/plaid/models/user_custom_password.rb index 6c5f3e90d..1881827a8 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -30,7 +30,7 @@ class UserCustomPassword # You may trigger a reCAPTCHA in Plaid Link in the Sandbox environment by using the recaptcha field. Possible values are `good` or `bad`. A value of `good` will result in successful Item creation and `bad` will result in a `RECAPTCHA_BAD` error to simulate a failed reCAPTCHA. Both values require the reCAPTCHA to be manually solved within Plaid Link. attr_accessor :recaptcha - # An error code to force on Item creation. Possible values are: `\"INSTITUTION_NOT_RESPONDING\"` `\"INSTITUTION_NO_LONGER_SUPPORTED\"` `\"INVALID_CREDENTIALS\"` `\"INVALID_MFA\"` `\"ITEM_LOCKED\"` `\"ITEM_LOGIN_REQUIRED\"` `\"ITEM_NOT_SUPPORTED\"` `\"INVALID_LINK_TOKEN\"` `\"MFA_NOT_SUPPORTED\"` `\"NO_ACCOUNTS\"` `\"PLAID_ERROR\"` `\"USER_SETUP_REQUIRED\"` + # An error code to force on Item creation. Possible values are: `\"INSTITUTION_NOT_RESPONDING\"` `\"INSTITUTION_NO_LONGER_SUPPORTED\"` `\"INVALID_CREDENTIALS\"` `\"INVALID_MFA\"` `\"ITEM_LOCKED\"` `\"ITEM_LOGIN_REQUIRED\"` `\"ITEM_NOT_SUPPORTED\"` `\"INVALID_LINK_TOKEN\"` `\"MFA_NOT_SUPPORTED\"` `\"NO_ACCOUNTS\"` `\"PLAID_ERROR\"` `\"USER_INPUT_TIMEOUT\"` `\"USER_SETUP_REQUIRED\"` attr_accessor :force_error # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/plaid/models/user_id_number.rb b/lib/plaid/models/user_id_number.rb index 12e356bc3..48b24df66 100644 --- a/lib/plaid/models/user_id_number.rb +++ b/lib/plaid/models/user_id_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/user_name.rb b/lib/plaid/models/user_name.rb index 0ef344cb8..dd36e59f2 100644 --- a/lib/plaid/models/user_name.rb +++ b/lib/plaid/models/user_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/user_permission_revoked_webhook.rb b/lib/plaid/models/user_permission_revoked_webhook.rb index 2eee0b35c..30694e22a 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/user_stated_income_source_category.rb b/lib/plaid/models/user_stated_income_source_category.rb index 68eb17150..337e08fdd 100644 --- a/lib/plaid/models/user_stated_income_source_category.rb +++ b/lib/plaid/models/user_stated_income_source_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/user_stated_income_source_frequency.rb b/lib/plaid/models/user_stated_income_source_frequency.rb index 71892c179..016025518 100644 --- a/lib/plaid/models/user_stated_income_source_frequency.rb +++ b/lib/plaid/models/user_stated_income_source_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/user_stated_income_source_pay_type.rb b/lib/plaid/models/user_stated_income_source_pay_type.rb index 6e4d6e45c..2fae8b24c 100644 --- a/lib/plaid/models/user_stated_income_source_pay_type.rb +++ b/lib/plaid/models/user_stated_income_source_pay_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/validation_source.rb b/lib/plaid/models/validation_source.rb index b62960fa1..9d5177951 100644 --- a/lib/plaid/models/validation_source.rb +++ b/lib/plaid/models/validation_source.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/validation_sources.rb b/lib/plaid/models/validation_sources.rb index f1d3147d6..7418ba484 100644 --- a/lib/plaid/models/validation_sources.rb +++ b/lib/plaid/models/validation_sources.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/verification_expired_webhook.rb b/lib/plaid/models/verification_expired_webhook.rb index 4ab24cd74..014fdde7f 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/verification_of_asset.rb b/lib/plaid/models/verification_of_asset.rb index ad80bc659..4c409277c 100644 --- a/lib/plaid/models/verification_of_asset.rb +++ b/lib/plaid/models/verification_of_asset.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/verification_of_asset_response.rb b/lib/plaid/models/verification_of_asset_response.rb index 45c730078..c49d8c01c 100644 --- a/lib/plaid/models/verification_of_asset_response.rb +++ b/lib/plaid/models/verification_of_asset_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/verification_refresh_status.rb b/lib/plaid/models/verification_refresh_status.rb index 240266789..f1ca1e692 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/verification_status.rb b/lib/plaid/models/verification_status.rb index 04e5b8249..eb994dab7 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/w2.rb b/lib/plaid/models/w2.rb index bcc800eb0..330f4c7f0 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/w2_box12.rb b/lib/plaid/models/w2_box12.rb index 7c3f2e41c..1f8b31a42 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/w2_state_and_local_wages.rb b/lib/plaid/models/w2_state_and_local_wages.rb index 49a552b4f..c6c11b666 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/wallet.rb b/lib/plaid/models/wallet.rb index baf7389d8..088f94e65 100644 --- a/lib/plaid/models/wallet.rb +++ b/lib/plaid/models/wallet.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/wallet_balance.rb b/lib/plaid/models/wallet_balance.rb index 9b6528c63..b447333db 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/wallet_create_request.rb b/lib/plaid/models/wallet_create_request.rb index 8ca4d5928..c2b421e3e 100644 --- a/lib/plaid/models/wallet_create_request.rb +++ b/lib/plaid/models/wallet_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/wallet_create_response.rb b/lib/plaid/models/wallet_create_response.rb index 7787a37a5..19d237b30 100644 --- a/lib/plaid/models/wallet_create_response.rb +++ b/lib/plaid/models/wallet_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/wallet_get_request.rb b/lib/plaid/models/wallet_get_request.rb index 8197ca63d..3b3c36935 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/wallet_get_response.rb b/lib/plaid/models/wallet_get_response.rb index 7f52493ea..59d2c4690 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/wallet_iso_currency_code.rb b/lib/plaid/models/wallet_iso_currency_code.rb index 7f0e25649..a7b6a0a35 100644 --- a/lib/plaid/models/wallet_iso_currency_code.rb +++ b/lib/plaid/models/wallet_iso_currency_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/wallet_list_request.rb b/lib/plaid/models/wallet_list_request.rb index a3b76fbe7..fc1d8e963 100644 --- a/lib/plaid/models/wallet_list_request.rb +++ b/lib/plaid/models/wallet_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/wallet_list_response.rb b/lib/plaid/models/wallet_list_response.rb index 5ffb1654f..dc57a8ca1 100644 --- a/lib/plaid/models/wallet_list_response.rb +++ b/lib/plaid/models/wallet_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/wallet_numbers.rb b/lib/plaid/models/wallet_numbers.rb index 78d14a065..3cfeb5c6b 100644 --- a/lib/plaid/models/wallet_numbers.rb +++ b/lib/plaid/models/wallet_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/wallet_transaction.rb b/lib/plaid/models/wallet_transaction.rb index e1f5e56e8..0a1115359 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/wallet_transaction_amount.rb b/lib/plaid/models/wallet_transaction_amount.rb index ec8a7dfeb..40259e273 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/wallet_transaction_counterparty.rb b/lib/plaid/models/wallet_transaction_counterparty.rb index c11d76ce6..be237601c 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/wallet_transaction_counterparty_bacs.rb b/lib/plaid/models/wallet_transaction_counterparty_bacs.rb index 5fdb38550..050672924 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/wallet_transaction_counterparty_international.rb b/lib/plaid/models/wallet_transaction_counterparty_international.rb index 341df7cf5..691e17b48 100644 --- a/lib/plaid/models/wallet_transaction_counterparty_international.rb +++ b/lib/plaid/models/wallet_transaction_counterparty_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/wallet_transaction_counterparty_numbers.rb b/lib/plaid/models/wallet_transaction_counterparty_numbers.rb index ed9d10359..018122bff 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/wallet_transaction_execute_request.rb b/lib/plaid/models/wallet_transaction_execute_request.rb index 30fa049bd..1ba4dfc6f 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/wallet_transaction_execute_response.rb b/lib/plaid/models/wallet_transaction_execute_response.rb index 9717fac37..d1f80bff5 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/wallet_transaction_get_request.rb b/lib/plaid/models/wallet_transaction_get_request.rb index cb1a3c8cc..aea56bed5 100644 --- a/lib/plaid/models/wallet_transaction_get_request.rb +++ b/lib/plaid/models/wallet_transaction_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/wallet_transaction_get_response.rb b/lib/plaid/models/wallet_transaction_get_response.rb index 99391e5ac..ec7706405 100644 --- a/lib/plaid/models/wallet_transaction_get_response.rb +++ b/lib/plaid/models/wallet_transaction_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/wallet_transaction_status.rb b/lib/plaid/models/wallet_transaction_status.rb index 74c4e7843..9d98b328b 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/wallet_transaction_status_update_webhook.rb b/lib/plaid/models/wallet_transaction_status_update_webhook.rb index 4a2850b24..c8d41dadc 100644 --- a/lib/plaid/models/wallet_transaction_status_update_webhook.rb +++ b/lib/plaid/models/wallet_transaction_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/wallet_transactions_list_request.rb b/lib/plaid/models/wallet_transactions_list_request.rb index d338f21cc..c216e9b68 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/wallet_transactions_list_response.rb b/lib/plaid/models/wallet_transactions_list_response.rb index 0dd81579d..295a9b3b7 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/warning.rb b/lib/plaid/models/warning.rb index 3ef38f9b4..40a0ca5a8 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_audit_trail.rb b/lib/plaid/models/watchlist_screening_audit_trail.rb index e8753f709..68f421fcb 100644 --- a/lib/plaid/models/watchlist_screening_audit_trail.rb +++ b/lib/plaid/models/watchlist_screening_audit_trail.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_document.rb b/lib/plaid/models/watchlist_screening_document.rb index d6f3b8be2..7866692f9 100644 --- a/lib/plaid/models/watchlist_screening_document.rb +++ b/lib/plaid/models/watchlist_screening_document.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_document_type.rb b/lib/plaid/models/watchlist_screening_document_type.rb index 983588cc1..6f405ed71 100644 --- a/lib/plaid/models/watchlist_screening_document_type.rb +++ b/lib/plaid/models/watchlist_screening_document_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_entity_create_request.rb b/lib/plaid/models/watchlist_screening_entity_create_request.rb index efe585369..6e0b3fd71 100644 --- a/lib/plaid/models/watchlist_screening_entity_create_request.rb +++ b/lib/plaid/models/watchlist_screening_entity_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_entity_create_response.rb b/lib/plaid/models/watchlist_screening_entity_create_response.rb index 63c222e04..ace1f7685 100644 --- a/lib/plaid/models/watchlist_screening_entity_create_response.rb +++ b/lib/plaid/models/watchlist_screening_entity_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_entity_get_request.rb b/lib/plaid/models/watchlist_screening_entity_get_request.rb index eebe49d40..220daeada 100644 --- a/lib/plaid/models/watchlist_screening_entity_get_request.rb +++ b/lib/plaid/models/watchlist_screening_entity_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_entity_get_response.rb b/lib/plaid/models/watchlist_screening_entity_get_response.rb index aa82bae51..019f2bd94 100644 --- a/lib/plaid/models/watchlist_screening_entity_get_response.rb +++ b/lib/plaid/models/watchlist_screening_entity_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_entity_history_list_request.rb b/lib/plaid/models/watchlist_screening_entity_history_list_request.rb index a71c42d0b..afc0c5668 100644 --- a/lib/plaid/models/watchlist_screening_entity_history_list_request.rb +++ b/lib/plaid/models/watchlist_screening_entity_history_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_entity_history_list_response.rb b/lib/plaid/models/watchlist_screening_entity_history_list_response.rb index bc74408c0..eb40a233d 100644 --- a/lib/plaid/models/watchlist_screening_entity_history_list_response.rb +++ b/lib/plaid/models/watchlist_screening_entity_history_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_entity_hit_list_request.rb b/lib/plaid/models/watchlist_screening_entity_hit_list_request.rb index cc547fb7d..268519d4f 100644 --- a/lib/plaid/models/watchlist_screening_entity_hit_list_request.rb +++ b/lib/plaid/models/watchlist_screening_entity_hit_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_entity_hit_list_response.rb b/lib/plaid/models/watchlist_screening_entity_hit_list_response.rb index 26de88975..9d35204f4 100644 --- a/lib/plaid/models/watchlist_screening_entity_hit_list_response.rb +++ b/lib/plaid/models/watchlist_screening_entity_hit_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_entity_list_request.rb b/lib/plaid/models/watchlist_screening_entity_list_request.rb index 1d949e6b0..e8c86520b 100644 --- a/lib/plaid/models/watchlist_screening_entity_list_request.rb +++ b/lib/plaid/models/watchlist_screening_entity_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_entity_list_response.rb b/lib/plaid/models/watchlist_screening_entity_list_response.rb index 8784b2ab4..38f189bc7 100644 --- a/lib/plaid/models/watchlist_screening_entity_list_response.rb +++ b/lib/plaid/models/watchlist_screening_entity_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_entity_program_get_request.rb b/lib/plaid/models/watchlist_screening_entity_program_get_request.rb index 05d72c234..c2317d6f5 100644 --- a/lib/plaid/models/watchlist_screening_entity_program_get_request.rb +++ b/lib/plaid/models/watchlist_screening_entity_program_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_entity_program_get_response.rb b/lib/plaid/models/watchlist_screening_entity_program_get_response.rb index 50d3484af..7ca6905d7 100644 --- a/lib/plaid/models/watchlist_screening_entity_program_get_response.rb +++ b/lib/plaid/models/watchlist_screening_entity_program_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_entity_program_list_request.rb b/lib/plaid/models/watchlist_screening_entity_program_list_request.rb index 68c5ddfba..b3729ffb4 100644 --- a/lib/plaid/models/watchlist_screening_entity_program_list_request.rb +++ b/lib/plaid/models/watchlist_screening_entity_program_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_entity_program_list_response.rb b/lib/plaid/models/watchlist_screening_entity_program_list_response.rb index 79a3c6259..6b0da2f08 100644 --- a/lib/plaid/models/watchlist_screening_entity_program_list_response.rb +++ b/lib/plaid/models/watchlist_screening_entity_program_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_entity_review_create_request.rb b/lib/plaid/models/watchlist_screening_entity_review_create_request.rb index a7d24f24c..efcbe622b 100644 --- a/lib/plaid/models/watchlist_screening_entity_review_create_request.rb +++ b/lib/plaid/models/watchlist_screening_entity_review_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_entity_review_create_response.rb b/lib/plaid/models/watchlist_screening_entity_review_create_response.rb index f822e719c..4671e2625 100644 --- a/lib/plaid/models/watchlist_screening_entity_review_create_response.rb +++ b/lib/plaid/models/watchlist_screening_entity_review_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_entity_review_list_request.rb b/lib/plaid/models/watchlist_screening_entity_review_list_request.rb index 1760f0bb4..b98e7de54 100644 --- a/lib/plaid/models/watchlist_screening_entity_review_list_request.rb +++ b/lib/plaid/models/watchlist_screening_entity_review_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_entity_review_list_response.rb b/lib/plaid/models/watchlist_screening_entity_review_list_response.rb index 2dcecd5b2..3a4f436b9 100644 --- a/lib/plaid/models/watchlist_screening_entity_review_list_response.rb +++ b/lib/plaid/models/watchlist_screening_entity_review_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_entity_update_request.rb b/lib/plaid/models/watchlist_screening_entity_update_request.rb index 73f8a98e6..8cec6780a 100644 --- a/lib/plaid/models/watchlist_screening_entity_update_request.rb +++ b/lib/plaid/models/watchlist_screening_entity_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_entity_update_request_resettable_field.rb b/lib/plaid/models/watchlist_screening_entity_update_request_resettable_field.rb index 9b5b4b063..c4d1301e1 100644 --- a/lib/plaid/models/watchlist_screening_entity_update_request_resettable_field.rb +++ b/lib/plaid/models/watchlist_screening_entity_update_request_resettable_field.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_entity_update_response.rb b/lib/plaid/models/watchlist_screening_entity_update_response.rb index cd3d31a86..13eb0efa8 100644 --- a/lib/plaid/models/watchlist_screening_entity_update_response.rb +++ b/lib/plaid/models/watchlist_screening_entity_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_hit.rb b/lib/plaid/models/watchlist_screening_hit.rb index 949737289..61c493c8c 100644 --- a/lib/plaid/models/watchlist_screening_hit.rb +++ b/lib/plaid/models/watchlist_screening_hit.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_hit_locations.rb b/lib/plaid/models/watchlist_screening_hit_locations.rb index 5bd867f7d..09c212790 100644 --- a/lib/plaid/models/watchlist_screening_hit_locations.rb +++ b/lib/plaid/models/watchlist_screening_hit_locations.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_hit_status.rb b/lib/plaid/models/watchlist_screening_hit_status.rb index f6c556634..aa528689a 100644 --- a/lib/plaid/models/watchlist_screening_hit_status.rb +++ b/lib/plaid/models/watchlist_screening_hit_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_individual.rb b/lib/plaid/models/watchlist_screening_individual.rb index d8b93786e..ba10f713b 100644 --- a/lib/plaid/models/watchlist_screening_individual.rb +++ b/lib/plaid/models/watchlist_screening_individual.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_individual_create_request.rb b/lib/plaid/models/watchlist_screening_individual_create_request.rb index e467c15bd..389f3e0ce 100644 --- a/lib/plaid/models/watchlist_screening_individual_create_request.rb +++ b/lib/plaid/models/watchlist_screening_individual_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_individual_create_response.rb b/lib/plaid/models/watchlist_screening_individual_create_response.rb index bb62eb56c..510f56d2c 100644 --- a/lib/plaid/models/watchlist_screening_individual_create_response.rb +++ b/lib/plaid/models/watchlist_screening_individual_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_individual_get_request.rb b/lib/plaid/models/watchlist_screening_individual_get_request.rb index 902ebb251..2c92520c6 100644 --- a/lib/plaid/models/watchlist_screening_individual_get_request.rb +++ b/lib/plaid/models/watchlist_screening_individual_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_individual_get_response.rb b/lib/plaid/models/watchlist_screening_individual_get_response.rb index 31c2b95de..6731f17b3 100644 --- a/lib/plaid/models/watchlist_screening_individual_get_response.rb +++ b/lib/plaid/models/watchlist_screening_individual_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_individual_history_list_request.rb b/lib/plaid/models/watchlist_screening_individual_history_list_request.rb index 86e5e2e28..2ceecc9d9 100644 --- a/lib/plaid/models/watchlist_screening_individual_history_list_request.rb +++ b/lib/plaid/models/watchlist_screening_individual_history_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_individual_history_list_response.rb b/lib/plaid/models/watchlist_screening_individual_history_list_response.rb index 5776a3e31..120626a8b 100644 --- a/lib/plaid/models/watchlist_screening_individual_history_list_response.rb +++ b/lib/plaid/models/watchlist_screening_individual_history_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_individual_hit_list_request.rb b/lib/plaid/models/watchlist_screening_individual_hit_list_request.rb index e32c3ccd3..5cd76f9c0 100644 --- a/lib/plaid/models/watchlist_screening_individual_hit_list_request.rb +++ b/lib/plaid/models/watchlist_screening_individual_hit_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_individual_hit_list_response.rb b/lib/plaid/models/watchlist_screening_individual_hit_list_response.rb index 16f7265c7..5968e74df 100644 --- a/lib/plaid/models/watchlist_screening_individual_hit_list_response.rb +++ b/lib/plaid/models/watchlist_screening_individual_hit_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_individual_list_request.rb b/lib/plaid/models/watchlist_screening_individual_list_request.rb index 3e4308959..72d2fcd3c 100644 --- a/lib/plaid/models/watchlist_screening_individual_list_request.rb +++ b/lib/plaid/models/watchlist_screening_individual_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_individual_list_response.rb b/lib/plaid/models/watchlist_screening_individual_list_response.rb index 736e8530d..6a823b8a5 100644 --- a/lib/plaid/models/watchlist_screening_individual_list_response.rb +++ b/lib/plaid/models/watchlist_screening_individual_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_individual_program_get_request.rb b/lib/plaid/models/watchlist_screening_individual_program_get_request.rb index 6e4369d97..11f416f3b 100644 --- a/lib/plaid/models/watchlist_screening_individual_program_get_request.rb +++ b/lib/plaid/models/watchlist_screening_individual_program_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_individual_program_get_response.rb b/lib/plaid/models/watchlist_screening_individual_program_get_response.rb index 73dcfb7cf..3a700ce7f 100644 --- a/lib/plaid/models/watchlist_screening_individual_program_get_response.rb +++ b/lib/plaid/models/watchlist_screening_individual_program_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_individual_program_list_request.rb b/lib/plaid/models/watchlist_screening_individual_program_list_request.rb index 7b3afb805..ff280606d 100644 --- a/lib/plaid/models/watchlist_screening_individual_program_list_request.rb +++ b/lib/plaid/models/watchlist_screening_individual_program_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_individual_program_list_response.rb b/lib/plaid/models/watchlist_screening_individual_program_list_response.rb index 6f4f1ae48..7f7b86528 100644 --- a/lib/plaid/models/watchlist_screening_individual_program_list_response.rb +++ b/lib/plaid/models/watchlist_screening_individual_program_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_individual_review_create_request.rb b/lib/plaid/models/watchlist_screening_individual_review_create_request.rb index 5d59fdcd6..56672870d 100644 --- a/lib/plaid/models/watchlist_screening_individual_review_create_request.rb +++ b/lib/plaid/models/watchlist_screening_individual_review_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_individual_review_create_response.rb b/lib/plaid/models/watchlist_screening_individual_review_create_response.rb index 638f99080..eb11afa0d 100644 --- a/lib/plaid/models/watchlist_screening_individual_review_create_response.rb +++ b/lib/plaid/models/watchlist_screening_individual_review_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_individual_review_list_request.rb b/lib/plaid/models/watchlist_screening_individual_review_list_request.rb index c145c9fa2..e722281c2 100644 --- a/lib/plaid/models/watchlist_screening_individual_review_list_request.rb +++ b/lib/plaid/models/watchlist_screening_individual_review_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_individual_review_list_response.rb b/lib/plaid/models/watchlist_screening_individual_review_list_response.rb index 03129fa7e..ed759c135 100644 --- a/lib/plaid/models/watchlist_screening_individual_review_list_response.rb +++ b/lib/plaid/models/watchlist_screening_individual_review_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_individual_update_request.rb b/lib/plaid/models/watchlist_screening_individual_update_request.rb index b781f578f..7e35961a9 100644 --- a/lib/plaid/models/watchlist_screening_individual_update_request.rb +++ b/lib/plaid/models/watchlist_screening_individual_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_individual_update_request_resettable_field.rb b/lib/plaid/models/watchlist_screening_individual_update_request_resettable_field.rb index 78d422380..b3c8c7e33 100644 --- a/lib/plaid/models/watchlist_screening_individual_update_request_resettable_field.rb +++ b/lib/plaid/models/watchlist_screening_individual_update_request_resettable_field.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_individual_update_response.rb b/lib/plaid/models/watchlist_screening_individual_update_response.rb index 2c43ad83c..2ed919438 100644 --- a/lib/plaid/models/watchlist_screening_individual_update_response.rb +++ b/lib/plaid/models/watchlist_screening_individual_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_request_search_terms.rb b/lib/plaid/models/watchlist_screening_request_search_terms.rb index d097715d8..49ace0713 100644 --- a/lib/plaid/models/watchlist_screening_request_search_terms.rb +++ b/lib/plaid/models/watchlist_screening_request_search_terms.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_review.rb b/lib/plaid/models/watchlist_screening_review.rb index eefd89924..75052bbda 100644 --- a/lib/plaid/models/watchlist_screening_review.rb +++ b/lib/plaid/models/watchlist_screening_review.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_search_terms.rb b/lib/plaid/models/watchlist_screening_search_terms.rb index 40e449daa..0ef7913e5 100644 --- a/lib/plaid/models/watchlist_screening_search_terms.rb +++ b/lib/plaid/models/watchlist_screening_search_terms.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_status.rb b/lib/plaid/models/watchlist_screening_status.rb index fc7d51966..535c167c6 100644 --- a/lib/plaid/models/watchlist_screening_status.rb +++ b/lib/plaid/models/watchlist_screening_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/weak_alias_determination.rb b/lib/plaid/models/weak_alias_determination.rb index 1445cc156..8b3d5f1df 100644 --- a/lib/plaid/models/weak_alias_determination.rb +++ b/lib/plaid/models/weak_alias_determination.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/webhook_environment_values.rb b/lib/plaid/models/webhook_environment_values.rb index f97e2a9f4..4ea42a193 100644 --- a/lib/plaid/models/webhook_environment_values.rb +++ b/lib/plaid/models/webhook_environment_values.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/webhook_type.rb b/lib/plaid/models/webhook_type.rb index 791f432d5..9b67013d8 100644 --- a/lib/plaid/models/webhook_type.rb +++ b/lib/plaid/models/webhook_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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/webhook_update_acknowledged_webhook.rb b/lib/plaid/models/webhook_update_acknowledged_webhook.rb index 7c44fc424..1f4c1937f 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/webhook_verification_key_get_request.rb b/lib/plaid/models/webhook_verification_key_get_request.rb index f4e814314..a46eab75d 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/webhook_verification_key_get_response.rb b/lib/plaid/models/webhook_verification_key_get_response.rb index e2fe63263..3b623a520 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 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 729c7f710..d014803ec 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 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 105019d3b..843b54782 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/version.rb b/lib/plaid/version.rb index 7c56b447e..9b396bda2 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -11,5 +11,5 @@ =end module Plaid - VERSION = '16.0.0' + VERSION = '17.0.0' end diff --git a/plaid.gemspec b/plaid.gemspec index d9467faf8..b0734fae4 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.181.1 +The version of the OpenAPI document: 2020-09-14_1.197.3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -25,9 +25,10 @@ Gem::Specification.new do |s| s.summary = "The Plaid API Ruby Gem" s.description = "Ruby gem wrapper for the Plaid API. Read more at the homepage, the wiki, or in the Plaid documentation." s.license = "MIT" - s.required_ruby_version = ">= 2.4.0" + s.required_ruby_version = ">= 3.0.0" - s.add_runtime_dependency 'faraday', '~> 1.0', '>= 1.0.1' + s.add_runtime_dependency 'faraday', '>= 1.0.1', '< 3.0' + s.add_runtime_dependency 'faraday-multipart', '>= 1.0.1', '< 2.0' s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0' s.add_development_dependency 'bundler', '~> 2.2.9' @@ -41,4 +42,4 @@ Gem::Specification.new do |s| s.test_files = `find spec/*`.split("\n") s.executables = [] s.require_paths = ["lib"] -end \ No newline at end of file +end diff --git a/templates/ruby/api_client.mustache b/templates/ruby/api_client.mustache index b6af5a778..fd98e3f68 100644 --- a/templates/ruby/api_client.mustache +++ b/templates/ruby/api_client.mustache @@ -11,6 +11,7 @@ require 'typhoeus' {{/isFaraday}} {{#isFaraday}} require 'faraday' +require 'faraday/multipart' {{/isFaraday}} module {{moduleName}} diff --git a/templates/ruby/api_client_faraday_partial.mustache b/templates/ruby/api_client_faraday_partial.mustache index 6ce213329..bb0c09a89 100644 --- a/templates/ruby/api_client_faraday_partial.mustache +++ b/templates/ruby/api_client_faraday_partial.mustache @@ -101,7 +101,7 @@ case value when ::File, ::Tempfile # TODO hardcode to application/octet-stream, need better way to detect content type - data[key] = Faraday::UploadIO.new(value.path, 'application/octet-stream', value.path) + data[key] = Faraday::Multipart::Post::UploadIO.new(value.path, 'application/octet-stream', value.path) when ::Array, nil # let Faraday handle Array and nil parameters data[key] = value @@ -115,4 +115,4 @@ data = nil end data - end \ No newline at end of file + end diff --git a/templates/ruby/gemspec.mustache b/templates/ruby/gemspec.mustache index dc5b2d9b0..86f44d93c 100644 --- a/templates/ruby/gemspec.mustache +++ b/templates/ruby/gemspec.mustache @@ -20,7 +20,8 @@ Gem::Specification.new do |s| s.required_ruby_version = "{{{gemRequiredRubyVersion}}}{{^gemRequiredRubyVersion}}>= 2.4{{/gemRequiredRubyVersion}}" {{#isFaraday}} - s.add_runtime_dependency 'faraday', '~> 1.0', '>= 1.0.1' + s.add_runtime_dependency 'faraday', '>= 1.0.1', '< 3.0' + s.add_runtime_dependency 'faraday-multipart', '>= 1.0.1', '< 2.0' {{/isFaraday}} {{^isFaraday}} s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1' @@ -38,4 +39,4 @@ Gem::Specification.new do |s| s.test_files = `find spec/*`.split("\n") s.executables = [] s.require_paths = ["lib"] -end \ No newline at end of file +end diff --git a/test/test_api_client.rb b/test/test_api_client.rb index fd8e99bba..4c8cb60c6 100644 --- a/test/test_api_client.rb +++ b/test/test_api_client.rb @@ -1,4 +1,6 @@ require 'faraday' +require 'faraday/multipart' + require_relative "test_helper" diff --git a/test/test_sandbox.rb b/test/test_sandbox.rb new file mode 100644 index 000000000..394b45232 --- /dev/null +++ b/test/test_sandbox.rb @@ -0,0 +1,31 @@ +require_relative 'test_helper' + +class PlaidSandboxTest < PlaidTest + # rubocop:disable Metrics/MethodLength + def test_sandbox_income_verification + skip "TODO (czhou): unskip when tests are fixed" + # test sandbox public token for income verification + sandbox_public_token_create_request = Plaid::SandboxPublicTokenCreateRequest.new + sandbox_public_token_create_request.institution_id = SANDBOX_INSTITUTION + sandbox_public_token_create_request.initial_products = ["income_verification"] + + options_payload = {} + options_payload[:income_verification] = { + income_verification: { + income_source_types: ["bank"], + bank_income: { + days_requested: 180, + } + } + } + + sandbox_public_token_create_request.options = options_payload + + public_token_response = client.sandbox_public_token_create( + sandbox_public_token_create_request + ) + + refute_empty(public_token_response.to_hash) + refute_empty(public_token_response.public_token) + end +end