plaid 24.0.0 → 25.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +214 -0
- data/Gemfile.lock +9 -9
- data/Makefile +1 -1
- data/lib/plaid/api/plaid_api.rb +644 -32
- data/lib/plaid/api_client.rb +10 -5
- data/lib/plaid/api_error.rb +4 -3
- data/lib/plaid/configuration.rb +14 -2
- data/lib/plaid/models/account_access.rb +2 -2
- data/lib/plaid/models/account_assets.rb +3 -11
- data/lib/plaid/models/account_balance.rb +3 -3
- data/lib/plaid/models/account_base.rb +16 -7
- data/lib/plaid/models/account_filter.rb +2 -2
- data/lib/plaid/models/account_filters_response.rb +2 -2
- data/lib/plaid/models/account_identity.rb +31 -10
- data/lib/plaid/models/account_identity_all_of.rb +18 -6
- data/lib/plaid/models/account_identity_match_score.rb +16 -7
- data/lib/plaid/models/account_identity_match_score_all_of.rb +2 -2
- data/lib/plaid/models/account_product_access.rb +2 -2
- data/lib/plaid/models/account_product_access_nullable.rb +2 -2
- data/lib/plaid/models/account_selection_cardinality.rb +2 -2
- data/lib/plaid/models/account_subtype.rb +2 -2
- data/lib/plaid/models/account_type.rb +2 -2
- data/lib/plaid/models/account_verification_insights.rb +270 -0
- data/lib/plaid/models/account_verification_insights_account_number_format.rb +40 -0
- data/lib/plaid/models/account_verification_insights_network_status.rb +241 -0
- data/lib/plaid/models/account_verification_insights_previous_returns.rb +226 -0
- data/lib/plaid/models/accounts_balance_get_request.rb +16 -6
- data/lib/plaid/models/accounts_balance_get_request_options.rb +3 -3
- data/lib/plaid/models/accounts_balance_get_request_payment_details.rb +315 -0
- data/lib/plaid/models/accounts_balance_get_response_payment_risk_assessment.rb +299 -0
- data/lib/plaid/models/accounts_get_request.rb +2 -2
- data/lib/plaid/models/accounts_get_request_options.rb +2 -2
- data/lib/plaid/models/accounts_get_response.rb +13 -3
- data/lib/plaid/models/ach_class.rb +2 -2
- data/lib/plaid/models/action_state.rb +2 -2
- data/lib/plaid/models/activity.rb +24 -2
- data/lib/plaid/models/activity_type.rb +2 -2
- data/lib/plaid/models/address.rb +2 -2
- data/lib/plaid/models/address_data.rb +2 -2
- data/lib/plaid/models/address_data_not_required.rb +2 -2
- data/lib/plaid/models/address_data_nullable.rb +2 -2
- data/lib/plaid/models/address_data_nullable_no_required_fields.rb +2 -2
- data/lib/plaid/models/address_match_score.rb +2 -2
- data/lib/plaid/models/address_nullable.rb +2 -2
- data/lib/plaid/models/address_purpose_label.rb +2 -2
- data/lib/plaid/models/application.rb +2 -2
- data/lib/plaid/models/application_get_request.rb +2 -2
- data/lib/plaid/models/application_get_response.rb +2 -2
- data/lib/plaid/models/apr.rb +2 -2
- data/lib/plaid/models/asset.rb +2 -2
- data/lib/plaid/models/asset_detail.rb +24 -2
- data/lib/plaid/models/asset_holder.rb +2 -2
- data/lib/plaid/models/asset_holder_name.rb +2 -2
- data/lib/plaid/models/asset_owner.rb +2 -2
- data/lib/plaid/models/asset_owners.rb +2 -2
- data/lib/plaid/models/asset_report.rb +2 -2
- data/lib/plaid/models/asset_report_account_balance.rb +288 -0
- data/lib/plaid/models/asset_report_add_ons.rb +2 -2
- data/lib/plaid/models/asset_report_audit_copy_create_request.rb +2 -2
- data/lib/plaid/models/asset_report_audit_copy_create_response.rb +2 -2
- data/lib/plaid/models/asset_report_audit_copy_get_request.rb +2 -2
- data/lib/plaid/models/asset_report_audit_copy_remove_request.rb +2 -2
- data/lib/plaid/models/asset_report_audit_copy_remove_response.rb +2 -2
- data/lib/plaid/models/asset_report_create_request.rb +2 -2
- data/lib/plaid/models/asset_report_create_request_options.rb +2 -2
- data/lib/plaid/models/asset_report_create_response.rb +2 -2
- data/lib/plaid/models/asset_report_filter_request.rb +2 -2
- data/lib/plaid/models/asset_report_filter_response.rb +2 -2
- data/lib/plaid/models/asset_report_freddie.rb +2 -2
- data/lib/plaid/models/asset_report_freddie_get_request.rb +2 -2
- data/lib/plaid/models/asset_report_freddie_get_response.rb +2 -2
- data/lib/plaid/models/asset_report_get_request.rb +2 -2
- data/lib/plaid/models/asset_report_get_request_options.rb +2 -2
- data/lib/plaid/models/asset_report_get_response.rb +2 -2
- data/lib/plaid/models/asset_report_investment_holding.rb +2 -2
- data/lib/plaid/models/asset_report_investment_security.rb +2 -2
- data/lib/plaid/models/asset_report_investments.rb +55 -3
- data/lib/plaid/models/asset_report_item.rb +2 -2
- data/lib/plaid/models/asset_report_pdf_get_request.rb +2 -2
- data/lib/plaid/models/asset_report_pdf_get_request_options.rb +2 -2
- data/lib/plaid/models/asset_report_refresh_request.rb +2 -2
- data/lib/plaid/models/asset_report_refresh_request_options.rb +2 -2
- data/lib/plaid/models/asset_report_refresh_response.rb +2 -2
- data/lib/plaid/models/asset_report_remove_request.rb +2 -2
- data/lib/plaid/models/asset_report_remove_response.rb +2 -2
- data/lib/plaid/models/asset_report_transaction.rb +24 -2
- data/lib/plaid/models/asset_report_transaction_type.rb +2 -2
- data/lib/plaid/models/asset_report_user.rb +2 -2
- data/lib/plaid/models/asset_transaction.rb +2 -2
- data/lib/plaid/models/asset_transaction_category_type.rb +2 -2
- data/lib/plaid/models/asset_transaction_description.rb +2 -2
- data/lib/plaid/models/asset_transaction_detail.rb +24 -2
- data/lib/plaid/models/asset_transaction_type.rb +2 -2
- data/lib/plaid/models/asset_transactions.rb +2 -2
- data/lib/plaid/models/asset_type.rb +2 -2
- data/lib/plaid/models/assets.rb +2 -2
- data/lib/plaid/models/assets_error_webhook.rb +24 -2
- data/lib/plaid/models/assets_product_ready_webhook.rb +24 -2
- data/lib/plaid/models/auth_get_numbers.rb +2 -2
- data/lib/plaid/models/auth_get_request.rb +2 -2
- data/lib/plaid/models/auth_get_request_options.rb +2 -2
- data/lib/plaid/models/auth_get_response.rb +2 -2
- data/lib/plaid/models/auth_metadata.rb +2 -2
- data/lib/plaid/models/auth_supported_methods.rb +2 -2
- data/lib/plaid/models/automatically_verified_webhook.rb +24 -2
- data/lib/plaid/models/balance_plus_attributes.rb +508 -0
- data/lib/plaid/models/bank_income_complete_result.rb +2 -2
- data/lib/plaid/models/bank_income_complete_webhook.rb +24 -2
- data/lib/plaid/models/bank_income_refresh_complete_result.rb +2 -2
- data/lib/plaid/models/bank_income_refresh_complete_webhook.rb +24 -2
- data/lib/plaid/models/bank_income_refresh_update_webhook.rb +24 -2
- data/lib/plaid/models/bank_initiated_return_risk.rb +2 -2
- data/lib/plaid/models/bank_transfer.rb +24 -2
- data/lib/plaid/models/bank_transfer_balance.rb +2 -2
- data/lib/plaid/models/bank_transfer_balance_get_request.rb +2 -2
- data/lib/plaid/models/bank_transfer_balance_get_response.rb +2 -2
- data/lib/plaid/models/bank_transfer_cancel_request.rb +2 -2
- data/lib/plaid/models/bank_transfer_cancel_response.rb +2 -2
- data/lib/plaid/models/bank_transfer_create_request.rb +24 -2
- data/lib/plaid/models/bank_transfer_create_response.rb +2 -2
- data/lib/plaid/models/bank_transfer_direction.rb +2 -2
- data/lib/plaid/models/bank_transfer_event.rb +24 -2
- data/lib/plaid/models/bank_transfer_event_list_bank_transfer_type.rb +2 -2
- data/lib/plaid/models/bank_transfer_event_list_direction.rb +2 -2
- data/lib/plaid/models/bank_transfer_event_list_request.rb +24 -2
- data/lib/plaid/models/bank_transfer_event_list_response.rb +2 -2
- data/lib/plaid/models/bank_transfer_event_sync_request.rb +2 -2
- data/lib/plaid/models/bank_transfer_event_sync_response.rb +2 -2
- data/lib/plaid/models/bank_transfer_event_type.rb +2 -2
- data/lib/plaid/models/bank_transfer_failure.rb +2 -2
- data/lib/plaid/models/bank_transfer_get_request.rb +2 -2
- data/lib/plaid/models/bank_transfer_get_response.rb +2 -2
- data/lib/plaid/models/bank_transfer_list_request.rb +24 -2
- data/lib/plaid/models/bank_transfer_list_response.rb +2 -2
- data/lib/plaid/models/bank_transfer_migrate_account_request.rb +2 -2
- data/lib/plaid/models/bank_transfer_migrate_account_response.rb +2 -2
- data/lib/plaid/models/bank_transfer_network.rb +2 -2
- data/lib/plaid/models/bank_transfer_status.rb +2 -2
- data/lib/plaid/models/bank_transfer_sweep.rb +2 -2
- data/lib/plaid/models/bank_transfer_sweep_get_request.rb +2 -2
- data/lib/plaid/models/bank_transfer_sweep_get_response.rb +2 -2
- data/lib/plaid/models/bank_transfer_sweep_list_request.rb +2 -2
- data/lib/plaid/models/bank_transfer_sweep_list_response.rb +2 -2
- data/lib/plaid/models/bank_transfer_type.rb +2 -2
- data/lib/plaid/models/bank_transfer_user.rb +2 -2
- data/lib/plaid/models/bank_transfers_events_update_webhook.rb +24 -2
- data/lib/plaid/models/bank_transfers_events_update_webhook_for_auth.rb +24 -2
- data/lib/plaid/models/base_report.rb +2 -2
- data/lib/plaid/models/base_report_account.rb +24 -2
- data/lib/plaid/models/base_report_account_balances.rb +3 -3
- data/lib/plaid/models/base_report_account_balances_all_of.rb +2 -2
- data/lib/plaid/models/base_report_account_insights.rb +2 -2
- data/lib/plaid/models/base_report_average_flow_insights.rb +2 -2
- data/lib/plaid/models/base_report_average_monthly_balances.rb +2 -2
- data/lib/plaid/models/base_report_get_request.rb +2 -2
- data/lib/plaid/models/base_report_get_response.rb +2 -2
- data/lib/plaid/models/base_report_item.rb +2 -2
- data/lib/plaid/models/base_report_longest_gap_insights.rb +2 -2
- data/lib/plaid/models/base_report_number_flow_insights.rb +2 -2
- data/lib/plaid/models/base_report_transaction.rb +2 -2
- data/lib/plaid/models/base_report_warning.rb +24 -2
- data/lib/plaid/models/base_report_warning_code.rb +2 -2
- data/lib/plaid/models/base_reports_error_webhook.rb +24 -2
- data/lib/plaid/models/base_reports_product_ready_webhook.rb +24 -2
- data/lib/plaid/models/beacon_audit_trail.rb +24 -2
- data/lib/plaid/models/beacon_audit_trail_source.rb +2 -2
- data/lib/plaid/models/beacon_duplicate_detected_webhook.rb +292 -0
- data/lib/plaid/models/beacon_duplicate_get_request.rb +246 -0
- data/lib/plaid/models/beacon_duplicate_get_response.rb +283 -0
- data/lib/plaid/models/beacon_match_summary_analysis.rb +331 -0
- data/lib/plaid/models/beacon_match_summary_code.rb +2 -2
- data/lib/plaid/models/beacon_report.rb +24 -2
- data/lib/plaid/models/beacon_report_create_request.rb +24 -2
- data/lib/plaid/models/beacon_report_create_response.rb +24 -2
- data/lib/plaid/models/beacon_report_created_webhook.rb +292 -0
- data/lib/plaid/models/beacon_report_get_request.rb +246 -0
- data/lib/plaid/models/beacon_report_get_response.rb +346 -0
- data/lib/plaid/models/beacon_report_list_request.rb +2 -2
- data/lib/plaid/models/beacon_report_list_response.rb +2 -2
- data/lib/plaid/models/beacon_report_syndication.rb +2 -2
- data/lib/plaid/models/beacon_report_syndication_analysis.rb +24 -2
- data/lib/plaid/models/beacon_report_syndication_created_webhook.rb +292 -0
- data/lib/plaid/models/beacon_report_syndication_get_request.rb +246 -0
- data/lib/plaid/models/beacon_report_syndication_get_response.rb +269 -0
- data/lib/plaid/models/beacon_report_syndication_list_request.rb +2 -2
- data/lib/plaid/models/beacon_report_syndication_list_response.rb +2 -2
- data/lib/plaid/models/beacon_report_syndication_original_report.rb +24 -2
- data/lib/plaid/models/beacon_report_type.rb +2 -2
- data/lib/plaid/models/beacon_report_updated_webhook.rb +292 -0
- data/lib/plaid/models/beacon_user_address.rb +3 -3
- data/lib/plaid/models/beacon_user_create_request.rb +2 -2
- data/lib/plaid/models/beacon_user_create_response.rb +24 -2
- data/lib/plaid/models/beacon_user_data.rb +3 -7
- data/lib/plaid/models/beacon_user_get_request.rb +2 -2
- data/lib/plaid/models/beacon_user_get_response.rb +24 -2
- data/lib/plaid/models/beacon_user_id_number.rb +24 -2
- data/lib/plaid/models/beacon_user_name.rb +2 -2
- data/lib/plaid/models/beacon_user_name_nullable.rb +241 -0
- data/lib/plaid/models/beacon_user_request_address.rb +3 -3
- data/lib/plaid/models/beacon_user_request_address_nullable.rb +310 -0
- data/lib/plaid/models/beacon_user_request_data.rb +3 -2
- data/lib/plaid/models/beacon_user_review_request.rb +24 -2
- data/lib/plaid/models/beacon_user_revision.rb +241 -0
- data/lib/plaid/models/beacon_user_status.rb +2 -2
- data/lib/plaid/models/beacon_user_status_updated_webhook.rb +24 -2
- data/lib/plaid/models/beacon_user_update_request.rb +260 -0
- data/lib/plaid/models/beacon_user_update_request_data.rb +283 -0
- data/lib/plaid/models/beacon_user_update_response.rb +386 -0
- data/lib/plaid/models/categories_get_response.rb +2 -2
- data/lib/plaid/models/category.rb +2 -2
- data/lib/plaid/models/category_insight_details.rb +2 -2
- data/lib/plaid/models/category_insights.rb +2 -2
- data/lib/plaid/models/cause.rb +24 -2
- data/lib/plaid/models/cause_all_of.rb +2 -2
- data/lib/plaid/models/client_provided_enhanced_transaction.rb +2 -2
- data/lib/plaid/models/client_provided_enriched_transaction.rb +24 -2
- data/lib/plaid/models/client_provided_raw_transaction.rb +2 -2
- data/lib/plaid/models/client_provided_transaction.rb +24 -2
- data/lib/plaid/models/client_provided_transaction_location.rb +2 -2
- data/lib/plaid/models/connected_application.rb +2 -2
- data/lib/plaid/models/consumer_report_permissible_purpose.rb +2 -2
- data/lib/plaid/models/consumer_report_user_identity.rb +2 -2
- data/lib/plaid/models/counterparty.rb +40 -7
- data/lib/plaid/models/counterparty_insights.rb +2 -2
- data/lib/plaid/models/counterparty_type.rb +2 -2
- data/lib/plaid/models/country_code.rb +2 -2
- data/lib/plaid/models/cra_bank_income.rb +2 -2
- data/lib/plaid/models/cra_bank_income_account.rb +24 -2
- data/lib/plaid/models/cra_bank_income_cause.rb +24 -2
- data/lib/plaid/models/cra_bank_income_complete_result.rb +2 -2
- data/lib/plaid/models/cra_bank_income_complete_webhook.rb +24 -2
- data/lib/plaid/models/cra_bank_income_employer.rb +2 -2
- data/lib/plaid/models/cra_bank_income_get_request.rb +2 -2
- data/lib/plaid/models/cra_bank_income_get_response.rb +2 -2
- data/lib/plaid/models/cra_bank_income_historical_summary.rb +2 -2
- data/lib/plaid/models/cra_bank_income_item.rb +12 -2
- data/lib/plaid/models/cra_bank_income_source.rb +42 -3
- data/lib/plaid/models/cra_bank_income_summary.rb +2 -2
- data/lib/plaid/models/cra_bank_income_transaction.rb +2 -2
- data/lib/plaid/models/cra_bank_income_warning.rb +24 -2
- data/lib/plaid/models/cra_bank_income_warning_code.rb +2 -2
- data/lib/plaid/models/cra_partner_insights.rb +252 -0
- data/lib/plaid/models/cra_partner_insights_complete_result.rb +40 -0
- data/lib/plaid/models/cra_partner_insights_complete_webhook.rb +306 -0
- data/lib/plaid/models/cra_partner_insights_get_request.rb +241 -0
- data/lib/plaid/models/cra_partner_insights_get_response.rb +237 -0
- data/lib/plaid/models/cra_partner_insights_item.rb +253 -0
- data/lib/plaid/models/cra_partner_insights_item_account.rb +315 -0
- data/lib/plaid/models/cra_partner_insights_prism.rb +256 -0
- data/lib/plaid/models/cra_prediction_interval.rb +244 -0
- data/lib/plaid/models/credit1099.rb +24 -2
- data/lib/plaid/models/credit1099_filer.rb +2 -2
- data/lib/plaid/models/credit1099_payer.rb +2 -2
- data/lib/plaid/models/credit1099_recipient.rb +2 -2
- data/lib/plaid/models/credit_account_subtype.rb +2 -2
- data/lib/plaid/models/credit_ach_class.rb +2 -2
- data/lib/plaid/models/credit_amount_with_currency.rb +2 -2
- data/lib/plaid/models/credit_audit_copy_token_create_request.rb +2 -2
- data/lib/plaid/models/credit_audit_copy_token_create_response.rb +2 -2
- data/lib/plaid/models/credit_audit_copy_token_remove_request.rb +2 -2
- data/lib/plaid/models/credit_audit_copy_token_remove_response.rb +2 -2
- data/lib/plaid/models/credit_audit_copy_token_update_request.rb +2 -2
- data/lib/plaid/models/credit_audit_copy_token_update_response.rb +2 -2
- data/lib/plaid/models/credit_bank_employer.rb +2 -2
- data/lib/plaid/models/credit_bank_employment.rb +2 -2
- data/lib/plaid/models/credit_bank_employment_get_request.rb +2 -2
- data/lib/plaid/models/credit_bank_employment_get_response.rb +2 -2
- data/lib/plaid/models/credit_bank_employment_item.rb +2 -2
- data/lib/plaid/models/credit_bank_employment_report.rb +2 -2
- data/lib/plaid/models/credit_bank_employment_warning.rb +24 -2
- data/lib/plaid/models/credit_bank_employment_warning_type.rb +2 -2
- data/lib/plaid/models/credit_bank_income.rb +2 -2
- data/lib/plaid/models/credit_bank_income_account.rb +24 -2
- data/lib/plaid/models/credit_bank_income_account_type.rb +2 -2
- data/lib/plaid/models/credit_bank_income_category.rb +2 -2
- data/lib/plaid/models/credit_bank_income_cause.rb +24 -2
- data/lib/plaid/models/credit_bank_income_error_type.rb +2 -2
- data/lib/plaid/models/credit_bank_income_get_request.rb +2 -2
- data/lib/plaid/models/credit_bank_income_get_request_options.rb +2 -2
- data/lib/plaid/models/credit_bank_income_get_response.rb +2 -2
- data/lib/plaid/models/credit_bank_income_historical_summary.rb +2 -2
- data/lib/plaid/models/credit_bank_income_item.rb +2 -2
- data/lib/plaid/models/credit_bank_income_pay_frequency.rb +2 -2
- data/lib/plaid/models/credit_bank_income_pdf_get_request.rb +2 -2
- data/lib/plaid/models/credit_bank_income_refresh_request.rb +2 -2
- data/lib/plaid/models/credit_bank_income_refresh_request_options.rb +2 -2
- data/lib/plaid/models/credit_bank_income_refresh_response.rb +2 -2
- data/lib/plaid/models/credit_bank_income_source.rb +24 -2
- data/lib/plaid/models/credit_bank_income_summary.rb +2 -2
- data/lib/plaid/models/credit_bank_income_transaction.rb +2 -2
- data/lib/plaid/models/credit_bank_income_warning.rb +24 -2
- data/lib/plaid/models/credit_bank_income_warning_code.rb +2 -2
- data/lib/plaid/models/credit_bank_income_warning_type.rb +2 -2
- data/lib/plaid/models/credit_bank_income_webhook_update_request.rb +2 -2
- data/lib/plaid/models/credit_bank_income_webhook_update_response.rb +2 -2
- data/lib/plaid/models/credit_bank_statement_upload_account_owner.rb +2 -2
- data/lib/plaid/models/credit_bank_statement_upload_account_owner_address.rb +2 -2
- data/lib/plaid/models/credit_bank_statement_upload_bank_account.rb +2 -2
- data/lib/plaid/models/credit_bank_statement_upload_bank_account_period.rb +2 -2
- data/lib/plaid/models/credit_bank_statement_upload_item.rb +2 -2
- data/lib/plaid/models/credit_bank_statement_upload_object.rb +2 -2
- data/lib/plaid/models/credit_bank_statement_upload_transaction.rb +2 -2
- data/lib/plaid/models/credit_bank_statements_uploads_get_request.rb +15 -6
- data/lib/plaid/models/credit_bank_statements_uploads_get_request_options.rb +223 -0
- data/lib/plaid/models/credit_bank_statements_uploads_get_response.rb +2 -2
- data/lib/plaid/models/credit_card_liability.rb +2 -2
- data/lib/plaid/models/credit_category.rb +2 -2
- data/lib/plaid/models/credit_document_metadata.rb +2 -2
- data/lib/plaid/models/credit_employer_verification.rb +2 -2
- data/lib/plaid/models/credit_employment_get_request.rb +2 -2
- data/lib/plaid/models/credit_employment_get_response.rb +2 -2
- data/lib/plaid/models/credit_employment_item.rb +2 -2
- data/lib/plaid/models/credit_employment_verification.rb +2 -2
- data/lib/plaid/models/credit_filter.rb +2 -2
- data/lib/plaid/models/credit_freddie_mac_asset.rb +2 -2
- data/lib/plaid/models/credit_freddie_mac_asset_transaction.rb +2 -2
- data/lib/plaid/models/credit_freddie_mac_asset_transactions.rb +2 -2
- data/lib/plaid/models/credit_freddie_mac_assets.rb +2 -2
- data/lib/plaid/models/credit_freddie_mac_individual_name.rb +2 -2
- data/lib/plaid/models/credit_freddie_mac_loan.rb +2 -2
- data/lib/plaid/models/credit_freddie_mac_loan_identifiers.rb +2 -2
- data/lib/plaid/models/credit_freddie_mac_loans.rb +2 -2
- data/lib/plaid/models/credit_freddie_mac_parties.rb +2 -2
- data/lib/plaid/models/credit_freddie_mac_party.rb +2 -2
- data/lib/plaid/models/credit_freddie_mac_party_individual.rb +2 -2
- data/lib/plaid/models/credit_freddie_mac_reporting_information.rb +2 -2
- data/lib/plaid/models/credit_freddie_mac_reports_get_request.rb +2 -2
- data/lib/plaid/models/credit_freddie_mac_reports_get_response.rb +2 -2
- data/lib/plaid/models/credit_freddie_mac_service.rb +2 -2
- data/lib/plaid/models/credit_freddie_mac_services.rb +2 -2
- data/lib/plaid/models/credit_freddie_mac_verification_of_asset.rb +2 -2
- data/lib/plaid/models/credit_freddie_mac_verification_of_asset_response.rb +2 -2
- data/lib/plaid/models/credit_freddie_mac_verification_of_assets_deal.rb +2 -2
- data/lib/plaid/models/credit_pay_stub.rb +2 -2
- data/lib/plaid/models/credit_pay_stub_address.rb +2 -2
- data/lib/plaid/models/credit_pay_stub_deductions.rb +2 -2
- data/lib/plaid/models/credit_pay_stub_earnings.rb +2 -2
- data/lib/plaid/models/credit_pay_stub_employee.rb +2 -2
- data/lib/plaid/models/credit_pay_stub_employer.rb +2 -2
- data/lib/plaid/models/credit_pay_stub_net_pay.rb +2 -2
- data/lib/plaid/models/credit_pay_stub_pay_basis_type.rb +2 -2
- data/lib/plaid/models/credit_payroll_income_get_request.rb +15 -6
- data/lib/plaid/models/credit_payroll_income_get_request_options.rb +223 -0
- data/lib/plaid/models/credit_payroll_income_get_response.rb +2 -2
- data/lib/plaid/models/credit_payroll_income_parsing_config_update_request.rb +2 -2
- data/lib/plaid/models/credit_payroll_income_parsing_config_update_response.rb +2 -2
- data/lib/plaid/models/credit_payroll_income_precheck_request.rb +2 -2
- data/lib/plaid/models/credit_payroll_income_precheck_response.rb +24 -2
- data/lib/plaid/models/credit_payroll_income_refresh_request.rb +2 -2
- data/lib/plaid/models/credit_payroll_income_refresh_request_options.rb +2 -2
- data/lib/plaid/models/credit_payroll_income_refresh_response.rb +2 -2
- data/lib/plaid/models/credit_payroll_income_risk_signals_get_request.rb +2 -2
- data/lib/plaid/models/credit_payroll_income_risk_signals_get_response.rb +2 -2
- data/lib/plaid/models/credit_platform_ids.rb +2 -2
- data/lib/plaid/models/credit_relay_create_request.rb +2 -2
- data/lib/plaid/models/credit_relay_create_response.rb +2 -2
- data/lib/plaid/models/credit_relay_get_request.rb +24 -2
- data/lib/plaid/models/credit_relay_pdf_get_request.rb +24 -2
- data/lib/plaid/models/credit_relay_refresh_request.rb +24 -2
- data/lib/plaid/models/credit_relay_refresh_response.rb +2 -2
- data/lib/plaid/models/credit_relay_remove_request.rb +2 -2
- data/lib/plaid/models/credit_relay_remove_response.rb +2 -2
- data/lib/plaid/models/credit_session.rb +2 -2
- data/lib/plaid/models/credit_session_bank_employment_result.rb +24 -2
- data/lib/plaid/models/credit_session_bank_employment_status.rb +2 -2
- data/lib/plaid/models/credit_session_bank_income_result.rb +24 -2
- data/lib/plaid/models/credit_session_bank_income_status.rb +2 -2
- data/lib/plaid/models/credit_session_document_income_result.rb +21 -6
- data/lib/plaid/models/credit_session_error.rb +2 -2
- data/lib/plaid/models/credit_session_item_add_result.rb +2 -2
- data/lib/plaid/models/credit_session_payroll_income_result.rb +2 -2
- data/lib/plaid/models/credit_session_results.rb +2 -2
- data/lib/plaid/models/credit_sessions_get_request.rb +2 -2
- data/lib/plaid/models/credit_sessions_get_response.rb +2 -2
- data/lib/plaid/models/credit_w2.rb +2 -2
- data/lib/plaid/models/customer_initiated_return_risk.rb +2 -2
- data/lib/plaid/models/dashboard_user.rb +24 -2
- data/lib/plaid/models/dashboard_user_get_request.rb +2 -2
- data/lib/plaid/models/dashboard_user_get_response.rb +24 -2
- data/lib/plaid/models/dashboard_user_list_request.rb +2 -2
- data/lib/plaid/models/dashboard_user_list_response.rb +2 -2
- data/lib/plaid/models/dashboard_user_status.rb +2 -2
- data/lib/plaid/models/date_range.rb +2 -2
- data/lib/plaid/models/deductions.rb +2 -2
- data/lib/plaid/models/deductions_breakdown.rb +2 -2
- data/lib/plaid/models/deductions_total.rb +2 -2
- data/lib/plaid/models/default_update_webhook.rb +24 -2
- data/lib/plaid/models/deposit_switch_address_data.rb +2 -2
- data/lib/plaid/models/deposit_switch_alt_create_request.rb +2 -2
- data/lib/plaid/models/deposit_switch_alt_create_response.rb +2 -2
- data/lib/plaid/models/deposit_switch_create_request.rb +2 -2
- data/lib/plaid/models/deposit_switch_create_request_options.rb +2 -2
- data/lib/plaid/models/deposit_switch_create_response.rb +2 -2
- data/lib/plaid/models/deposit_switch_get_request.rb +2 -2
- data/lib/plaid/models/deposit_switch_get_response.rb +2 -2
- data/lib/plaid/models/deposit_switch_state_update_webhook.rb +24 -2
- data/lib/plaid/models/deposit_switch_target_account.rb +2 -2
- data/lib/plaid/models/deposit_switch_target_user.rb +2 -2
- data/lib/plaid/models/deposit_switch_token_create_request.rb +2 -2
- data/lib/plaid/models/deposit_switch_token_create_response.rb +2 -2
- data/lib/plaid/models/depository_account_subtype.rb +2 -2
- data/lib/plaid/models/depository_filter.rb +2 -2
- data/lib/plaid/models/detailed_originator.rb +24 -2
- data/lib/plaid/models/detected_account.rb +2 -2
- data/lib/plaid/models/distribution_breakdown.rb +2 -2
- data/lib/plaid/models/doc_type.rb +2 -2
- data/lib/plaid/models/document_analysis.rb +24 -2
- data/lib/plaid/models/document_authenticity_match_code.rb +2 -2
- data/lib/plaid/models/document_date_of_birth_match_code.rb +3 -2
- data/lib/plaid/models/document_metadata.rb +24 -2
- data/lib/plaid/models/document_name_match_code.rb +3 -2
- data/lib/plaid/models/document_risk_signal.rb +2 -2
- data/lib/plaid/models/document_risk_signal_institution_metadata.rb +2 -2
- data/lib/plaid/models/document_risk_signals_object.rb +2 -2
- data/lib/plaid/models/document_risk_summary.rb +2 -2
- data/lib/plaid/models/document_status.rb +2 -2
- data/lib/plaid/models/documentary_verification.rb +2 -2
- data/lib/plaid/models/documentary_verification_document.rb +24 -2
- data/lib/plaid/models/earnings.rb +2 -2
- data/lib/plaid/models/earnings_breakdown.rb +24 -2
- data/lib/plaid/models/earnings_breakdown_canonical_description.rb +2 -2
- data/lib/plaid/models/earnings_total.rb +2 -2
- data/lib/plaid/models/email.rb +2 -2
- data/lib/plaid/models/email_address_match_score.rb +2 -2
- data/lib/plaid/models/employee.rb +2 -2
- data/lib/plaid/models/employee_income_summary_field_string.rb +24 -2
- data/lib/plaid/models/employer.rb +2 -2
- data/lib/plaid/models/employer_income_summary_field_string.rb +24 -2
- data/lib/plaid/models/employer_verification.rb +2 -2
- data/lib/plaid/models/employers_search_request.rb +2 -2
- data/lib/plaid/models/employers_search_response.rb +2 -2
- data/lib/plaid/models/employment_details.rb +2 -2
- data/lib/plaid/models/employment_source_type.rb +2 -2
- data/lib/plaid/models/employment_verification.rb +24 -2
- data/lib/plaid/models/employment_verification_get_request.rb +2 -2
- data/lib/plaid/models/employment_verification_get_response.rb +2 -2
- data/lib/plaid/models/employment_verification_status.rb +2 -2
- data/lib/plaid/models/enhancements.rb +24 -2
- data/lib/plaid/models/enrich_transaction_direction.rb +2 -2
- data/lib/plaid/models/enrichments.rb +36 -3
- data/lib/plaid/models/entity_document.rb +24 -2
- data/lib/plaid/models/entity_document_type.rb +2 -2
- data/lib/plaid/models/entity_screening_hit_analysis.rb +24 -2
- data/lib/plaid/models/entity_screening_hit_data.rb +2 -2
- data/lib/plaid/models/entity_screening_hit_documents_items.rb +2 -2
- data/lib/plaid/models/entity_screening_hit_emails.rb +2 -2
- data/lib/plaid/models/entity_screening_hit_emails_items.rb +2 -2
- data/lib/plaid/models/entity_screening_hit_names.rb +24 -2
- data/lib/plaid/models/entity_screening_hit_names_items.rb +2 -2
- data/lib/plaid/models/entity_screening_hit_phone_numbers.rb +24 -2
- data/lib/plaid/models/entity_screening_hit_urls.rb +2 -2
- data/lib/plaid/models/entity_screening_hit_urls_items.rb +2 -2
- data/lib/plaid/models/entity_screening_hits_phone_number_items.rb +2 -2
- data/lib/plaid/models/entity_screening_status_updated_webhook.rb +24 -2
- data/lib/plaid/models/entity_watchlist_code.rb +2 -2
- data/lib/plaid/models/entity_watchlist_program.rb +24 -2
- data/lib/plaid/models/entity_watchlist_screening.rb +24 -2
- data/lib/plaid/models/entity_watchlist_screening_hit.rb +24 -2
- data/lib/plaid/models/entity_watchlist_screening_review.rb +2 -2
- data/lib/plaid/models/entity_watchlist_screening_search_terms.rb +2 -2
- data/lib/plaid/models/entity_watchlist_search_terms.rb +2 -2
- data/lib/plaid/models/expiration_date.rb +2 -2
- data/lib/plaid/models/external_payment_initiation_consent_options.rb +2 -2
- data/lib/plaid/models/external_payment_options.rb +24 -2
- data/lib/plaid/models/external_payment_refund_details.rb +2 -2
- data/lib/plaid/models/external_payment_schedule_base.rb +24 -2
- data/lib/plaid/models/external_payment_schedule_get.rb +24 -2
- data/lib/plaid/models/external_payment_schedule_request.rb +24 -2
- data/lib/plaid/models/fallback_auth_microdeposit_auto_verified_webhook.rb +24 -2
- data/lib/plaid/models/fallback_auth_microdeposit_verification_expired_webhook.rb +24 -2
- data/lib/plaid/models/fdx_content_types.rb +2 -2
- data/lib/plaid/models/fdx_hateoas_link.rb +24 -2
- data/lib/plaid/models/fdx_hateoas_link_action.rb +2 -2
- data/lib/plaid/models/fdx_initiator_fi_attribute.rb +24 -2
- data/lib/plaid/models/fdx_notification.rb +24 -2
- data/lib/plaid/models/fdx_notification_category.rb +2 -2
- data/lib/plaid/models/fdx_notification_payload.rb +24 -2
- data/lib/plaid/models/fdx_notification_payload_id_type.rb +2 -2
- data/lib/plaid/models/fdx_notification_priority.rb +2 -2
- data/lib/plaid/models/fdx_notification_severity.rb +2 -2
- data/lib/plaid/models/fdx_notification_type.rb +2 -2
- data/lib/plaid/models/fdx_party.rb +24 -2
- data/lib/plaid/models/fdx_party_registry.rb +2 -2
- data/lib/plaid/models/fdx_party_type.rb +2 -2
- data/lib/plaid/models/fdxfi_attribute.rb +2 -2
- data/lib/plaid/models/financial_institution_insights.rb +2 -2
- data/lib/plaid/models/form1099_type.rb +2 -2
- data/lib/plaid/models/fraud_amount.rb +24 -2
- data/lib/plaid/models/generic_screening_hit_location_items.rb +2 -2
- data/lib/plaid/models/health_incident.rb +2 -2
- data/lib/plaid/models/historical_balance.rb +2 -2
- data/lib/plaid/models/historical_update_webhook.rb +24 -2
- data/lib/plaid/models/holding.rb +3 -3
- data/lib/plaid/models/holdings_default_update_webhook.rb +24 -2
- data/lib/plaid/models/holdings_override.rb +26 -4
- data/lib/plaid/models/hosted_link_delivery_method.rb +2 -2
- data/lib/plaid/models/hosted_mmd_verification_webhook.rb +317 -0
- data/lib/plaid/models/id_number_type.rb +2 -2
- data/lib/plaid/models/identity_default_update_webhook.rb +24 -2
- data/lib/plaid/models/identity_document.rb +229 -0
- data/lib/plaid/models/identity_document_metadata.rb +239 -0
- data/lib/plaid/models/identity_get_request.rb +2 -2
- data/lib/plaid/models/identity_get_request_options.rb +2 -2
- data/lib/plaid/models/identity_get_response.rb +2 -2
- data/lib/plaid/models/identity_match_request.rb +2 -2
- data/lib/plaid/models/identity_match_request_options.rb +2 -2
- data/lib/plaid/models/identity_match_response.rb +2 -2
- data/lib/plaid/models/identity_match_user.rb +2 -2
- data/lib/plaid/models/identity_refresh_request.rb +2 -2
- data/lib/plaid/models/identity_refresh_response.rb +2 -2
- data/lib/plaid/models/identity_update_types.rb +2 -2
- data/lib/plaid/models/identity_verification.rb +24 -2
- data/lib/plaid/models/identity_verification_autofill_address.rb +356 -0
- data/lib/plaid/models/identity_verification_autofill_create_request.rb +246 -0
- data/lib/plaid/models/identity_verification_autofill_create_response.rb +272 -0
- data/lib/plaid/models/identity_verification_autofill_status.rb +39 -0
- data/lib/plaid/models/identity_verification_autofill_user_data.rb +241 -0
- data/lib/plaid/models/identity_verification_create_request.rb +2 -2
- data/lib/plaid/models/identity_verification_create_request_user.rb +2 -2
- data/lib/plaid/models/identity_verification_create_response.rb +24 -2
- data/lib/plaid/models/identity_verification_document_address_response.rb +2 -2
- data/lib/plaid/models/identity_verification_get_request.rb +3 -3
- data/lib/plaid/models/identity_verification_get_response.rb +24 -2
- data/lib/plaid/models/identity_verification_list_request.rb +3 -3
- data/lib/plaid/models/identity_verification_list_response.rb +2 -2
- data/lib/plaid/models/identity_verification_request_user.rb +2 -2
- data/lib/plaid/models/identity_verification_request_user_name.rb +2 -2
- data/lib/plaid/models/identity_verification_response_user_name.rb +2 -2
- data/lib/plaid/models/identity_verification_retried_webhook.rb +24 -2
- data/lib/plaid/models/identity_verification_retry_request.rb +24 -2
- data/lib/plaid/models/identity_verification_retry_request_steps_object.rb +2 -2
- data/lib/plaid/models/identity_verification_retry_response.rb +24 -2
- data/lib/plaid/models/identity_verification_status.rb +2 -2
- data/lib/plaid/models/identity_verification_status_updated_webhook.rb +24 -2
- data/lib/plaid/models/identity_verification_step_status.rb +2 -2
- data/lib/plaid/models/identity_verification_step_summary.rb +24 -2
- data/lib/plaid/models/identity_verification_step_updated_webhook.rb +24 -2
- data/lib/plaid/models/identity_verification_template_reference.rb +3 -3
- data/lib/plaid/models/identity_verification_user_address.rb +3 -3
- data/lib/plaid/models/identity_verification_user_data.rb +3 -3
- data/lib/plaid/models/image_quality.rb +2 -2
- data/lib/plaid/models/incident_update.rb +2 -2
- data/lib/plaid/models/income_breakdown.rb +24 -2
- data/lib/plaid/models/income_breakdown_type.rb +2 -2
- data/lib/plaid/models/income_override.rb +2 -2
- data/lib/plaid/models/income_summary.rb +2 -2
- data/lib/plaid/models/income_summary_field_number.rb +24 -2
- data/lib/plaid/models/income_summary_field_string.rb +24 -2
- data/lib/plaid/models/income_verification_create_request.rb +2 -2
- data/lib/plaid/models/income_verification_create_request_options.rb +2 -2
- data/lib/plaid/models/income_verification_create_response.rb +2 -2
- data/lib/plaid/models/income_verification_doc_parsing_config.rb +3 -3
- data/lib/plaid/models/income_verification_documents_download_request.rb +2 -2
- data/lib/plaid/models/income_verification_payroll_flow_type.rb +2 -2
- data/lib/plaid/models/income_verification_paystubs_get_request.rb +2 -2
- data/lib/plaid/models/income_verification_paystubs_get_response.rb +2 -2
- data/lib/plaid/models/income_verification_precheck_confidence.rb +2 -2
- data/lib/plaid/models/income_verification_precheck_employer.rb +2 -2
- data/lib/plaid/models/income_verification_precheck_employer_address.rb +2 -2
- data/lib/plaid/models/income_verification_precheck_employer_address_data.rb +2 -2
- data/lib/plaid/models/income_verification_precheck_military_info.rb +2 -2
- data/lib/plaid/models/income_verification_precheck_payroll_institution.rb +2 -2
- data/lib/plaid/models/income_verification_precheck_request.rb +2 -2
- data/lib/plaid/models/income_verification_precheck_response.rb +24 -2
- data/lib/plaid/models/income_verification_precheck_user.rb +2 -2
- data/lib/plaid/models/income_verification_refresh_reconnect_needed_webhook.rb +24 -2
- data/lib/plaid/models/income_verification_risk_signals_status_webhook.rb +24 -2
- data/lib/plaid/models/income_verification_source_type.rb +2 -2
- data/lib/plaid/models/income_verification_status_webhook.rb +24 -2
- data/lib/plaid/models/income_verification_taxforms_get_request.rb +2 -2
- data/lib/plaid/models/income_verification_taxforms_get_response.rb +2 -2
- data/lib/plaid/models/income_verification_webhook_status.rb +2 -2
- data/lib/plaid/models/individual_name.rb +2 -2
- data/lib/plaid/models/individual_screening_hit_names.rb +24 -2
- data/lib/plaid/models/individual_watchlist_code.rb +2 -2
- data/lib/plaid/models/individual_watchlist_program.rb +24 -2
- data/lib/plaid/models/inflow_model.rb +2 -2
- data/lib/plaid/models/initial_update_webhook.rb +24 -2
- data/lib/plaid/models/institution.rb +2 -2
- data/lib/plaid/models/institution_status.rb +2 -2
- data/lib/plaid/models/institution_status_alert_webhook.rb +24 -2
- data/lib/plaid/models/institution_supported_networks.rb +2 -2
- data/lib/plaid/models/institutions_get_by_id_request.rb +2 -2
- data/lib/plaid/models/institutions_get_by_id_request_options.rb +2 -2
- data/lib/plaid/models/institutions_get_by_id_response.rb +2 -2
- data/lib/plaid/models/institutions_get_request.rb +2 -2
- data/lib/plaid/models/institutions_get_request_options.rb +2 -2
- data/lib/plaid/models/institutions_get_response.rb +2 -2
- data/lib/plaid/models/institutions_search_account_filter.rb +2 -2
- data/lib/plaid/models/institutions_search_payment_initiation_options.rb +2 -2
- data/lib/plaid/models/institutions_search_request.rb +5 -5
- data/lib/plaid/models/institutions_search_request_options.rb +2 -2
- data/lib/plaid/models/institutions_search_response.rb +2 -2
- data/lib/plaid/models/investment_account_subtype.rb +2 -2
- data/lib/plaid/models/investment_filter.rb +2 -2
- data/lib/plaid/models/investment_holdings_get_request_options.rb +2 -2
- data/lib/plaid/models/investment_transaction.rb +24 -2
- data/lib/plaid/models/investment_transaction_subtype.rb +2 -2
- data/lib/plaid/models/investment_transaction_type.rb +2 -2
- data/lib/plaid/models/investments_auth_get_numbers.rb +2 -2
- data/lib/plaid/models/investments_auth_get_request.rb +2 -2
- data/lib/plaid/models/investments_auth_get_request_options.rb +2 -2
- data/lib/plaid/models/investments_auth_get_response.rb +2 -2
- data/lib/plaid/models/investments_auth_owner.rb +2 -2
- data/lib/plaid/models/investments_default_update_webhook.rb +24 -2
- data/lib/plaid/models/investments_historical_update_webhook.rb +24 -2
- data/lib/plaid/models/investments_holdings_get_request.rb +2 -2
- data/lib/plaid/models/investments_holdings_get_response.rb +2 -2
- data/lib/plaid/models/investments_refresh_request.rb +2 -2
- data/lib/plaid/models/investments_refresh_response.rb +2 -2
- data/lib/plaid/models/investments_transactions_get_request.rb +2 -2
- data/lib/plaid/models/investments_transactions_get_request_options.rb +2 -2
- data/lib/plaid/models/investments_transactions_get_response.rb +2 -2
- data/lib/plaid/models/investments_transactions_override.rb +2 -2
- data/lib/plaid/models/iso_currency_code.rb +2 -2
- data/lib/plaid/models/issuing_country.rb +2 -2
- data/lib/plaid/models/item.rb +2 -2
- data/lib/plaid/models/item_access_token_invalidate_request.rb +2 -2
- data/lib/plaid/models/item_access_token_invalidate_response.rb +2 -2
- data/lib/plaid/models/item_activity_list_request.rb +2 -2
- data/lib/plaid/models/item_activity_list_response.rb +2 -2
- data/lib/plaid/models/item_application_list_request.rb +2 -2
- data/lib/plaid/models/item_application_list_response.rb +2 -2
- data/lib/plaid/models/item_application_list_user_auth.rb +2 -2
- data/lib/plaid/models/item_application_scopes_update_request.rb +24 -2
- data/lib/plaid/models/item_application_scopes_update_response.rb +2 -2
- data/lib/plaid/models/item_application_unlink_request.rb +2 -2
- data/lib/plaid/models/item_application_unlink_response.rb +2 -2
- data/lib/plaid/models/item_error_webhook.rb +24 -2
- data/lib/plaid/models/item_get_request.rb +2 -2
- data/lib/plaid/models/item_get_response.rb +2 -2
- data/lib/plaid/models/item_import_request.rb +2 -2
- data/lib/plaid/models/item_import_request_options.rb +2 -2
- data/lib/plaid/models/item_import_request_user_auth.rb +2 -2
- data/lib/plaid/models/item_import_response.rb +2 -2
- data/lib/plaid/models/item_login_repaired_webhook.rb +24 -2
- data/lib/plaid/models/item_product_ready_webhook.rb +24 -2
- data/lib/plaid/models/item_public_token_create_request.rb +2 -2
- data/lib/plaid/models/item_public_token_create_response.rb +2 -2
- data/lib/plaid/models/item_public_token_exchange_request.rb +2 -2
- data/lib/plaid/models/item_public_token_exchange_response.rb +2 -2
- data/lib/plaid/models/item_remove_request.rb +2 -2
- data/lib/plaid/models/item_remove_response.rb +2 -2
- data/lib/plaid/models/item_status.rb +2 -2
- data/lib/plaid/models/item_status_investments.rb +2 -2
- data/lib/plaid/models/item_status_last_webhook.rb +2 -2
- data/lib/plaid/models/item_status_nullable.rb +2 -2
- data/lib/plaid/models/item_status_transactions.rb +2 -2
- data/lib/plaid/models/item_webhook_update_request.rb +2 -2
- data/lib/plaid/models/item_webhook_update_response.rb +2 -2
- data/lib/plaid/models/jwk_public_key.rb +2 -2
- data/lib/plaid/models/jwt_header.rb +2 -2
- data/lib/plaid/models/kyc_check_address_summary.rb +24 -2
- data/lib/plaid/models/kyc_check_date_of_birth_summary.rb +24 -2
- data/lib/plaid/models/kyc_check_details.rb +2 -2
- data/lib/plaid/models/kyc_check_id_number_summary.rb +24 -2
- data/lib/plaid/models/kyc_check_name_summary.rb +24 -2
- data/lib/plaid/models/kyc_check_phone_summary.rb +24 -2
- data/lib/plaid/models/last_data_access_times.rb +2 -2
- data/lib/plaid/models/liabilities_default_update_webhook.rb +24 -2
- data/lib/plaid/models/liabilities_get_request.rb +2 -2
- data/lib/plaid/models/liabilities_get_request_options.rb +2 -2
- data/lib/plaid/models/liabilities_get_response.rb +2 -2
- data/lib/plaid/models/liabilities_object.rb +2 -2
- data/lib/plaid/models/liability_override.rb +2 -2
- data/lib/plaid/models/link_callback_metadata.rb +25 -3
- data/lib/plaid/models/link_delivery_account.rb +24 -2
- data/lib/plaid/models/link_delivery_callback_webhook.rb +2 -2
- data/lib/plaid/models/link_delivery_communication_method.rb +24 -2
- data/lib/plaid/models/link_delivery_create_request.rb +2 -2
- data/lib/plaid/models/link_delivery_create_response.rb +2 -2
- data/lib/plaid/models/link_delivery_delivery_method.rb +2 -2
- data/lib/plaid/models/link_delivery_get_request.rb +2 -2
- data/lib/plaid/models/link_delivery_get_response.rb +24 -2
- data/lib/plaid/models/link_delivery_institution.rb +2 -2
- data/lib/plaid/models/link_delivery_metadata.rb +24 -2
- data/lib/plaid/models/link_delivery_options.rb +2 -2
- data/lib/plaid/models/link_delivery_recipient.rb +2 -2
- data/lib/plaid/models/link_delivery_session_status.rb +2 -2
- data/lib/plaid/models/link_delivery_verification_status.rb +5 -2
- data/lib/plaid/models/link_delivery_webhook_callback_type.rb +2 -2
- data/lib/plaid/models/link_delivery_webhook_communication_method.rb +2 -2
- data/lib/plaid/models/link_delivery_webhook_delivery_status.rb +2 -2
- data/lib/plaid/models/link_event.rb +20 -6
- data/lib/plaid/models/link_event_metadata.rb +2 -2
- data/lib/plaid/models/link_event_name.rb +2 -2
- data/lib/plaid/models/link_events_webhook.rb +2 -2
- data/lib/plaid/models/link_o_auth_correlation_id_exchange_request.rb +2 -2
- data/lib/plaid/models/link_o_auth_correlation_id_exchange_response.rb +2 -2
- data/lib/plaid/models/link_session_exit.rb +2 -2
- data/lib/plaid/models/link_session_exit_metadata.rb +2 -2
- data/lib/plaid/models/link_session_exit_metadata_institution.rb +2 -2
- data/lib/plaid/models/link_session_finished_webhook.rb +47 -11
- data/lib/plaid/models/link_session_success.rb +2 -2
- data/lib/plaid/models/link_session_success_metadata.rb +24 -2
- data/lib/plaid/models/link_session_success_metadata_account.rb +3 -3
- data/lib/plaid/models/link_session_success_metadata_institution.rb +2 -2
- data/lib/plaid/models/link_session_success_metadata_transfer_status.rb +2 -2
- data/lib/plaid/models/link_token_account_filters.rb +2 -2
- data/lib/plaid/models/link_token_create_card_switch.rb +226 -0
- data/lib/plaid/models/link_token_create_credit_filter.rb +2 -2
- data/lib/plaid/models/link_token_create_depository_filter.rb +2 -2
- data/lib/plaid/models/link_token_create_hosted_link.rb +42 -8
- data/lib/plaid/models/link_token_create_identity.rb +233 -0
- data/lib/plaid/models/link_token_create_institution_data.rb +3 -3
- data/lib/plaid/models/link_token_create_investment_filter.rb +2 -2
- data/lib/plaid/models/link_token_create_loan_filter.rb +2 -2
- data/lib/plaid/models/link_token_create_request.rb +65 -7
- data/lib/plaid/models/link_token_create_request_account_subtypes.rb +2 -2
- data/lib/plaid/models/link_token_create_request_auth.rb +13 -3
- data/lib/plaid/models/link_token_create_request_base_report.rb +2 -2
- data/lib/plaid/models/link_token_create_request_credit_partner_insights.rb +259 -0
- data/lib/plaid/models/link_token_create_request_deposit_switch.rb +2 -2
- data/lib/plaid/models/link_token_create_request_employment.rb +2 -2
- data/lib/plaid/models/link_token_create_request_employment_bank_income.rb +2 -2
- data/lib/plaid/models/link_token_create_request_identity_verification.rb +2 -3
- data/lib/plaid/models/link_token_create_request_income_verification.rb +2 -2
- data/lib/plaid/models/link_token_create_request_income_verification_bank_income.rb +2 -2
- data/lib/plaid/models/link_token_create_request_income_verification_payroll_income.rb +2 -2
- data/lib/plaid/models/link_token_create_request_payment_initiation.rb +2 -2
- data/lib/plaid/models/link_token_create_request_statements.rb +3 -3
- data/lib/plaid/models/link_token_create_request_transfer.rb +2 -2
- data/lib/plaid/models/link_token_create_request_update.rb +2 -2
- data/lib/plaid/models/link_token_create_request_user.rb +3 -3
- data/lib/plaid/models/link_token_create_request_user_address.rb +5 -13
- data/lib/plaid/models/link_token_create_request_user_id_number.rb +24 -2
- data/lib/plaid/models/link_token_create_request_user_name.rb +2 -2
- data/lib/plaid/models/link_token_create_request_user_stated_income_source.rb +24 -2
- data/lib/plaid/models/link_token_create_response.rb +3 -3
- data/lib/plaid/models/link_token_eu_config.rb +2 -2
- data/lib/plaid/models/link_token_get_metadata_response.rb +2 -2
- data/lib/plaid/models/link_token_get_request.rb +2 -2
- data/lib/plaid/models/link_token_get_response.rb +3 -3
- data/lib/plaid/models/link_token_get_sessions_response.rb +20 -8
- data/lib/plaid/models/link_token_investments.rb +2 -2
- data/lib/plaid/models/link_token_investments_auth.rb +2 -2
- data/lib/plaid/models/link_token_transactions.rb +249 -0
- data/lib/plaid/models/link_user_delivery_status_webhook.rb +3 -3
- data/lib/plaid/models/loan.rb +2 -2
- data/lib/plaid/models/loan_account_subtype.rb +2 -2
- data/lib/plaid/models/loan_filter.rb +2 -2
- data/lib/plaid/models/loan_identifier.rb +24 -2
- data/lib/plaid/models/loan_identifier_type.rb +2 -2
- data/lib/plaid/models/loan_identifiers.rb +2 -2
- data/lib/plaid/models/loans.rb +2 -2
- data/lib/plaid/models/location.rb +2 -2
- data/lib/plaid/models/match_summary.rb +24 -2
- data/lib/plaid/models/match_summary_code.rb +2 -2
- data/lib/plaid/models/merchant_insights.rb +2 -2
- data/lib/plaid/models/meta.rb +2 -2
- data/lib/plaid/models/mfa.rb +2 -2
- data/lib/plaid/models/mortgage_interest_rate.rb +2 -2
- data/lib/plaid/models/mortgage_liability.rb +2 -2
- data/lib/plaid/models/mortgage_property_address.rb +2 -2
- data/lib/plaid/models/multi_document_risk_signal.rb +2 -2
- data/lib/plaid/models/name_match_score.rb +2 -2
- data/lib/plaid/models/net_pay.rb +2 -2
- data/lib/plaid/models/new_accounts_available_webhook.rb +24 -2
- data/lib/plaid/models/numbers.rb +2 -2
- data/lib/plaid/models/numbers_acats.rb +2 -2
- data/lib/plaid/models/numbers_ach.rb +2 -2
- data/lib/plaid/models/numbers_ach_nullable.rb +2 -2
- data/lib/plaid/models/numbers_aton.rb +2 -2
- data/lib/plaid/models/numbers_bacs.rb +2 -2
- data/lib/plaid/models/numbers_bacs_nullable.rb +2 -2
- data/lib/plaid/models/numbers_eft.rb +2 -2
- data/lib/plaid/models/numbers_eft_nullable.rb +2 -2
- data/lib/plaid/models/numbers_iban_nullable.rb +2 -2
- data/lib/plaid/models/numbers_international.rb +2 -2
- data/lib/plaid/models/numbers_international_iban.rb +2 -2
- data/lib/plaid/models/numbers_international_nullable.rb +2 -2
- data/lib/plaid/models/omittable_transfer_type.rb +2 -2
- data/lib/plaid/models/option_contract.rb +271 -0
- data/lib/plaid/models/originator.rb +24 -2
- data/lib/plaid/models/originator_expected_transfer_frequency.rb +2 -2
- data/lib/plaid/models/other_account_subtype.rb +2 -2
- data/lib/plaid/models/other_filter.rb +2 -2
- data/lib/plaid/models/override_account_type.rb +2 -2
- data/lib/plaid/models/override_accounts.rb +24 -2
- data/lib/plaid/models/owner.rb +17 -6
- data/lib/plaid/models/owner_override.rb +2 -2
- data/lib/plaid/models/ownership_type.rb +2 -2
- data/lib/plaid/models/parties.rb +2 -2
- data/lib/plaid/models/partner_customer_create_request.rb +16 -6
- data/lib/plaid/models/partner_customer_create_response.rb +2 -2
- data/lib/plaid/models/partner_customer_enable_request.rb +2 -2
- data/lib/plaid/models/partner_customer_enable_response.rb +2 -2
- data/lib/plaid/models/partner_customer_get_request.rb +2 -2
- data/lib/plaid/models/partner_customer_get_response.rb +2 -2
- data/lib/plaid/models/partner_customer_o_auth_institutions_get_request.rb +2 -2
- data/lib/plaid/models/partner_customer_o_auth_institutions_get_response.rb +24 -2
- data/lib/plaid/models/partner_customer_remove_request.rb +2 -2
- data/lib/plaid/models/partner_customer_remove_response.rb +2 -2
- data/lib/plaid/models/partner_end_customer.rb +24 -2
- data/lib/plaid/models/partner_end_customer_address.rb +2 -2
- data/lib/plaid/models/partner_end_customer_assets_under_management.rb +2 -2
- data/lib/plaid/models/partner_end_customer_billing_contact.rb +2 -2
- data/lib/plaid/models/partner_end_customer_customer_support_info.rb +2 -2
- data/lib/plaid/models/partner_end_customer_flowdown_status.rb +2 -2
- data/lib/plaid/models/partner_end_customer_o_auth_institution.rb +2 -2
- data/lib/plaid/models/partner_end_customer_o_auth_institution_application_status.rb +2 -2
- data/lib/plaid/models/partner_end_customer_o_auth_institution_environments.rb +24 -2
- data/lib/plaid/models/partner_end_customer_o_auth_status_updated_values.rb +2 -2
- data/lib/plaid/models/partner_end_customer_o_auth_status_updated_webhook.rb +24 -2
- data/lib/plaid/models/partner_end_customer_questionnaire_status.rb +2 -2
- data/lib/plaid/models/partner_end_customer_secrets.rb +2 -2
- data/lib/plaid/models/partner_end_customer_status.rb +2 -2
- data/lib/plaid/models/partner_end_customer_technical_contact.rb +2 -2
- data/lib/plaid/models/partner_end_customer_with_secrets.rb +24 -2
- data/lib/plaid/models/partner_end_customer_with_secrets_all_of.rb +2 -2
- data/lib/plaid/models/party.rb +2 -2
- data/lib/plaid/models/party_individual.rb +2 -2
- data/lib/plaid/models/party_role_type.rb +2 -2
- data/lib/plaid/models/pay.rb +2 -2
- data/lib/plaid/models/pay_frequency.rb +24 -2
- data/lib/plaid/models/pay_frequency_value.rb +2 -2
- data/lib/plaid/models/pay_period_details.rb +3 -16
- data/lib/plaid/models/pay_period_details_pay_frequency.rb +43 -0
- data/lib/plaid/models/pay_stub_deductions_breakdown.rb +2 -2
- data/lib/plaid/models/pay_stub_deductions_total.rb +2 -2
- data/lib/plaid/models/pay_stub_distribution_breakdown.rb +2 -2
- data/lib/plaid/models/pay_stub_earnings_breakdown.rb +2 -2
- data/lib/plaid/models/pay_stub_earnings_total.rb +2 -2
- data/lib/plaid/models/pay_stub_pay_period_details.rb +24 -2
- data/lib/plaid/models/pay_stub_taxpayer_id.rb +2 -2
- data/lib/plaid/models/payment_amount.rb +24 -2
- data/lib/plaid/models/payment_amount_currency.rb +2 -2
- data/lib/plaid/models/payment_amount_nullable.rb +24 -2
- data/lib/plaid/models/payment_amount_refunded.rb +24 -2
- data/lib/plaid/models/payment_amount_to_refund.rb +24 -2
- data/lib/plaid/models/payment_channel.rb +2 -2
- data/lib/plaid/models/payment_consent_max_payment_amount.rb +24 -2
- data/lib/plaid/models/payment_consent_periodic_alignment.rb +2 -2
- data/lib/plaid/models/payment_consent_periodic_amount.rb +24 -2
- data/lib/plaid/models/payment_consent_periodic_amount_amount.rb +24 -2
- data/lib/plaid/models/payment_consent_periodic_interval.rb +2 -2
- data/lib/plaid/models/payment_consent_valid_date_time.rb +2 -2
- data/lib/plaid/models/payment_initiation_address.rb +2 -2
- data/lib/plaid/models/payment_initiation_consent.rb +24 -2
- data/lib/plaid/models/payment_initiation_consent_constraints.rb +2 -2
- data/lib/plaid/models/payment_initiation_consent_create_request.rb +2 -2
- data/lib/plaid/models/payment_initiation_consent_create_response.rb +24 -2
- data/lib/plaid/models/payment_initiation_consent_get_request.rb +2 -2
- data/lib/plaid/models/payment_initiation_consent_get_response.rb +24 -2
- data/lib/plaid/models/payment_initiation_consent_payment_execute_request.rb +52 -6
- data/lib/plaid/models/payment_initiation_consent_payment_execute_response.rb +24 -2
- data/lib/plaid/models/payment_initiation_consent_revoke_request.rb +2 -2
- data/lib/plaid/models/payment_initiation_consent_revoke_response.rb +2 -2
- data/lib/plaid/models/payment_initiation_consent_scope.rb +2 -2
- data/lib/plaid/models/payment_initiation_consent_status.rb +2 -2
- data/lib/plaid/models/payment_initiation_metadata.rb +2 -2
- data/lib/plaid/models/payment_initiation_optional_restriction_bacs.rb +2 -2
- data/lib/plaid/models/payment_initiation_payment.rb +24 -2
- data/lib/plaid/models/payment_initiation_payment_create_request.rb +3 -3
- data/lib/plaid/models/payment_initiation_payment_create_response.rb +24 -2
- data/lib/plaid/models/payment_initiation_payment_create_status.rb +2 -2
- data/lib/plaid/models/payment_initiation_payment_get_request.rb +2 -2
- data/lib/plaid/models/payment_initiation_payment_get_response.rb +24 -2
- data/lib/plaid/models/payment_initiation_payment_list_request.rb +2 -2
- data/lib/plaid/models/payment_initiation_payment_list_response.rb +2 -2
- data/lib/plaid/models/payment_initiation_payment_reverse_request.rb +2 -2
- data/lib/plaid/models/payment_initiation_payment_reverse_response.rb +24 -2
- data/lib/plaid/models/payment_initiation_payment_status.rb +2 -2
- data/lib/plaid/models/payment_initiation_payment_token_create_request.rb +2 -2
- data/lib/plaid/models/payment_initiation_payment_token_create_response.rb +2 -2
- data/lib/plaid/models/payment_initiation_recipient.rb +2 -2
- data/lib/plaid/models/payment_initiation_recipient_create_request.rb +2 -2
- data/lib/plaid/models/payment_initiation_recipient_create_response.rb +2 -2
- data/lib/plaid/models/payment_initiation_recipient_get_request.rb +2 -2
- data/lib/plaid/models/payment_initiation_recipient_get_response.rb +2 -2
- data/lib/plaid/models/payment_initiation_recipient_get_response_all_of.rb +2 -2
- data/lib/plaid/models/payment_initiation_recipient_list_request.rb +2 -2
- data/lib/plaid/models/payment_initiation_recipient_list_response.rb +2 -2
- data/lib/plaid/models/payment_initiation_standing_order_metadata.rb +2 -2
- data/lib/plaid/models/payment_meta.rb +2 -2
- data/lib/plaid/models/payment_profile_create_request.rb +2 -2
- data/lib/plaid/models/payment_profile_create_response.rb +2 -2
- data/lib/plaid/models/payment_profile_get_request.rb +2 -2
- data/lib/plaid/models/payment_profile_get_response.rb +24 -2
- data/lib/plaid/models/payment_profile_remove_request.rb +2 -2
- data/lib/plaid/models/payment_profile_remove_response.rb +2 -2
- data/lib/plaid/models/payment_profile_status.rb +2 -2
- data/lib/plaid/models/payment_schedule_interval.rb +2 -2
- data/lib/plaid/models/payment_scheme.rb +2 -2
- data/lib/plaid/models/payment_status_update_webhook.rb +24 -2
- data/lib/plaid/models/payroll_income_account_data.rb +2 -2
- data/lib/plaid/models/payroll_income_object.rb +2 -2
- data/lib/plaid/models/payroll_income_rate_of_pay.rb +2 -2
- data/lib/plaid/models/payroll_item.rb +2 -2
- data/lib/plaid/models/payroll_item_status.rb +2 -2
- data/lib/plaid/models/payroll_risk_signals_item.rb +2 -2
- data/lib/plaid/models/paystub.rb +2 -2
- data/lib/plaid/models/paystub_address.rb +2 -2
- data/lib/plaid/models/paystub_deduction.rb +2 -2
- data/lib/plaid/models/paystub_details.rb +24 -2
- data/lib/plaid/models/paystub_employer.rb +2 -2
- data/lib/plaid/models/paystub_override.rb +3 -3
- data/lib/plaid/models/paystub_override_distribution_breakdown.rb +277 -0
- data/lib/plaid/models/paystub_override_employee.rb +2 -2
- data/lib/plaid/models/paystub_override_employee_address.rb +2 -2
- data/lib/plaid/models/paystub_override_employer.rb +2 -2
- data/lib/plaid/models/paystub_override_pay_period_details.rb +320 -0
- data/lib/plaid/models/paystub_pay_frequency.rb +2 -2
- data/lib/plaid/models/paystub_ytd_details.rb +2 -2
- data/lib/plaid/models/pending_expiration_webhook.rb +24 -2
- data/lib/plaid/models/personal_finance_category.rb +2 -2
- data/lib/plaid/models/phone_number.rb +2 -2
- data/lib/plaid/models/phone_number_match_score.rb +2 -2
- data/lib/plaid/models/phone_type.rb +2 -2
- data/lib/plaid/models/physical_document_category.rb +2 -2
- data/lib/plaid/models/physical_document_extracted_data.rb +24 -2
- data/lib/plaid/models/physical_document_extracted_data_analysis.rb +24 -2
- data/lib/plaid/models/physical_document_images.rb +2 -2
- data/lib/plaid/models/plaid_error.rb +24 -2
- data/lib/plaid/models/plaid_error_type.rb +2 -2
- data/lib/plaid/models/platform_ids.rb +2 -2
- data/lib/plaid/models/po_box_status.rb +2 -2
- data/lib/plaid/models/prism_cash_score.rb +262 -0
- data/lib/plaid/models/prism_cash_score_metadata.rb +321 -0
- data/lib/plaid/models/prism_detect.rb +262 -0
- data/lib/plaid/models/prism_insights.rb +236 -0
- data/lib/plaid/models/prism_product.rb +39 -0
- data/lib/plaid/models/processor_account_get_request.rb +2 -2
- data/lib/plaid/models/processor_account_get_response.rb +2 -2
- data/lib/plaid/models/processor_apex_processor_token_create_request.rb +2 -2
- data/lib/plaid/models/processor_auth_get_request.rb +2 -2
- data/lib/plaid/models/processor_auth_get_response.rb +2 -2
- data/lib/plaid/models/processor_balance_get_request.rb +2 -2
- data/lib/plaid/models/processor_balance_get_request_options.rb +3 -3
- data/lib/plaid/models/processor_balance_get_response.rb +2 -2
- data/lib/plaid/models/processor_bank_transfer_create_request.rb +24 -2
- data/lib/plaid/models/processor_bank_transfer_create_response.rb +2 -2
- data/lib/plaid/models/processor_default_update_webhook.rb +24 -2
- data/lib/plaid/models/processor_historical_update_webhook.rb +24 -2
- data/lib/plaid/models/processor_identity_get_request.rb +2 -2
- data/lib/plaid/models/processor_identity_get_response.rb +2 -2
- data/lib/plaid/models/processor_identity_match_request.rb +2 -2
- data/lib/plaid/models/processor_identity_match_response.rb +2 -2
- data/lib/plaid/models/processor_initial_update_webhook.rb +24 -2
- data/lib/plaid/models/processor_liabilities_get_request.rb +246 -0
- data/lib/plaid/models/processor_liabilities_get_response.rb +254 -0
- data/lib/plaid/models/processor_number.rb +2 -2
- data/lib/plaid/models/processor_recurring_transactions_update_webhook.rb +24 -2
- data/lib/plaid/models/processor_signal_decision_report_request.rb +24 -2
- data/lib/plaid/models/processor_signal_decision_report_response.rb +2 -2
- data/lib/plaid/models/processor_signal_evaluate_request.rb +2 -2
- data/lib/plaid/models/processor_signal_evaluate_response.rb +2 -2
- data/lib/plaid/models/processor_signal_prepare_request.rb +2 -2
- data/lib/plaid/models/processor_signal_prepare_response.rb +2 -2
- data/lib/plaid/models/processor_signal_return_report_request.rb +2 -2
- data/lib/plaid/models/processor_signal_return_report_response.rb +2 -2
- data/lib/plaid/models/processor_stripe_bank_account_token_create_request.rb +2 -2
- data/lib/plaid/models/processor_stripe_bank_account_token_create_response.rb +2 -2
- data/lib/plaid/models/processor_sync_updates_available_webhook.rb +24 -2
- data/lib/plaid/models/processor_token_create_request.rb +4 -4
- data/lib/plaid/models/processor_token_create_response.rb +2 -2
- data/lib/plaid/models/processor_token_permissions_get_request.rb +2 -2
- data/lib/plaid/models/processor_token_permissions_get_response.rb +2 -2
- data/lib/plaid/models/processor_token_permissions_set_request.rb +2 -2
- data/lib/plaid/models/processor_token_permissions_set_response.rb +2 -2
- data/lib/plaid/models/processor_token_webhook_update.rb +24 -2
- data/lib/plaid/models/processor_token_webhook_update_request.rb +2 -2
- data/lib/plaid/models/processor_token_webhook_update_response.rb +2 -2
- data/lib/plaid/models/processor_transactions_get_request.rb +2 -2
- data/lib/plaid/models/processor_transactions_get_request_options.rb +2 -2
- data/lib/plaid/models/processor_transactions_get_response.rb +2 -2
- data/lib/plaid/models/processor_transactions_recurring_get_request.rb +2 -2
- data/lib/plaid/models/processor_transactions_recurring_get_response.rb +2 -2
- data/lib/plaid/models/processor_transactions_refresh_request.rb +2 -2
- data/lib/plaid/models/processor_transactions_refresh_response.rb +2 -2
- data/lib/plaid/models/processor_transactions_removed_webhook.rb +24 -2
- data/lib/plaid/models/processor_transactions_sync_request.rb +2 -2
- data/lib/plaid/models/processor_transactions_sync_response.rb +2 -2
- data/lib/plaid/models/product_access.rb +2 -2
- data/lib/plaid/models/product_permissions_required_auth_webhook.rb +24 -2
- data/lib/plaid/models/product_permissions_required_identity_webhook.rb +24 -2
- data/lib/plaid/models/product_status.rb +2 -2
- data/lib/plaid/models/product_status_breakdown.rb +2 -2
- data/lib/plaid/models/products.rb +5 -2
- data/lib/plaid/models/profile_get_request.rb +256 -0
- data/lib/plaid/models/{account_assets_all_of.rb → profile_get_response.rb} +38 -61
- data/lib/plaid/models/profile_identity.rb +275 -0
- data/lib/plaid/models/profile_identity_address.rb +276 -0
- data/lib/plaid/models/profile_identity_name.rb +229 -0
- data/lib/plaid/models/profile_item.rb +231 -0
- data/lib/plaid/models/program_name_sensitivity.rb +2 -2
- data/lib/plaid/models/projected_income_summary_field_number.rb +24 -2
- data/lib/plaid/models/proxy_type.rb +2 -2
- data/lib/plaid/models/pslf_status.rb +2 -2
- data/lib/plaid/models/recaptcha_required_error.rb +2 -2
- data/lib/plaid/models/recipient_bacs.rb +2 -2
- data/lib/plaid/models/recipient_bacs_nullable.rb +2 -2
- data/lib/plaid/models/recurrence.rb +24 -2
- data/lib/plaid/models/recurring_cancelled_webhook.rb +24 -2
- data/lib/plaid/models/recurring_frequency.rb +2 -2
- data/lib/plaid/models/recurring_insights_stream.rb +24 -2
- data/lib/plaid/models/recurring_new_transfer_webhook.rb +24 -2
- data/lib/plaid/models/recurring_transaction_frequency.rb +2 -2
- data/lib/plaid/models/recurring_transactions.rb +2 -2
- data/lib/plaid/models/recurring_transactions_update_webhook.rb +24 -2
- data/lib/plaid/models/recurring_transfer.rb +24 -2
- data/lib/plaid/models/recurring_transfer_nullable.rb +24 -2
- data/lib/plaid/models/recurring_transfer_skipped_webhook.rb +24 -2
- data/lib/plaid/models/removed_transaction.rb +2 -2
- data/lib/plaid/models/report_type.rb +2 -2
- data/lib/plaid/models/reporting_information.rb +2 -2
- data/lib/plaid/models/risk_check_behavior.rb +24 -2
- data/lib/plaid/models/risk_check_behavior_bot_detected_label.rb +2 -2
- data/lib/plaid/models/risk_check_behavior_fraud_ring_detected_label.rb +2 -2
- data/lib/plaid/models/risk_check_behavior_user_interactions_label.rb +2 -2
- data/lib/plaid/models/risk_check_details.rb +24 -2
- data/lib/plaid/models/risk_check_device.rb +24 -2
- data/lib/plaid/models/risk_check_email.rb +24 -2
- data/lib/plaid/models/risk_check_email_domain_is_custom.rb +2 -2
- data/lib/plaid/models/risk_check_email_domain_is_disposable.rb +2 -2
- data/lib/plaid/models/risk_check_email_domain_is_free_provider.rb +2 -2
- data/lib/plaid/models/risk_check_email_is_deliverable_status.rb +2 -2
- data/lib/plaid/models/risk_check_email_top_level_domain_is_suspicious.rb +2 -2
- data/lib/plaid/models/risk_check_identity_abuse_signals.rb +2 -2
- data/lib/plaid/models/risk_check_linked_service.rb +2 -2
- data/lib/plaid/models/risk_check_phone.rb +2 -2
- data/lib/plaid/models/risk_check_stolen_identity.rb +2 -2
- data/lib/plaid/models/risk_check_synthetic_identity.rb +2 -2
- data/lib/plaid/models/risk_profile.rb +231 -0
- data/lib/plaid/models/risk_reason.rb +231 -0
- data/lib/plaid/models/risk_signal_document_reference.rb +24 -2
- data/lib/plaid/models/risk_signal_document_status.rb +2 -2
- data/lib/plaid/models/role.rb +2 -2
- data/lib/plaid/models/role_detail.rb +24 -2
- data/lib/plaid/models/roles.rb +2 -2
- data/lib/plaid/models/sandbox_bank_income_fire_webhook_request.rb +24 -2
- data/lib/plaid/models/sandbox_bank_income_fire_webhook_response.rb +2 -2
- data/lib/plaid/models/sandbox_bank_income_webhook_fire_request_webhook_code.rb +2 -2
- data/lib/plaid/models/sandbox_bank_income_webhook_fire_request_webhook_fields.rb +24 -2
- data/lib/plaid/models/sandbox_bank_transfer_fire_webhook_request.rb +2 -2
- data/lib/plaid/models/sandbox_bank_transfer_fire_webhook_response.rb +2 -2
- data/lib/plaid/models/sandbox_bank_transfer_simulate_request.rb +2 -2
- data/lib/plaid/models/sandbox_bank_transfer_simulate_response.rb +2 -2
- data/lib/plaid/models/sandbox_income_fire_webhook_request.rb +2 -2
- data/lib/plaid/models/sandbox_income_fire_webhook_response.rb +2 -2
- data/lib/plaid/models/sandbox_income_webhook_fire_request_webhook_code.rb +2 -2
- data/lib/plaid/models/sandbox_item_fire_webhook_request.rb +2 -2
- data/lib/plaid/models/sandbox_item_fire_webhook_response.rb +2 -2
- data/lib/plaid/models/sandbox_item_reset_login_request.rb +2 -2
- data/lib/plaid/models/sandbox_item_reset_login_response.rb +2 -2
- data/lib/plaid/models/sandbox_item_set_verification_status_request.rb +2 -2
- data/lib/plaid/models/sandbox_item_set_verification_status_response.rb +2 -2
- data/lib/plaid/models/sandbox_oauth_select_accounts_request.rb +2 -2
- data/lib/plaid/models/sandbox_payment_profile_reset_login_request.rb +2 -2
- data/lib/plaid/models/sandbox_payment_profile_reset_login_response.rb +2 -2
- data/lib/plaid/models/sandbox_processor_token_create_request.rb +2 -2
- data/lib/plaid/models/sandbox_processor_token_create_request_options.rb +2 -2
- data/lib/plaid/models/sandbox_processor_token_create_response.rb +2 -2
- data/lib/plaid/models/sandbox_public_token_create_request.rb +2 -2
- data/lib/plaid/models/sandbox_public_token_create_request_income_verification_bank_income.rb +2 -2
- data/lib/plaid/models/sandbox_public_token_create_request_options.rb +2 -2
- data/lib/plaid/models/sandbox_public_token_create_request_options_income_verification.rb +2 -2
- data/lib/plaid/models/sandbox_public_token_create_request_options_transactions.rb +44 -6
- data/lib/plaid/models/sandbox_public_token_create_response.rb +2 -2
- data/lib/plaid/models/sandbox_transfer_fire_webhook_request.rb +2 -2
- data/lib/plaid/models/sandbox_transfer_fire_webhook_response.rb +2 -2
- data/lib/plaid/models/sandbox_transfer_ledger_deposit_simulate_request.rb +24 -2
- data/lib/plaid/models/sandbox_transfer_ledger_deposit_simulate_response.rb +2 -2
- data/lib/plaid/models/sandbox_transfer_ledger_simulate_available_request.rb +2 -2
- data/lib/plaid/models/sandbox_transfer_ledger_simulate_available_response.rb +2 -2
- data/lib/plaid/models/sandbox_transfer_ledger_withdraw_simulate_request.rb +24 -2
- data/lib/plaid/models/sandbox_transfer_ledger_withdraw_simulate_response.rb +2 -2
- data/lib/plaid/models/sandbox_transfer_refund_simulate_request.rb +2 -2
- data/lib/plaid/models/sandbox_transfer_refund_simulate_response.rb +2 -2
- data/lib/plaid/models/sandbox_transfer_repayment_simulate_request.rb +2 -2
- data/lib/plaid/models/sandbox_transfer_repayment_simulate_response.rb +2 -2
- data/lib/plaid/models/sandbox_transfer_simulate_request.rb +2 -2
- data/lib/plaid/models/sandbox_transfer_simulate_response.rb +2 -2
- data/lib/plaid/models/sandbox_transfer_sweep_simulate_request.rb +2 -2
- data/lib/plaid/models/sandbox_transfer_sweep_simulate_response.rb +2 -2
- data/lib/plaid/models/sandbox_transfer_test_clock_advance_request.rb +2 -2
- data/lib/plaid/models/sandbox_transfer_test_clock_advance_response.rb +2 -2
- data/lib/plaid/models/sandbox_transfer_test_clock_create_request.rb +2 -2
- data/lib/plaid/models/sandbox_transfer_test_clock_create_response.rb +2 -2
- data/lib/plaid/models/sandbox_transfer_test_clock_get_request.rb +2 -2
- data/lib/plaid/models/sandbox_transfer_test_clock_get_response.rb +2 -2
- data/lib/plaid/models/sandbox_transfer_test_clock_list_request.rb +2 -2
- data/lib/plaid/models/sandbox_transfer_test_clock_list_response.rb +2 -2
- data/lib/plaid/models/scopes.rb +2 -2
- data/lib/plaid/models/scopes_context.rb +2 -2
- data/lib/plaid/models/scopes_nullable.rb +2 -2
- data/lib/plaid/models/screening_hit_analysis.rb +24 -2
- data/lib/plaid/models/screening_hit_data.rb +2 -2
- data/lib/plaid/models/screening_hit_date_of_birth_item.rb +2 -2
- data/lib/plaid/models/screening_hit_documents_items.rb +2 -2
- data/lib/plaid/models/screening_hit_names_items.rb +2 -2
- data/lib/plaid/models/screening_status_updated_webhook.rb +24 -2
- data/lib/plaid/models/security.rb +29 -8
- data/lib/plaid/models/security_override.rb +2 -2
- data/lib/plaid/models/selfie_analysis.rb +24 -2
- data/lib/plaid/models/selfie_analysis_document_comparison.rb +2 -2
- data/lib/plaid/models/selfie_capture.rb +2 -2
- data/lib/plaid/models/selfie_check.rb +24 -2
- data/lib/plaid/models/selfie_check_selfie.rb +24 -2
- data/lib/plaid/models/selfie_check_status.rb +2 -2
- data/lib/plaid/models/selfie_status.rb +2 -2
- data/lib/plaid/models/sender_bacs_nullable.rb +2 -2
- data/lib/plaid/models/service.rb +2 -2
- data/lib/plaid/models/service_product_fulfillment.rb +2 -2
- data/lib/plaid/models/service_product_fulfillment_detail.rb +24 -2
- data/lib/plaid/models/service_product_fulfillment_identifier.rb +2 -2
- data/lib/plaid/models/servicer_address_data.rb +2 -2
- data/lib/plaid/models/services.rb +2 -2
- data/lib/plaid/models/signal_address_data.rb +2 -2
- data/lib/plaid/models/signal_decision_outcome.rb +2 -2
- data/lib/plaid/models/signal_decision_report_request.rb +24 -2
- data/lib/plaid/models/signal_decision_report_response.rb +2 -2
- data/lib/plaid/models/signal_device.rb +3 -3
- data/lib/plaid/models/signal_evaluate_core_attributes.rb +161 -7
- data/lib/plaid/models/signal_evaluate_request.rb +43 -6
- data/lib/plaid/models/signal_evaluate_response.rb +13 -3
- data/lib/plaid/models/signal_payment_method.rb +2 -2
- data/lib/plaid/models/signal_person_name.rb +2 -2
- data/lib/plaid/models/signal_prepare_request.rb +2 -2
- data/lib/plaid/models/signal_prepare_response.rb +2 -2
- data/lib/plaid/models/signal_return_report_request.rb +2 -2
- data/lib/plaid/models/signal_return_report_response.rb +2 -2
- data/lib/plaid/models/signal_scores.rb +2 -2
- data/lib/plaid/models/signal_user.rb +3 -3
- data/lib/plaid/models/signal_warning.rb +2 -2
- data/lib/plaid/models/simulated_transfer_sweep.rb +25 -3
- data/lib/plaid/models/single_document_risk_signal.rb +2 -2
- data/lib/plaid/models/source.rb +2 -2
- data/lib/plaid/models/standalone_account_type.rb +2 -2
- data/lib/plaid/models/standalone_currency_code_list.rb +2 -2
- data/lib/plaid/models/standalone_investment_transaction_type.rb +2 -2
- data/lib/plaid/models/statements_account.rb +49 -4
- data/lib/plaid/models/statements_download_request.rb +2 -2
- data/lib/plaid/models/statements_list_request.rb +2 -2
- data/lib/plaid/models/statements_list_response.rb +2 -2
- data/lib/plaid/models/statements_refresh_complete_result.rb +39 -0
- data/lib/plaid/models/statements_refresh_complete_webhook.rb +306 -0
- data/lib/plaid/models/statements_refresh_request.rb +276 -0
- data/lib/plaid/models/statements_refresh_response.rb +226 -0
- data/lib/plaid/models/statements_statement.rb +2 -2
- data/lib/plaid/models/status.rb +2 -2
- data/lib/plaid/models/statuses.rb +2 -2
- data/lib/plaid/models/strategy.rb +2 -2
- data/lib/plaid/models/student_loan.rb +2 -2
- data/lib/plaid/models/student_loan_repayment_model.rb +2 -2
- data/lib/plaid/models/student_loan_status.rb +4 -4
- data/lib/plaid/models/student_repayment_plan.rb +2 -2
- data/lib/plaid/models/sweep_status.rb +2 -2
- data/lib/plaid/models/sweep_trigger.rb +2 -2
- data/lib/plaid/models/sync_updates_available_webhook.rb +26 -4
- data/lib/plaid/models/taxform.rb +2 -2
- data/lib/plaid/models/taxpayer_id.rb +2 -2
- data/lib/plaid/models/taxpayer_identifier.rb +24 -2
- data/lib/plaid/models/taxpayer_identifier_type.rb +2 -2
- data/lib/plaid/models/taxpayer_identifiers.rb +2 -2
- data/lib/plaid/models/total.rb +24 -2
- data/lib/plaid/models/total_canonical_description.rb +2 -2
- data/lib/plaid/models/transaction.rb +2 -2
- data/lib/plaid/models/transaction_all_of.rb +2 -2
- data/lib/plaid/models/transaction_base.rb +2 -2
- data/lib/plaid/models/transaction_code.rb +2 -2
- data/lib/plaid/models/transaction_counterparty.rb +24 -2
- data/lib/plaid/models/transaction_data.rb +2 -2
- data/lib/plaid/models/transaction_override.rb +2 -2
- data/lib/plaid/models/transaction_stream.rb +32 -10
- data/lib/plaid/models/transaction_stream_amount.rb +2 -2
- data/lib/plaid/models/transaction_stream_status.rb +2 -2
- data/lib/plaid/models/transactions_category_rule.rb +2 -2
- data/lib/plaid/models/transactions_enhance_get_request.rb +2 -2
- data/lib/plaid/models/transactions_enhance_get_response.rb +2 -2
- data/lib/plaid/models/transactions_enrich_request.rb +2 -2
- data/lib/plaid/models/transactions_enrich_request_options.rb +2 -2
- data/lib/plaid/models/transactions_enrich_response.rb +2 -2
- data/lib/plaid/models/transactions_get_request.rb +2 -2
- data/lib/plaid/models/transactions_get_request_options.rb +44 -6
- data/lib/plaid/models/transactions_get_response.rb +2 -2
- data/lib/plaid/models/transactions_recurring_create_input.rb +2 -2
- data/lib/plaid/models/transactions_recurring_create_request.rb +2 -2
- data/lib/plaid/models/transactions_recurring_create_response.rb +2 -2
- data/lib/plaid/models/transactions_recurring_get_request.rb +2 -2
- data/lib/plaid/models/transactions_recurring_get_request_options.rb +2 -2
- data/lib/plaid/models/transactions_recurring_get_response.rb +2 -2
- data/lib/plaid/models/transactions_recurring_merge_input.rb +2 -2
- data/lib/plaid/models/transactions_recurring_merge_request.rb +2 -2
- data/lib/plaid/models/transactions_recurring_merge_response.rb +2 -2
- data/lib/plaid/models/transactions_recurring_update_input.rb +2 -2
- data/lib/plaid/models/transactions_recurring_update_request.rb +2 -2
- data/lib/plaid/models/transactions_recurring_update_response.rb +2 -2
- data/lib/plaid/models/transactions_refresh_request.rb +2 -2
- data/lib/plaid/models/transactions_refresh_response.rb +2 -2
- data/lib/plaid/models/transactions_removed_webhook.rb +24 -2
- data/lib/plaid/models/transactions_rule_details.rb +24 -2
- data/lib/plaid/models/transactions_rule_field.rb +2 -2
- data/lib/plaid/models/transactions_rule_type.rb +2 -2
- data/lib/plaid/models/transactions_rules_create_request.rb +2 -2
- data/lib/plaid/models/transactions_rules_create_response.rb +2 -2
- data/lib/plaid/models/transactions_rules_list_request.rb +2 -2
- data/lib/plaid/models/transactions_rules_list_response.rb +2 -2
- data/lib/plaid/models/transactions_rules_remove_request.rb +2 -2
- data/lib/plaid/models/transactions_rules_remove_response.rb +2 -2
- data/lib/plaid/models/transactions_sync_request.rb +3 -3
- data/lib/plaid/models/transactions_sync_request_options.rb +44 -6
- data/lib/plaid/models/transactions_sync_response.rb +2 -2
- data/lib/plaid/models/transactions_user_insights_get_request.rb +2 -2
- data/lib/plaid/models/transactions_user_insights_get_response.rb +2 -2
- data/lib/plaid/models/transfer.rb +41 -5
- data/lib/plaid/models/transfer_ach_network.rb +2 -2
- data/lib/plaid/models/transfer_authorization.rb +24 -2
- data/lib/plaid/models/transfer_authorization_create_request.rb +35 -4
- data/lib/plaid/models/transfer_authorization_create_response.rb +2 -2
- data/lib/plaid/models/transfer_authorization_decision.rb +2 -2
- data/lib/plaid/models/transfer_authorization_decision_rationale.rb +24 -2
- data/lib/plaid/models/transfer_authorization_decision_rationale_code.rb +2 -2
- data/lib/plaid/models/transfer_authorization_device.rb +2 -2
- data/lib/plaid/models/transfer_authorization_guarantee_decision.rb +2 -2
- data/lib/plaid/models/transfer_authorization_guarantee_decision_rationale.rb +24 -2
- data/lib/plaid/models/transfer_authorization_guarantee_decision_rationale_code.rb +2 -2
- data/lib/plaid/models/transfer_authorization_payment_risk.rb +24 -2
- data/lib/plaid/models/transfer_authorization_proposed_transfer.rb +40 -4
- data/lib/plaid/models/transfer_authorization_risk_level.rb +2 -2
- data/lib/plaid/models/transfer_authorization_user_in_request.rb +2 -2
- data/lib/plaid/models/transfer_balance.rb +24 -2
- data/lib/plaid/models/transfer_balance_get_request.rb +24 -2
- data/lib/plaid/models/transfer_balance_get_response.rb +2 -2
- data/lib/plaid/models/transfer_balance_type.rb +2 -2
- data/lib/plaid/models/transfer_cancel_request.rb +2 -2
- data/lib/plaid/models/transfer_cancel_response.rb +2 -2
- data/lib/plaid/models/transfer_capabilities_get_request.rb +2 -2
- data/lib/plaid/models/transfer_capabilities_get_response.rb +2 -2
- data/lib/plaid/models/transfer_capabilities_get_rtp.rb +2 -2
- data/lib/plaid/models/transfer_configuration_get_request.rb +2 -2
- data/lib/plaid/models/transfer_configuration_get_response.rb +2 -2
- data/lib/plaid/models/transfer_create_request.rb +3 -3
- data/lib/plaid/models/transfer_create_response.rb +2 -2
- data/lib/plaid/models/transfer_credit_funds_source.rb +2 -2
- data/lib/plaid/models/transfer_credit_usage_configuration.rb +24 -2
- data/lib/plaid/models/transfer_debit_usage_configuration.rb +24 -2
- data/lib/plaid/models/transfer_device.rb +2 -2
- data/lib/plaid/models/transfer_diligence_document_upload_request.rb +24 -2
- data/lib/plaid/models/transfer_diligence_document_upload_response.rb +2 -2
- data/lib/plaid/models/transfer_diligence_status.rb +2 -2
- data/lib/plaid/models/transfer_diligence_submit_request.rb +2 -2
- data/lib/plaid/models/transfer_diligence_submit_response.rb +2 -2
- data/lib/plaid/models/transfer_document_purpose.rb +2 -2
- data/lib/plaid/models/transfer_event.rb +24 -2
- data/lib/plaid/models/transfer_event_list_request.rb +24 -2
- data/lib/plaid/models/transfer_event_list_response.rb +2 -2
- data/lib/plaid/models/transfer_event_list_transfer_type.rb +2 -2
- data/lib/plaid/models/transfer_event_sync_request.rb +2 -2
- data/lib/plaid/models/transfer_event_sync_response.rb +2 -2
- data/lib/plaid/models/transfer_event_type.rb +2 -2
- data/lib/plaid/models/transfer_events_update_webhook.rb +24 -2
- data/lib/plaid/models/transfer_expected_sweep_settlement_schedule_item.rb +2 -2
- data/lib/plaid/models/transfer_failure.rb +2 -2
- data/lib/plaid/models/transfer_funding_account.rb +2 -2
- data/lib/plaid/models/transfer_get_request.rb +2 -2
- data/lib/plaid/models/transfer_get_response.rb +2 -2
- data/lib/plaid/models/transfer_intent_authorization_decision.rb +2 -2
- data/lib/plaid/models/transfer_intent_create.rb +24 -2
- data/lib/plaid/models/transfer_intent_create_mode.rb +2 -2
- data/lib/plaid/models/transfer_intent_create_network.rb +2 -2
- data/lib/plaid/models/transfer_intent_create_request.rb +31 -9
- data/lib/plaid/models/transfer_intent_create_response.rb +2 -2
- data/lib/plaid/models/transfer_intent_get.rb +24 -2
- data/lib/plaid/models/transfer_intent_get_failure_reason.rb +2 -2
- data/lib/plaid/models/transfer_intent_get_request.rb +2 -2
- data/lib/plaid/models/transfer_intent_get_response.rb +2 -2
- data/lib/plaid/models/transfer_intent_status.rb +2 -2
- data/lib/plaid/models/transfer_ledger_balance.rb +2 -2
- data/lib/plaid/models/transfer_ledger_deposit_request.rb +24 -2
- data/lib/plaid/models/transfer_ledger_deposit_response.rb +2 -2
- data/lib/plaid/models/transfer_ledger_distribute_request.rb +2 -2
- data/lib/plaid/models/transfer_ledger_distribute_response.rb +2 -2
- data/lib/plaid/models/transfer_ledger_get_request.rb +2 -2
- data/lib/plaid/models/transfer_ledger_get_response.rb +2 -2
- data/lib/plaid/models/transfer_ledger_sweep_simulate_event_type.rb +2 -2
- data/lib/plaid/models/transfer_ledger_withdraw_request.rb +24 -2
- data/lib/plaid/models/transfer_ledger_withdraw_response.rb +2 -2
- data/lib/plaid/models/transfer_list_request.rb +2 -2
- data/lib/plaid/models/transfer_list_response.rb +2 -2
- data/lib/plaid/models/transfer_metrics_get_request.rb +2 -2
- data/lib/plaid/models/transfer_metrics_get_response.rb +2 -2
- data/lib/plaid/models/transfer_migrate_account_request.rb +3 -3
- data/lib/plaid/models/transfer_migrate_account_response.rb +2 -2
- data/lib/plaid/models/transfer_network.rb +3 -2
- data/lib/plaid/models/transfer_originator_address.rb +2 -2
- data/lib/plaid/models/transfer_originator_create_request.rb +2 -2
- data/lib/plaid/models/transfer_originator_create_response.rb +2 -2
- data/lib/plaid/models/transfer_originator_diligence.rb +2 -2
- data/lib/plaid/models/transfer_originator_funding_account_update_request.rb +2 -2
- data/lib/plaid/models/transfer_originator_funding_account_update_response.rb +2 -2
- data/lib/plaid/models/transfer_originator_get_request.rb +2 -2
- data/lib/plaid/models/transfer_originator_get_response.rb +2 -2
- data/lib/plaid/models/transfer_originator_list_request.rb +2 -2
- data/lib/plaid/models/transfer_originator_list_response.rb +2 -2
- data/lib/plaid/models/transfer_questionnaire_create_request.rb +2 -2
- data/lib/plaid/models/transfer_questionnaire_create_response.rb +2 -2
- data/lib/plaid/models/transfer_recurring_cancel_request.rb +2 -2
- data/lib/plaid/models/transfer_recurring_cancel_response.rb +2 -2
- data/lib/plaid/models/transfer_recurring_create_request.rb +24 -2
- data/lib/plaid/models/transfer_recurring_create_response.rb +24 -2
- data/lib/plaid/models/transfer_recurring_get_request.rb +2 -2
- data/lib/plaid/models/transfer_recurring_get_response.rb +2 -2
- data/lib/plaid/models/transfer_recurring_list_request.rb +2 -2
- data/lib/plaid/models/transfer_recurring_list_response.rb +2 -2
- data/lib/plaid/models/transfer_recurring_schedule.rb +24 -2
- data/lib/plaid/models/transfer_recurring_status.rb +2 -2
- data/lib/plaid/models/transfer_refund.rb +25 -3
- data/lib/plaid/models/transfer_refund_cancel_request.rb +2 -2
- data/lib/plaid/models/transfer_refund_cancel_response.rb +2 -2
- data/lib/plaid/models/transfer_refund_create_request.rb +2 -2
- data/lib/plaid/models/transfer_refund_create_response.rb +2 -2
- data/lib/plaid/models/transfer_refund_failure.rb +2 -2
- data/lib/plaid/models/transfer_refund_get_request.rb +2 -2
- data/lib/plaid/models/transfer_refund_get_response.rb +2 -2
- data/lib/plaid/models/transfer_refund_status.rb +2 -2
- data/lib/plaid/models/transfer_repayment.rb +2 -2
- data/lib/plaid/models/transfer_repayment_list_request.rb +2 -2
- data/lib/plaid/models/transfer_repayment_list_response.rb +2 -2
- data/lib/plaid/models/transfer_repayment_return.rb +2 -2
- data/lib/plaid/models/transfer_repayment_return_list_request.rb +2 -2
- data/lib/plaid/models/transfer_repayment_return_list_response.rb +2 -2
- data/lib/plaid/models/transfer_schedule_interval_unit.rb +2 -2
- data/lib/plaid/models/transfer_status.rb +2 -2
- data/lib/plaid/models/transfer_sweep.rb +25 -3
- data/lib/plaid/models/transfer_sweep_get_request.rb +2 -2
- data/lib/plaid/models/transfer_sweep_get_response.rb +2 -2
- data/lib/plaid/models/transfer_sweep_list_request.rb +24 -2
- data/lib/plaid/models/transfer_sweep_list_response.rb +2 -2
- data/lib/plaid/models/transfer_sweep_status.rb +2 -2
- data/lib/plaid/models/transfer_test_clock.rb +2 -2
- data/lib/plaid/models/transfer_type.rb +2 -2
- data/lib/plaid/models/transfer_user_address_in_request.rb +2 -2
- data/lib/plaid/models/transfer_user_address_in_response.rb +2 -2
- data/lib/plaid/models/transfer_user_in_request.rb +2 -2
- data/lib/plaid/models/transfer_user_in_request_deprecated.rb +2 -2
- data/lib/plaid/models/transfer_user_in_response.rb +2 -2
- data/lib/plaid/models/transfer_wire_details.rb +222 -0
- data/lib/plaid/models/update_entity_screening_request_search_terms.rb +2 -2
- data/lib/plaid/models/update_individual_screening_request_search_terms.rb +2 -2
- data/lib/plaid/models/user_account_revoked_webhook.rb +317 -0
- data/lib/plaid/models/user_address.rb +6 -14
- data/lib/plaid/models/user_create_request.rb +2 -2
- data/lib/plaid/models/user_create_response.rb +2 -2
- data/lib/plaid/models/user_custom_password.rb +2 -2
- data/lib/plaid/models/user_data_overview.rb +2 -2
- data/lib/plaid/models/user_id_number.rb +24 -2
- data/lib/plaid/models/user_permission_revoked_webhook.rb +25 -3
- data/lib/plaid/models/user_stated_income_source_category.rb +2 -2
- data/lib/plaid/models/user_stated_income_source_frequency.rb +2 -2
- data/lib/plaid/models/user_stated_income_source_pay_type.rb +2 -2
- data/lib/plaid/models/user_update_request.rb +2 -2
- data/lib/plaid/models/user_update_response.rb +2 -2
- data/lib/plaid/models/validation_source.rb +2 -2
- data/lib/plaid/models/validation_sources.rb +2 -2
- data/lib/plaid/models/verification_expired_webhook.rb +24 -2
- data/lib/plaid/models/verification_of_asset.rb +2 -2
- data/lib/plaid/models/verification_of_asset_response.rb +2 -2
- data/lib/plaid/models/verification_refresh_status.rb +2 -2
- data/lib/plaid/models/verification_status.rb +2 -2
- data/lib/plaid/models/w2.rb +2 -2
- data/lib/plaid/models/w2_box12.rb +2 -2
- data/lib/plaid/models/w2_state_and_local_wages.rb +2 -2
- data/lib/plaid/models/wallet.rb +24 -2
- data/lib/plaid/models/wallet_balance.rb +21 -6
- data/lib/plaid/models/wallet_create_request.rb +24 -2
- data/lib/plaid/models/wallet_create_response.rb +24 -2
- data/lib/plaid/models/wallet_get_request.rb +2 -2
- data/lib/plaid/models/wallet_get_response.rb +24 -2
- data/lib/plaid/models/wallet_iso_currency_code.rb +2 -2
- data/lib/plaid/models/wallet_list_request.rb +24 -2
- data/lib/plaid/models/wallet_list_response.rb +2 -2
- data/lib/plaid/models/wallet_numbers.rb +2 -2
- data/lib/plaid/models/wallet_payment_scheme.rb +2 -2
- data/lib/plaid/models/wallet_status.rb +2 -2
- data/lib/plaid/models/wallet_transaction.rb +2 -2
- data/lib/plaid/models/wallet_transaction_amount.rb +24 -2
- data/lib/plaid/models/wallet_transaction_counterparty.rb +2 -2
- data/lib/plaid/models/wallet_transaction_counterparty_bacs.rb +2 -2
- data/lib/plaid/models/wallet_transaction_counterparty_international.rb +2 -2
- data/lib/plaid/models/wallet_transaction_counterparty_numbers.rb +2 -2
- data/lib/plaid/models/wallet_transaction_execute_request.rb +2 -2
- data/lib/plaid/models/wallet_transaction_execute_response.rb +24 -2
- data/lib/plaid/models/wallet_transaction_failure_reason.rb +2 -2
- data/lib/plaid/models/wallet_transaction_get_request.rb +2 -2
- data/lib/plaid/models/wallet_transaction_get_response.rb +2 -2
- data/lib/plaid/models/wallet_transaction_list_request.rb +2 -2
- data/lib/plaid/models/wallet_transaction_list_request_options.rb +2 -2
- data/lib/plaid/models/wallet_transaction_list_response.rb +2 -2
- data/lib/plaid/models/wallet_transaction_status.rb +2 -2
- data/lib/plaid/models/wallet_transaction_status_update_webhook.rb +24 -2
- data/lib/plaid/models/wallet_transactions_list_request.rb +2 -2
- data/lib/plaid/models/warning.rb +2 -2
- data/lib/plaid/models/watchlist_screening_audit_trail.rb +24 -2
- data/lib/plaid/models/watchlist_screening_document.rb +24 -2
- data/lib/plaid/models/watchlist_screening_document_type.rb +2 -2
- data/lib/plaid/models/watchlist_screening_entity_create_request.rb +2 -2
- data/lib/plaid/models/watchlist_screening_entity_create_response.rb +24 -2
- data/lib/plaid/models/watchlist_screening_entity_get_request.rb +2 -2
- data/lib/plaid/models/watchlist_screening_entity_get_response.rb +24 -2
- data/lib/plaid/models/watchlist_screening_entity_history_list_request.rb +2 -2
- data/lib/plaid/models/watchlist_screening_entity_history_list_response.rb +2 -2
- data/lib/plaid/models/watchlist_screening_entity_hit_list_request.rb +2 -2
- data/lib/plaid/models/watchlist_screening_entity_hit_list_response.rb +2 -2
- data/lib/plaid/models/watchlist_screening_entity_list_request.rb +24 -2
- data/lib/plaid/models/watchlist_screening_entity_list_response.rb +2 -2
- data/lib/plaid/models/watchlist_screening_entity_program_get_request.rb +2 -2
- data/lib/plaid/models/watchlist_screening_entity_program_get_response.rb +24 -2
- data/lib/plaid/models/watchlist_screening_entity_program_list_request.rb +2 -2
- data/lib/plaid/models/watchlist_screening_entity_program_list_response.rb +2 -2
- data/lib/plaid/models/watchlist_screening_entity_review_create_request.rb +2 -2
- data/lib/plaid/models/watchlist_screening_entity_review_create_response.rb +2 -2
- data/lib/plaid/models/watchlist_screening_entity_review_list_request.rb +2 -2
- data/lib/plaid/models/watchlist_screening_entity_review_list_response.rb +2 -2
- data/lib/plaid/models/watchlist_screening_entity_update_request.rb +24 -2
- data/lib/plaid/models/watchlist_screening_entity_update_request_resettable_field.rb +2 -2
- data/lib/plaid/models/watchlist_screening_entity_update_response.rb +24 -2
- data/lib/plaid/models/watchlist_screening_hit.rb +24 -2
- data/lib/plaid/models/watchlist_screening_hit_locations.rb +2 -2
- data/lib/plaid/models/watchlist_screening_hit_status.rb +2 -2
- data/lib/plaid/models/watchlist_screening_individual.rb +24 -2
- data/lib/plaid/models/watchlist_screening_individual_create_request.rb +2 -2
- data/lib/plaid/models/watchlist_screening_individual_create_response.rb +24 -2
- data/lib/plaid/models/watchlist_screening_individual_get_request.rb +2 -2
- data/lib/plaid/models/watchlist_screening_individual_get_response.rb +24 -2
- data/lib/plaid/models/watchlist_screening_individual_history_list_request.rb +2 -2
- data/lib/plaid/models/watchlist_screening_individual_history_list_response.rb +2 -2
- data/lib/plaid/models/watchlist_screening_individual_hit_list_request.rb +2 -2
- data/lib/plaid/models/watchlist_screening_individual_hit_list_response.rb +2 -2
- data/lib/plaid/models/watchlist_screening_individual_list_request.rb +24 -2
- data/lib/plaid/models/watchlist_screening_individual_list_response.rb +2 -2
- data/lib/plaid/models/watchlist_screening_individual_program_get_request.rb +2 -2
- data/lib/plaid/models/watchlist_screening_individual_program_get_response.rb +24 -2
- data/lib/plaid/models/watchlist_screening_individual_program_list_request.rb +2 -2
- data/lib/plaid/models/watchlist_screening_individual_program_list_response.rb +2 -2
- data/lib/plaid/models/watchlist_screening_individual_review_create_request.rb +2 -2
- data/lib/plaid/models/watchlist_screening_individual_review_create_response.rb +2 -2
- data/lib/plaid/models/watchlist_screening_individual_review_list_request.rb +2 -2
- data/lib/plaid/models/watchlist_screening_individual_review_list_response.rb +2 -2
- data/lib/plaid/models/watchlist_screening_individual_update_request.rb +24 -2
- data/lib/plaid/models/watchlist_screening_individual_update_request_resettable_field.rb +2 -2
- data/lib/plaid/models/watchlist_screening_individual_update_response.rb +24 -2
- data/lib/plaid/models/watchlist_screening_request_search_terms.rb +2 -2
- data/lib/plaid/models/watchlist_screening_review.rb +2 -2
- data/lib/plaid/models/watchlist_screening_search_terms.rb +2 -2
- data/lib/plaid/models/watchlist_screening_status.rb +2 -2
- data/lib/plaid/models/weak_alias_determination.rb +2 -2
- data/lib/plaid/models/webhook_environment_values.rb +2 -2
- data/lib/plaid/models/webhook_type.rb +2 -2
- data/lib/plaid/models/webhook_update_acknowledged_webhook.rb +24 -2
- data/lib/plaid/models/webhook_verification_key_get_request.rb +2 -2
- data/lib/plaid/models/webhook_verification_key_get_response.rb +2 -2
- data/lib/plaid/models/ytd_gross_income_summary_field_number.rb +24 -2
- data/lib/plaid/models/ytd_net_income_summary_field_number.rb +24 -2
- data/lib/plaid/version.rb +3 -3
- data/lib/plaid.rb +75 -3
- data/plaid.gemspec +2 -2
- data/templates/ruby/api_client.mustache +5 -0
- data/templates/ruby/api_client_faraday_partial.mustache +4 -2
- data/templates/ruby/api_error.mustache +2 -1
- data/templates/ruby/configuration.mustache +14 -2
- data/templates/ruby/gemspec.mustache +1 -1
- data/test/test_api_client.rb +28 -1
- data/test/test_helper.rb +12 -3
- metadata +75 -3
data/lib/plaid.rb
CHANGED
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#The Plaid REST API. Please see https://plaid.com/docs/api for more details.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2020-09-14_1.
|
6
|
+
The version of the OpenAPI document: 2020-09-14_1.496.2
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 6.
|
9
|
+
OpenAPI Generator version: 6.3.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -21,7 +21,6 @@ Plaid.autoload :ACHClass, 'plaid/models/ach_class'
|
|
21
21
|
Plaid.autoload :APR, 'plaid/models/apr'
|
22
22
|
Plaid.autoload :AccountAccess, 'plaid/models/account_access'
|
23
23
|
Plaid.autoload :AccountAssets, 'plaid/models/account_assets'
|
24
|
-
Plaid.autoload :AccountAssetsAllOf, 'plaid/models/account_assets_all_of'
|
25
24
|
Plaid.autoload :AccountBalance, 'plaid/models/account_balance'
|
26
25
|
Plaid.autoload :AccountBase, 'plaid/models/account_base'
|
27
26
|
Plaid.autoload :AccountFilter, 'plaid/models/account_filter'
|
@@ -35,8 +34,14 @@ Plaid.autoload :AccountProductAccessNullable, 'plaid/models/account_product_acce
|
|
35
34
|
Plaid.autoload :AccountSelectionCardinality, 'plaid/models/account_selection_cardinality'
|
36
35
|
Plaid.autoload :AccountSubtype, 'plaid/models/account_subtype'
|
37
36
|
Plaid.autoload :AccountType, 'plaid/models/account_type'
|
37
|
+
Plaid.autoload :AccountVerificationInsights, 'plaid/models/account_verification_insights'
|
38
|
+
Plaid.autoload :AccountVerificationInsightsAccountNumberFormat, 'plaid/models/account_verification_insights_account_number_format'
|
39
|
+
Plaid.autoload :AccountVerificationInsightsNetworkStatus, 'plaid/models/account_verification_insights_network_status'
|
40
|
+
Plaid.autoload :AccountVerificationInsightsPreviousReturns, 'plaid/models/account_verification_insights_previous_returns'
|
38
41
|
Plaid.autoload :AccountsBalanceGetRequest, 'plaid/models/accounts_balance_get_request'
|
39
42
|
Plaid.autoload :AccountsBalanceGetRequestOptions, 'plaid/models/accounts_balance_get_request_options'
|
43
|
+
Plaid.autoload :AccountsBalanceGetRequestPaymentDetails, 'plaid/models/accounts_balance_get_request_payment_details'
|
44
|
+
Plaid.autoload :AccountsBalanceGetResponsePaymentRiskAssessment, 'plaid/models/accounts_balance_get_response_payment_risk_assessment'
|
40
45
|
Plaid.autoload :AccountsGetRequest, 'plaid/models/accounts_get_request'
|
41
46
|
Plaid.autoload :AccountsGetRequestOptions, 'plaid/models/accounts_get_request_options'
|
42
47
|
Plaid.autoload :AccountsGetResponse, 'plaid/models/accounts_get_response'
|
@@ -61,6 +66,7 @@ Plaid.autoload :AssetHolderName, 'plaid/models/asset_holder_name'
|
|
61
66
|
Plaid.autoload :AssetOwner, 'plaid/models/asset_owner'
|
62
67
|
Plaid.autoload :AssetOwners, 'plaid/models/asset_owners'
|
63
68
|
Plaid.autoload :AssetReport, 'plaid/models/asset_report'
|
69
|
+
Plaid.autoload :AssetReportAccountBalance, 'plaid/models/asset_report_account_balance'
|
64
70
|
Plaid.autoload :AssetReportAddOns, 'plaid/models/asset_report_add_ons'
|
65
71
|
Plaid.autoload :AssetReportAuditCopyCreateRequest, 'plaid/models/asset_report_audit_copy_create_request'
|
66
72
|
Plaid.autoload :AssetReportAuditCopyCreateResponse, 'plaid/models/asset_report_audit_copy_create_response'
|
@@ -109,6 +115,7 @@ Plaid.autoload :AuthGetResponse, 'plaid/models/auth_get_response'
|
|
109
115
|
Plaid.autoload :AuthMetadata, 'plaid/models/auth_metadata'
|
110
116
|
Plaid.autoload :AuthSupportedMethods, 'plaid/models/auth_supported_methods'
|
111
117
|
Plaid.autoload :AutomaticallyVerifiedWebhook, 'plaid/models/automatically_verified_webhook'
|
118
|
+
Plaid.autoload :BalancePlusAttributes, 'plaid/models/balance_plus_attributes'
|
112
119
|
Plaid.autoload :BankIncomeCompleteResult, 'plaid/models/bank_income_complete_result'
|
113
120
|
Plaid.autoload :BankIncomeCompleteWebhook, 'plaid/models/bank_income_complete_webhook'
|
114
121
|
Plaid.autoload :BankIncomeRefreshCompleteResult, 'plaid/models/bank_income_refresh_complete_result'
|
@@ -169,18 +176,29 @@ Plaid.autoload :BaseReportsErrorWebhook, 'plaid/models/base_reports_error_webhoo
|
|
169
176
|
Plaid.autoload :BaseReportsProductReadyWebhook, 'plaid/models/base_reports_product_ready_webhook'
|
170
177
|
Plaid.autoload :BeaconAuditTrail, 'plaid/models/beacon_audit_trail'
|
171
178
|
Plaid.autoload :BeaconAuditTrailSource, 'plaid/models/beacon_audit_trail_source'
|
179
|
+
Plaid.autoload :BeaconDuplicateDetectedWebhook, 'plaid/models/beacon_duplicate_detected_webhook'
|
180
|
+
Plaid.autoload :BeaconDuplicateGetRequest, 'plaid/models/beacon_duplicate_get_request'
|
181
|
+
Plaid.autoload :BeaconDuplicateGetResponse, 'plaid/models/beacon_duplicate_get_response'
|
182
|
+
Plaid.autoload :BeaconMatchSummaryAnalysis, 'plaid/models/beacon_match_summary_analysis'
|
172
183
|
Plaid.autoload :BeaconMatchSummaryCode, 'plaid/models/beacon_match_summary_code'
|
173
184
|
Plaid.autoload :BeaconReport, 'plaid/models/beacon_report'
|
174
185
|
Plaid.autoload :BeaconReportCreateRequest, 'plaid/models/beacon_report_create_request'
|
175
186
|
Plaid.autoload :BeaconReportCreateResponse, 'plaid/models/beacon_report_create_response'
|
187
|
+
Plaid.autoload :BeaconReportCreatedWebhook, 'plaid/models/beacon_report_created_webhook'
|
188
|
+
Plaid.autoload :BeaconReportGetRequest, 'plaid/models/beacon_report_get_request'
|
189
|
+
Plaid.autoload :BeaconReportGetResponse, 'plaid/models/beacon_report_get_response'
|
176
190
|
Plaid.autoload :BeaconReportListRequest, 'plaid/models/beacon_report_list_request'
|
177
191
|
Plaid.autoload :BeaconReportListResponse, 'plaid/models/beacon_report_list_response'
|
178
192
|
Plaid.autoload :BeaconReportSyndication, 'plaid/models/beacon_report_syndication'
|
179
193
|
Plaid.autoload :BeaconReportSyndicationAnalysis, 'plaid/models/beacon_report_syndication_analysis'
|
194
|
+
Plaid.autoload :BeaconReportSyndicationCreatedWebhook, 'plaid/models/beacon_report_syndication_created_webhook'
|
195
|
+
Plaid.autoload :BeaconReportSyndicationGetRequest, 'plaid/models/beacon_report_syndication_get_request'
|
196
|
+
Plaid.autoload :BeaconReportSyndicationGetResponse, 'plaid/models/beacon_report_syndication_get_response'
|
180
197
|
Plaid.autoload :BeaconReportSyndicationListRequest, 'plaid/models/beacon_report_syndication_list_request'
|
181
198
|
Plaid.autoload :BeaconReportSyndicationListResponse, 'plaid/models/beacon_report_syndication_list_response'
|
182
199
|
Plaid.autoload :BeaconReportSyndicationOriginalReport, 'plaid/models/beacon_report_syndication_original_report'
|
183
200
|
Plaid.autoload :BeaconReportType, 'plaid/models/beacon_report_type'
|
201
|
+
Plaid.autoload :BeaconReportUpdatedWebhook, 'plaid/models/beacon_report_updated_webhook'
|
184
202
|
Plaid.autoload :BeaconUserAddress, 'plaid/models/beacon_user_address'
|
185
203
|
Plaid.autoload :BeaconUserCreateRequest, 'plaid/models/beacon_user_create_request'
|
186
204
|
Plaid.autoload :BeaconUserCreateResponse, 'plaid/models/beacon_user_create_response'
|
@@ -189,11 +207,17 @@ Plaid.autoload :BeaconUserGetRequest, 'plaid/models/beacon_user_get_request'
|
|
189
207
|
Plaid.autoload :BeaconUserGetResponse, 'plaid/models/beacon_user_get_response'
|
190
208
|
Plaid.autoload :BeaconUserIDNumber, 'plaid/models/beacon_user_id_number'
|
191
209
|
Plaid.autoload :BeaconUserName, 'plaid/models/beacon_user_name'
|
210
|
+
Plaid.autoload :BeaconUserNameNullable, 'plaid/models/beacon_user_name_nullable'
|
192
211
|
Plaid.autoload :BeaconUserRequestAddress, 'plaid/models/beacon_user_request_address'
|
212
|
+
Plaid.autoload :BeaconUserRequestAddressNullable, 'plaid/models/beacon_user_request_address_nullable'
|
193
213
|
Plaid.autoload :BeaconUserRequestData, 'plaid/models/beacon_user_request_data'
|
194
214
|
Plaid.autoload :BeaconUserReviewRequest, 'plaid/models/beacon_user_review_request'
|
215
|
+
Plaid.autoload :BeaconUserRevision, 'plaid/models/beacon_user_revision'
|
195
216
|
Plaid.autoload :BeaconUserStatus, 'plaid/models/beacon_user_status'
|
196
217
|
Plaid.autoload :BeaconUserStatusUpdatedWebhook, 'plaid/models/beacon_user_status_updated_webhook'
|
218
|
+
Plaid.autoload :BeaconUserUpdateRequest, 'plaid/models/beacon_user_update_request'
|
219
|
+
Plaid.autoload :BeaconUserUpdateRequestData, 'plaid/models/beacon_user_update_request_data'
|
220
|
+
Plaid.autoload :BeaconUserUpdateResponse, 'plaid/models/beacon_user_update_response'
|
197
221
|
Plaid.autoload :CategoriesGetResponse, 'plaid/models/categories_get_response'
|
198
222
|
Plaid.autoload :Category, 'plaid/models/category'
|
199
223
|
Plaid.autoload :CategoryInsightDetails, 'plaid/models/category_insight_details'
|
@@ -227,6 +251,15 @@ Plaid.autoload :CraBankIncomeSummary, 'plaid/models/cra_bank_income_summary'
|
|
227
251
|
Plaid.autoload :CraBankIncomeTransaction, 'plaid/models/cra_bank_income_transaction'
|
228
252
|
Plaid.autoload :CraBankIncomeWarning, 'plaid/models/cra_bank_income_warning'
|
229
253
|
Plaid.autoload :CraBankIncomeWarningCode, 'plaid/models/cra_bank_income_warning_code'
|
254
|
+
Plaid.autoload :CraPartnerInsights, 'plaid/models/cra_partner_insights'
|
255
|
+
Plaid.autoload :CraPartnerInsightsCompleteResult, 'plaid/models/cra_partner_insights_complete_result'
|
256
|
+
Plaid.autoload :CraPartnerInsightsCompleteWebhook, 'plaid/models/cra_partner_insights_complete_webhook'
|
257
|
+
Plaid.autoload :CraPartnerInsightsGetRequest, 'plaid/models/cra_partner_insights_get_request'
|
258
|
+
Plaid.autoload :CraPartnerInsightsGetResponse, 'plaid/models/cra_partner_insights_get_response'
|
259
|
+
Plaid.autoload :CraPartnerInsightsItem, 'plaid/models/cra_partner_insights_item'
|
260
|
+
Plaid.autoload :CraPartnerInsightsItemAccount, 'plaid/models/cra_partner_insights_item_account'
|
261
|
+
Plaid.autoload :CraPartnerInsightsPrism, 'plaid/models/cra_partner_insights_prism'
|
262
|
+
Plaid.autoload :CraPredictionInterval, 'plaid/models/cra_prediction_interval'
|
230
263
|
Plaid.autoload :Credit1099, 'plaid/models/credit1099'
|
231
264
|
Plaid.autoload :Credit1099Filer, 'plaid/models/credit1099_filer'
|
232
265
|
Plaid.autoload :Credit1099Payer, 'plaid/models/credit1099_payer'
|
@@ -280,6 +313,7 @@ Plaid.autoload :CreditBankStatementUploadItem, 'plaid/models/credit_bank_stateme
|
|
280
313
|
Plaid.autoload :CreditBankStatementUploadObject, 'plaid/models/credit_bank_statement_upload_object'
|
281
314
|
Plaid.autoload :CreditBankStatementUploadTransaction, 'plaid/models/credit_bank_statement_upload_transaction'
|
282
315
|
Plaid.autoload :CreditBankStatementsUploadsGetRequest, 'plaid/models/credit_bank_statements_uploads_get_request'
|
316
|
+
Plaid.autoload :CreditBankStatementsUploadsGetRequestOptions, 'plaid/models/credit_bank_statements_uploads_get_request_options'
|
283
317
|
Plaid.autoload :CreditBankStatementsUploadsGetResponse, 'plaid/models/credit_bank_statements_uploads_get_response'
|
284
318
|
Plaid.autoload :CreditCardLiability, 'plaid/models/credit_card_liability'
|
285
319
|
Plaid.autoload :CreditCategory, 'plaid/models/credit_category'
|
@@ -318,6 +352,7 @@ Plaid.autoload :CreditPayStubEmployer, 'plaid/models/credit_pay_stub_employer'
|
|
318
352
|
Plaid.autoload :CreditPayStubNetPay, 'plaid/models/credit_pay_stub_net_pay'
|
319
353
|
Plaid.autoload :CreditPayStubPayBasisType, 'plaid/models/credit_pay_stub_pay_basis_type'
|
320
354
|
Plaid.autoload :CreditPayrollIncomeGetRequest, 'plaid/models/credit_payroll_income_get_request'
|
355
|
+
Plaid.autoload :CreditPayrollIncomeGetRequestOptions, 'plaid/models/credit_payroll_income_get_request_options'
|
321
356
|
Plaid.autoload :CreditPayrollIncomeGetResponse, 'plaid/models/credit_payroll_income_get_response'
|
322
357
|
Plaid.autoload :CreditPayrollIncomeParsingConfigUpdateRequest, 'plaid/models/credit_payroll_income_parsing_config_update_request'
|
323
358
|
Plaid.autoload :CreditPayrollIncomeParsingConfigUpdateResponse, 'plaid/models/credit_payroll_income_parsing_config_update_response'
|
@@ -471,9 +506,12 @@ Plaid.autoload :Holding, 'plaid/models/holding'
|
|
471
506
|
Plaid.autoload :HoldingsDefaultUpdateWebhook, 'plaid/models/holdings_default_update_webhook'
|
472
507
|
Plaid.autoload :HoldingsOverride, 'plaid/models/holdings_override'
|
473
508
|
Plaid.autoload :HostedLinkDeliveryMethod, 'plaid/models/hosted_link_delivery_method'
|
509
|
+
Plaid.autoload :HostedMMDVerificationWebhook, 'plaid/models/hosted_mmd_verification_webhook'
|
474
510
|
Plaid.autoload :IDNumberType, 'plaid/models/id_number_type'
|
475
511
|
Plaid.autoload :ISOCurrencyCode, 'plaid/models/iso_currency_code'
|
476
512
|
Plaid.autoload :IdentityDefaultUpdateWebhook, 'plaid/models/identity_default_update_webhook'
|
513
|
+
Plaid.autoload :IdentityDocument, 'plaid/models/identity_document'
|
514
|
+
Plaid.autoload :IdentityDocumentMetadata, 'plaid/models/identity_document_metadata'
|
477
515
|
Plaid.autoload :IdentityGetRequest, 'plaid/models/identity_get_request'
|
478
516
|
Plaid.autoload :IdentityGetRequestOptions, 'plaid/models/identity_get_request_options'
|
479
517
|
Plaid.autoload :IdentityGetResponse, 'plaid/models/identity_get_response'
|
@@ -485,6 +523,11 @@ Plaid.autoload :IdentityRefreshRequest, 'plaid/models/identity_refresh_request'
|
|
485
523
|
Plaid.autoload :IdentityRefreshResponse, 'plaid/models/identity_refresh_response'
|
486
524
|
Plaid.autoload :IdentityUpdateTypes, 'plaid/models/identity_update_types'
|
487
525
|
Plaid.autoload :IdentityVerification, 'plaid/models/identity_verification'
|
526
|
+
Plaid.autoload :IdentityVerificationAutofillAddress, 'plaid/models/identity_verification_autofill_address'
|
527
|
+
Plaid.autoload :IdentityVerificationAutofillCreateRequest, 'plaid/models/identity_verification_autofill_create_request'
|
528
|
+
Plaid.autoload :IdentityVerificationAutofillCreateResponse, 'plaid/models/identity_verification_autofill_create_response'
|
529
|
+
Plaid.autoload :IdentityVerificationAutofillStatus, 'plaid/models/identity_verification_autofill_status'
|
530
|
+
Plaid.autoload :IdentityVerificationAutofillUserData, 'plaid/models/identity_verification_autofill_user_data'
|
488
531
|
Plaid.autoload :IdentityVerificationCreateRequest, 'plaid/models/identity_verification_create_request'
|
489
532
|
Plaid.autoload :IdentityVerificationCreateRequestUser, 'plaid/models/identity_verification_create_request_user'
|
490
533
|
Plaid.autoload :IdentityVerificationCreateResponse, 'plaid/models/identity_verification_create_response'
|
@@ -666,9 +709,11 @@ Plaid.autoload :LinkSessionSuccessMetadataAccount, 'plaid/models/link_session_su
|
|
666
709
|
Plaid.autoload :LinkSessionSuccessMetadataInstitution, 'plaid/models/link_session_success_metadata_institution'
|
667
710
|
Plaid.autoload :LinkSessionSuccessMetadataTransferStatus, 'plaid/models/link_session_success_metadata_transfer_status'
|
668
711
|
Plaid.autoload :LinkTokenAccountFilters, 'plaid/models/link_token_account_filters'
|
712
|
+
Plaid.autoload :LinkTokenCreateCardSwitch, 'plaid/models/link_token_create_card_switch'
|
669
713
|
Plaid.autoload :LinkTokenCreateCreditFilter, 'plaid/models/link_token_create_credit_filter'
|
670
714
|
Plaid.autoload :LinkTokenCreateDepositoryFilter, 'plaid/models/link_token_create_depository_filter'
|
671
715
|
Plaid.autoload :LinkTokenCreateHostedLink, 'plaid/models/link_token_create_hosted_link'
|
716
|
+
Plaid.autoload :LinkTokenCreateIdentity, 'plaid/models/link_token_create_identity'
|
672
717
|
Plaid.autoload :LinkTokenCreateInstitutionData, 'plaid/models/link_token_create_institution_data'
|
673
718
|
Plaid.autoload :LinkTokenCreateInvestmentFilter, 'plaid/models/link_token_create_investment_filter'
|
674
719
|
Plaid.autoload :LinkTokenCreateLoanFilter, 'plaid/models/link_token_create_loan_filter'
|
@@ -676,6 +721,7 @@ Plaid.autoload :LinkTokenCreateRequest, 'plaid/models/link_token_create_request'
|
|
676
721
|
Plaid.autoload :LinkTokenCreateRequestAccountSubtypes, 'plaid/models/link_token_create_request_account_subtypes'
|
677
722
|
Plaid.autoload :LinkTokenCreateRequestAuth, 'plaid/models/link_token_create_request_auth'
|
678
723
|
Plaid.autoload :LinkTokenCreateRequestBaseReport, 'plaid/models/link_token_create_request_base_report'
|
724
|
+
Plaid.autoload :LinkTokenCreateRequestCreditPartnerInsights, 'plaid/models/link_token_create_request_credit_partner_insights'
|
679
725
|
Plaid.autoload :LinkTokenCreateRequestDepositSwitch, 'plaid/models/link_token_create_request_deposit_switch'
|
680
726
|
Plaid.autoload :LinkTokenCreateRequestEmployment, 'plaid/models/link_token_create_request_employment'
|
681
727
|
Plaid.autoload :LinkTokenCreateRequestEmploymentBankIncome, 'plaid/models/link_token_create_request_employment_bank_income'
|
@@ -700,6 +746,7 @@ Plaid.autoload :LinkTokenGetResponse, 'plaid/models/link_token_get_response'
|
|
700
746
|
Plaid.autoload :LinkTokenGetSessionsResponse, 'plaid/models/link_token_get_sessions_response'
|
701
747
|
Plaid.autoload :LinkTokenInvestments, 'plaid/models/link_token_investments'
|
702
748
|
Plaid.autoload :LinkTokenInvestmentsAuth, 'plaid/models/link_token_investments_auth'
|
749
|
+
Plaid.autoload :LinkTokenTransactions, 'plaid/models/link_token_transactions'
|
703
750
|
Plaid.autoload :LinkUserDeliveryStatusWebhook, 'plaid/models/link_user_delivery_status_webhook'
|
704
751
|
Plaid.autoload :Loan, 'plaid/models/loan'
|
705
752
|
Plaid.autoload :LoanAccountSubtype, 'plaid/models/loan_account_subtype'
|
@@ -735,6 +782,7 @@ Plaid.autoload :NumbersInternational, 'plaid/models/numbers_international'
|
|
735
782
|
Plaid.autoload :NumbersInternationalIBAN, 'plaid/models/numbers_international_iban'
|
736
783
|
Plaid.autoload :NumbersInternationalNullable, 'plaid/models/numbers_international_nullable'
|
737
784
|
Plaid.autoload :OmittableTransferType, 'plaid/models/omittable_transfer_type'
|
785
|
+
Plaid.autoload :OptionContract, 'plaid/models/option_contract'
|
738
786
|
Plaid.autoload :Originator, 'plaid/models/originator'
|
739
787
|
Plaid.autoload :OriginatorExpectedTransferFrequency, 'plaid/models/originator_expected_transfer_frequency'
|
740
788
|
Plaid.autoload :OtherAccountSubtype, 'plaid/models/other_account_subtype'
|
@@ -781,6 +829,7 @@ Plaid.autoload :Pay, 'plaid/models/pay'
|
|
781
829
|
Plaid.autoload :PayFrequency, 'plaid/models/pay_frequency'
|
782
830
|
Plaid.autoload :PayFrequencyValue, 'plaid/models/pay_frequency_value'
|
783
831
|
Plaid.autoload :PayPeriodDetails, 'plaid/models/pay_period_details'
|
832
|
+
Plaid.autoload :PayPeriodDetailsPayFrequency, 'plaid/models/pay_period_details_pay_frequency'
|
784
833
|
Plaid.autoload :PayStubDeductionsBreakdown, 'plaid/models/pay_stub_deductions_breakdown'
|
785
834
|
Plaid.autoload :PayStubDeductionsTotal, 'plaid/models/pay_stub_deductions_total'
|
786
835
|
Plaid.autoload :PayStubDistributionBreakdown, 'plaid/models/pay_stub_distribution_breakdown'
|
@@ -860,9 +909,11 @@ Plaid.autoload :PaystubDeduction, 'plaid/models/paystub_deduction'
|
|
860
909
|
Plaid.autoload :PaystubDetails, 'plaid/models/paystub_details'
|
861
910
|
Plaid.autoload :PaystubEmployer, 'plaid/models/paystub_employer'
|
862
911
|
Plaid.autoload :PaystubOverride, 'plaid/models/paystub_override'
|
912
|
+
Plaid.autoload :PaystubOverrideDistributionBreakdown, 'plaid/models/paystub_override_distribution_breakdown'
|
863
913
|
Plaid.autoload :PaystubOverrideEmployee, 'plaid/models/paystub_override_employee'
|
864
914
|
Plaid.autoload :PaystubOverrideEmployeeAddress, 'plaid/models/paystub_override_employee_address'
|
865
915
|
Plaid.autoload :PaystubOverrideEmployer, 'plaid/models/paystub_override_employer'
|
916
|
+
Plaid.autoload :PaystubOverridePayPeriodDetails, 'plaid/models/paystub_override_pay_period_details'
|
866
917
|
Plaid.autoload :PaystubPayFrequency, 'plaid/models/paystub_pay_frequency'
|
867
918
|
Plaid.autoload :PaystubYTDDetails, 'plaid/models/paystub_ytd_details'
|
868
919
|
Plaid.autoload :PendingExpirationWebhook, 'plaid/models/pending_expiration_webhook'
|
@@ -877,6 +928,11 @@ Plaid.autoload :PhysicalDocumentImages, 'plaid/models/physical_document_images'
|
|
877
928
|
Plaid.autoload :PlaidError, 'plaid/models/plaid_error'
|
878
929
|
Plaid.autoload :PlaidErrorType, 'plaid/models/plaid_error_type'
|
879
930
|
Plaid.autoload :PlatformIds, 'plaid/models/platform_ids'
|
931
|
+
Plaid.autoload :PrismCashScore, 'plaid/models/prism_cash_score'
|
932
|
+
Plaid.autoload :PrismCashScoreMetadata, 'plaid/models/prism_cash_score_metadata'
|
933
|
+
Plaid.autoload :PrismDetect, 'plaid/models/prism_detect'
|
934
|
+
Plaid.autoload :PrismInsights, 'plaid/models/prism_insights'
|
935
|
+
Plaid.autoload :PrismProduct, 'plaid/models/prism_product'
|
880
936
|
Plaid.autoload :ProcessorAccountGetRequest, 'plaid/models/processor_account_get_request'
|
881
937
|
Plaid.autoload :ProcessorAccountGetResponse, 'plaid/models/processor_account_get_response'
|
882
938
|
Plaid.autoload :ProcessorApexProcessorTokenCreateRequest, 'plaid/models/processor_apex_processor_token_create_request'
|
@@ -894,6 +950,8 @@ Plaid.autoload :ProcessorIdentityGetResponse, 'plaid/models/processor_identity_g
|
|
894
950
|
Plaid.autoload :ProcessorIdentityMatchRequest, 'plaid/models/processor_identity_match_request'
|
895
951
|
Plaid.autoload :ProcessorIdentityMatchResponse, 'plaid/models/processor_identity_match_response'
|
896
952
|
Plaid.autoload :ProcessorInitialUpdateWebhook, 'plaid/models/processor_initial_update_webhook'
|
953
|
+
Plaid.autoload :ProcessorLiabilitiesGetRequest, 'plaid/models/processor_liabilities_get_request'
|
954
|
+
Plaid.autoload :ProcessorLiabilitiesGetResponse, 'plaid/models/processor_liabilities_get_response'
|
897
955
|
Plaid.autoload :ProcessorNumber, 'plaid/models/processor_number'
|
898
956
|
Plaid.autoload :ProcessorRecurringTransactionsUpdateWebhook, 'plaid/models/processor_recurring_transactions_update_webhook'
|
899
957
|
Plaid.autoload :ProcessorSignalDecisionReportRequest, 'plaid/models/processor_signal_decision_report_request'
|
@@ -932,6 +990,12 @@ Plaid.autoload :ProductPermissionsRequiredIdentityWebhook, 'plaid/models/product
|
|
932
990
|
Plaid.autoload :ProductStatus, 'plaid/models/product_status'
|
933
991
|
Plaid.autoload :ProductStatusBreakdown, 'plaid/models/product_status_breakdown'
|
934
992
|
Plaid.autoload :Products, 'plaid/models/products'
|
993
|
+
Plaid.autoload :ProfileGetRequest, 'plaid/models/profile_get_request'
|
994
|
+
Plaid.autoload :ProfileGetResponse, 'plaid/models/profile_get_response'
|
995
|
+
Plaid.autoload :ProfileIdentity, 'plaid/models/profile_identity'
|
996
|
+
Plaid.autoload :ProfileIdentityAddress, 'plaid/models/profile_identity_address'
|
997
|
+
Plaid.autoload :ProfileIdentityName, 'plaid/models/profile_identity_name'
|
998
|
+
Plaid.autoload :ProfileItem, 'plaid/models/profile_item'
|
935
999
|
Plaid.autoload :ProgramNameSensitivity, 'plaid/models/program_name_sensitivity'
|
936
1000
|
Plaid.autoload :ProjectedIncomeSummaryFieldNumber, 'plaid/models/projected_income_summary_field_number'
|
937
1001
|
Plaid.autoload :ProxyType, 'plaid/models/proxy_type'
|
@@ -969,6 +1033,8 @@ Plaid.autoload :RiskCheckLinkedService, 'plaid/models/risk_check_linked_service'
|
|
969
1033
|
Plaid.autoload :RiskCheckPhone, 'plaid/models/risk_check_phone'
|
970
1034
|
Plaid.autoload :RiskCheckStolenIdentity, 'plaid/models/risk_check_stolen_identity'
|
971
1035
|
Plaid.autoload :RiskCheckSyntheticIdentity, 'plaid/models/risk_check_synthetic_identity'
|
1036
|
+
Plaid.autoload :RiskProfile, 'plaid/models/risk_profile'
|
1037
|
+
Plaid.autoload :RiskReason, 'plaid/models/risk_reason'
|
972
1038
|
Plaid.autoload :RiskSignalDocumentReference, 'plaid/models/risk_signal_document_reference'
|
973
1039
|
Plaid.autoload :RiskSignalDocumentStatus, 'plaid/models/risk_signal_document_status'
|
974
1040
|
Plaid.autoload :Role, 'plaid/models/role'
|
@@ -1079,6 +1145,10 @@ Plaid.autoload :StatementsAccount, 'plaid/models/statements_account'
|
|
1079
1145
|
Plaid.autoload :StatementsDownloadRequest, 'plaid/models/statements_download_request'
|
1080
1146
|
Plaid.autoload :StatementsListRequest, 'plaid/models/statements_list_request'
|
1081
1147
|
Plaid.autoload :StatementsListResponse, 'plaid/models/statements_list_response'
|
1148
|
+
Plaid.autoload :StatementsRefreshCompleteResult, 'plaid/models/statements_refresh_complete_result'
|
1149
|
+
Plaid.autoload :StatementsRefreshCompleteWebhook, 'plaid/models/statements_refresh_complete_webhook'
|
1150
|
+
Plaid.autoload :StatementsRefreshRequest, 'plaid/models/statements_refresh_request'
|
1151
|
+
Plaid.autoload :StatementsRefreshResponse, 'plaid/models/statements_refresh_response'
|
1082
1152
|
Plaid.autoload :StatementsStatement, 'plaid/models/statements_statement'
|
1083
1153
|
Plaid.autoload :Status, 'plaid/models/status'
|
1084
1154
|
Plaid.autoload :Statuses, 'plaid/models/statuses'
|
@@ -1277,8 +1347,10 @@ Plaid.autoload :TransferUserAddressInResponse, 'plaid/models/transfer_user_addre
|
|
1277
1347
|
Plaid.autoload :TransferUserInRequest, 'plaid/models/transfer_user_in_request'
|
1278
1348
|
Plaid.autoload :TransferUserInRequestDeprecated, 'plaid/models/transfer_user_in_request_deprecated'
|
1279
1349
|
Plaid.autoload :TransferUserInResponse, 'plaid/models/transfer_user_in_response'
|
1350
|
+
Plaid.autoload :TransferWireDetails, 'plaid/models/transfer_wire_details'
|
1280
1351
|
Plaid.autoload :UpdateEntityScreeningRequestSearchTerms, 'plaid/models/update_entity_screening_request_search_terms'
|
1281
1352
|
Plaid.autoload :UpdateIndividualScreeningRequestSearchTerms, 'plaid/models/update_individual_screening_request_search_terms'
|
1353
|
+
Plaid.autoload :UserAccountRevokedWebhook, 'plaid/models/user_account_revoked_webhook'
|
1282
1354
|
Plaid.autoload :UserAddress, 'plaid/models/user_address'
|
1283
1355
|
Plaid.autoload :UserCreateRequest, 'plaid/models/user_create_request'
|
1284
1356
|
Plaid.autoload :UserCreateResponse, 'plaid/models/user_create_response'
|
data/plaid.gemspec
CHANGED
@@ -5,10 +5,10 @@
|
|
5
5
|
|
6
6
|
#The Plaid REST API. Please see https://plaid.com/docs/api for more details.
|
7
7
|
|
8
|
-
The version of the OpenAPI document: 2020-09-14_1.
|
8
|
+
The version of the OpenAPI document: 2020-09-14_1.496.2
|
9
9
|
|
10
10
|
Generated by: https://openapi-generator.tech
|
11
|
-
OpenAPI Generator version: 6.
|
11
|
+
OpenAPI Generator version: 6.3.0
|
12
12
|
|
13
13
|
=end
|
14
14
|
|
@@ -16,10 +16,15 @@ require 'typhoeus'
|
|
16
16
|
{{#isFaraday}}
|
17
17
|
require 'faraday'
|
18
18
|
require 'faraday/multipart'
|
19
|
+
require_relative 'api_error'
|
19
20
|
{{/isFaraday}}
|
20
21
|
|
21
22
|
module {{moduleName}}
|
22
23
|
class ApiClient
|
24
|
+
{{#isFaraday}}
|
25
|
+
class ApiTimeoutError < ApiError; end
|
26
|
+
class ApiConnectionFailedError < ApiError; end
|
27
|
+
{{/isFaraday}}
|
23
28
|
# The Configuration object holding settings to be used in the API client.
|
24
29
|
attr_accessor :config
|
25
30
|
|
@@ -21,7 +21,7 @@
|
|
21
21
|
end
|
22
22
|
|
23
23
|
unless response.success?
|
24
|
-
if response.status == 0
|
24
|
+
if response.status == 0 && response.respond_to?(:return_message)
|
25
25
|
# Errors from libcurl will be made visible here
|
26
26
|
fail ApiError.new(:code => 0,
|
27
27
|
:message => response.return_message)
|
@@ -41,7 +41,9 @@
|
|
41
41
|
end
|
42
42
|
end
|
43
43
|
rescue Faraday::TimeoutError
|
44
|
-
fail
|
44
|
+
fail ApiTimeoutError.new('Connection timed out')
|
45
|
+
rescue Faraday::ConnectionFailed
|
46
|
+
fail ApiConnectionFailedError.new('Connection failed')
|
45
47
|
end
|
46
48
|
|
47
49
|
if opts[:return_type]
|
@@ -64,6 +64,12 @@ module {{moduleName}}
|
|
64
64
|
# Defines the access token (Bearer) used with OAuth2.
|
65
65
|
attr_accessor :access_token
|
66
66
|
|
67
|
+
# Defines a Proc used to fetch or refresh access tokens (Bearer) used with OAuth2.
|
68
|
+
# Overrides the access_token if set
|
69
|
+
# @return [Proc]
|
70
|
+
attr_accessor :access_token_getter
|
71
|
+
|
72
|
+
|
67
73
|
# Set this to enable/disable debugging. When enabled (set to true), HTTP request/response
|
68
74
|
# details will be logged with `logger.debug` (see the `logger` attribute).
|
69
75
|
# Default to false.
|
@@ -189,6 +195,12 @@ module {{moduleName}}
|
|
189
195
|
end
|
190
196
|
end
|
191
197
|
|
198
|
+
# Gets access_token using access_token_getter or uses the static access_token
|
199
|
+
def access_token_with_refresh
|
200
|
+
return access_token if access_token_getter.nil?
|
201
|
+
access_token_getter.call
|
202
|
+
end
|
203
|
+
|
192
204
|
# Gets Basic Auth token string
|
193
205
|
def basic_auth_token
|
194
206
|
'Basic ' + ["#{username}:#{password}"].pack('m').delete("\r\n")
|
@@ -226,7 +238,7 @@ module {{moduleName}}
|
|
226
238
|
format: '{{{.}}}',
|
227
239
|
{{/bearerFormat}}
|
228
240
|
key: 'Authorization',
|
229
|
-
value: "Bearer #{
|
241
|
+
value: "Bearer #{access_token_with_refresh}"
|
230
242
|
},
|
231
243
|
{{/isBasicBearer}}
|
232
244
|
{{/isBasic}}
|
@@ -236,7 +248,7 @@ module {{moduleName}}
|
|
236
248
|
type: 'oauth2',
|
237
249
|
in: 'header',
|
238
250
|
key: 'Authorization',
|
239
|
-
value: "Bearer #{
|
251
|
+
value: "Bearer #{access_token_with_refresh}"
|
240
252
|
},
|
241
253
|
{{/isOAuth}}
|
242
254
|
{{/authMethods}}
|
@@ -17,7 +17,7 @@ Gem::Specification.new do |s|
|
|
17
17
|
s.summary = "{{gemSummary}}{{^gemSummary}}{{{appName}}} Ruby Gem{{/gemSummary}}"
|
18
18
|
s.description = "Ruby gem wrapper for the Plaid API. Read more at the homepage, the wiki, or in the Plaid documentation."
|
19
19
|
s.license = "{{{gemLicense}}}{{^gemLicense}}MIT{{/gemLicense}}"
|
20
|
-
s.required_ruby_version = "{{{gemRequiredRubyVersion}}}{{^gemRequiredRubyVersion}}>= 2.
|
20
|
+
s.required_ruby_version = "{{{gemRequiredRubyVersion}}}{{^gemRequiredRubyVersion}}>= 2.7{{/gemRequiredRubyVersion}}"
|
21
21
|
|
22
22
|
{{#isFaraday}}
|
23
23
|
s.add_runtime_dependency 'faraday', '>= 1.0.1', '< 3.0'
|
data/test/test_api_client.rb
CHANGED
@@ -5,7 +5,7 @@ require 'faraday/multipart'
|
|
5
5
|
require_relative "test_helper"
|
6
6
|
|
7
7
|
# Internal: The test for API Client
|
8
|
-
class
|
8
|
+
class ApiClientTest < PlaidTest
|
9
9
|
def test_api_client_exposes_farday_connection
|
10
10
|
configuration = Plaid::Configuration.new
|
11
11
|
configuration.server_index = Plaid::Configuration::Environment["sandbox"]
|
@@ -20,4 +20,31 @@ class APIClientTest < PlaidTest
|
|
20
20
|
|
21
21
|
assert_kind_of(Faraday::Connection, api_client.connection)
|
22
22
|
end
|
23
|
+
def test_timeout_error
|
24
|
+
api_client = Plaid::ApiClient.new
|
25
|
+
exception = -> { raise Faraday::TimeoutError.new }
|
26
|
+
options = { header_params: {} }
|
27
|
+
|
28
|
+
error = assert_raises Plaid::ApiClient::ApiTimeoutError do
|
29
|
+
api_client.connection.stub :get, exception do
|
30
|
+
api_client.call_api(:get, 'dummy_path', options)
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
assert_equal 'Connection timed out', error.message
|
35
|
+
end
|
36
|
+
|
37
|
+
def test_connection_error
|
38
|
+
api_client = Plaid::ApiClient.new
|
39
|
+
exception = -> { raise Faraday::ConnectionFailed.new }
|
40
|
+
options = { header_params: {} }
|
41
|
+
|
42
|
+
error = assert_raises Plaid::ApiClient::ApiConnectionFailedError do
|
43
|
+
api_client.connection.stub :get, exception do
|
44
|
+
api_client.call_api(:get, 'dummy_path', options)
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
assert_equal 'Connection failed', error.message
|
49
|
+
end
|
23
50
|
end
|
data/test/test_helper.rb
CHANGED
@@ -1,13 +1,22 @@
|
|
1
|
+
require 'bundler'
|
2
|
+
|
3
|
+
begin
|
4
|
+
Bundler.setup(:default, :development)
|
5
|
+
rescue Bundler::BundlerError => e
|
6
|
+
warn e.message
|
7
|
+
warn 'Run `bundle install` to install missing gems'
|
8
|
+
exit e.status_code
|
9
|
+
end
|
10
|
+
|
11
|
+
require "plaid"
|
1
12
|
require "minitest/autorun"
|
2
13
|
require "minitest/around/unit"
|
3
14
|
require "json"
|
4
15
|
|
5
|
-
require_relative "../lib/plaid"
|
6
|
-
|
7
16
|
# Internal: Default read timeout for HTTP calls in seconds.
|
8
17
|
NETWORK_TIMEOUT = 600
|
9
18
|
|
10
|
-
class PlaidTest <
|
19
|
+
class PlaidTest < Minitest::Test
|
11
20
|
attr_reader :client, :item, :access_token
|
12
21
|
|
13
22
|
def create_client
|