From d885d6c919c9994b9799d898e487c1b69268b73d Mon Sep 17 00:00:00 2001 From: Stephen Jayakar Date: Wed, 4 Sep 2024 15:59:02 -0500 Subject: [PATCH] OpenAPI generated code at 2024-09-04T20:58:45Z --- .openapi-generator/FILES | 158 ++- CHANGELOG.md | 155 +++ Makefile | 2 +- lib/plaid.rb | 81 +- lib/plaid/api/plaid_api.rb | 985 ++++++++++++++---- lib/plaid/api_client.rb | 4 +- lib/plaid/api_error.rb | 2 +- lib/plaid/configuration.rb | 2 +- lib/plaid/models/account_access.rb | 2 +- lib/plaid/models/account_assets.rb | 2 +- lib/plaid/models/account_balance.rb | 2 +- lib/plaid/models/account_base.rb | 2 +- lib/plaid/models/account_filter.rb | 2 +- lib/plaid/models/account_filters_response.rb | 2 +- lib/plaid/models/account_holder_category.rb | 2 +- lib/plaid/models/account_identity.rb | 2 +- lib/plaid/models/account_identity_all_of.rb | 2 +- .../account_identity_document_upload.rb | 2 +- ...account_identity_document_upload_all_of.rb | 2 +- .../models/account_identity_match_score.rb | 2 +- .../account_identity_match_score_all_of.rb | 2 +- lib/plaid/models/account_product_access.rb | 2 +- .../models/account_product_access_nullable.rb | 2 +- .../models/account_selection_cardinality.rb | 2 +- lib/plaid/models/account_subtype.rb | 62 +- lib/plaid/models/account_type.rb | 2 +- .../models/account_verification_insights.rb | 2 +- ...fication_insights_account_number_format.rb | 2 +- ...nt_verification_insights_network_status.rb | 2 +- ..._verification_insights_previous_returns.rb | 2 +- .../models/accounts_balance_get_request.rb | 2 +- .../accounts_balance_get_request_options.rb | 2 +- ...nts_balance_get_request_payment_details.rb | 2 +- ...ce_get_response_payment_risk_assessment.rb | 2 +- lib/plaid/models/accounts_get_request.rb | 2 +- .../models/accounts_get_request_options.rb | 2 +- lib/plaid/models/accounts_get_response.rb | 2 +- lib/plaid/models/ach_class.rb | 2 +- lib/plaid/models/action_state.rb | 2 +- lib/plaid/models/activity.rb | 2 +- lib/plaid/models/activity_type.rb | 2 +- lib/plaid/models/address.rb | 2 +- lib/plaid/models/address_data.rb | 2 +- lib/plaid/models/address_data_not_required.rb | 2 +- lib/plaid/models/address_data_nullable.rb | 2 +- ...ddress_data_nullable_no_required_fields.rb | 2 +- lib/plaid/models/address_match_score.rb | 2 +- lib/plaid/models/address_nullable.rb | 2 +- lib/plaid/models/address_purpose_label.rb | 2 +- lib/plaid/models/application.rb | 2 +- lib/plaid/models/application_get_request.rb | 2 +- lib/plaid/models/application_get_response.rb | 2 +- lib/plaid/models/apr.rb | 2 +- lib/plaid/models/asset.rb | 2 +- lib/plaid/models/asset_detail.rb | 2 +- lib/plaid/models/asset_holder.rb | 2 +- lib/plaid/models/asset_holder_name.rb | 2 +- lib/plaid/models/asset_owner.rb | 2 +- lib/plaid/models/asset_owners.rb | 2 +- lib/plaid/models/asset_report.rb | 2 +- .../models/asset_report_account_balance.rb | 2 +- lib/plaid/models/asset_report_add_ons.rb | 2 +- .../asset_report_audit_copy_create_request.rb | 2 +- ...asset_report_audit_copy_create_response.rb | 2 +- .../asset_report_audit_copy_get_request.rb | 2 +- .../asset_report_audit_copy_remove_request.rb | 2 +- ...asset_report_audit_copy_remove_response.rb | 2 +- .../models/asset_report_create_request.rb | 2 +- .../asset_report_create_request_options.rb | 23 +- .../models/asset_report_create_response.rb | 2 +- .../models/asset_report_filter_request.rb | 2 +- .../models/asset_report_filter_response.rb | 2 +- lib/plaid/models/asset_report_freddie.rb | 2 +- .../asset_report_freddie_get_request.rb | 2 +- .../asset_report_freddie_get_response.rb | 2 +- lib/plaid/models/asset_report_get_request.rb | 2 +- .../asset_report_get_request_options.rb | 2 +- lib/plaid/models/asset_report_get_response.rb | 2 +- .../models/asset_report_investment_holding.rb | 2 +- .../asset_report_investment_security.rb | 2 +- lib/plaid/models/asset_report_investments.rb | 2 +- lib/plaid/models/asset_report_item.rb | 2 +- .../models/asset_report_pdf_get_request.rb | 2 +- .../asset_report_pdf_get_request_options.rb | 2 +- .../models/asset_report_refresh_request.rb | 2 +- .../asset_report_refresh_request_options.rb | 2 +- .../models/asset_report_refresh_response.rb | 2 +- .../models/asset_report_remove_request.rb | 2 +- .../models/asset_report_remove_response.rb | 2 +- lib/plaid/models/asset_report_transaction.rb | 2 +- .../models/asset_report_transaction_type.rb | 2 +- lib/plaid/models/asset_report_type.rb | 2 +- lib/plaid/models/asset_report_user.rb | 2 +- lib/plaid/models/asset_transaction.rb | 2 +- .../models/asset_transaction_category_type.rb | 2 +- .../models/asset_transaction_description.rb | 2 +- lib/plaid/models/asset_transaction_detail.rb | 2 +- lib/plaid/models/asset_transaction_type.rb | 2 +- lib/plaid/models/asset_transactions.rb | 2 +- lib/plaid/models/asset_type.rb | 2 +- lib/plaid/models/assets.rb | 2 +- lib/plaid/models/assets_error_webhook.rb | 2 +- .../models/assets_product_ready_webhook.rb | 2 +- .../models/auth_default_update_webhook.rb | 6 +- lib/plaid/models/auth_get_numbers.rb | 2 +- lib/plaid/models/auth_get_request.rb | 2 +- lib/plaid/models/auth_get_request_options.rb | 2 +- lib/plaid/models/auth_get_response.rb | 2 +- lib/plaid/models/auth_metadata.rb | 2 +- lib/plaid/models/auth_supported_methods.rb | 2 +- lib/plaid/models/auth_update_types.rb | 2 +- .../models/automatically_verified_webhook.rb | 2 +- lib/plaid/models/balance_plus_attributes.rb | 2 +- lib/plaid/models/balance_plus_risk_level.rb | 2 +- .../models/bank_income_complete_result.rb | 2 +- .../models/bank_income_complete_webhook.rb | 2 +- .../bank_income_refresh_complete_result.rb | 2 +- .../bank_income_refresh_complete_webhook.rb | 2 +- .../bank_income_refresh_update_webhook.rb | 2 +- .../models/bank_initiated_return_risk.rb | 2 +- lib/plaid/models/bank_transfer.rb | 2 +- lib/plaid/models/bank_transfer_balance.rb | 2 +- .../bank_transfer_balance_get_request.rb | 2 +- .../bank_transfer_balance_get_response.rb | 2 +- .../models/bank_transfer_cancel_request.rb | 2 +- .../models/bank_transfer_cancel_response.rb | 2 +- .../models/bank_transfer_create_request.rb | 2 +- .../models/bank_transfer_create_response.rb | 2 +- lib/plaid/models/bank_transfer_direction.rb | 2 +- lib/plaid/models/bank_transfer_event.rb | 2 +- ..._transfer_event_list_bank_transfer_type.rb | 2 +- .../bank_transfer_event_list_direction.rb | 2 +- .../bank_transfer_event_list_request.rb | 2 +- .../bank_transfer_event_list_response.rb | 2 +- .../bank_transfer_event_sync_request.rb | 2 +- .../bank_transfer_event_sync_response.rb | 2 +- lib/plaid/models/bank_transfer_event_type.rb | 2 +- lib/plaid/models/bank_transfer_failure.rb | 2 +- lib/plaid/models/bank_transfer_get_request.rb | 2 +- .../models/bank_transfer_get_response.rb | 2 +- .../models/bank_transfer_list_request.rb | 2 +- .../models/bank_transfer_list_response.rb | 2 +- .../bank_transfer_migrate_account_request.rb | 2 +- .../bank_transfer_migrate_account_response.rb | 2 +- lib/plaid/models/bank_transfer_network.rb | 2 +- lib/plaid/models/bank_transfer_status.rb | 2 +- lib/plaid/models/bank_transfer_sweep.rb | 2 +- .../models/bank_transfer_sweep_get_request.rb | 2 +- .../bank_transfer_sweep_get_response.rb | 2 +- .../bank_transfer_sweep_list_request.rb | 2 +- .../bank_transfer_sweep_list_response.rb | 2 +- lib/plaid/models/bank_transfer_type.rb | 2 +- lib/plaid/models/bank_transfer_user.rb | 2 +- .../bank_transfers_events_update_webhook.rb | 2 +- ...ransfers_events_update_webhook_for_auth.rb | 2 +- lib/plaid/models/base_report.rb | 2 +- lib/plaid/models/base_report_account.rb | 23 +- .../models/base_report_account_balances.rb | 10 +- .../models/base_report_account_insights.rb | 54 +- .../base_report_average_flow_insights.rb | 19 +- .../base_report_average_monthly_balances.rb | 17 +- .../models/base_report_historical_balance.rb | 263 +++++ lib/plaid/models/base_report_item.rb | 2 +- .../base_report_longest_gap_insights.rb | 3 +- .../base_report_number_flow_insights.rb | 19 +- lib/plaid/models/base_report_transaction.rb | 5 +- .../models/base_report_transaction_type.rb | 2 +- lib/plaid/models/base_report_warning.rb | 2 +- lib/plaid/models/base_report_warning_code.rb | 2 +- .../models/base_reports_error_webhook.rb | 2 +- .../base_reports_product_ready_webhook.rb | 2 +- .../models/beacon_account_risk_attributes.rb | 2 +- .../beacon_account_risk_evaluate_account.rb | 2 +- ...ccount_risk_evaluate_account_attributes.rb | 2 +- ...account_risk_evaluate_evaluation_reason.rb | 2 +- .../beacon_account_risk_evaluate_request.rb | 2 +- ...n_account_risk_evaluate_request_options.rb | 2 +- .../beacon_account_risk_evaluate_response.rb | 2 +- lib/plaid/models/beacon_audit_trail.rb | 2 +- lib/plaid/models/beacon_audit_trail_source.rb | 2 +- .../models/beacon_bank_account_insights.rb | 2 +- lib/plaid/models/beacon_bank_accounts.rb | 2 +- .../beacon_duplicate_detected_webhook.rb | 2 +- .../models/beacon_duplicate_get_request.rb | 2 +- .../models/beacon_duplicate_get_response.rb | 2 +- .../models/beacon_match_summary_analysis.rb | 2 +- lib/plaid/models/beacon_match_summary_code.rb | 2 +- lib/plaid/models/beacon_report.rb | 21 +- .../models/beacon_report_create_request.rb | 4 +- .../models/beacon_report_create_response.rb | 21 +- lib/plaid/models/beacon_report_create_type.rb | 43 + .../models/beacon_report_created_webhook.rb | 2 +- lib/plaid/models/beacon_report_get_request.rb | 2 +- .../models/beacon_report_get_response.rb | 21 +- .../models/beacon_report_list_request.rb | 2 +- .../models/beacon_report_list_response.rb | 2 +- lib/plaid/models/beacon_report_syndication.rb | 2 +- .../beacon_report_syndication_analysis.rb | 26 +- ...acon_report_syndication_created_webhook.rb | 2 +- .../beacon_report_syndication_get_request.rb | 2 +- .../beacon_report_syndication_get_response.rb | 2 +- .../beacon_report_syndication_list_request.rb | 2 +- ...beacon_report_syndication_list_response.rb | 2 +- ...acon_report_syndication_original_report.rb | 27 +- lib/plaid/models/beacon_report_type.rb | 3 +- .../models/beacon_report_updated_webhook.rb | 2 +- ...eport_depository_account_match_analysis.rb | 277 +++++ lib/plaid/models/beacon_user.rb | 2 +- ...eacon_user_account_insights_get_request.rb | 2 +- ...acon_user_account_insights_get_response.rb | 2 +- lib/plaid/models/beacon_user_address.rb | 4 +- .../models/beacon_user_create_request.rb | 4 +- .../models/beacon_user_create_response.rb | 2 +- lib/plaid/models/beacon_user_data.rb | 30 +- .../models/beacon_user_depository_account.rb | 256 +++++ lib/plaid/models/beacon_user_get_request.rb | 2 +- lib/plaid/models/beacon_user_get_response.rb | 2 +- .../beacon_user_history_list_request.rb | 2 +- .../beacon_user_history_list_response.rb | 2 +- lib/plaid/models/beacon_user_id_number.rb | 2 +- lib/plaid/models/beacon_user_name.rb | 2 +- lib/plaid/models/beacon_user_name_nullable.rb | 2 +- .../models/beacon_user_request_address.rb | 4 +- .../beacon_user_request_address_nullable.rb | 4 +- lib/plaid/models/beacon_user_request_data.rb | 33 +- .../beacon_user_request_depository_account.rb | 241 +++++ .../models/beacon_user_review_request.rb | 2 +- lib/plaid/models/beacon_user_revision.rb | 2 +- lib/plaid/models/beacon_user_status.rb | 2 +- .../beacon_user_status_updated_webhook.rb | 2 +- .../models/beacon_user_update_request.rb | 2 +- .../models/beacon_user_update_request_data.rb | 25 +- .../models/beacon_user_update_response.rb | 2 +- .../models/cashflow_attributes_version.rb | 38 + lib/plaid/models/categories_get_response.rb | 2 +- lib/plaid/models/category.rb | 2 +- lib/plaid/models/category_insight_details.rb | 2 +- lib/plaid/models/category_insights.rb | 2 +- lib/plaid/models/cause.rb | 17 +- lib/plaid/models/cause_all_of.rb | 2 +- .../client_provided_enhanced_transaction.rb | 2 +- .../client_provided_enriched_transaction.rb | 2 +- .../models/client_provided_raw_transaction.rb | 2 +- .../models/client_provided_transaction.rb | 2 +- .../client_provided_transaction_location.rb | 2 +- lib/plaid/models/connected_application.rb | 2 +- lib/plaid/models/consumer_dispute.rb | 292 ++++++ lib/plaid/models/consumer_dispute_category.rb | 41 + .../models/consumer_report_pdf_get_request.rb | 2 +- .../consumer_report_permissible_purpose.rb | 2 +- .../models/consumer_report_user_identity.rb | 6 +- lib/plaid/models/counterparty.rb | 2 +- lib/plaid/models/counterparty_insights.rb | 2 +- lib/plaid/models/counterparty_type.rb | 2 +- lib/plaid/models/country_code.rb | 2 +- lib/plaid/models/cra_bank_income.rb | 12 +- lib/plaid/models/cra_bank_income_account.rb | 2 +- .../models/cra_bank_income_bonus_type.rb | 7 +- lib/plaid/models/cra_bank_income_cause.rb | 2 +- .../models/cra_bank_income_complete_result.rb | 2 +- .../cra_bank_income_complete_webhook.rb | 2 +- .../models/cra_bank_income_create_request.rb | 4 +- .../models/cra_bank_income_create_response.rb | 2 +- lib/plaid/models/cra_bank_income_employer.rb | 2 +- .../models/cra_bank_income_error_webhook.rb | 2 +- .../models/cra_bank_income_get_request.rb | 2 +- .../models/cra_bank_income_get_response.rb | 2 +- .../cra_bank_income_historical_summary.rb | 2 +- lib/plaid/models/cra_bank_income_item.rb | 4 +- lib/plaid/models/cra_bank_income_source.rb | 2 +- lib/plaid/models/cra_bank_income_summary.rb | 4 +- .../models/cra_bank_income_transaction.rb | 22 +- lib/plaid/models/cra_bank_income_warning.rb | 4 +- .../models/cra_bank_income_warning_code.rb | 2 +- ...t.rb => cra_base_report_create_request.rb} | 10 +- .../models/cra_base_report_create_response.rb | 226 ++++ ...uest.rb => cra_base_report_get_request.rb} | 10 +- ...nse.rb => cra_base_report_get_response.rb} | 15 +- .../models/cra_cashflow_insights_report.rb | 261 +++++ ...ra_check_report_base_report_get_request.rb | 2 +- ...a_check_report_base_report_get_response.rb | 7 +- ...ck_report_cashflow_insights_get_options.rb | 254 +++++ .../models/cra_check_report_create_request.rb | 25 +- .../cra_check_report_create_response.rb | 2 +- .../models/cra_check_report_failed_webhook.rb | 2 +- ...heck_report_income_insights_get_request.rb | 2 +- ...eck_report_income_insights_get_response.rb | 2 +- ...ck_report_network_insights_get_request.rb} | 10 +- ...k_report_network_insights_get_response.rb} | 12 +- ...eck_report_partner_insights_get_options.rb | 20 +- ...eck_report_partner_insights_get_request.rb | 2 +- ...ck_report_partner_insights_get_response.rb | 2 +- .../cra_check_report_pdf_get_request.rb | 2 +- lib/plaid/models/cra_check_report_product.rb | 2 +- .../models/cra_check_report_ready_webhook.rb | 2 +- lib/plaid/models/cra_income_insights.rb | 12 +- lib/plaid/models/cra_loan_application.rb | 2 +- .../models/cra_loan_application_decision.rb | 2 +- lib/plaid/models/cra_loan_closed_status.rb | 2 +- lib/plaid/models/cra_loan_opened_status.rb | 2 +- lib/plaid/models/cra_loan_payment_history.rb | 2 +- lib/plaid/models/cra_loan_payment_schedule.rb | 2 +- lib/plaid/models/cra_loan_register.rb | 2 +- .../models/cra_loan_register_application.rb | 2 +- lib/plaid/models/cra_loan_status.rb | 2 +- .../models/cra_loan_status_history_update.rb | 2 +- lib/plaid/models/cra_loan_type.rb | 2 +- lib/plaid/models/cra_loan_unregister.rb | 2 +- .../models/cra_loan_unregister_response.rb | 2 +- lib/plaid/models/cra_loan_update.rb | 2 +- ...cra_loans_applications_register_request.rb | 2 +- ...ra_loans_applications_register_response.rb | 2 +- .../models/cra_loans_register_request.rb | 2 +- .../models/cra_loans_register_response.rb | 2 +- .../models/cra_loans_unregister_request.rb | 2 +- lib/plaid/models/cra_loans_update_request.rb | 2 +- lib/plaid/models/cra_loans_update_response.rb | 2 +- .../cra_monitoring_insights_get_request.rb | 246 +++++ .../cra_monitoring_insights_get_response.rb | 243 +++++ .../models/cra_monitoring_insights_item.rb | 269 +++++ ...a_monitoring_insights_subscribe_request.rb | 261 +++++ ..._monitoring_insights_subscribe_response.rb | 241 +++++ ...monitoring_insights_unsubscribe_request.rb | 246 +++++ ...onitoring_insights_unsubscribe_response.rb | 226 ++++ ...s_item.rb => cra_network_insights_item.rb} | 8 +- ...port.rb => cra_network_insights_report.rb} | 10 +- lib/plaid/models/cra_partner_insights.rb | 2 +- .../cra_partner_insights_complete_webhook.rb | 2 +- .../cra_partner_insights_error_webhook.rb | 2 +- .../cra_partner_insights_get_request.rb | 2 +- .../cra_partner_insights_get_response.rb | 2 +- lib/plaid/models/cra_partner_insights_item.rb | 2 +- .../cra_partner_insights_item_account.rb | 2 +- .../models/cra_partner_insights_prism.rb | 2 +- lib/plaid/models/cra_pdf_add_ons.rb | 2 +- lib/plaid/models/cra_prediction_interval.rb | 2 +- lib/plaid/models/credit1099.rb | 2 +- lib/plaid/models/credit1099_filer.rb | 2 +- lib/plaid/models/credit1099_payer.rb | 2 +- lib/plaid/models/credit1099_recipient.rb | 2 +- lib/plaid/models/credit_account_subtype.rb | 2 +- lib/plaid/models/credit_ach_class.rb | 2 +- .../models/credit_amount_with_currency.rb | 7 +- .../credit_audit_copy_token_create_request.rb | 2 +- ...credit_audit_copy_token_create_response.rb | 2 +- .../credit_audit_copy_token_remove_request.rb | 2 +- ...credit_audit_copy_token_remove_response.rb | 2 +- .../credit_audit_copy_token_update_request.rb | 2 +- ...credit_audit_copy_token_update_response.rb | 2 +- lib/plaid/models/credit_bank_employer.rb | 2 +- lib/plaid/models/credit_bank_employment.rb | 2 +- .../credit_bank_employment_get_request.rb | 2 +- .../credit_bank_employment_get_response.rb | 2 +- .../models/credit_bank_employment_item.rb | 2 +- .../models/credit_bank_employment_report.rb | 2 +- .../models/credit_bank_employment_warning.rb | 2 +- .../credit_bank_employment_warning_type.rb | 2 +- lib/plaid/models/credit_bank_income.rb | 8 +- .../models/credit_bank_income_account.rb | 2 +- .../models/credit_bank_income_account_type.rb | 2 +- .../models/credit_bank_income_category.rb | 2 +- lib/plaid/models/credit_bank_income_cause.rb | 2 +- .../models/credit_bank_income_error_type.rb | 2 +- .../models/credit_bank_income_get_request.rb | 2 +- .../credit_bank_income_get_request_options.rb | 2 +- .../models/credit_bank_income_get_response.rb | 2 +- .../credit_bank_income_historical_summary.rb | 2 +- lib/plaid/models/credit_bank_income_item.rb | 2 +- .../credit_bank_income_pay_frequency.rb | 2 +- .../credit_bank_income_pdf_get_request.rb | 2 +- .../credit_bank_income_refresh_request.rb | 2 +- ...dit_bank_income_refresh_request_options.rb | 2 +- .../credit_bank_income_refresh_response.rb | 2 +- lib/plaid/models/credit_bank_income_source.rb | 2 +- .../models/credit_bank_income_summary.rb | 2 +- .../models/credit_bank_income_transaction.rb | 2 +- .../models/credit_bank_income_warning.rb | 2 +- .../models/credit_bank_income_warning_code.rb | 2 +- .../models/credit_bank_income_warning_type.rb | 2 +- ...edit_bank_income_webhook_update_request.rb | 2 +- ...dit_bank_income_webhook_update_response.rb | 2 +- ...dit_bank_statement_upload_account_owner.rb | 2 +- ..._statement_upload_account_owner_address.rb | 2 +- ...edit_bank_statement_upload_bank_account.rb | 2 +- ...nk_statement_upload_bank_account_period.rb | 2 +- .../credit_bank_statement_upload_item.rb | 2 +- .../credit_bank_statement_upload_object.rb | 2 +- ...redit_bank_statement_upload_transaction.rb | 2 +- ...dit_bank_statements_uploads_get_request.rb | 2 +- ..._statements_uploads_get_request_options.rb | 2 +- ...it_bank_statements_uploads_get_response.rb | 2 +- lib/plaid/models/credit_card_liability.rb | 2 +- lib/plaid/models/credit_category.rb | 2 +- lib/plaid/models/credit_document_metadata.rb | 2 +- .../models/credit_employer_verification.rb | 2 +- .../models/credit_employment_get_request.rb | 2 +- .../models/credit_employment_get_response.rb | 2 +- lib/plaid/models/credit_employment_item.rb | 2 +- .../models/credit_employment_verification.rb | 2 +- lib/plaid/models/credit_filter.rb | 2 +- lib/plaid/models/credit_freddie_mac_asset.rb | 2 +- .../credit_freddie_mac_asset_transaction.rb | 2 +- .../credit_freddie_mac_asset_transactions.rb | 2 +- lib/plaid/models/credit_freddie_mac_assets.rb | 2 +- .../credit_freddie_mac_individual_name.rb | 2 +- lib/plaid/models/credit_freddie_mac_loan.rb | 2 +- .../credit_freddie_mac_loan_identifiers.rb | 2 +- lib/plaid/models/credit_freddie_mac_loans.rb | 2 +- .../models/credit_freddie_mac_parties.rb | 2 +- lib/plaid/models/credit_freddie_mac_party.rb | 2 +- .../credit_freddie_mac_party_individual.rb | 2 +- ...redit_freddie_mac_reporting_information.rb | 2 +- .../credit_freddie_mac_reports_get_request.rb | 2 +- ...credit_freddie_mac_reports_get_response.rb | 2 +- .../models/credit_freddie_mac_service.rb | 2 +- .../models/credit_freddie_mac_services.rb | 2 +- ...redit_freddie_mac_verification_of_asset.rb | 2 +- ...ddie_mac_verification_of_asset_response.rb | 2 +- ...freddie_mac_verification_of_assets_deal.rb | 2 +- lib/plaid/models/credit_pay_stub.rb | 2 +- lib/plaid/models/credit_pay_stub_address.rb | 2 +- .../models/credit_pay_stub_deductions.rb | 2 +- lib/plaid/models/credit_pay_stub_earnings.rb | 2 +- lib/plaid/models/credit_pay_stub_employee.rb | 2 +- lib/plaid/models/credit_pay_stub_employer.rb | 2 +- lib/plaid/models/credit_pay_stub_net_pay.rb | 2 +- .../models/credit_pay_stub_pay_basis_type.rb | 2 +- .../credit_payroll_income_get_request.rb | 2 +- ...edit_payroll_income_get_request_options.rb | 2 +- .../credit_payroll_income_get_response.rb | 2 +- ...ll_income_parsing_config_update_request.rb | 2 +- ...l_income_parsing_config_update_response.rb | 2 +- .../credit_payroll_income_precheck_request.rb | 2 +- ...credit_payroll_income_precheck_response.rb | 2 +- .../credit_payroll_income_refresh_request.rb | 2 +- ..._payroll_income_refresh_request_options.rb | 2 +- .../credit_payroll_income_refresh_response.rb | 2 +- ...payroll_income_risk_signals_get_request.rb | 2 +- ...ayroll_income_risk_signals_get_response.rb | 2 +- lib/plaid/models/credit_platform_ids.rb | 2 +- .../models/credit_relay_create_request.rb | 2 +- .../models/credit_relay_create_response.rb | 2 +- lib/plaid/models/credit_relay_get_request.rb | 2 +- .../models/credit_relay_pdf_get_request.rb | 2 +- .../models/credit_relay_refresh_request.rb | 2 +- .../models/credit_relay_refresh_response.rb | 2 +- .../models/credit_relay_remove_request.rb | 2 +- .../models/credit_relay_remove_response.rb | 2 +- lib/plaid/models/credit_session.rb | 2 +- .../credit_session_bank_employment_result.rb | 2 +- .../credit_session_bank_employment_status.rb | 2 +- .../credit_session_bank_income_result.rb | 2 +- .../credit_session_bank_income_status.rb | 2 +- .../credit_session_document_income_result.rb | 2 +- lib/plaid/models/credit_session_error.rb | 2 +- .../models/credit_session_item_add_result.rb | 2 +- .../credit_session_payroll_income_result.rb | 2 +- lib/plaid/models/credit_session_results.rb | 2 +- .../models/credit_sessions_get_request.rb | 2 +- .../models/credit_sessions_get_response.rb | 2 +- lib/plaid/models/credit_w2.rb | 2 +- .../models/customer_initiated_return_risk.rb | 2 +- lib/plaid/models/dashboard_user.rb | 4 +- .../models/dashboard_user_get_request.rb | 2 +- .../models/dashboard_user_get_response.rb | 4 +- .../models/dashboard_user_list_request.rb | 2 +- .../models/dashboard_user_list_response.rb | 2 +- lib/plaid/models/dashboard_user_status.rb | 2 +- lib/plaid/models/date_range.rb | 2 +- lib/plaid/models/deductions.rb | 2 +- lib/plaid/models/deductions_breakdown.rb | 2 +- lib/plaid/models/deductions_total.rb | 2 +- lib/plaid/models/default_update_webhook.rb | 2 +- .../models/deposit_switch_address_data.rb | 2 +- .../deposit_switch_alt_create_request.rb | 2 +- .../deposit_switch_alt_create_response.rb | 2 +- .../models/deposit_switch_create_request.rb | 2 +- .../deposit_switch_create_request_options.rb | 2 +- .../models/deposit_switch_create_response.rb | 2 +- .../models/deposit_switch_get_request.rb | 2 +- .../models/deposit_switch_get_response.rb | 2 +- .../deposit_switch_state_update_webhook.rb | 2 +- .../models/deposit_switch_target_account.rb | 2 +- .../models/deposit_switch_target_user.rb | 2 +- .../deposit_switch_token_create_request.rb | 2 +- .../deposit_switch_token_create_response.rb | 2 +- .../models/depository_account_subtype.rb | 2 +- lib/plaid/models/depository_filter.rb | 2 +- lib/plaid/models/detailed_originator.rb | 2 +- lib/plaid/models/detected_account.rb | 2 +- lib/plaid/models/distribution_breakdown.rb | 2 +- lib/plaid/models/doc_type.rb | 2 +- lib/plaid/models/document_analysis.rb | 2 +- .../document_authenticity_match_code.rb | 2 +- .../document_date_of_birth_match_code.rb | 2 +- lib/plaid/models/document_metadata.rb | 2 +- lib/plaid/models/document_name_match_code.rb | 2 +- lib/plaid/models/document_risk_signal.rb | 2 +- ...cument_risk_signal_institution_metadata.rb | 2 +- .../models/document_risk_signals_object.rb | 2 +- lib/plaid/models/document_risk_summary.rb | 2 +- lib/plaid/models/document_status.rb | 2 +- lib/plaid/models/documentary_verification.rb | 2 +- .../documentary_verification_document.rb | 2 +- lib/plaid/models/earnings.rb | 2 +- lib/plaid/models/earnings_breakdown.rb | 2 +- ...arnings_breakdown_canonical_description.rb | 2 +- lib/plaid/models/earnings_total.rb | 2 +- lib/plaid/models/email.rb | 2 +- lib/plaid/models/email_address_match_score.rb | 2 +- lib/plaid/models/employee.rb | 2 +- .../employee_income_summary_field_string.rb | 2 +- lib/plaid/models/employer.rb | 2 +- .../employer_income_summary_field_string.rb | 2 +- lib/plaid/models/employer_verification.rb | 2 +- lib/plaid/models/employers_search_request.rb | 2 +- lib/plaid/models/employers_search_response.rb | 2 +- lib/plaid/models/employment_details.rb | 2 +- lib/plaid/models/employment_source_type.rb | 2 +- lib/plaid/models/employment_verification.rb | 2 +- .../employment_verification_get_request.rb | 2 +- .../employment_verification_get_response.rb | 2 +- .../models/employment_verification_status.rb | 2 +- lib/plaid/models/enhancements.rb | 2 +- .../models/enrich_transaction_direction.rb | 2 +- lib/plaid/models/enrichments.rb | 2 +- lib/plaid/models/entity_document.rb | 4 +- lib/plaid/models/entity_document_type.rb | 2 +- .../models/entity_screening_hit_analysis.rb | 2 +- lib/plaid/models/entity_screening_hit_data.rb | 2 +- .../entity_screening_hit_documents_items.rb | 2 +- .../models/entity_screening_hit_emails.rb | 4 +- .../entity_screening_hit_emails_items.rb | 2 +- .../models/entity_screening_hit_names.rb | 2 +- .../entity_screening_hit_names_items.rb | 2 +- .../entity_screening_hit_phone_numbers.rb | 2 +- lib/plaid/models/entity_screening_hit_urls.rb | 2 +- .../models/entity_screening_hit_urls_items.rb | 2 +- ...ntity_screening_hits_phone_number_items.rb | 2 +- ...entity_screening_status_updated_webhook.rb | 2 +- lib/plaid/models/entity_watchlist_code.rb | 2 +- lib/plaid/models/entity_watchlist_program.rb | 2 +- .../models/entity_watchlist_screening.rb | 2 +- .../models/entity_watchlist_screening_hit.rb | 2 +- .../entity_watchlist_screening_review.rb | 2 +- ...entity_watchlist_screening_search_terms.rb | 8 +- .../models/entity_watchlist_search_terms.rb | 8 +- lib/plaid/models/expiration_date.rb | 2 +- .../models/extended_recipient_metadata.rb | 383 +++++++ ... => extended_recipient_metadata_all_of.rb} | 71 +- ...rnal_payment_initiation_consent_options.rb | 2 +- lib/plaid/models/external_payment_options.rb | 2 +- .../models/external_payment_refund_details.rb | 2 +- .../models/external_payment_schedule_base.rb | 2 +- .../models/external_payment_schedule_get.rb | 2 +- .../external_payment_schedule_request.rb | 2 +- ...auth_microdeposit_auto_verified_webhook.rb | 2 +- ...crodeposit_verification_expired_webhook.rb | 2 +- lib/plaid/models/fdx_content_types.rb | 2 +- lib/plaid/models/fdx_hateoas_link.rb | 2 +- lib/plaid/models/fdx_hateoas_link_action.rb | 2 +- .../models/fdx_initiator_fi_attribute.rb | 2 +- lib/plaid/models/fdx_notification.rb | 2 +- lib/plaid/models/fdx_notification_category.rb | 2 +- lib/plaid/models/fdx_notification_payload.rb | 2 +- .../fdx_notification_payload_id_type.rb | 2 +- lib/plaid/models/fdx_notification_priority.rb | 2 +- lib/plaid/models/fdx_notification_severity.rb | 2 +- lib/plaid/models/fdx_notification_type.rb | 2 +- lib/plaid/models/fdx_party.rb | 2 +- lib/plaid/models/fdx_party_registry.rb | 2 +- lib/plaid/models/fdx_party_type.rb | 2 +- lib/plaid/models/fdx_recipient_metadata.rb | 330 ++++++ lib/plaid/models/fdxfi_attribute.rb | 2 +- .../models/financial_institution_insights.rb | 2 +- lib/plaid/models/forecasted_monthly_income.rb | 241 +++++ lib/plaid/models/form1099_type.rb | 2 +- ...response.rb => forwarded_json_response.rb} | 10 +- lib/plaid/models/fraud_amount.rb | 2 +- .../generic_screening_hit_location_items.rb | 2 +- lib/plaid/models/get_recipient_response.rb | 337 ++++++ lib/plaid/models/get_recipients_response.rb | 227 ++++ lib/plaid/models/health_incident.rb | 2 +- lib/plaid/models/hidden_match_summary_code.rb | 42 + lib/plaid/models/historical_balance.rb | 2 +- lib/plaid/models/historical_update_webhook.rb | 6 +- lib/plaid/models/holding.rb | 2 +- .../models/holdings_default_update_webhook.rb | 2 +- lib/plaid/models/holdings_override.rb | 2 +- .../models/hosted_link_delivery_method.rb | 2 +- .../models/hosted_mmd_verification_webhook.rb | 2 +- lib/plaid/models/id_number_type.rb | 2 +- .../models/identity_default_update_webhook.rb | 2 +- .../models/identity_document_metadata.rb | 2 +- lib/plaid/models/identity_document_upload.rb | 2 +- .../identity_document_upload_metadata.rb | 2 +- .../identity_document_upload_risk_insights.rb | 2 +- .../identity_document_upload_risk_signal.rb | 2 +- .../identity_document_upload_risk_summary.rb | 2 +- .../identity_documents_uploads_get_request.rb | 2 +- ...y_documents_uploads_get_request_options.rb | 2 +- ...identity_documents_uploads_get_response.rb | 2 +- lib/plaid/models/identity_get_request.rb | 2 +- .../models/identity_get_request_options.rb | 2 +- lib/plaid/models/identity_get_response.rb | 2 +- lib/plaid/models/identity_match_request.rb | 2 +- .../models/identity_match_request_options.rb | 2 +- lib/plaid/models/identity_match_response.rb | 2 +- lib/plaid/models/identity_match_user.rb | 4 +- lib/plaid/models/identity_refresh_request.rb | 2 +- lib/plaid/models/identity_refresh_response.rb | 2 +- lib/plaid/models/identity_update_types.rb | 2 +- lib/plaid/models/identity_verification.rb | 2 +- .../identity_verification_autofill_address.rb | 4 +- ...ty_verification_autofill_create_request.rb | 2 +- ...y_verification_autofill_create_response.rb | 2 +- .../identity_verification_autofill_status.rb | 2 +- ...dentity_verification_autofill_user_data.rb | 2 +- .../identity_verification_create_request.rb | 2 +- ...entity_verification_create_request_user.rb | 6 +- .../identity_verification_create_response.rb | 2 +- ..._verification_document_address_response.rb | 2 +- ...ity_verification_document_name_response.rb | 241 +++++ .../identity_verification_get_request.rb | 2 +- .../identity_verification_get_response.rb | 2 +- .../identity_verification_list_request.rb | 2 +- .../identity_verification_list_response.rb | 2 +- .../identity_verification_request_user.rb | 6 +- ...identity_verification_request_user_name.rb | 2 +- ...dentity_verification_response_user_name.rb | 2 +- .../identity_verification_retried_webhook.rb | 2 +- .../identity_verification_retry_request.rb | 15 +- ...verification_retry_request_steps_object.rb | 2 +- .../identity_verification_retry_response.rb | 2 +- .../models/identity_verification_status.rb | 2 +- ...ity_verification_status_updated_webhook.rb | 2 +- .../identity_verification_step_status.rb | 2 +- .../identity_verification_step_summary.rb | 2 +- ...ntity_verification_step_updated_webhook.rb | 2 +- ...dentity_verification_template_reference.rb | 2 +- .../identity_verification_user_address.rb | 4 +- .../models/identity_verification_user_data.rb | 6 +- lib/plaid/models/image_quality.rb | 2 +- lib/plaid/models/incident_update.rb | 2 +- lib/plaid/models/income_breakdown.rb | 2 +- lib/plaid/models/income_breakdown_type.rb | 2 +- lib/plaid/models/income_override.rb | 2 +- lib/plaid/models/income_sources_counts.rb | 241 +++++ lib/plaid/models/income_summary.rb | 2 +- .../models/income_summary_field_number.rb | 2 +- .../models/income_summary_field_string.rb | 2 +- .../income_verification_create_request.rb | 2 +- ...ome_verification_create_request_options.rb | 2 +- .../income_verification_create_response.rb | 2 +- .../income_verification_doc_parsing_config.rb | 2 +- ...verification_documents_download_request.rb | 2 +- .../income_verification_payroll_flow_type.rb | 2 +- ...ncome_verification_paystubs_get_request.rb | 2 +- ...come_verification_paystubs_get_response.rb | 2 +- ...income_verification_precheck_confidence.rb | 2 +- .../income_verification_precheck_employer.rb | 2 +- ..._verification_precheck_employer_address.rb | 2 +- ...fication_precheck_employer_address_data.rb | 2 +- ...ome_verification_precheck_military_info.rb | 2 +- ...rification_precheck_payroll_institution.rb | 2 +- .../income_verification_precheck_request.rb | 2 +- .../income_verification_precheck_response.rb | 2 +- .../income_verification_precheck_user.rb | 2 +- ...cation_refresh_reconnect_needed_webhook.rb | 2 +- ...erification_risk_signals_status_webhook.rb | 2 +- .../models/income_verification_source_type.rb | 2 +- .../income_verification_status_webhook.rb | 2 +- ...ncome_verification_taxforms_get_request.rb | 2 +- ...come_verification_taxforms_get_response.rb | 2 +- .../income_verification_webhook_status.rb | 2 +- lib/plaid/models/individual_name.rb | 2 +- .../models/individual_screening_hit_names.rb | 2 +- lib/plaid/models/individual_watchlist_code.rb | 2 +- .../models/individual_watchlist_program.rb | 2 +- lib/plaid/models/inflow_model.rb | 2 +- lib/plaid/models/initial_update_webhook.rb | 6 +- lib/plaid/models/institution.rb | 2 +- lib/plaid/models/institution_status.rb | 2 +- .../institution_status_alert_webhook.rb | 2 +- .../models/institution_supported_networks.rb | 2 +- .../models/institutions_get_by_id_request.rb | 2 +- .../institutions_get_by_id_request_options.rb | 2 +- .../models/institutions_get_by_id_response.rb | 2 +- lib/plaid/models/institutions_get_request.rb | 2 +- .../institutions_get_request_options.rb | 2 +- lib/plaid/models/institutions_get_response.rb | 2 +- .../institutions_search_account_filter.rb | 2 +- ...tions_search_payment_initiation_options.rb | 2 +- .../models/institutions_search_request.rb | 2 +- .../institutions_search_request_options.rb | 2 +- .../models/institutions_search_response.rb | 2 +- .../models/investment_account_subtype.rb | 2 +- lib/plaid/models/investment_filter.rb | 2 +- ...investment_holdings_get_request_options.rb | 2 +- lib/plaid/models/investment_transaction.rb | 2 +- .../models/investment_transaction_subtype.rb | 2 +- .../models/investment_transaction_type.rb | 2 +- .../models/investments_auth_get_numbers.rb | 2 +- .../models/investments_auth_get_request.rb | 2 +- .../investments_auth_get_request_options.rb | 2 +- .../models/investments_auth_get_response.rb | 2 +- lib/plaid/models/investments_auth_owner.rb | 2 +- .../investments_default_update_webhook.rb | 2 +- .../investments_historical_update_webhook.rb | 2 +- .../investments_holdings_get_request.rb | 2 +- .../investments_holdings_get_response.rb | 2 +- .../models/investments_refresh_request.rb | 2 +- .../models/investments_refresh_response.rb | 2 +- .../investments_transactions_get_request.rb | 2 +- ...tments_transactions_get_request_options.rb | 4 +- .../investments_transactions_get_response.rb | 2 +- .../investments_transactions_override.rb | 2 +- lib/plaid/models/iso_currency_code.rb | 2 +- lib/plaid/models/issue_resolved_webhook.rb | 316 ++++++ lib/plaid/models/issuing_country.rb | 2 +- lib/plaid/models/item.rb | 2 +- .../item_access_token_invalidate_request.rb | 2 +- .../item_access_token_invalidate_response.rb | 2 +- .../models/item_activity_list_request.rb | 2 +- .../models/item_activity_list_response.rb | 2 +- lib/plaid/models/item_add_result_webhook.rb | 4 +- .../models/item_application_list_request.rb | 2 +- .../models/item_application_list_response.rb | 2 +- .../models/item_application_list_user_auth.rb | 2 +- .../item_application_scopes_update_request.rb | 2 +- ...item_application_scopes_update_response.rb | 2 +- .../models/item_application_unlink_request.rb | 2 +- .../item_application_unlink_response.rb | 2 +- lib/plaid/models/item_error_webhook.rb | 2 +- lib/plaid/models/item_get_request.rb | 2 +- lib/plaid/models/item_get_response.rb | 2 +- lib/plaid/models/item_import_request.rb | 2 +- .../models/item_import_request_options.rb | 2 +- .../models/item_import_request_user_auth.rb | 2 +- lib/plaid/models/item_import_response.rb | 2 +- .../models/item_login_repaired_webhook.rb | 2 +- .../models/item_product_ready_webhook.rb | 2 +- .../item_public_token_create_request.rb | 2 +- .../item_public_token_create_response.rb | 2 +- .../item_public_token_exchange_request.rb | 2 +- .../item_public_token_exchange_response.rb | 2 +- lib/plaid/models/item_remove_request.rb | 2 +- lib/plaid/models/item_remove_response.rb | 2 +- lib/plaid/models/item_status.rb | 2 +- lib/plaid/models/item_status_investments.rb | 2 +- lib/plaid/models/item_status_last_webhook.rb | 2 +- lib/plaid/models/item_status_nullable.rb | 2 +- lib/plaid/models/item_status_transactions.rb | 2 +- .../models/item_webhook_update_request.rb | 2 +- .../models/item_webhook_update_response.rb | 2 +- lib/plaid/models/jwk_public_key.rb | 2 +- lib/plaid/models/jwt_header.rb | 2 +- lib/plaid/models/kyc_check_address_summary.rb | 56 +- .../models/kyc_check_date_of_birth_summary.rb | 37 +- lib/plaid/models/kyc_check_details.rb | 2 +- ...kyc_check_details_international_address.rb | 317 ++++++ .../models/kyc_check_id_number_summary.rb | 2 +- lib/plaid/models/kyc_check_name_summary.rb | 28 +- lib/plaid/models/kyc_check_phone_summary.rb | 2 +- lib/plaid/models/last_data_access_times.rb | 2 +- .../liabilities_default_update_webhook.rb | 2 +- lib/plaid/models/liabilities_get_request.rb | 2 +- .../models/liabilities_get_request_options.rb | 2 +- lib/plaid/models/liabilities_get_response.rb | 2 +- lib/plaid/models/liabilities_object.rb | 2 +- lib/plaid/models/liability_override.rb | 2 +- lib/plaid/models/link_callback_metadata.rb | 2 +- lib/plaid/models/link_delivery_account.rb | 2 +- .../models/link_delivery_callback_webhook.rb | 2 +- .../link_delivery_communication_method.rb | 2 +- .../models/link_delivery_create_request.rb | 2 +- .../models/link_delivery_create_response.rb | 2 +- .../models/link_delivery_delivery_method.rb | 2 +- lib/plaid/models/link_delivery_get_request.rb | 2 +- .../models/link_delivery_get_response.rb | 2 +- lib/plaid/models/link_delivery_institution.rb | 2 +- lib/plaid/models/link_delivery_metadata.rb | 2 +- lib/plaid/models/link_delivery_options.rb | 2 +- lib/plaid/models/link_delivery_recipient.rb | 2 +- .../models/link_delivery_session_status.rb | 2 +- .../link_delivery_verification_status.rb | 2 +- .../link_delivery_webhook_callback_type.rb | 2 +- ...k_delivery_webhook_communication_method.rb | 2 +- .../link_delivery_webhook_delivery_status.rb | 2 +- lib/plaid/models/link_event.rb | 2 +- lib/plaid/models/link_event_metadata.rb | 2 +- lib/plaid/models/link_event_name.rb | 3 +- lib/plaid/models/link_events_webhook.rb | 2 +- ..._o_auth_correlation_id_exchange_request.rb | 2 +- ...o_auth_correlation_id_exchange_response.rb | 2 +- .../link_profile_eligibility_check_request.rb | 2 +- ...link_profile_eligibility_check_response.rb | 2 +- .../link_profile_eligibility_check_user.rb | 2 +- .../link_session_bank_employment_result.rb | 2 +- .../models/link_session_bank_income_result.rb | 2 +- .../link_session_cra_item_add_result.rb | 253 +++++ lib/plaid/models/link_session_exit.rb | 2 +- .../models/link_session_exit_deprecated.rb | 4 +- .../models/link_session_exit_metadata.rb | 2 +- .../link_session_exit_metadata_institution.rb | 2 +- .../models/link_session_finished_webhook.rb | 4 +- .../models/link_session_item_add_result.rb | 2 +- .../link_session_payroll_income_result.rb | 2 +- lib/plaid/models/link_session_results.rb | 16 +- lib/plaid/models/link_session_success.rb | 4 +- .../models/link_session_success_metadata.rb | 2 +- .../link_session_success_metadata_account.rb | 2 +- ...nk_session_success_metadata_institution.rb | 2 +- ...ession_success_metadata_transfer_status.rb | 3 +- .../models/link_token_account_filters.rb | 2 +- .../models/link_token_create_card_switch.rb | 2 +- .../models/link_token_create_credit_filter.rb | 2 +- .../link_token_create_depository_filter.rb | 2 +- .../models/link_token_create_hosted_link.rb | 4 +- .../models/link_token_create_identity.rb | 2 +- .../link_token_create_institution_data.rb | 2 +- .../link_token_create_investment_filter.rb | 2 +- .../models/link_token_create_loan_filter.rb | 2 +- lib/plaid/models/link_token_create_request.rb | 6 +- ...k_token_create_request_account_subtypes.rb | 2 +- .../models/link_token_create_request_auth.rb | 2 +- .../link_token_create_request_base_report.rb | 2 +- .../link_token_create_request_cra_options.rb | 21 +- ..._create_request_cra_options_base_report.rb | 2 +- ...e_request_cra_options_cashflow_insights.rb | 254 +++++ ...te_request_cra_options_partner_insights.rb | 20 +- ..._create_request_credit_partner_insights.rb | 4 +- ...ink_token_create_request_deposit_switch.rb | 2 +- .../link_token_create_request_employment.rb | 2 +- ...n_create_request_employment_bank_income.rb | 2 +- ...en_create_request_identity_verification.rb | 2 +- ...oken_create_request_income_verification.rb | 4 +- ...request_income_verification_bank_income.rb | 4 +- ...uest_income_verification_payroll_income.rb | 2 +- ...token_create_request_payment_initiation.rb | 2 +- .../link_token_create_request_statements.rb | 6 +- .../link_token_create_request_transfer.rb | 2 +- .../link_token_create_request_update.rb | 33 +- .../models/link_token_create_request_user.rb | 2 +- .../link_token_create_request_user_address.rb | 4 +- ...ink_token_create_request_user_id_number.rb | 2 +- .../link_token_create_request_user_name.rb | 2 +- ...reate_request_user_stated_income_source.rb | 2 +- .../models/link_token_create_response.rb | 2 +- lib/plaid/models/link_token_eu_config.rb | 2 +- .../link_token_get_metadata_response.rb | 2 +- lib/plaid/models/link_token_get_request.rb | 2 +- lib/plaid/models/link_token_get_response.rb | 2 +- .../link_token_get_sessions_response.rb | 2 +- lib/plaid/models/link_token_investments.rb | 2 +- .../models/link_token_investments_auth.rb | 25 +- lib/plaid/models/link_token_transactions.rb | 4 +- .../link_user_delivery_status_webhook.rb | 2 +- lib/plaid/models/loan.rb | 2 +- lib/plaid/models/loan_account_subtype.rb | 2 +- lib/plaid/models/loan_filter.rb | 2 +- lib/plaid/models/loan_identifier.rb | 2 +- lib/plaid/models/loan_identifier_type.rb | 2 +- lib/plaid/models/loan_identifiers.rb | 2 +- lib/plaid/models/loan_payments_counts.rb | 241 +++++ .../models/loan_payments_merchant_counts.rb | 241 +++++ lib/plaid/models/loans.rb | 2 +- lib/plaid/models/location.rb | 2 +- lib/plaid/models/match_summary.rb | 2 +- lib/plaid/models/match_summary_code.rb | 2 +- lib/plaid/models/merchant_insights.rb | 2 +- lib/plaid/models/meta.rb | 2 +- lib/plaid/models/mfa.rb | 2 +- .../models/monitoring_income_insights.rb | 270 +++++ lib/plaid/models/monitoring_income_source.rb | 307 ++++++ lib/plaid/models/monitoring_insights.rb | 239 +++++ .../models/monitoring_insights_item_status.rb | 258 +++++ .../models/monitoring_insights_webhook.rb | 303 ++++++ .../models/monitoring_item_status_code.rb | 41 + lib/plaid/models/monitoring_loan_insights.rb | 254 +++++ lib/plaid/models/mortgage_interest_rate.rb | 2 +- lib/plaid/models/mortgage_liability.rb | 2 +- lib/plaid/models/mortgage_property_address.rb | 2 +- .../models/multi_document_risk_signal.rb | 2 +- lib/plaid/models/name_match_score.rb | 4 +- lib/plaid/models/net_pay.rb | 2 +- lib/plaid/models/network_insights_item.rb | 256 +++++ lib/plaid/models/network_insights_report.rb | 273 +++++ .../network_insights_report_get_request.rb | 248 +++++ .../network_insights_report_get_response.rb | 240 +++++ .../models/new_accounts_available_webhook.rb | 4 +- lib/plaid/models/numbers.rb | 2 +- lib/plaid/models/numbers_acats.rb | 2 +- lib/plaid/models/numbers_ach.rb | 4 +- lib/plaid/models/numbers_ach_nullable.rb | 4 +- lib/plaid/models/numbers_aton.rb | 2 +- lib/plaid/models/numbers_bacs.rb | 2 +- lib/plaid/models/numbers_bacs_nullable.rb | 2 +- lib/plaid/models/numbers_eft.rb | 2 +- lib/plaid/models/numbers_eft_nullable.rb | 2 +- lib/plaid/models/numbers_iban_nullable.rb | 2 +- lib/plaid/models/numbers_international.rb | 2 +- .../models/numbers_international_iban.rb | 2 +- .../models/numbers_international_nullable.rb | 2 +- lib/plaid/models/omittable_transfer_type.rb | 2 +- lib/plaid/models/option_contract.rb | 2 +- lib/plaid/models/originator.rb | 2 +- .../originator_expected_transfer_frequency.rb | 2 +- lib/plaid/models/other_account_subtype.rb | 2 +- lib/plaid/models/other_filter.rb | 2 +- lib/plaid/models/override_account_type.rb | 2 +- lib/plaid/models/override_accounts.rb | 2 +- lib/plaid/models/owner.rb | 2 +- lib/plaid/models/owner_override.rb | 2 +- lib/plaid/models/ownership_type.rb | 2 +- lib/plaid/models/parties.rb | 2 +- .../models/partner_customer_create_request.rb | 2 +- .../partner_customer_create_response.rb | 2 +- .../models/partner_customer_enable_request.rb | 2 +- .../partner_customer_enable_response.rb | 2 +- .../models/partner_customer_get_request.rb | 2 +- .../models/partner_customer_get_response.rb | 2 +- ...ustomer_o_auth_institutions_get_request.rb | 2 +- ...stomer_o_auth_institutions_get_response.rb | 2 +- .../models/partner_customer_remove_request.rb | 2 +- .../partner_customer_remove_response.rb | 2 +- lib/plaid/models/partner_end_customer.rb | 2 +- .../models/partner_end_customer_address.rb | 2 +- ...er_end_customer_assets_under_management.rb | 2 +- .../partner_end_customer_billing_contact.rb | 2 +- ...tner_end_customer_customer_support_info.rb | 2 +- .../partner_end_customer_flowdown_status.rb | 2 +- ...partner_end_customer_o_auth_institution.rb | 2 +- ...r_o_auth_institution_application_status.rb | 2 +- ...ustomer_o_auth_institution_environments.rb | 2 +- ...d_customer_o_auth_status_updated_values.rb | 2 +- ..._customer_o_auth_status_updated_webhook.rb | 2 +- ...rtner_end_customer_questionnaire_status.rb | 2 +- .../models/partner_end_customer_secrets.rb | 2 +- .../models/partner_end_customer_status.rb | 2 +- .../partner_end_customer_technical_contact.rb | 2 +- .../partner_end_customer_with_secrets.rb | 2 +- ...artner_end_customer_with_secrets_all_of.rb | 2 +- lib/plaid/models/party.rb | 2 +- lib/plaid/models/party_individual.rb | 2 +- lib/plaid/models/party_role_type.rb | 2 +- lib/plaid/models/pay.rb | 2 +- lib/plaid/models/pay_frequency.rb | 2 +- lib/plaid/models/pay_frequency_value.rb | 2 +- lib/plaid/models/pay_period_details.rb | 2 +- .../pay_period_details_pay_frequency.rb | 2 +- .../models/pay_stub_deductions_breakdown.rb | 2 +- lib/plaid/models/pay_stub_deductions_total.rb | 2 +- .../models/pay_stub_distribution_breakdown.rb | 2 +- .../models/pay_stub_earnings_breakdown.rb | 2 +- lib/plaid/models/pay_stub_earnings_total.rb | 2 +- .../models/pay_stub_pay_period_details.rb | 2 +- lib/plaid/models/pay_stub_taxpayer_id.rb | 2 +- lib/plaid/models/payment_amount.rb | 2 +- lib/plaid/models/payment_amount_currency.rb | 2 +- lib/plaid/models/payment_amount_nullable.rb | 2 +- lib/plaid/models/payment_amount_refunded.rb | 2 +- lib/plaid/models/payment_amount_to_refund.rb | 2 +- lib/plaid/models/payment_channel.rb | 2 +- .../payment_consent_max_payment_amount.rb | 2 +- .../payment_consent_periodic_alignment.rb | 2 +- .../models/payment_consent_periodic_amount.rb | 2 +- .../payment_consent_periodic_amount_amount.rb | 2 +- .../payment_consent_periodic_interval.rb | 2 +- .../models/payment_consent_valid_date_time.rb | 2 +- .../models/payment_initiation_address.rb | 2 +- .../models/payment_initiation_consent.rb | 2 +- .../payment_initiation_consent_constraints.rb | 2 +- ...yment_initiation_consent_create_request.rb | 2 +- ...ment_initiation_consent_create_response.rb | 2 +- .../payment_initiation_consent_get_request.rb | 2 +- ...payment_initiation_consent_get_response.rb | 2 +- ...tiation_consent_payment_execute_request.rb | 2 +- ...iation_consent_payment_execute_response.rb | 2 +- ...yment_initiation_consent_revoke_request.rb | 2 +- ...ment_initiation_consent_revoke_response.rb | 2 +- .../payment_initiation_consent_scope.rb | 2 +- .../payment_initiation_consent_status.rb | 2 +- .../models/payment_initiation_metadata.rb | 2 +- ...nt_initiation_optional_restriction_bacs.rb | 2 +- .../models/payment_initiation_payment.rb | 2 +- ...yment_initiation_payment_create_request.rb | 2 +- ...ment_initiation_payment_create_response.rb | 2 +- ...ayment_initiation_payment_create_status.rb | 2 +- .../payment_initiation_payment_get_request.rb | 2 +- ...payment_initiation_payment_get_response.rb | 2 +- ...payment_initiation_payment_list_request.rb | 2 +- ...ayment_initiation_payment_list_response.rb | 2 +- ...ment_initiation_payment_reverse_request.rb | 2 +- ...ent_initiation_payment_reverse_response.rb | 2 +- .../payment_initiation_payment_status.rb | 2 +- ...initiation_payment_token_create_request.rb | 2 +- ...nitiation_payment_token_create_response.rb | 2 +- .../models/payment_initiation_recipient.rb | 2 +- ...ent_initiation_recipient_create_request.rb | 2 +- ...nt_initiation_recipient_create_response.rb | 2 +- ...ayment_initiation_recipient_get_request.rb | 2 +- ...yment_initiation_recipient_get_response.rb | 2 +- ...nitiation_recipient_get_response_all_of.rb | 2 +- ...yment_initiation_recipient_list_request.rb | 2 +- ...ment_initiation_recipient_list_response.rb | 2 +- ...ment_initiation_standing_order_metadata.rb | 2 +- lib/plaid/models/payment_meta.rb | 2 +- .../models/payment_profile_create_request.rb | 2 +- .../models/payment_profile_create_response.rb | 2 +- .../models/payment_profile_get_request.rb | 2 +- .../models/payment_profile_get_response.rb | 2 +- .../models/payment_profile_remove_request.rb | 2 +- .../models/payment_profile_remove_response.rb | 2 +- lib/plaid/models/payment_profile_status.rb | 2 +- lib/plaid/models/payment_schedule_interval.rb | 2 +- lib/plaid/models/payment_scheme.rb | 2 +- .../models/payment_status_update_webhook.rb | 2 +- .../models/payroll_income_account_data.rb | 2 +- lib/plaid/models/payroll_income_object.rb | 2 +- .../models/payroll_income_rate_of_pay.rb | 2 +- lib/plaid/models/payroll_item.rb | 2 +- lib/plaid/models/payroll_item_status.rb | 2 +- lib/plaid/models/payroll_risk_signals_item.rb | 2 +- lib/plaid/models/paystub.rb | 2 +- lib/plaid/models/paystub_address.rb | 2 +- lib/plaid/models/paystub_deduction.rb | 2 +- lib/plaid/models/paystub_details.rb | 2 +- lib/plaid/models/paystub_employer.rb | 2 +- lib/plaid/models/paystub_override.rb | 2 +- .../models/paystub_override_deductions.rb | 2 +- .../paystub_override_deductions_breakdown.rb | 2 +- .../paystub_override_deductions_total.rb | 2 +- ...paystub_override_distribution_breakdown.rb | 2 +- lib/plaid/models/paystub_override_earnings.rb | 2 +- .../paystub_override_earnings_breakdown.rb | 2 +- .../models/paystub_override_earnings_total.rb | 23 +- lib/plaid/models/paystub_override_employee.rb | 2 +- .../paystub_override_employee_address.rb | 2 +- lib/plaid/models/paystub_override_employer.rb | 2 +- .../paystub_override_employer_address.rb | 2 +- lib/plaid/models/paystub_override_net_pay.rb | 2 +- .../paystub_override_pay_period_details.rb | 2 +- .../models/paystub_override_taxpayer_id.rb | 2 +- lib/plaid/models/paystub_pay_frequency.rb | 2 +- lib/plaid/models/paystub_ytd_details.rb | 2 +- .../models/pending_disconnect_webhook.rb | 306 ++++++ .../pending_disconnect_webhook_reason.rb | 38 + .../models/pending_expiration_webhook.rb | 2 +- lib/plaid/models/personal_finance_category.rb | 2 +- lib/plaid/models/phone_number.rb | 2 +- lib/plaid/models/phone_number_match_score.rb | 2 +- lib/plaid/models/phone_type.rb | 2 +- .../models/physical_document_category.rb | 2 +- .../physical_document_extracted_data.rb | 22 +- ...ysical_document_extracted_data_analysis.rb | 2 +- lib/plaid/models/physical_document_images.rb | 2 +- lib/plaid/models/plaid_check_score.rb | 233 +++++ lib/plaid/models/plaid_error.rb | 17 +- lib/plaid/models/plaid_error_type.rb | 7 +- lib/plaid/models/platform_ids.rb | 2 +- lib/plaid/models/po_box_status.rb | 2 +- lib/plaid/models/prism_cash_score.rb | 2 +- lib/plaid/models/prism_cash_score_metadata.rb | 2 +- lib/plaid/models/prism_cash_score_version.rb | 39 + lib/plaid/models/prism_first_detect.rb | 2 +- .../models/prism_first_detect_version.rb | 39 + lib/plaid/models/prism_insights.rb | 2 +- lib/plaid/models/prism_insights_version.rb | 39 + lib/plaid/models/prism_product.rb | 2 +- lib/plaid/models/prism_versions.rb | 263 +++++ .../models/processor_account_get_request.rb | 2 +- .../models/processor_account_get_response.rb | 2 +- ...sor_apex_processor_token_create_request.rb | 2 +- .../models/processor_auth_get_request.rb | 2 +- .../models/processor_auth_get_response.rb | 2 +- .../models/processor_balance_get_request.rb | 2 +- .../processor_balance_get_request_options.rb | 2 +- .../models/processor_balance_get_response.rb | 2 +- .../processor_bank_transfer_create_request.rb | 2 +- ...processor_bank_transfer_create_response.rb | 2 +- .../processor_default_update_webhook.rb | 2 +- .../processor_historical_update_webhook.rb | 6 +- .../models/processor_identity_get_request.rb | 2 +- .../models/processor_identity_get_response.rb | 2 +- .../processor_identity_match_request.rb | 2 +- .../processor_identity_match_response.rb | 2 +- .../processor_initial_update_webhook.rb | 6 +- .../processor_liabilities_get_request.rb | 2 +- .../processor_liabilities_get_response.rb | 2 +- lib/plaid/models/processor_number.rb | 2 +- ...r_recurring_transactions_update_webhook.rb | 2 +- ...rocessor_signal_decision_report_request.rb | 2 +- ...ocessor_signal_decision_report_response.rb | 2 +- .../processor_signal_evaluate_request.rb | 21 +- .../processor_signal_evaluate_response.rb | 14 +- .../processor_signal_prepare_request.rb | 2 +- .../processor_signal_prepare_response.rb | 2 +- .../processor_signal_return_report_request.rb | 2 +- ...processor_signal_return_report_response.rb | 2 +- ...tripe_bank_account_token_create_request.rb | 2 +- ...ripe_bank_account_token_create_response.rb | 2 +- ...rocessor_sync_updates_available_webhook.rb | 2 +- .../models/processor_token_create_request.rb | 6 +- .../models/processor_token_create_response.rb | 2 +- ...processor_token_permissions_get_request.rb | 2 +- ...rocessor_token_permissions_get_response.rb | 2 +- ...processor_token_permissions_set_request.rb | 2 +- ...rocessor_token_permissions_set_response.rb | 2 +- .../models/processor_token_webhook_update.rb | 2 +- .../processor_token_webhook_update_request.rb | 2 +- ...processor_token_webhook_update_response.rb | 2 +- .../processor_transactions_get_request.rb | 2 +- ...cessor_transactions_get_request_options.rb | 2 +- .../processor_transactions_get_response.rb | 2 +- ...ssor_transactions_recurring_get_request.rb | 2 +- ...sor_transactions_recurring_get_response.rb | 2 +- .../processor_transactions_refresh_request.rb | 2 +- ...processor_transactions_refresh_response.rb | 2 +- .../processor_transactions_removed_webhook.rb | 2 +- .../processor_transactions_sync_request.rb | 2 +- .../processor_transactions_sync_response.rb | 2 +- lib/plaid/models/product_access.rb | 2 +- ...oduct_permissions_required_auth_webhook.rb | 2 +- ...t_permissions_required_identity_webhook.rb | 2 +- lib/plaid/models/product_status.rb | 2 +- lib/plaid/models/product_status_breakdown.rb | 4 +- lib/plaid/models/products.rb | 3 +- lib/plaid/models/profile_get_request.rb | 2 +- lib/plaid/models/profile_get_response.rb | 2 +- lib/plaid/models/profile_identity.rb | 2 +- lib/plaid/models/profile_identity_address.rb | 2 +- lib/plaid/models/profile_identity_name.rb | 2 +- lib/plaid/models/profile_item.rb | 2 +- ...ofile_network_status_get_network_status.rb | 39 + .../profile_network_status_get_request.rb | 245 +++++ .../profile_network_status_get_response.rb | 262 +++++ .../models/profile_network_status_get_user.rb | 226 ++++ lib/plaid/models/program_name_sensitivity.rb | 2 +- .../projected_income_summary_field_number.rb | 2 +- lib/plaid/models/proxy_type.rb | 2 +- lib/plaid/models/pslf_status.rb | 4 +- lib/plaid/models/recaptcha_required_error.rb | 2 +- lib/plaid/models/recipient_bacs.rb | 2 +- lib/plaid/models/recipient_bacs_nullable.rb | 2 +- lib/plaid/models/recurrence.rb | 2 +- .../models/recurring_cancelled_webhook.rb | 2 +- lib/plaid/models/recurring_frequency.rb | 2 +- lib/plaid/models/recurring_insights_stream.rb | 2 +- .../models/recurring_new_transfer_webhook.rb | 2 +- .../models/recurring_transaction_frequency.rb | 2 +- lib/plaid/models/recurring_transactions.rb | 2 +- .../recurring_transactions_update_webhook.rb | 2 +- lib/plaid/models/recurring_transfer.rb | 2 +- .../models/recurring_transfer_nullable.rb | 2 +- .../recurring_transfer_skipped_webhook.rb | 2 +- lib/plaid/models/removed_transaction.rb | 2 +- lib/plaid/models/report_type.rb | 2 +- lib/plaid/models/reporting_information.rb | 2 +- lib/plaid/models/risk_check_behavior.rb | 2 +- .../risk_check_behavior_bot_detected_label.rb | 2 +- ...heck_behavior_fraud_ring_detected_label.rb | 2 +- ..._check_behavior_user_interactions_label.rb | 2 +- lib/plaid/models/risk_check_details.rb | 2 +- lib/plaid/models/risk_check_device.rb | 2 +- lib/plaid/models/risk_check_email.rb | 2 +- .../risk_check_email_domain_is_custom.rb | 2 +- .../risk_check_email_domain_is_disposable.rb | 2 +- ...isk_check_email_domain_is_free_provider.rb | 2 +- .../risk_check_email_is_deliverable_status.rb | 2 +- ...ck_email_top_level_domain_is_suspicious.rb | 2 +- .../risk_check_identity_abuse_signals.rb | 2 +- lib/plaid/models/risk_check_linked_service.rb | 2 +- lib/plaid/models/risk_check_phone.rb | 2 +- .../models/risk_check_stolen_identity.rb | 2 +- .../models/risk_check_synthetic_identity.rb | 2 +- lib/plaid/models/risk_profile.rb | 2 +- lib/plaid/models/risk_reason.rb | 2 +- .../models/risk_signal_document_reference.rb | 22 +- .../models/risk_signal_document_status.rb | 2 +- lib/plaid/models/risk_signal_document_type.rb | 2 +- lib/plaid/models/risk_signal_file_type.rb | 45 + lib/plaid/models/role.rb | 2 +- lib/plaid/models/role_detail.rb | 2 +- lib/plaid/models/roles.rb | 2 +- lib/plaid/models/ruleset.rb | 2 +- ...andbox_bank_income_fire_webhook_request.rb | 2 +- ...ndbox_bank_income_fire_webhook_response.rb | 2 +- ...ncome_webhook_fire_request_webhook_code.rb | 2 +- ...ome_webhook_fire_request_webhook_fields.rb | 2 +- ...dbox_bank_transfer_fire_webhook_request.rb | 2 +- ...box_bank_transfer_fire_webhook_response.rb | 2 +- .../sandbox_bank_transfer_simulate_request.rb | 2 +- ...sandbox_bank_transfer_simulate_response.rb | 2 +- .../sandbox_income_fire_webhook_request.rb | 2 +- .../sandbox_income_fire_webhook_response.rb | 2 +- ...ncome_webhook_fire_request_webhook_code.rb | 2 +- .../sandbox_item_fire_webhook_request.rb | 6 +- .../sandbox_item_fire_webhook_response.rb | 2 +- .../sandbox_item_reset_login_request.rb | 2 +- .../sandbox_item_reset_login_response.rb | 2 +- ...ox_item_set_verification_status_request.rb | 2 +- ...x_item_set_verification_status_response.rb | 2 +- .../sandbox_oauth_select_accounts_request.rb | 2 +- ...box_payment_profile_reset_login_request.rb | 2 +- ...ox_payment_profile_reset_login_response.rb | 2 +- .../sandbox_processor_token_create_request.rb | 2 +- ..._processor_token_create_request_options.rb | 2 +- ...sandbox_processor_token_create_response.rb | 2 +- .../sandbox_public_token_create_request.rb | 2 +- ...request_income_verification_bank_income.rb | 2 +- ...box_public_token_create_request_options.rb | 2 +- ...ate_request_options_income_verification.rb | 2 +- ...token_create_request_options_statements.rb | 2 +- ...ken_create_request_options_transactions.rb | 2 +- .../sandbox_public_token_create_response.rb | 2 +- .../sandbox_transfer_fire_webhook_request.rb | 2 +- .../sandbox_transfer_fire_webhook_response.rb | 2 +- ...ransfer_ledger_deposit_simulate_request.rb | 2 +- ...ansfer_ledger_deposit_simulate_response.rb | 2 +- ...nsfer_ledger_simulate_available_request.rb | 15 +- ...sfer_ledger_simulate_available_response.rb | 2 +- ...ansfer_ledger_withdraw_simulate_request.rb | 2 +- ...nsfer_ledger_withdraw_simulate_response.rb | 2 +- ...andbox_transfer_refund_simulate_request.rb | 2 +- ...ndbox_transfer_refund_simulate_response.rb | 2 +- ...box_transfer_repayment_simulate_request.rb | 2 +- ...ox_transfer_repayment_simulate_response.rb | 2 +- .../sandbox_transfer_simulate_request.rb | 2 +- .../sandbox_transfer_simulate_response.rb | 2 +- ...sandbox_transfer_sweep_simulate_request.rb | 2 +- ...andbox_transfer_sweep_simulate_response.rb | 2 +- ...box_transfer_test_clock_advance_request.rb | 2 +- ...ox_transfer_test_clock_advance_response.rb | 2 +- ...dbox_transfer_test_clock_create_request.rb | 2 +- ...box_transfer_test_clock_create_response.rb | 2 +- ...sandbox_transfer_test_clock_get_request.rb | 2 +- ...andbox_transfer_test_clock_get_response.rb | 2 +- ...andbox_transfer_test_clock_list_request.rb | 2 +- ...ndbox_transfer_test_clock_list_response.rb | 2 +- .../sandbox_user_reset_login_request.rb | 2 +- .../sandbox_user_reset_login_response.rb | 2 +- lib/plaid/models/scopes.rb | 2 +- lib/plaid/models/scopes_context.rb | 2 +- lib/plaid/models/scopes_nullable.rb | 2 +- lib/plaid/models/screening_hit_analysis.rb | 2 +- lib/plaid/models/screening_hit_data.rb | 2 +- .../screening_hit_date_of_birth_item.rb | 2 +- .../models/screening_hit_documents_items.rb | 2 +- lib/plaid/models/screening_hit_names_items.rb | 2 +- .../screening_status_updated_webhook.rb | 2 +- lib/plaid/models/security.rb | 26 +- lib/plaid/models/security_override.rb | 2 +- lib/plaid/models/selfie_analysis.rb | 2 +- .../selfie_analysis_document_comparison.rb | 2 +- lib/plaid/models/selfie_capture.rb | 2 +- lib/plaid/models/selfie_check.rb | 2 +- lib/plaid/models/selfie_check_selfie.rb | 2 +- lib/plaid/models/selfie_check_status.rb | 2 +- lib/plaid/models/selfie_status.rb | 2 +- lib/plaid/models/sender_bacs_nullable.rb | 2 +- lib/plaid/models/service.rb | 2 +- .../models/service_product_fulfillment.rb | 2 +- .../service_product_fulfillment_detail.rb | 2 +- .../service_product_fulfillment_identifier.rb | 2 +- lib/plaid/models/servicer_address_data.rb | 2 +- lib/plaid/models/services.rb | 2 +- lib/plaid/models/signal_address_data.rb | 2 +- lib/plaid/models/signal_decision_outcome.rb | 2 +- .../models/signal_decision_report_request.rb | 2 +- .../models/signal_decision_report_response.rb | 2 +- lib/plaid/models/signal_device.rb | 2 +- .../models/signal_evaluate_core_attributes.rb | 2 +- lib/plaid/models/signal_evaluate_request.rb | 54 +- lib/plaid/models/signal_evaluate_response.rb | 2 +- lib/plaid/models/signal_payment_method.rb | 2 +- lib/plaid/models/signal_person_name.rb | 2 +- lib/plaid/models/signal_prepare_request.rb | 2 +- lib/plaid/models/signal_prepare_response.rb | 2 +- .../models/signal_return_report_request.rb | 2 +- .../models/signal_return_report_response.rb | 2 +- lib/plaid/models/signal_scores.rb | 2 +- lib/plaid/models/signal_user.rb | 2 +- lib/plaid/models/signal_warning.rb | 2 +- lib/plaid/models/simulated_transfer_sweep.rb | 15 +- .../models/single_document_risk_signal.rb | 2 +- lib/plaid/models/source.rb | 2 +- lib/plaid/models/standalone_account_type.rb | 10 +- .../models/standalone_currency_code_list.rb | 2 +- .../standalone_investment_transaction_type.rb | 2 +- lib/plaid/models/statements_account.rb | 2 +- .../models/statements_download_request.rb | 2 +- lib/plaid/models/statements_list_request.rb | 2 +- lib/plaid/models/statements_list_response.rb | 2 +- .../statements_refresh_complete_result.rb | 2 +- .../statements_refresh_complete_webhook.rb | 2 +- .../models/statements_refresh_request.rb | 6 +- .../models/statements_refresh_response.rb | 2 +- lib/plaid/models/statements_statement.rb | 2 +- lib/plaid/models/status.rb | 2 +- lib/plaid/models/statuses.rb | 2 +- lib/plaid/models/strategy.rb | 2 +- lib/plaid/models/student_loan.rb | 4 +- .../models/student_loan_repayment_model.rb | 2 +- lib/plaid/models/student_loan_status.rb | 2 +- lib/plaid/models/student_repayment_plan.rb | 2 +- lib/plaid/models/sweep_status.rb | 2 +- lib/plaid/models/sweep_trigger.rb | 2 +- .../models/sync_updates_available_webhook.rb | 2 +- lib/plaid/models/taxform.rb | 2 +- lib/plaid/models/taxpayer_id.rb | 2 +- lib/plaid/models/taxpayer_identifier.rb | 2 +- lib/plaid/models/taxpayer_identifier_type.rb | 2 +- lib/plaid/models/taxpayer_identifiers.rb | 2 +- lib/plaid/models/total.rb | 2 +- .../models/total_canonical_description.rb | 2 +- .../models/total_monthly_income_insights.rb | 241 +++++ lib/plaid/models/transaction.rb | 8 +- lib/plaid/models/transaction_all_of.rb | 2 +- lib/plaid/models/transaction_base.rb | 8 +- lib/plaid/models/transaction_code.rb | 2 +- lib/plaid/models/transaction_counterparty.rb | 2 +- lib/plaid/models/transaction_data.rb | 2 +- lib/plaid/models/transaction_override.rb | 2 +- lib/plaid/models/transaction_stream.rb | 2 +- lib/plaid/models/transaction_stream_amount.rb | 2 +- lib/plaid/models/transaction_stream_status.rb | 2 +- .../models/transactions_category_rule.rb | 2 +- .../transactions_enhance_get_request.rb | 2 +- .../transactions_enhance_get_response.rb | 2 +- .../models/transactions_enrich_request.rb | 2 +- .../transactions_enrich_request_options.rb | 2 +- .../models/transactions_enrich_response.rb | 2 +- lib/plaid/models/transactions_get_request.rb | 2 +- .../transactions_get_request_options.rb | 4 +- lib/plaid/models/transactions_get_response.rb | 2 +- .../transactions_recurring_create_input.rb | 2 +- .../transactions_recurring_create_request.rb | 2 +- .../transactions_recurring_create_response.rb | 2 +- .../transactions_recurring_get_request.rb | 2 +- ...nsactions_recurring_get_request_options.rb | 2 +- .../transactions_recurring_get_response.rb | 2 +- .../transactions_recurring_merge_input.rb | 2 +- .../transactions_recurring_merge_request.rb | 2 +- .../transactions_recurring_merge_response.rb | 2 +- .../transactions_recurring_update_input.rb | 2 +- .../transactions_recurring_update_request.rb | 2 +- .../transactions_recurring_update_response.rb | 2 +- .../models/transactions_refresh_request.rb | 2 +- .../models/transactions_refresh_response.rb | 2 +- .../models/transactions_removed_webhook.rb | 2 +- lib/plaid/models/transactions_rule_details.rb | 2 +- lib/plaid/models/transactions_rule_field.rb | 2 +- lib/plaid/models/transactions_rule_type.rb | 2 +- .../transactions_rules_create_request.rb | 2 +- .../transactions_rules_create_response.rb | 2 +- .../models/transactions_rules_list_request.rb | 2 +- .../transactions_rules_list_response.rb | 2 +- .../transactions_rules_remove_request.rb | 2 +- .../transactions_rules_remove_response.rb | 2 +- lib/plaid/models/transactions_sync_request.rb | 2 +- .../transactions_sync_request_options.rb | 4 +- .../models/transactions_sync_response.rb | 2 +- .../models/transactions_update_status.rb | 2 +- .../transactions_user_insights_get_request.rb | 2 +- ...transactions_user_insights_get_response.rb | 2 +- lib/plaid/models/transfer.rb | 15 +- lib/plaid/models/transfer_ach_network.rb | 2 +- lib/plaid/models/transfer_authorization.rb | 2 +- .../transfer_authorization_cancel_request.rb | 2 +- .../transfer_authorization_cancel_response.rb | 2 +- .../transfer_authorization_create_request.rb | 17 +- .../transfer_authorization_create_response.rb | 2 +- .../models/transfer_authorization_decision.rb | 2 +- ...ansfer_authorization_decision_rationale.rb | 2 +- ...r_authorization_decision_rationale_code.rb | 2 +- .../models/transfer_authorization_device.rb | 2 +- ...ansfer_authorization_guarantee_decision.rb | 2 +- ...horization_guarantee_decision_rationale.rb | 2 +- ...ation_guarantee_decision_rationale_code.rb | 2 +- .../transfer_authorization_payment_risk.rb | 2 +- ...ransfer_authorization_proposed_transfer.rb | 15 +- .../transfer_authorization_risk_level.rb | 2 +- .../transfer_authorization_user_in_request.rb | 2 +- lib/plaid/models/transfer_balance.rb | 2 +- .../models/transfer_balance_get_request.rb | 2 +- .../models/transfer_balance_get_response.rb | 2 +- lib/plaid/models/transfer_balance_type.rb | 2 +- lib/plaid/models/transfer_cancel_request.rb | 2 +- lib/plaid/models/transfer_cancel_response.rb | 2 +- .../transfer_capabilities_get_request.rb | 2 +- .../transfer_capabilities_get_response.rb | 2 +- .../models/transfer_capabilities_get_rtp.rb | 2 +- .../transfer_configuration_get_request.rb | 2 +- .../transfer_configuration_get_response.rb | 2 +- lib/plaid/models/transfer_create_request.rb | 2 +- lib/plaid/models/transfer_create_response.rb | 2 +- .../models/transfer_credit_funds_source.rb | 2 +- .../transfer_credit_usage_configuration.rb | 2 +- .../transfer_debit_usage_configuration.rb | 2 +- lib/plaid/models/transfer_device.rb | 2 +- ...nsfer_diligence_document_upload_request.rb | 2 +- ...sfer_diligence_document_upload_response.rb | 2 +- lib/plaid/models/transfer_diligence_status.rb | 2 +- .../transfer_diligence_submit_request.rb | 2 +- .../transfer_diligence_submit_response.rb | 2 +- lib/plaid/models/transfer_document_purpose.rb | 2 +- lib/plaid/models/transfer_event.rb | 15 +- .../models/transfer_event_list_request.rb | 2 +- .../models/transfer_event_list_response.rb | 2 +- .../transfer_event_list_transfer_type.rb | 2 +- .../models/transfer_event_sync_request.rb | 2 +- .../models/transfer_event_sync_response.rb | 2 +- lib/plaid/models/transfer_event_type.rb | 2 +- .../models/transfer_events_update_webhook.rb | 2 +- ...expected_sweep_settlement_schedule_item.rb | 2 +- lib/plaid/models/transfer_failure.rb | 2 +- lib/plaid/models/transfer_funding_account.rb | 2 +- lib/plaid/models/transfer_get_request.rb | 2 +- lib/plaid/models/transfer_get_response.rb | 2 +- .../transfer_intent_authorization_decision.rb | 2 +- lib/plaid/models/transfer_intent_create.rb | 2 +- .../models/transfer_intent_create_mode.rb | 2 +- .../models/transfer_intent_create_network.rb | 2 +- .../models/transfer_intent_create_request.rb | 2 +- .../models/transfer_intent_create_response.rb | 2 +- lib/plaid/models/transfer_intent_get.rb | 2 +- .../transfer_intent_get_failure_reason.rb | 2 +- .../models/transfer_intent_get_request.rb | 2 +- .../models/transfer_intent_get_response.rb | 2 +- lib/plaid/models/transfer_intent_status.rb | 2 +- lib/plaid/models/transfer_ledger_balance.rb | 2 +- .../models/transfer_ledger_deposit_request.rb | 15 +- .../transfer_ledger_deposit_response.rb | 2 +- .../transfer_ledger_distribute_request.rb | 2 +- .../transfer_ledger_distribute_response.rb | 2 +- .../models/transfer_ledger_get_request.rb | 15 +- .../models/transfer_ledger_get_response.rb | 2 +- ...ansfer_ledger_sweep_simulate_event_type.rb | 2 +- .../transfer_ledger_withdraw_request.rb | 15 +- .../transfer_ledger_withdraw_response.rb | 2 +- lib/plaid/models/transfer_list_request.rb | 2 +- lib/plaid/models/transfer_list_response.rb | 2 +- ...ransfer_metrics_get_authorization_usage.rb | 251 +++++ .../models/transfer_metrics_get_request.rb | 2 +- .../models/transfer_metrics_get_response.rb | 22 +- .../transfer_metrics_get_return_rates.rb | 2 +- ..._metrics_get_return_rates_over_interval.rb | 2 +- .../transfer_migrate_account_request.rb | 2 +- .../transfer_migrate_account_response.rb | 2 +- lib/plaid/models/transfer_network.rb | 2 +- .../models/transfer_originator_address.rb | 2 +- .../transfer_originator_create_request.rb | 2 +- .../transfer_originator_create_response.rb | 2 +- .../models/transfer_originator_diligence.rb | 2 +- ...iginator_funding_account_update_request.rb | 2 +- ...ginator_funding_account_update_response.rb | 2 +- .../models/transfer_originator_get_request.rb | 2 +- .../transfer_originator_get_response.rb | 2 +- .../transfer_originator_list_request.rb | 2 +- .../transfer_originator_list_response.rb | 2 +- ...sfer_platform_originator_create_request.rb | 275 +++++ ...fer_platform_originator_create_response.rb | 226 ++++ ...ansfer_platform_tos_acceptance_metadata.rb | 256 +++++ .../transfer_questionnaire_create_request.rb | 2 +- .../transfer_questionnaire_create_response.rb | 2 +- .../transfer_recurring_cancel_request.rb | 2 +- .../transfer_recurring_cancel_response.rb | 2 +- .../transfer_recurring_create_request.rb | 2 +- .../transfer_recurring_create_response.rb | 2 +- .../models/transfer_recurring_get_request.rb | 2 +- .../models/transfer_recurring_get_response.rb | 2 +- .../models/transfer_recurring_list_request.rb | 2 +- .../transfer_recurring_list_response.rb | 2 +- .../models/transfer_recurring_network.rb | 2 +- .../models/transfer_recurring_schedule.rb | 2 +- lib/plaid/models/transfer_recurring_status.rb | 2 +- lib/plaid/models/transfer_refund.rb | 15 +- .../models/transfer_refund_cancel_request.rb | 2 +- .../models/transfer_refund_cancel_response.rb | 2 +- .../models/transfer_refund_create_request.rb | 2 +- .../models/transfer_refund_create_response.rb | 2 +- lib/plaid/models/transfer_refund_failure.rb | 2 +- .../models/transfer_refund_get_request.rb | 2 +- .../models/transfer_refund_get_response.rb | 2 +- lib/plaid/models/transfer_refund_status.rb | 2 +- lib/plaid/models/transfer_repayment.rb | 2 +- .../models/transfer_repayment_list_request.rb | 2 +- .../transfer_repayment_list_response.rb | 2 +- lib/plaid/models/transfer_repayment_return.rb | 2 +- .../transfer_repayment_return_list_request.rb | 2 +- ...transfer_repayment_return_list_response.rb | 2 +- .../models/transfer_schedule_interval_unit.rb | 2 +- lib/plaid/models/transfer_status.rb | 2 +- lib/plaid/models/transfer_sweep.rb | 15 +- .../models/transfer_sweep_get_request.rb | 2 +- .../models/transfer_sweep_get_response.rb | 2 +- .../models/transfer_sweep_list_request.rb | 2 +- .../models/transfer_sweep_list_response.rb | 2 +- lib/plaid/models/transfer_sweep_status.rb | 2 +- lib/plaid/models/transfer_test_clock.rb | 2 +- lib/plaid/models/transfer_type.rb | 2 +- .../transfer_user_address_in_request.rb | 2 +- .../transfer_user_address_in_response.rb | 2 +- lib/plaid/models/transfer_user_in_request.rb | 2 +- .../transfer_user_in_request_deprecated.rb | 2 +- lib/plaid/models/transfer_user_in_response.rb | 2 +- lib/plaid/models/transfer_wire_details.rb | 2 +- ...e_entity_screening_request_search_terms.rb | 8 +- ...dividual_screening_request_search_terms.rb | 6 +- lib/plaid/models/user_account_identity.rb | 2 +- .../models/user_account_identity_address.rb | 2 +- .../models/user_account_identity_name.rb | 2 +- lib/plaid/models/user_account_item.rb | 2 +- .../models/user_account_revoked_webhook.rb | 2 +- .../user_account_session_get_request.rb | 2 +- .../user_account_session_get_response.rb | 2 +- lib/plaid/models/user_address.rb | 4 +- lib/plaid/models/user_create_request.rb | 2 +- lib/plaid/models/user_create_response.rb | 2 +- lib/plaid/models/user_custom_password.rb | 2 +- lib/plaid/models/user_data_overview.rb | 2 +- lib/plaid/models/user_id_number.rb | 2 +- lib/plaid/models/user_items_get_request.rb | 2 +- lib/plaid/models/user_items_get_response.rb | 2 +- .../models/user_permission_revoked_webhook.rb | 4 +- lib/plaid/models/user_remove_request.rb | 2 +- lib/plaid/models/user_remove_response.rb | 2 +- .../user_stated_income_source_category.rb | 2 +- .../user_stated_income_source_frequency.rb | 2 +- .../user_stated_income_source_pay_type.rb | 2 +- lib/plaid/models/user_update_request.rb | 2 +- lib/plaid/models/user_update_response.rb | 2 +- lib/plaid/models/validation_source.rb | 2 +- lib/plaid/models/validation_sources.rb | 2 +- .../models/verification_expired_webhook.rb | 2 +- lib/plaid/models/verification_of_asset.rb | 2 +- .../models/verification_of_asset_response.rb | 2 +- .../models/verification_refresh_status.rb | 2 +- lib/plaid/models/verification_status.rb | 2 +- lib/plaid/models/w2.rb | 2 +- lib/plaid/models/w2_box12.rb | 2 +- lib/plaid/models/w2_box12_override.rb | 2 +- lib/plaid/models/w2_override.rb | 4 +- lib/plaid/models/w2_state_and_local_wages.rb | 2 +- .../w2_state_and_local_wages_override.rb | 2 +- lib/plaid/models/wallet.rb | 2 +- lib/plaid/models/wallet_balance.rb | 2 +- lib/plaid/models/wallet_create_request.rb | 2 +- lib/plaid/models/wallet_create_response.rb | 2 +- lib/plaid/models/wallet_get_request.rb | 2 +- lib/plaid/models/wallet_get_response.rb | 2 +- lib/plaid/models/wallet_iso_currency_code.rb | 2 +- lib/plaid/models/wallet_list_request.rb | 12 +- lib/plaid/models/wallet_list_response.rb | 2 +- lib/plaid/models/wallet_numbers.rb | 2 +- lib/plaid/models/wallet_payment_scheme.rb | 2 +- lib/plaid/models/wallet_status.rb | 2 +- lib/plaid/models/wallet_transaction.rb | 24 +- lib/plaid/models/wallet_transaction_amount.rb | 2 +- .../models/wallet_transaction_counterparty.rb | 2 +- .../wallet_transaction_counterparty_bacs.rb | 2 +- ..._transaction_counterparty_international.rb | 2 +- ...wallet_transaction_counterparty_numbers.rb | 2 +- .../wallet_transaction_execute_request.rb | 2 +- .../wallet_transaction_execute_response.rb | 2 +- .../wallet_transaction_failure_reason.rb | 2 +- .../models/wallet_transaction_get_request.rb | 2 +- .../models/wallet_transaction_get_response.rb | 16 +- .../models/wallet_transaction_list_request.rb | 2 +- ...wallet_transaction_list_request_options.rb | 2 +- .../wallet_transaction_list_response.rb | 2 +- .../models/wallet_transaction_relation.rb | 265 +++++ lib/plaid/models/wallet_transaction_status.rb | 2 +- ...allet_transaction_status_update_webhook.rb | 2 +- .../wallet_transactions_list_request.rb | 2 +- lib/plaid/models/warning.rb | 2 +- .../models/watchlist_screening_audit_trail.rb | 2 +- .../models/watchlist_screening_document.rb | 4 +- .../watchlist_screening_document_type.rb | 2 +- ...tchlist_screening_entity_create_request.rb | 2 +- ...chlist_screening_entity_create_response.rb | 2 +- .../watchlist_screening_entity_get_request.rb | 2 +- ...watchlist_screening_entity_get_response.rb | 2 +- ...t_screening_entity_history_list_request.rb | 2 +- ..._screening_entity_history_list_response.rb | 2 +- ...hlist_screening_entity_hit_list_request.rb | 2 +- ...list_screening_entity_hit_list_response.rb | 2 +- ...watchlist_screening_entity_list_request.rb | 2 +- ...atchlist_screening_entity_list_response.rb | 2 +- ...st_screening_entity_program_get_request.rb | 2 +- ...t_screening_entity_program_get_response.rb | 2 +- ...t_screening_entity_program_list_request.rb | 2 +- ..._screening_entity_program_list_response.rb | 2 +- ..._screening_entity_review_create_request.rb | 2 +- ...screening_entity_review_create_response.rb | 2 +- ...st_screening_entity_review_list_request.rb | 2 +- ...t_screening_entity_review_list_response.rb | 2 +- ...tchlist_screening_entity_update_request.rb | 2 +- ..._entity_update_request_resettable_field.rb | 2 +- ...chlist_screening_entity_update_response.rb | 2 +- lib/plaid/models/watchlist_screening_hit.rb | 2 +- .../watchlist_screening_hit_locations.rb | 2 +- .../models/watchlist_screening_hit_status.rb | 2 +- .../models/watchlist_screening_individual.rb | 2 +- ...ist_screening_individual_create_request.rb | 2 +- ...st_screening_individual_create_response.rb | 2 +- ...chlist_screening_individual_get_request.rb | 2 +- ...hlist_screening_individual_get_response.rb | 2 +- ...reening_individual_history_list_request.rb | 2 +- ...eening_individual_history_list_response.rb | 2 +- ...t_screening_individual_hit_list_request.rb | 2 +- ..._screening_individual_hit_list_response.rb | 2 +- ...hlist_screening_individual_list_request.rb | 2 +- ...list_screening_individual_list_response.rb | 2 +- ...creening_individual_program_get_request.rb | 2 +- ...reening_individual_program_get_response.rb | 2 +- ...reening_individual_program_list_request.rb | 2 +- ...eening_individual_program_list_response.rb | 2 +- ...eening_individual_review_create_request.rb | 2 +- ...ening_individual_review_create_response.rb | 2 +- ...creening_individual_review_list_request.rb | 2 +- ...reening_individual_review_list_response.rb | 2 +- ...ist_screening_individual_update_request.rb | 2 +- ...ividual_update_request_resettable_field.rb | 2 +- ...st_screening_individual_update_response.rb | 2 +- ...atchlist_screening_request_search_terms.rb | 6 +- .../models/watchlist_screening_review.rb | 2 +- .../watchlist_screening_search_terms.rb | 6 +- .../models/watchlist_screening_status.rb | 2 +- lib/plaid/models/weak_alias_determination.rb | 2 +- .../models/webhook_environment_values.rb | 2 +- lib/plaid/models/webhook_type.rb | 2 +- .../webhook_update_acknowledged_webhook.rb | 2 +- .../webhook_verification_key_get_request.rb | 2 +- .../webhook_verification_key_get_response.rb | 2 +- .../ytd_gross_income_summary_field_number.rb | 2 +- .../ytd_net_income_summary_field_number.rb | 2 +- lib/plaid/version.rb | 4 +- plaid.gemspec | 2 +- 1640 files changed, 17322 insertions(+), 2256 deletions(-) create mode 100644 lib/plaid/models/base_report_historical_balance.rb create mode 100644 lib/plaid/models/beacon_report_create_type.rb create mode 100644 lib/plaid/models/beacon_syndicated_report_depository_account_match_analysis.rb create mode 100644 lib/plaid/models/beacon_user_depository_account.rb create mode 100644 lib/plaid/models/beacon_user_request_depository_account.rb create mode 100644 lib/plaid/models/cashflow_attributes_version.rb create mode 100644 lib/plaid/models/consumer_dispute.rb create mode 100644 lib/plaid/models/consumer_dispute_category.rb rename lib/plaid/models/{base_report_create_request.rb => cra_base_report_create_request.rb} (96%) create mode 100644 lib/plaid/models/cra_base_report_create_response.rb rename lib/plaid/models/{base_report_get_request.rb => cra_base_report_get_request.rb} (94%) rename lib/plaid/models/{base_report_get_response.rb => cra_base_report_get_response.rb} (93%) create mode 100644 lib/plaid/models/cra_cashflow_insights_report.rb create mode 100644 lib/plaid/models/cra_check_report_cashflow_insights_get_options.rb rename lib/plaid/models/{cra_check_report_network_attributes_get_request.rb => cra_check_report_network_insights_get_request.rb} (93%) rename lib/plaid/models/{cra_check_report_network_attributes_get_response.rb => cra_check_report_network_insights_get_response.rb} (92%) create mode 100644 lib/plaid/models/cra_monitoring_insights_get_request.rb create mode 100644 lib/plaid/models/cra_monitoring_insights_get_response.rb create mode 100644 lib/plaid/models/cra_monitoring_insights_item.rb create mode 100644 lib/plaid/models/cra_monitoring_insights_subscribe_request.rb create mode 100644 lib/plaid/models/cra_monitoring_insights_subscribe_response.rb create mode 100644 lib/plaid/models/cra_monitoring_insights_unsubscribe_request.rb create mode 100644 lib/plaid/models/cra_monitoring_insights_unsubscribe_response.rb rename lib/plaid/models/{cra_network_attributes_item.rb => cra_network_insights_item.rb} (96%) rename lib/plaid/models/{cra_network_attributes_report.rb => cra_network_insights_report.rb} (95%) create mode 100644 lib/plaid/models/extended_recipient_metadata.rb rename lib/plaid/models/{base_report_account_balances_all_of.rb => extended_recipient_metadata_all_of.rb} (77%) create mode 100644 lib/plaid/models/fdx_recipient_metadata.rb create mode 100644 lib/plaid/models/forecasted_monthly_income.rb rename lib/plaid/models/{base_report_create_response.rb => forwarded_json_response.rb} (94%) create mode 100644 lib/plaid/models/get_recipient_response.rb create mode 100644 lib/plaid/models/get_recipients_response.rb create mode 100644 lib/plaid/models/hidden_match_summary_code.rb create mode 100644 lib/plaid/models/identity_verification_document_name_response.rb create mode 100644 lib/plaid/models/income_sources_counts.rb create mode 100644 lib/plaid/models/issue_resolved_webhook.rb create mode 100644 lib/plaid/models/kyc_check_details_international_address.rb create mode 100644 lib/plaid/models/link_session_cra_item_add_result.rb create mode 100644 lib/plaid/models/link_token_create_request_cra_options_cashflow_insights.rb create mode 100644 lib/plaid/models/loan_payments_counts.rb create mode 100644 lib/plaid/models/loan_payments_merchant_counts.rb create mode 100644 lib/plaid/models/monitoring_income_insights.rb create mode 100644 lib/plaid/models/monitoring_income_source.rb create mode 100644 lib/plaid/models/monitoring_insights.rb create mode 100644 lib/plaid/models/monitoring_insights_item_status.rb create mode 100644 lib/plaid/models/monitoring_insights_webhook.rb create mode 100644 lib/plaid/models/monitoring_item_status_code.rb create mode 100644 lib/plaid/models/monitoring_loan_insights.rb create mode 100644 lib/plaid/models/network_insights_item.rb create mode 100644 lib/plaid/models/network_insights_report.rb create mode 100644 lib/plaid/models/network_insights_report_get_request.rb create mode 100644 lib/plaid/models/network_insights_report_get_response.rb create mode 100644 lib/plaid/models/pending_disconnect_webhook.rb create mode 100644 lib/plaid/models/pending_disconnect_webhook_reason.rb create mode 100644 lib/plaid/models/plaid_check_score.rb create mode 100644 lib/plaid/models/prism_cash_score_version.rb create mode 100644 lib/plaid/models/prism_first_detect_version.rb create mode 100644 lib/plaid/models/prism_insights_version.rb create mode 100644 lib/plaid/models/prism_versions.rb create mode 100644 lib/plaid/models/profile_network_status_get_network_status.rb create mode 100644 lib/plaid/models/profile_network_status_get_request.rb create mode 100644 lib/plaid/models/profile_network_status_get_response.rb create mode 100644 lib/plaid/models/profile_network_status_get_user.rb create mode 100644 lib/plaid/models/risk_signal_file_type.rb create mode 100644 lib/plaid/models/total_monthly_income_insights.rb create mode 100644 lib/plaid/models/transfer_metrics_get_authorization_usage.rb create mode 100644 lib/plaid/models/transfer_platform_originator_create_request.rb create mode 100644 lib/plaid/models/transfer_platform_originator_create_response.rb create mode 100644 lib/plaid/models/transfer_platform_tos_acceptance_metadata.rb create mode 100644 lib/plaid/models/wallet_transaction_relation.rb diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 7c3e8df3c..99e57fa01 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -148,14 +148,10 @@ docs/BankTransfersEventsUpdateWebhookForAuth.md docs/BaseReport.md docs/BaseReportAccount.md docs/BaseReportAccountBalances.md -docs/BaseReportAccountBalancesAllOf.md docs/BaseReportAccountInsights.md docs/BaseReportAverageFlowInsights.md docs/BaseReportAverageMonthlyBalances.md -docs/BaseReportCreateRequest.md -docs/BaseReportCreateResponse.md -docs/BaseReportGetRequest.md -docs/BaseReportGetResponse.md +docs/BaseReportHistoricalBalance.md docs/BaseReportItem.md docs/BaseReportLongestGapInsights.md docs/BaseReportNumberFlowInsights.md @@ -184,6 +180,7 @@ docs/BeaconMatchSummaryCode.md docs/BeaconReport.md docs/BeaconReportCreateRequest.md docs/BeaconReportCreateResponse.md +docs/BeaconReportCreateType.md docs/BeaconReportCreatedWebhook.md docs/BeaconReportGetRequest.md docs/BeaconReportGetResponse.md @@ -199,6 +196,7 @@ docs/BeaconReportSyndicationListResponse.md docs/BeaconReportSyndicationOriginalReport.md docs/BeaconReportType.md docs/BeaconReportUpdatedWebhook.md +docs/BeaconSyndicatedReportDepositoryAccountMatchAnalysis.md docs/BeaconUser.md docs/BeaconUserAccountInsightsGetRequest.md docs/BeaconUserAccountInsightsGetResponse.md @@ -206,6 +204,7 @@ docs/BeaconUserAddress.md docs/BeaconUserCreateRequest.md docs/BeaconUserCreateResponse.md docs/BeaconUserData.md +docs/BeaconUserDepositoryAccount.md docs/BeaconUserGetRequest.md docs/BeaconUserGetResponse.md docs/BeaconUserHistoryListRequest.md @@ -216,6 +215,7 @@ docs/BeaconUserNameNullable.md docs/BeaconUserRequestAddress.md docs/BeaconUserRequestAddressNullable.md docs/BeaconUserRequestData.md +docs/BeaconUserRequestDepositoryAccount.md docs/BeaconUserReviewRequest.md docs/BeaconUserRevision.md docs/BeaconUserStatus.md @@ -224,6 +224,7 @@ docs/BeaconUserUpdateRequest.md docs/BeaconUserUpdateRequestData.md docs/BeaconUserUpdateResponse.md docs/CRALoansRegisterRequest.md +docs/CashflowAttributesVersion.md docs/CategoriesGetResponse.md docs/Category.md docs/CategoryInsightDetails.md @@ -236,6 +237,8 @@ docs/ClientProvidedRawTransaction.md docs/ClientProvidedTransaction.md docs/ClientProvidedTransactionLocation.md docs/ConnectedApplication.md +docs/ConsumerDispute.md +docs/ConsumerDisputeCategory.md docs/ConsumerReportPDFGetRequest.md docs/ConsumerReportPermissiblePurpose.md docs/ConsumerReportUserIdentity.md @@ -262,15 +265,21 @@ docs/CraBankIncomeSummary.md docs/CraBankIncomeTransaction.md docs/CraBankIncomeWarning.md docs/CraBankIncomeWarningCode.md +docs/CraBaseReportCreateRequest.md +docs/CraBaseReportCreateResponse.md +docs/CraBaseReportGetRequest.md +docs/CraBaseReportGetResponse.md +docs/CraCashflowInsightsReport.md docs/CraCheckReportBaseReportGetRequest.md docs/CraCheckReportBaseReportGetResponse.md +docs/CraCheckReportCashflowInsightsGetOptions.md docs/CraCheckReportCreateRequest.md docs/CraCheckReportCreateResponse.md docs/CraCheckReportFailedWebhook.md docs/CraCheckReportIncomeInsightsGetRequest.md docs/CraCheckReportIncomeInsightsGetResponse.md -docs/CraCheckReportNetworkAttributesGetRequest.md -docs/CraCheckReportNetworkAttributesGetResponse.md +docs/CraCheckReportNetworkInsightsGetRequest.md +docs/CraCheckReportNetworkInsightsGetResponse.md docs/CraCheckReportPDFGetRequest.md docs/CraCheckReportPartnerInsightsGetOptions.md docs/CraCheckReportPartnerInsightsGetRequest.md @@ -298,8 +307,15 @@ docs/CraLoansRegisterResponse.md docs/CraLoansUnregisterRequest.md docs/CraLoansUpdateRequest.md docs/CraLoansUpdateResponse.md -docs/CraNetworkAttributesItem.md -docs/CraNetworkAttributesReport.md +docs/CraMonitoringInsightsGetRequest.md +docs/CraMonitoringInsightsGetResponse.md +docs/CraMonitoringInsightsItem.md +docs/CraMonitoringInsightsSubscribeRequest.md +docs/CraMonitoringInsightsSubscribeResponse.md +docs/CraMonitoringInsightsUnsubscribeRequest.md +docs/CraMonitoringInsightsUnsubscribeResponse.md +docs/CraNetworkInsightsItem.md +docs/CraNetworkInsightsReport.md docs/CraPDFAddOns.md docs/CraPartnerInsights.md docs/CraPartnerInsightsCompleteWebhook.md @@ -522,6 +538,8 @@ docs/EntityWatchlistScreeningReview.md docs/EntityWatchlistScreeningSearchTerms.md docs/EntityWatchlistSearchTerms.md docs/ExpirationDate.md +docs/ExtendedRecipientMetadata.md +docs/ExtendedRecipientMetadataAllOf.md docs/ExternalPaymentInitiationConsentOptions.md docs/ExternalPaymentOptions.md docs/ExternalPaymentRefundDetails.md @@ -543,13 +561,19 @@ docs/FDXNotificationType.md docs/FDXParty.md docs/FDXPartyRegistry.md docs/FDXPartyType.md +docs/FDXRecipientMetadata.md docs/FallbackAuthMicrodepositAutoVerifiedWebhook.md docs/FallbackAuthMicrodepositVerificationExpiredWebhook.md docs/FinancialInstitutionInsights.md +docs/ForecastedMonthlyIncome.md docs/Form1099Type.md +docs/ForwardedJSONResponse.md docs/FraudAmount.md docs/GenericScreeningHitLocationItems.md +docs/GetRecipientResponse.md +docs/GetRecipientsResponse.md docs/HealthIncident.md +docs/HiddenMatchSummaryCode.md docs/HistoricalBalance.md docs/HistoricalUpdateWebhook.md docs/Holding.md @@ -589,6 +613,7 @@ docs/IdentityVerificationCreateRequest.md docs/IdentityVerificationCreateRequestUser.md docs/IdentityVerificationCreateResponse.md docs/IdentityVerificationDocumentAddressResponse.md +docs/IdentityVerificationDocumentNameResponse.md docs/IdentityVerificationGetRequest.md docs/IdentityVerificationGetResponse.md docs/IdentityVerificationListRequest.md @@ -613,6 +638,7 @@ docs/IncidentUpdate.md docs/IncomeBreakdown.md docs/IncomeBreakdownType.md docs/IncomeOverride.md +docs/IncomeSourcesCounts.md docs/IncomeSummary.md docs/IncomeSummaryFieldNumber.md docs/IncomeSummaryFieldString.md @@ -682,6 +708,7 @@ docs/InvestmentsTransactionsGetRequest.md docs/InvestmentsTransactionsGetRequestOptions.md docs/InvestmentsTransactionsGetResponse.md docs/InvestmentsTransactionsOverride.md +docs/IssueResolvedWebhook.md docs/IssuingCountry.md docs/Item.md docs/ItemAccessTokenInvalidateRequest.md @@ -723,6 +750,7 @@ docs/JWTHeader.md docs/KYCCheckAddressSummary.md docs/KYCCheckDateOfBirthSummary.md docs/KYCCheckDetails.md +docs/KYCCheckDetailsInternationalAddress.md docs/KYCCheckIDNumberSummary.md docs/KYCCheckNameSummary.md docs/KYCCheckPhoneSummary.md @@ -762,6 +790,7 @@ docs/LinkProfileEligibilityCheckResponse.md docs/LinkProfileEligibilityCheckUser.md docs/LinkSessionBankEmploymentResult.md docs/LinkSessionBankIncomeResult.md +docs/LinkSessionCraItemAddResult.md docs/LinkSessionExit.md docs/LinkSessionExitDeprecated.md docs/LinkSessionExitMetadata.md @@ -790,6 +819,7 @@ docs/LinkTokenCreateRequestAuth.md docs/LinkTokenCreateRequestBaseReport.md docs/LinkTokenCreateRequestCraOptions.md docs/LinkTokenCreateRequestCraOptionsBaseReport.md +docs/LinkTokenCreateRequestCraOptionsCashflowInsights.md docs/LinkTokenCreateRequestCraOptionsPartnerInsights.md docs/LinkTokenCreateRequestCreditPartnerInsights.md docs/LinkTokenCreateRequestDepositSwitch.md @@ -824,6 +854,8 @@ docs/LoanFilter.md docs/LoanIdentifier.md docs/LoanIdentifierType.md docs/LoanIdentifiers.md +docs/LoanPaymentsCounts.md +docs/LoanPaymentsMerchantCounts.md docs/Loans.md docs/Location.md docs/MFA.md @@ -831,12 +863,23 @@ docs/MatchSummary.md docs/MatchSummaryCode.md docs/MerchantInsights.md docs/Meta.md +docs/MonitoringIncomeInsights.md +docs/MonitoringIncomeSource.md +docs/MonitoringInsights.md +docs/MonitoringInsightsItemStatus.md +docs/MonitoringInsightsWebhook.md +docs/MonitoringItemStatusCode.md +docs/MonitoringLoanInsights.md docs/MortgageInterestRate.md docs/MortgageLiability.md docs/MortgagePropertyAddress.md docs/MultiDocumentRiskSignal.md docs/NameMatchScore.md docs/NetPay.md +docs/NetworkInsightsItem.md +docs/NetworkInsightsReport.md +docs/NetworkInsightsReportGetRequest.md +docs/NetworkInsightsReportGetResponse.md docs/NewAccountsAvailableWebhook.md docs/Numbers.md docs/NumbersACATS.md @@ -995,6 +1038,8 @@ docs/PaystubOverridePayPeriodDetails.md docs/PaystubOverrideTaxpayerID.md docs/PaystubPayFrequency.md docs/PaystubYTDDetails.md +docs/PendingDisconnectWebhook.md +docs/PendingDisconnectWebhookReason.md docs/PendingExpirationWebhook.md docs/PersonalFinanceCategory.md docs/PhoneNumber.md @@ -1005,14 +1050,19 @@ docs/PhysicalDocumentExtractedData.md docs/PhysicalDocumentExtractedDataAnalysis.md docs/PhysicalDocumentImages.md docs/PlaidApi.md +docs/PlaidCheckScore.md docs/PlaidError.md docs/PlaidErrorType.md docs/PlatformIds.md docs/PrismCashScore.md docs/PrismCashScoreMetadata.md +docs/PrismCashScoreVersion.md docs/PrismFirstDetect.md +docs/PrismFirstDetectVersion.md docs/PrismInsights.md +docs/PrismInsightsVersion.md docs/PrismProduct.md +docs/PrismVersions.md docs/ProcessorAccountGetRequest.md docs/ProcessorAccountGetResponse.md docs/ProcessorApexProcessorTokenCreateRequest.md @@ -1076,6 +1126,10 @@ docs/ProfileIdentity.md docs/ProfileIdentityAddress.md docs/ProfileIdentityName.md docs/ProfileItem.md +docs/ProfileNetworkStatusGetNetworkStatus.md +docs/ProfileNetworkStatusGetRequest.md +docs/ProfileNetworkStatusGetResponse.md +docs/ProfileNetworkStatusGetUser.md docs/ProgramNameSensitivity.md docs/ProjectedIncomeSummaryFieldNumber.md docs/ProxyType.md @@ -1118,6 +1172,7 @@ docs/RiskReason.md docs/RiskSignalDocumentReference.md docs/RiskSignalDocumentStatus.md docs/RiskSignalDocumentType.md +docs/RiskSignalFileType.md docs/Role.md docs/RoleDetail.md docs/Roles.md @@ -1252,6 +1307,7 @@ docs/TaxpayerIdentifierType.md docs/TaxpayerIdentifiers.md docs/Total.md docs/TotalCanonicalDescription.md +docs/TotalMonthlyIncomeInsights.md docs/Transaction.md docs/TransactionAllOf.md docs/TransactionBase.md @@ -1378,6 +1434,7 @@ docs/TransferLedgerWithdrawRequest.md docs/TransferLedgerWithdrawResponse.md docs/TransferListRequest.md docs/TransferListResponse.md +docs/TransferMetricsGetAuthorizationUsage.md docs/TransferMetricsGetRequest.md docs/TransferMetricsGetResponse.md docs/TransferMetricsGetReturnRates.md @@ -1395,6 +1452,9 @@ docs/TransferOriginatorGetRequest.md docs/TransferOriginatorGetResponse.md docs/TransferOriginatorListRequest.md docs/TransferOriginatorListResponse.md +docs/TransferPlatformOriginatorCreateRequest.md +docs/TransferPlatformOriginatorCreateResponse.md +docs/TransferPlatformTOSAcceptanceMetadata.md docs/TransferQuestionnaireCreateRequest.md docs/TransferQuestionnaireCreateResponse.md docs/TransferRecurringCancelRequest.md @@ -1503,6 +1563,7 @@ docs/WalletTransactionGetResponse.md docs/WalletTransactionListRequest.md docs/WalletTransactionListRequestOptions.md docs/WalletTransactionListResponse.md +docs/WalletTransactionRelation.md docs/WalletTransactionStatus.md docs/WalletTransactionStatusUpdateWebhook.md docs/WalletTransactionsListRequest.md @@ -1723,14 +1784,10 @@ lib/plaid/models/bank_transfers_events_update_webhook_for_auth.rb lib/plaid/models/base_report.rb lib/plaid/models/base_report_account.rb lib/plaid/models/base_report_account_balances.rb -lib/plaid/models/base_report_account_balances_all_of.rb lib/plaid/models/base_report_account_insights.rb lib/plaid/models/base_report_average_flow_insights.rb lib/plaid/models/base_report_average_monthly_balances.rb -lib/plaid/models/base_report_create_request.rb -lib/plaid/models/base_report_create_response.rb -lib/plaid/models/base_report_get_request.rb -lib/plaid/models/base_report_get_response.rb +lib/plaid/models/base_report_historical_balance.rb lib/plaid/models/base_report_item.rb lib/plaid/models/base_report_longest_gap_insights.rb lib/plaid/models/base_report_number_flow_insights.rb @@ -1759,6 +1816,7 @@ lib/plaid/models/beacon_match_summary_code.rb lib/plaid/models/beacon_report.rb lib/plaid/models/beacon_report_create_request.rb lib/plaid/models/beacon_report_create_response.rb +lib/plaid/models/beacon_report_create_type.rb lib/plaid/models/beacon_report_created_webhook.rb lib/plaid/models/beacon_report_get_request.rb lib/plaid/models/beacon_report_get_response.rb @@ -1774,6 +1832,7 @@ lib/plaid/models/beacon_report_syndication_list_response.rb lib/plaid/models/beacon_report_syndication_original_report.rb lib/plaid/models/beacon_report_type.rb lib/plaid/models/beacon_report_updated_webhook.rb +lib/plaid/models/beacon_syndicated_report_depository_account_match_analysis.rb lib/plaid/models/beacon_user.rb lib/plaid/models/beacon_user_account_insights_get_request.rb lib/plaid/models/beacon_user_account_insights_get_response.rb @@ -1781,6 +1840,7 @@ lib/plaid/models/beacon_user_address.rb lib/plaid/models/beacon_user_create_request.rb lib/plaid/models/beacon_user_create_response.rb lib/plaid/models/beacon_user_data.rb +lib/plaid/models/beacon_user_depository_account.rb lib/plaid/models/beacon_user_get_request.rb lib/plaid/models/beacon_user_get_response.rb lib/plaid/models/beacon_user_history_list_request.rb @@ -1791,6 +1851,7 @@ lib/plaid/models/beacon_user_name_nullable.rb lib/plaid/models/beacon_user_request_address.rb lib/plaid/models/beacon_user_request_address_nullable.rb lib/plaid/models/beacon_user_request_data.rb +lib/plaid/models/beacon_user_request_depository_account.rb lib/plaid/models/beacon_user_review_request.rb lib/plaid/models/beacon_user_revision.rb lib/plaid/models/beacon_user_status.rb @@ -1798,6 +1859,7 @@ lib/plaid/models/beacon_user_status_updated_webhook.rb lib/plaid/models/beacon_user_update_request.rb lib/plaid/models/beacon_user_update_request_data.rb lib/plaid/models/beacon_user_update_response.rb +lib/plaid/models/cashflow_attributes_version.rb lib/plaid/models/categories_get_response.rb lib/plaid/models/category.rb lib/plaid/models/category_insight_details.rb @@ -1810,6 +1872,8 @@ lib/plaid/models/client_provided_raw_transaction.rb lib/plaid/models/client_provided_transaction.rb lib/plaid/models/client_provided_transaction_location.rb lib/plaid/models/connected_application.rb +lib/plaid/models/consumer_dispute.rb +lib/plaid/models/consumer_dispute_category.rb lib/plaid/models/consumer_report_pdf_get_request.rb lib/plaid/models/consumer_report_permissible_purpose.rb lib/plaid/models/consumer_report_user_identity.rb @@ -1836,15 +1900,21 @@ lib/plaid/models/cra_bank_income_summary.rb lib/plaid/models/cra_bank_income_transaction.rb lib/plaid/models/cra_bank_income_warning.rb lib/plaid/models/cra_bank_income_warning_code.rb +lib/plaid/models/cra_base_report_create_request.rb +lib/plaid/models/cra_base_report_create_response.rb +lib/plaid/models/cra_base_report_get_request.rb +lib/plaid/models/cra_base_report_get_response.rb +lib/plaid/models/cra_cashflow_insights_report.rb lib/plaid/models/cra_check_report_base_report_get_request.rb lib/plaid/models/cra_check_report_base_report_get_response.rb +lib/plaid/models/cra_check_report_cashflow_insights_get_options.rb lib/plaid/models/cra_check_report_create_request.rb lib/plaid/models/cra_check_report_create_response.rb lib/plaid/models/cra_check_report_failed_webhook.rb lib/plaid/models/cra_check_report_income_insights_get_request.rb lib/plaid/models/cra_check_report_income_insights_get_response.rb -lib/plaid/models/cra_check_report_network_attributes_get_request.rb -lib/plaid/models/cra_check_report_network_attributes_get_response.rb +lib/plaid/models/cra_check_report_network_insights_get_request.rb +lib/plaid/models/cra_check_report_network_insights_get_response.rb lib/plaid/models/cra_check_report_partner_insights_get_options.rb lib/plaid/models/cra_check_report_partner_insights_get_request.rb lib/plaid/models/cra_check_report_partner_insights_get_response.rb @@ -1873,8 +1943,15 @@ lib/plaid/models/cra_loans_register_response.rb lib/plaid/models/cra_loans_unregister_request.rb lib/plaid/models/cra_loans_update_request.rb lib/plaid/models/cra_loans_update_response.rb -lib/plaid/models/cra_network_attributes_item.rb -lib/plaid/models/cra_network_attributes_report.rb +lib/plaid/models/cra_monitoring_insights_get_request.rb +lib/plaid/models/cra_monitoring_insights_get_response.rb +lib/plaid/models/cra_monitoring_insights_item.rb +lib/plaid/models/cra_monitoring_insights_subscribe_request.rb +lib/plaid/models/cra_monitoring_insights_subscribe_response.rb +lib/plaid/models/cra_monitoring_insights_unsubscribe_request.rb +lib/plaid/models/cra_monitoring_insights_unsubscribe_response.rb +lib/plaid/models/cra_network_insights_item.rb +lib/plaid/models/cra_network_insights_report.rb lib/plaid/models/cra_partner_insights.rb lib/plaid/models/cra_partner_insights_complete_webhook.rb lib/plaid/models/cra_partner_insights_error_webhook.rb @@ -2097,6 +2174,8 @@ lib/plaid/models/entity_watchlist_screening_review.rb lib/plaid/models/entity_watchlist_screening_search_terms.rb lib/plaid/models/entity_watchlist_search_terms.rb lib/plaid/models/expiration_date.rb +lib/plaid/models/extended_recipient_metadata.rb +lib/plaid/models/extended_recipient_metadata_all_of.rb lib/plaid/models/external_payment_initiation_consent_options.rb lib/plaid/models/external_payment_options.rb lib/plaid/models/external_payment_refund_details.rb @@ -2119,12 +2198,18 @@ lib/plaid/models/fdx_notification_type.rb lib/plaid/models/fdx_party.rb lib/plaid/models/fdx_party_registry.rb lib/plaid/models/fdx_party_type.rb +lib/plaid/models/fdx_recipient_metadata.rb lib/plaid/models/fdxfi_attribute.rb lib/plaid/models/financial_institution_insights.rb +lib/plaid/models/forecasted_monthly_income.rb lib/plaid/models/form1099_type.rb +lib/plaid/models/forwarded_json_response.rb lib/plaid/models/fraud_amount.rb lib/plaid/models/generic_screening_hit_location_items.rb +lib/plaid/models/get_recipient_response.rb +lib/plaid/models/get_recipients_response.rb lib/plaid/models/health_incident.rb +lib/plaid/models/hidden_match_summary_code.rb lib/plaid/models/historical_balance.rb lib/plaid/models/historical_update_webhook.rb lib/plaid/models/holding.rb @@ -2163,6 +2248,7 @@ lib/plaid/models/identity_verification_create_request.rb lib/plaid/models/identity_verification_create_request_user.rb lib/plaid/models/identity_verification_create_response.rb lib/plaid/models/identity_verification_document_address_response.rb +lib/plaid/models/identity_verification_document_name_response.rb lib/plaid/models/identity_verification_get_request.rb lib/plaid/models/identity_verification_get_response.rb lib/plaid/models/identity_verification_list_request.rb @@ -2187,6 +2273,7 @@ lib/plaid/models/incident_update.rb lib/plaid/models/income_breakdown.rb lib/plaid/models/income_breakdown_type.rb lib/plaid/models/income_override.rb +lib/plaid/models/income_sources_counts.rb lib/plaid/models/income_summary.rb lib/plaid/models/income_summary_field_number.rb lib/plaid/models/income_summary_field_string.rb @@ -2257,6 +2344,7 @@ lib/plaid/models/investments_transactions_get_request_options.rb lib/plaid/models/investments_transactions_get_response.rb lib/plaid/models/investments_transactions_override.rb lib/plaid/models/iso_currency_code.rb +lib/plaid/models/issue_resolved_webhook.rb lib/plaid/models/issuing_country.rb lib/plaid/models/item.rb lib/plaid/models/item_access_token_invalidate_request.rb @@ -2298,6 +2386,7 @@ lib/plaid/models/jwt_header.rb lib/plaid/models/kyc_check_address_summary.rb lib/plaid/models/kyc_check_date_of_birth_summary.rb lib/plaid/models/kyc_check_details.rb +lib/plaid/models/kyc_check_details_international_address.rb lib/plaid/models/kyc_check_id_number_summary.rb lib/plaid/models/kyc_check_name_summary.rb lib/plaid/models/kyc_check_phone_summary.rb @@ -2337,6 +2426,7 @@ lib/plaid/models/link_profile_eligibility_check_response.rb lib/plaid/models/link_profile_eligibility_check_user.rb lib/plaid/models/link_session_bank_employment_result.rb lib/plaid/models/link_session_bank_income_result.rb +lib/plaid/models/link_session_cra_item_add_result.rb lib/plaid/models/link_session_exit.rb lib/plaid/models/link_session_exit_deprecated.rb lib/plaid/models/link_session_exit_metadata.rb @@ -2365,6 +2455,7 @@ lib/plaid/models/link_token_create_request_auth.rb lib/plaid/models/link_token_create_request_base_report.rb lib/plaid/models/link_token_create_request_cra_options.rb lib/plaid/models/link_token_create_request_cra_options_base_report.rb +lib/plaid/models/link_token_create_request_cra_options_cashflow_insights.rb lib/plaid/models/link_token_create_request_cra_options_partner_insights.rb lib/plaid/models/link_token_create_request_credit_partner_insights.rb lib/plaid/models/link_token_create_request_deposit_switch.rb @@ -2399,6 +2490,8 @@ lib/plaid/models/loan_filter.rb lib/plaid/models/loan_identifier.rb lib/plaid/models/loan_identifier_type.rb lib/plaid/models/loan_identifiers.rb +lib/plaid/models/loan_payments_counts.rb +lib/plaid/models/loan_payments_merchant_counts.rb lib/plaid/models/loans.rb lib/plaid/models/location.rb lib/plaid/models/match_summary.rb @@ -2406,12 +2499,23 @@ lib/plaid/models/match_summary_code.rb lib/plaid/models/merchant_insights.rb lib/plaid/models/meta.rb lib/plaid/models/mfa.rb +lib/plaid/models/monitoring_income_insights.rb +lib/plaid/models/monitoring_income_source.rb +lib/plaid/models/monitoring_insights.rb +lib/plaid/models/monitoring_insights_item_status.rb +lib/plaid/models/monitoring_insights_webhook.rb +lib/plaid/models/monitoring_item_status_code.rb +lib/plaid/models/monitoring_loan_insights.rb lib/plaid/models/mortgage_interest_rate.rb lib/plaid/models/mortgage_liability.rb lib/plaid/models/mortgage_property_address.rb lib/plaid/models/multi_document_risk_signal.rb lib/plaid/models/name_match_score.rb lib/plaid/models/net_pay.rb +lib/plaid/models/network_insights_item.rb +lib/plaid/models/network_insights_report.rb +lib/plaid/models/network_insights_report_get_request.rb +lib/plaid/models/network_insights_report_get_response.rb lib/plaid/models/new_accounts_available_webhook.rb lib/plaid/models/numbers.rb lib/plaid/models/numbers_acats.rb @@ -2568,6 +2672,8 @@ lib/plaid/models/paystub_override_pay_period_details.rb lib/plaid/models/paystub_override_taxpayer_id.rb lib/plaid/models/paystub_pay_frequency.rb lib/plaid/models/paystub_ytd_details.rb +lib/plaid/models/pending_disconnect_webhook.rb +lib/plaid/models/pending_disconnect_webhook_reason.rb lib/plaid/models/pending_expiration_webhook.rb lib/plaid/models/personal_finance_category.rb lib/plaid/models/phone_number.rb @@ -2577,15 +2683,20 @@ lib/plaid/models/physical_document_category.rb lib/plaid/models/physical_document_extracted_data.rb lib/plaid/models/physical_document_extracted_data_analysis.rb lib/plaid/models/physical_document_images.rb +lib/plaid/models/plaid_check_score.rb lib/plaid/models/plaid_error.rb lib/plaid/models/plaid_error_type.rb lib/plaid/models/platform_ids.rb lib/plaid/models/po_box_status.rb lib/plaid/models/prism_cash_score.rb lib/plaid/models/prism_cash_score_metadata.rb +lib/plaid/models/prism_cash_score_version.rb lib/plaid/models/prism_first_detect.rb +lib/plaid/models/prism_first_detect_version.rb lib/plaid/models/prism_insights.rb +lib/plaid/models/prism_insights_version.rb lib/plaid/models/prism_product.rb +lib/plaid/models/prism_versions.rb lib/plaid/models/processor_account_get_request.rb lib/plaid/models/processor_account_get_response.rb lib/plaid/models/processor_apex_processor_token_create_request.rb @@ -2649,6 +2760,10 @@ lib/plaid/models/profile_identity.rb lib/plaid/models/profile_identity_address.rb lib/plaid/models/profile_identity_name.rb lib/plaid/models/profile_item.rb +lib/plaid/models/profile_network_status_get_network_status.rb +lib/plaid/models/profile_network_status_get_request.rb +lib/plaid/models/profile_network_status_get_response.rb +lib/plaid/models/profile_network_status_get_user.rb lib/plaid/models/program_name_sensitivity.rb lib/plaid/models/projected_income_summary_field_number.rb lib/plaid/models/proxy_type.rb @@ -2692,6 +2807,7 @@ lib/plaid/models/risk_reason.rb lib/plaid/models/risk_signal_document_reference.rb lib/plaid/models/risk_signal_document_status.rb lib/plaid/models/risk_signal_document_type.rb +lib/plaid/models/risk_signal_file_type.rb lib/plaid/models/role.rb lib/plaid/models/role_detail.rb lib/plaid/models/roles.rb @@ -2826,6 +2942,7 @@ lib/plaid/models/taxpayer_identifier_type.rb lib/plaid/models/taxpayer_identifiers.rb lib/plaid/models/total.rb lib/plaid/models/total_canonical_description.rb +lib/plaid/models/total_monthly_income_insights.rb lib/plaid/models/transaction.rb lib/plaid/models/transaction_all_of.rb lib/plaid/models/transaction_base.rb @@ -2952,6 +3069,7 @@ lib/plaid/models/transfer_ledger_withdraw_request.rb lib/plaid/models/transfer_ledger_withdraw_response.rb lib/plaid/models/transfer_list_request.rb lib/plaid/models/transfer_list_response.rb +lib/plaid/models/transfer_metrics_get_authorization_usage.rb lib/plaid/models/transfer_metrics_get_request.rb lib/plaid/models/transfer_metrics_get_response.rb lib/plaid/models/transfer_metrics_get_return_rates.rb @@ -2969,6 +3087,9 @@ lib/plaid/models/transfer_originator_get_request.rb lib/plaid/models/transfer_originator_get_response.rb lib/plaid/models/transfer_originator_list_request.rb lib/plaid/models/transfer_originator_list_response.rb +lib/plaid/models/transfer_platform_originator_create_request.rb +lib/plaid/models/transfer_platform_originator_create_response.rb +lib/plaid/models/transfer_platform_tos_acceptance_metadata.rb lib/plaid/models/transfer_questionnaire_create_request.rb lib/plaid/models/transfer_questionnaire_create_response.rb lib/plaid/models/transfer_recurring_cancel_request.rb @@ -3077,6 +3198,7 @@ lib/plaid/models/wallet_transaction_get_response.rb lib/plaid/models/wallet_transaction_list_request.rb lib/plaid/models/wallet_transaction_list_request_options.rb lib/plaid/models/wallet_transaction_list_response.rb +lib/plaid/models/wallet_transaction_relation.rb lib/plaid/models/wallet_transaction_status.rb lib/plaid/models/wallet_transaction_status_update_webhook.rb lib/plaid/models/wallet_transactions_list_request.rb diff --git a/CHANGELOG.md b/CHANGELOG.md index 57baa69c0..514aac813 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,159 @@ See full changelog for the OpenAPI schema (OAS) [here](https://github.com/plaid/plaid-openapi/blob/master/CHANGELOG.md). +# 31.0.0 +- Updating to OAS 2020-09-14_1.556.0 + +## Breaking changes in this version + +### 2020-09-14_1.548.0 +- [BREAKING] Changed fields of `CraMonitoringGetResponse` to be simple `objects` instead of `arrays` +- [BREAKING] Moved `income_sources` to the `income` module in the response + +### 2020-09-14_1.545.0 +- [BREAKING] Rename network attributes to network insights in the `cra/check_report/network_insights/get` schemas + +### 2020-09-14_1.543.2 +- [Breaking] Added `data_breach` report type to BeaconReport response object + +### 2020-09-14_1.540.2 +- [Breaking] Updated `document_status` field in `identity/document/upload` to include parsing_type + +## OpenAPI Schema Changes +### 2020-09-14_1.556.0 +- Added plural named array fields to `BaseReportAccountInsights` in /cra/base_report/get + +### 2020-09-14_1.555.0 +- Add `require_all_items` field to /asset_report/create + +### 2020-09-14_1.554.0 +- Add `sector` and `industry` properties to the `Security` model. + +### 2020-09-14_1.553.0 +- Add `ISSUE_RESOLVED` webhook + +### 2020-09-14_1.552.0 +- Add `ytd_amount` to `PaystubOverrideEarningsTotal` in /credit/payroll_income/get + +### 2020-09-14_1.551.0 +- Internal changes only + +### 2020-09-14_1.550.0 +- Add `/fdx/recipient` and `/fdx/recipients` endpoints + +### 2020-09-14_1.549.0 +- Made fields required instead of omitempty for CRA Income Insights Transactions + +### 2020-09-14_1.548.4 +- Set CreditAmountWithCurrency fields as required + +### 2020-09-14_1.548.3 +- Added missing `LOGIN_REPAIRED` enum value to possible webhook codes for `/sandbox/item/fire_webhook` request in order to match endpoint description. + +### 2020-09-14_1.548.2 +- [BREAKING] Moved `forecasted_monthly_income` to be a level higher. + +### 2020-09-14_1.548.1 +- Made the fields in account_insights array fields as required. + +### 2020-09-14_1.548.0 +- [BREAKING] Changed fields of `CraMonitoringGetResponse` to be simple `objects` instead of `arrays` +- [BREAKING] Moved `income_sources` to the `income` module in the response + +### 2020-09-14_1.547.2 +- Add `cra_item_add_results` field to `results` object in `/link/token/get` response. + +### 2020-09-14_1.547.1 +- Increase `/wallet/transactions/list` cursor size to 1024 characters. + +### 2020-09-14_1.547.0 +- Add `ledger_id` to the request and response of a number of transfer endpoints. + +### 2020-09-14_1.546.0 +- Added `WalletTransactionRelation` object. +- Added `related_transactions` field to WalletTransaction object. + +### 2020-09-14_1.545.3 +- Some description updates to CRA Base Report fields + +### 2020-09-14_1.545.2 +- Updated phone number examples in Identity Verification endpoints. + +### 2020-09-14_1.545.1 +- Add `update.item_ids` field to `/link/token/create` request. + +### 2020-09-14_1.545.0 +- [BREAKING] Rename network attributes to network insights in the `cra/check_report/network_insights/get` schemas + +### 2020-09-14_1.544.0 +- Added `is_shareable` field to the `/identity_verification/retry` endpoint + +### 2020-09-14_1.543.2 +- [Breaking] Added `data_breach` report type to BeaconReport response object + +### 2020-09-14_1.543.1 +- Added `consumer_statement` field to `Account` in `BaseReport` +- make `warnings` for BaseReportGetResponse required + +### 2020-09-14_1.543.0 +- Add `/network_insights/report/get` + +### 2020-09-14_1.542.0 +- Added `error_code_reason` field to plaidError + +### 2020-09-14_1.541.1 +- Add `update.user` field to `/link/token/create` request. + +### 2020-09-14_1.541.0 +- (pre-release) Add `reauthorization_enabled` field to /link/token/create request + +### 2020-09-14_1.540.2 +- [Breaking] Updated `document_status` field in `identity/document/upload` to include parsing_type + +### 2020-09-14_1.540.1 +- Added `MonitoringInsightsWebhook` +- Added `webhook` field in `cra/monitoring_insights/subscribe` + +### 2020-09-14_1.540.0 +- Added `file_type` field to `/credit/payroll_income/risk_signals/get` + +### 2020-09-14_1.539.0 +- Add `authorization_usage` field to the `transfer/metrics/get` response + +### 2020-09-14_1.538.0 +- Added cra/monitoring_insights/subscribe +- Added cra/monitoring_insights/unsubscribe +- Added cra/monitoring_insights/get + +### 2020-09-14_1.537.0 +- Added depository_accounts to Beacon +- Added event_date to BeaconReports + +### 2020-09-14_1.536.0 +- Internal changes only + +### 2020-09-14_1.535.3 + +- Added missing values to `PlaidErrorType` enum. + +### 2020-09-14_1.535.2 +- Make some `CraBankIncomeSummary` fields visible. +- +### 2020-09-14_1.535.1 + +### 2020-09-14_1.535.0 +- [Breaking for Go] Updated `consumer_report_user_identity` field in `/user/update` to be required to reflect actual API behavior. + +### 2020-09-14_1.534.7 +- Add `stated_account_number_enabled` to `investments_auth` in `LinkTokenCreateRequest` + +### 2020-09-14_1.534.6 +- [Breaking] Updated base report endpoints and objects to include `cra` prefix + +### 2020-09-14_1.534.5 +- Add `enable_multi_item_link` field to `/link/token/create` + +### 2020-09-14_1.534.4 +- Undeprecate `/identity/match`'s `legal_name.is_business_name_detected` + # 30.0.0 - Updating to OAS 2020-09-14_1.534.3 diff --git a/Makefile b/Makefile index d3f5d8a3f..a5416d429 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # Ruby embeds the version in the generator where as others don't so it's not possible to cat for it. -RUBY_PACKAGE_VERSION=30.0.0 +RUBY_PACKAGE_VERSION=31.0.0 .PHONY: release release: diff --git a/lib/plaid.rb b/lib/plaid.rb index b3e026f2d..cd36c24c8 100644 --- a/lib/plaid.rb +++ b/lib/plaid.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -167,14 +167,10 @@ Plaid.autoload :BaseReport, 'plaid/models/base_report' Plaid.autoload :BaseReportAccount, 'plaid/models/base_report_account' Plaid.autoload :BaseReportAccountBalances, 'plaid/models/base_report_account_balances' -Plaid.autoload :BaseReportAccountBalancesAllOf, 'plaid/models/base_report_account_balances_all_of' Plaid.autoload :BaseReportAccountInsights, 'plaid/models/base_report_account_insights' Plaid.autoload :BaseReportAverageFlowInsights, 'plaid/models/base_report_average_flow_insights' Plaid.autoload :BaseReportAverageMonthlyBalances, 'plaid/models/base_report_average_monthly_balances' -Plaid.autoload :BaseReportCreateRequest, 'plaid/models/base_report_create_request' -Plaid.autoload :BaseReportCreateResponse, 'plaid/models/base_report_create_response' -Plaid.autoload :BaseReportGetRequest, 'plaid/models/base_report_get_request' -Plaid.autoload :BaseReportGetResponse, 'plaid/models/base_report_get_response' +Plaid.autoload :BaseReportHistoricalBalance, 'plaid/models/base_report_historical_balance' Plaid.autoload :BaseReportItem, 'plaid/models/base_report_item' Plaid.autoload :BaseReportLongestGapInsights, 'plaid/models/base_report_longest_gap_insights' Plaid.autoload :BaseReportNumberFlowInsights, 'plaid/models/base_report_number_flow_insights' @@ -203,6 +199,7 @@ Plaid.autoload :BeaconReport, 'plaid/models/beacon_report' Plaid.autoload :BeaconReportCreateRequest, 'plaid/models/beacon_report_create_request' Plaid.autoload :BeaconReportCreateResponse, 'plaid/models/beacon_report_create_response' +Plaid.autoload :BeaconReportCreateType, 'plaid/models/beacon_report_create_type' Plaid.autoload :BeaconReportCreatedWebhook, 'plaid/models/beacon_report_created_webhook' Plaid.autoload :BeaconReportGetRequest, 'plaid/models/beacon_report_get_request' Plaid.autoload :BeaconReportGetResponse, 'plaid/models/beacon_report_get_response' @@ -218,6 +215,7 @@ Plaid.autoload :BeaconReportSyndicationOriginalReport, 'plaid/models/beacon_report_syndication_original_report' Plaid.autoload :BeaconReportType, 'plaid/models/beacon_report_type' Plaid.autoload :BeaconReportUpdatedWebhook, 'plaid/models/beacon_report_updated_webhook' +Plaid.autoload :BeaconSyndicatedReportDepositoryAccountMatchAnalysis, 'plaid/models/beacon_syndicated_report_depository_account_match_analysis' Plaid.autoload :BeaconUser, 'plaid/models/beacon_user' Plaid.autoload :BeaconUserAccountInsightsGetRequest, 'plaid/models/beacon_user_account_insights_get_request' Plaid.autoload :BeaconUserAccountInsightsGetResponse, 'plaid/models/beacon_user_account_insights_get_response' @@ -225,6 +223,7 @@ Plaid.autoload :BeaconUserCreateRequest, 'plaid/models/beacon_user_create_request' Plaid.autoload :BeaconUserCreateResponse, 'plaid/models/beacon_user_create_response' Plaid.autoload :BeaconUserData, 'plaid/models/beacon_user_data' +Plaid.autoload :BeaconUserDepositoryAccount, 'plaid/models/beacon_user_depository_account' Plaid.autoload :BeaconUserGetRequest, 'plaid/models/beacon_user_get_request' Plaid.autoload :BeaconUserGetResponse, 'plaid/models/beacon_user_get_response' Plaid.autoload :BeaconUserHistoryListRequest, 'plaid/models/beacon_user_history_list_request' @@ -235,6 +234,7 @@ Plaid.autoload :BeaconUserRequestAddress, 'plaid/models/beacon_user_request_address' Plaid.autoload :BeaconUserRequestAddressNullable, 'plaid/models/beacon_user_request_address_nullable' Plaid.autoload :BeaconUserRequestData, 'plaid/models/beacon_user_request_data' +Plaid.autoload :BeaconUserRequestDepositoryAccount, 'plaid/models/beacon_user_request_depository_account' Plaid.autoload :BeaconUserReviewRequest, 'plaid/models/beacon_user_review_request' Plaid.autoload :BeaconUserRevision, 'plaid/models/beacon_user_revision' Plaid.autoload :BeaconUserStatus, 'plaid/models/beacon_user_status' @@ -243,6 +243,7 @@ Plaid.autoload :BeaconUserUpdateRequestData, 'plaid/models/beacon_user_update_request_data' Plaid.autoload :BeaconUserUpdateResponse, 'plaid/models/beacon_user_update_response' Plaid.autoload :CRALoansRegisterRequest, 'plaid/models/cra_loans_register_request' +Plaid.autoload :CashflowAttributesVersion, 'plaid/models/cashflow_attributes_version' Plaid.autoload :CategoriesGetResponse, 'plaid/models/categories_get_response' Plaid.autoload :Category, 'plaid/models/category' Plaid.autoload :CategoryInsightDetails, 'plaid/models/category_insight_details' @@ -255,6 +256,8 @@ Plaid.autoload :ClientProvidedTransaction, 'plaid/models/client_provided_transaction' Plaid.autoload :ClientProvidedTransactionLocation, 'plaid/models/client_provided_transaction_location' Plaid.autoload :ConnectedApplication, 'plaid/models/connected_application' +Plaid.autoload :ConsumerDispute, 'plaid/models/consumer_dispute' +Plaid.autoload :ConsumerDisputeCategory, 'plaid/models/consumer_dispute_category' Plaid.autoload :ConsumerReportPDFGetRequest, 'plaid/models/consumer_report_pdf_get_request' Plaid.autoload :ConsumerReportPermissiblePurpose, 'plaid/models/consumer_report_permissible_purpose' Plaid.autoload :ConsumerReportUserIdentity, 'plaid/models/consumer_report_user_identity' @@ -281,15 +284,21 @@ Plaid.autoload :CraBankIncomeTransaction, 'plaid/models/cra_bank_income_transaction' Plaid.autoload :CraBankIncomeWarning, 'plaid/models/cra_bank_income_warning' Plaid.autoload :CraBankIncomeWarningCode, 'plaid/models/cra_bank_income_warning_code' +Plaid.autoload :CraBaseReportCreateRequest, 'plaid/models/cra_base_report_create_request' +Plaid.autoload :CraBaseReportCreateResponse, 'plaid/models/cra_base_report_create_response' +Plaid.autoload :CraBaseReportGetRequest, 'plaid/models/cra_base_report_get_request' +Plaid.autoload :CraBaseReportGetResponse, 'plaid/models/cra_base_report_get_response' +Plaid.autoload :CraCashflowInsightsReport, 'plaid/models/cra_cashflow_insights_report' Plaid.autoload :CraCheckReportBaseReportGetRequest, 'plaid/models/cra_check_report_base_report_get_request' Plaid.autoload :CraCheckReportBaseReportGetResponse, 'plaid/models/cra_check_report_base_report_get_response' +Plaid.autoload :CraCheckReportCashflowInsightsGetOptions, 'plaid/models/cra_check_report_cashflow_insights_get_options' Plaid.autoload :CraCheckReportCreateRequest, 'plaid/models/cra_check_report_create_request' Plaid.autoload :CraCheckReportCreateResponse, 'plaid/models/cra_check_report_create_response' Plaid.autoload :CraCheckReportFailedWebhook, 'plaid/models/cra_check_report_failed_webhook' Plaid.autoload :CraCheckReportIncomeInsightsGetRequest, 'plaid/models/cra_check_report_income_insights_get_request' Plaid.autoload :CraCheckReportIncomeInsightsGetResponse, 'plaid/models/cra_check_report_income_insights_get_response' -Plaid.autoload :CraCheckReportNetworkAttributesGetRequest, 'plaid/models/cra_check_report_network_attributes_get_request' -Plaid.autoload :CraCheckReportNetworkAttributesGetResponse, 'plaid/models/cra_check_report_network_attributes_get_response' +Plaid.autoload :CraCheckReportNetworkInsightsGetRequest, 'plaid/models/cra_check_report_network_insights_get_request' +Plaid.autoload :CraCheckReportNetworkInsightsGetResponse, 'plaid/models/cra_check_report_network_insights_get_response' Plaid.autoload :CraCheckReportPDFGetRequest, 'plaid/models/cra_check_report_pdf_get_request' Plaid.autoload :CraCheckReportPartnerInsightsGetOptions, 'plaid/models/cra_check_report_partner_insights_get_options' Plaid.autoload :CraCheckReportPartnerInsightsGetRequest, 'plaid/models/cra_check_report_partner_insights_get_request' @@ -317,8 +326,15 @@ Plaid.autoload :CraLoansUnregisterRequest, 'plaid/models/cra_loans_unregister_request' Plaid.autoload :CraLoansUpdateRequest, 'plaid/models/cra_loans_update_request' Plaid.autoload :CraLoansUpdateResponse, 'plaid/models/cra_loans_update_response' -Plaid.autoload :CraNetworkAttributesItem, 'plaid/models/cra_network_attributes_item' -Plaid.autoload :CraNetworkAttributesReport, 'plaid/models/cra_network_attributes_report' +Plaid.autoload :CraMonitoringInsightsGetRequest, 'plaid/models/cra_monitoring_insights_get_request' +Plaid.autoload :CraMonitoringInsightsGetResponse, 'plaid/models/cra_monitoring_insights_get_response' +Plaid.autoload :CraMonitoringInsightsItem, 'plaid/models/cra_monitoring_insights_item' +Plaid.autoload :CraMonitoringInsightsSubscribeRequest, 'plaid/models/cra_monitoring_insights_subscribe_request' +Plaid.autoload :CraMonitoringInsightsSubscribeResponse, 'plaid/models/cra_monitoring_insights_subscribe_response' +Plaid.autoload :CraMonitoringInsightsUnsubscribeRequest, 'plaid/models/cra_monitoring_insights_unsubscribe_request' +Plaid.autoload :CraMonitoringInsightsUnsubscribeResponse, 'plaid/models/cra_monitoring_insights_unsubscribe_response' +Plaid.autoload :CraNetworkInsightsItem, 'plaid/models/cra_network_insights_item' +Plaid.autoload :CraNetworkInsightsReport, 'plaid/models/cra_network_insights_report' Plaid.autoload :CraPDFAddOns, 'plaid/models/cra_pdf_add_ons' Plaid.autoload :CraPartnerInsights, 'plaid/models/cra_partner_insights' Plaid.autoload :CraPartnerInsightsCompleteWebhook, 'plaid/models/cra_partner_insights_complete_webhook' @@ -541,6 +557,8 @@ Plaid.autoload :EntityWatchlistScreeningSearchTerms, 'plaid/models/entity_watchlist_screening_search_terms' Plaid.autoload :EntityWatchlistSearchTerms, 'plaid/models/entity_watchlist_search_terms' Plaid.autoload :ExpirationDate, 'plaid/models/expiration_date' +Plaid.autoload :ExtendedRecipientMetadata, 'plaid/models/extended_recipient_metadata' +Plaid.autoload :ExtendedRecipientMetadataAllOf, 'plaid/models/extended_recipient_metadata_all_of' Plaid.autoload :ExternalPaymentInitiationConsentOptions, 'plaid/models/external_payment_initiation_consent_options' Plaid.autoload :ExternalPaymentOptions, 'plaid/models/external_payment_options' Plaid.autoload :ExternalPaymentRefundDetails, 'plaid/models/external_payment_refund_details' @@ -562,13 +580,19 @@ Plaid.autoload :FDXParty, 'plaid/models/fdx_party' Plaid.autoload :FDXPartyRegistry, 'plaid/models/fdx_party_registry' Plaid.autoload :FDXPartyType, 'plaid/models/fdx_party_type' +Plaid.autoload :FDXRecipientMetadata, 'plaid/models/fdx_recipient_metadata' Plaid.autoload :FallbackAuthMicrodepositAutoVerifiedWebhook, 'plaid/models/fallback_auth_microdeposit_auto_verified_webhook' Plaid.autoload :FallbackAuthMicrodepositVerificationExpiredWebhook, 'plaid/models/fallback_auth_microdeposit_verification_expired_webhook' Plaid.autoload :FinancialInstitutionInsights, 'plaid/models/financial_institution_insights' +Plaid.autoload :ForecastedMonthlyIncome, 'plaid/models/forecasted_monthly_income' Plaid.autoload :Form1099Type, 'plaid/models/form1099_type' +Plaid.autoload :ForwardedJSONResponse, 'plaid/models/forwarded_json_response' Plaid.autoload :FraudAmount, 'plaid/models/fraud_amount' Plaid.autoload :GenericScreeningHitLocationItems, 'plaid/models/generic_screening_hit_location_items' +Plaid.autoload :GetRecipientResponse, 'plaid/models/get_recipient_response' +Plaid.autoload :GetRecipientsResponse, 'plaid/models/get_recipients_response' Plaid.autoload :HealthIncident, 'plaid/models/health_incident' +Plaid.autoload :HiddenMatchSummaryCode, 'plaid/models/hidden_match_summary_code' Plaid.autoload :HistoricalBalance, 'plaid/models/historical_balance' Plaid.autoload :HistoricalUpdateWebhook, 'plaid/models/historical_update_webhook' Plaid.autoload :Holding, 'plaid/models/holding' @@ -608,6 +632,7 @@ Plaid.autoload :IdentityVerificationCreateRequestUser, 'plaid/models/identity_verification_create_request_user' Plaid.autoload :IdentityVerificationCreateResponse, 'plaid/models/identity_verification_create_response' Plaid.autoload :IdentityVerificationDocumentAddressResponse, 'plaid/models/identity_verification_document_address_response' +Plaid.autoload :IdentityVerificationDocumentNameResponse, 'plaid/models/identity_verification_document_name_response' Plaid.autoload :IdentityVerificationGetRequest, 'plaid/models/identity_verification_get_request' Plaid.autoload :IdentityVerificationGetResponse, 'plaid/models/identity_verification_get_response' Plaid.autoload :IdentityVerificationListRequest, 'plaid/models/identity_verification_list_request' @@ -632,6 +657,7 @@ Plaid.autoload :IncomeBreakdown, 'plaid/models/income_breakdown' Plaid.autoload :IncomeBreakdownType, 'plaid/models/income_breakdown_type' Plaid.autoload :IncomeOverride, 'plaid/models/income_override' +Plaid.autoload :IncomeSourcesCounts, 'plaid/models/income_sources_counts' Plaid.autoload :IncomeSummary, 'plaid/models/income_summary' Plaid.autoload :IncomeSummaryFieldNumber, 'plaid/models/income_summary_field_number' Plaid.autoload :IncomeSummaryFieldString, 'plaid/models/income_summary_field_string' @@ -701,6 +727,7 @@ Plaid.autoload :InvestmentsTransactionsGetRequestOptions, 'plaid/models/investments_transactions_get_request_options' Plaid.autoload :InvestmentsTransactionsGetResponse, 'plaid/models/investments_transactions_get_response' Plaid.autoload :InvestmentsTransactionsOverride, 'plaid/models/investments_transactions_override' +Plaid.autoload :IssueResolvedWebhook, 'plaid/models/issue_resolved_webhook' Plaid.autoload :IssuingCountry, 'plaid/models/issuing_country' Plaid.autoload :Item, 'plaid/models/item' Plaid.autoload :ItemAccessTokenInvalidateRequest, 'plaid/models/item_access_token_invalidate_request' @@ -742,6 +769,7 @@ Plaid.autoload :KYCCheckAddressSummary, 'plaid/models/kyc_check_address_summary' Plaid.autoload :KYCCheckDateOfBirthSummary, 'plaid/models/kyc_check_date_of_birth_summary' Plaid.autoload :KYCCheckDetails, 'plaid/models/kyc_check_details' +Plaid.autoload :KYCCheckDetailsInternationalAddress, 'plaid/models/kyc_check_details_international_address' Plaid.autoload :KYCCheckIDNumberSummary, 'plaid/models/kyc_check_id_number_summary' Plaid.autoload :KYCCheckNameSummary, 'plaid/models/kyc_check_name_summary' Plaid.autoload :KYCCheckPhoneSummary, 'plaid/models/kyc_check_phone_summary' @@ -781,6 +809,7 @@ Plaid.autoload :LinkProfileEligibilityCheckUser, 'plaid/models/link_profile_eligibility_check_user' Plaid.autoload :LinkSessionBankEmploymentResult, 'plaid/models/link_session_bank_employment_result' Plaid.autoload :LinkSessionBankIncomeResult, 'plaid/models/link_session_bank_income_result' +Plaid.autoload :LinkSessionCraItemAddResult, 'plaid/models/link_session_cra_item_add_result' Plaid.autoload :LinkSessionExit, 'plaid/models/link_session_exit' Plaid.autoload :LinkSessionExitDeprecated, 'plaid/models/link_session_exit_deprecated' Plaid.autoload :LinkSessionExitMetadata, 'plaid/models/link_session_exit_metadata' @@ -809,6 +838,7 @@ Plaid.autoload :LinkTokenCreateRequestBaseReport, 'plaid/models/link_token_create_request_base_report' Plaid.autoload :LinkTokenCreateRequestCraOptions, 'plaid/models/link_token_create_request_cra_options' Plaid.autoload :LinkTokenCreateRequestCraOptionsBaseReport, 'plaid/models/link_token_create_request_cra_options_base_report' +Plaid.autoload :LinkTokenCreateRequestCraOptionsCashflowInsights, 'plaid/models/link_token_create_request_cra_options_cashflow_insights' Plaid.autoload :LinkTokenCreateRequestCraOptionsPartnerInsights, 'plaid/models/link_token_create_request_cra_options_partner_insights' Plaid.autoload :LinkTokenCreateRequestCreditPartnerInsights, 'plaid/models/link_token_create_request_credit_partner_insights' Plaid.autoload :LinkTokenCreateRequestDepositSwitch, 'plaid/models/link_token_create_request_deposit_switch' @@ -843,6 +873,8 @@ Plaid.autoload :LoanIdentifier, 'plaid/models/loan_identifier' Plaid.autoload :LoanIdentifierType, 'plaid/models/loan_identifier_type' Plaid.autoload :LoanIdentifiers, 'plaid/models/loan_identifiers' +Plaid.autoload :LoanPaymentsCounts, 'plaid/models/loan_payments_counts' +Plaid.autoload :LoanPaymentsMerchantCounts, 'plaid/models/loan_payments_merchant_counts' Plaid.autoload :Loans, 'plaid/models/loans' Plaid.autoload :Location, 'plaid/models/location' Plaid.autoload :MFA, 'plaid/models/mfa' @@ -850,12 +882,23 @@ Plaid.autoload :MatchSummaryCode, 'plaid/models/match_summary_code' Plaid.autoload :MerchantInsights, 'plaid/models/merchant_insights' Plaid.autoload :Meta, 'plaid/models/meta' +Plaid.autoload :MonitoringIncomeInsights, 'plaid/models/monitoring_income_insights' +Plaid.autoload :MonitoringIncomeSource, 'plaid/models/monitoring_income_source' +Plaid.autoload :MonitoringInsights, 'plaid/models/monitoring_insights' +Plaid.autoload :MonitoringInsightsItemStatus, 'plaid/models/monitoring_insights_item_status' +Plaid.autoload :MonitoringInsightsWebhook, 'plaid/models/monitoring_insights_webhook' +Plaid.autoload :MonitoringItemStatusCode, 'plaid/models/monitoring_item_status_code' +Plaid.autoload :MonitoringLoanInsights, 'plaid/models/monitoring_loan_insights' Plaid.autoload :MortgageInterestRate, 'plaid/models/mortgage_interest_rate' Plaid.autoload :MortgageLiability, 'plaid/models/mortgage_liability' Plaid.autoload :MortgagePropertyAddress, 'plaid/models/mortgage_property_address' Plaid.autoload :MultiDocumentRiskSignal, 'plaid/models/multi_document_risk_signal' Plaid.autoload :NameMatchScore, 'plaid/models/name_match_score' Plaid.autoload :NetPay, 'plaid/models/net_pay' +Plaid.autoload :NetworkInsightsItem, 'plaid/models/network_insights_item' +Plaid.autoload :NetworkInsightsReport, 'plaid/models/network_insights_report' +Plaid.autoload :NetworkInsightsReportGetRequest, 'plaid/models/network_insights_report_get_request' +Plaid.autoload :NetworkInsightsReportGetResponse, 'plaid/models/network_insights_report_get_response' Plaid.autoload :NewAccountsAvailableWebhook, 'plaid/models/new_accounts_available_webhook' Plaid.autoload :Numbers, 'plaid/models/numbers' Plaid.autoload :NumbersACATS, 'plaid/models/numbers_acats' @@ -1014,6 +1057,8 @@ Plaid.autoload :PaystubOverrideTaxpayerID, 'plaid/models/paystub_override_taxpayer_id' Plaid.autoload :PaystubPayFrequency, 'plaid/models/paystub_pay_frequency' Plaid.autoload :PaystubYTDDetails, 'plaid/models/paystub_ytd_details' +Plaid.autoload :PendingDisconnectWebhook, 'plaid/models/pending_disconnect_webhook' +Plaid.autoload :PendingDisconnectWebhookReason, 'plaid/models/pending_disconnect_webhook_reason' Plaid.autoload :PendingExpirationWebhook, 'plaid/models/pending_expiration_webhook' Plaid.autoload :PersonalFinanceCategory, 'plaid/models/personal_finance_category' Plaid.autoload :PhoneNumber, 'plaid/models/phone_number' @@ -1023,14 +1068,19 @@ Plaid.autoload :PhysicalDocumentExtractedData, 'plaid/models/physical_document_extracted_data' Plaid.autoload :PhysicalDocumentExtractedDataAnalysis, 'plaid/models/physical_document_extracted_data_analysis' Plaid.autoload :PhysicalDocumentImages, 'plaid/models/physical_document_images' +Plaid.autoload :PlaidCheckScore, 'plaid/models/plaid_check_score' Plaid.autoload :PlaidError, 'plaid/models/plaid_error' Plaid.autoload :PlaidErrorType, 'plaid/models/plaid_error_type' Plaid.autoload :PlatformIds, 'plaid/models/platform_ids' Plaid.autoload :PrismCashScore, 'plaid/models/prism_cash_score' Plaid.autoload :PrismCashScoreMetadata, 'plaid/models/prism_cash_score_metadata' +Plaid.autoload :PrismCashScoreVersion, 'plaid/models/prism_cash_score_version' Plaid.autoload :PrismFirstDetect, 'plaid/models/prism_first_detect' +Plaid.autoload :PrismFirstDetectVersion, 'plaid/models/prism_first_detect_version' Plaid.autoload :PrismInsights, 'plaid/models/prism_insights' +Plaid.autoload :PrismInsightsVersion, 'plaid/models/prism_insights_version' Plaid.autoload :PrismProduct, 'plaid/models/prism_product' +Plaid.autoload :PrismVersions, 'plaid/models/prism_versions' Plaid.autoload :ProcessorAccountGetRequest, 'plaid/models/processor_account_get_request' Plaid.autoload :ProcessorAccountGetResponse, 'plaid/models/processor_account_get_response' Plaid.autoload :ProcessorApexProcessorTokenCreateRequest, 'plaid/models/processor_apex_processor_token_create_request' @@ -1094,6 +1144,10 @@ Plaid.autoload :ProfileIdentityAddress, 'plaid/models/profile_identity_address' Plaid.autoload :ProfileIdentityName, 'plaid/models/profile_identity_name' Plaid.autoload :ProfileItem, 'plaid/models/profile_item' +Plaid.autoload :ProfileNetworkStatusGetNetworkStatus, 'plaid/models/profile_network_status_get_network_status' +Plaid.autoload :ProfileNetworkStatusGetRequest, 'plaid/models/profile_network_status_get_request' +Plaid.autoload :ProfileNetworkStatusGetResponse, 'plaid/models/profile_network_status_get_response' +Plaid.autoload :ProfileNetworkStatusGetUser, 'plaid/models/profile_network_status_get_user' Plaid.autoload :ProgramNameSensitivity, 'plaid/models/program_name_sensitivity' Plaid.autoload :ProjectedIncomeSummaryFieldNumber, 'plaid/models/projected_income_summary_field_number' Plaid.autoload :ProxyType, 'plaid/models/proxy_type' @@ -1136,6 +1190,7 @@ Plaid.autoload :RiskSignalDocumentReference, 'plaid/models/risk_signal_document_reference' Plaid.autoload :RiskSignalDocumentStatus, 'plaid/models/risk_signal_document_status' Plaid.autoload :RiskSignalDocumentType, 'plaid/models/risk_signal_document_type' +Plaid.autoload :RiskSignalFileType, 'plaid/models/risk_signal_file_type' Plaid.autoload :Role, 'plaid/models/role' Plaid.autoload :RoleDetail, 'plaid/models/role_detail' Plaid.autoload :Roles, 'plaid/models/roles' @@ -1270,6 +1325,7 @@ Plaid.autoload :TaxpayerIdentifiers, 'plaid/models/taxpayer_identifiers' Plaid.autoload :Total, 'plaid/models/total' Plaid.autoload :TotalCanonicalDescription, 'plaid/models/total_canonical_description' +Plaid.autoload :TotalMonthlyIncomeInsights, 'plaid/models/total_monthly_income_insights' Plaid.autoload :Transaction, 'plaid/models/transaction' Plaid.autoload :TransactionAllOf, 'plaid/models/transaction_all_of' Plaid.autoload :TransactionBase, 'plaid/models/transaction_base' @@ -1396,6 +1452,7 @@ Plaid.autoload :TransferLedgerWithdrawResponse, 'plaid/models/transfer_ledger_withdraw_response' Plaid.autoload :TransferListRequest, 'plaid/models/transfer_list_request' Plaid.autoload :TransferListResponse, 'plaid/models/transfer_list_response' +Plaid.autoload :TransferMetricsGetAuthorizationUsage, 'plaid/models/transfer_metrics_get_authorization_usage' Plaid.autoload :TransferMetricsGetRequest, 'plaid/models/transfer_metrics_get_request' Plaid.autoload :TransferMetricsGetResponse, 'plaid/models/transfer_metrics_get_response' Plaid.autoload :TransferMetricsGetReturnRates, 'plaid/models/transfer_metrics_get_return_rates' @@ -1413,6 +1470,9 @@ Plaid.autoload :TransferOriginatorGetResponse, 'plaid/models/transfer_originator_get_response' Plaid.autoload :TransferOriginatorListRequest, 'plaid/models/transfer_originator_list_request' Plaid.autoload :TransferOriginatorListResponse, 'plaid/models/transfer_originator_list_response' +Plaid.autoload :TransferPlatformOriginatorCreateRequest, 'plaid/models/transfer_platform_originator_create_request' +Plaid.autoload :TransferPlatformOriginatorCreateResponse, 'plaid/models/transfer_platform_originator_create_response' +Plaid.autoload :TransferPlatformTOSAcceptanceMetadata, 'plaid/models/transfer_platform_tos_acceptance_metadata' Plaid.autoload :TransferQuestionnaireCreateRequest, 'plaid/models/transfer_questionnaire_create_request' Plaid.autoload :TransferQuestionnaireCreateResponse, 'plaid/models/transfer_questionnaire_create_response' Plaid.autoload :TransferRecurringCancelRequest, 'plaid/models/transfer_recurring_cancel_request' @@ -1521,6 +1581,7 @@ Plaid.autoload :WalletTransactionListRequest, 'plaid/models/wallet_transaction_list_request' Plaid.autoload :WalletTransactionListRequestOptions, 'plaid/models/wallet_transaction_list_request_options' Plaid.autoload :WalletTransactionListResponse, 'plaid/models/wallet_transaction_list_response' +Plaid.autoload :WalletTransactionRelation, 'plaid/models/wallet_transaction_relation' Plaid.autoload :WalletTransactionStatus, 'plaid/models/wallet_transaction_status' Plaid.autoload :WalletTransactionStatusUpdateWebhook, 'plaid/models/wallet_transaction_status_update_webhook' Plaid.autoload :WalletTransactionsListRequest, 'plaid/models/wallet_transactions_list_request' diff --git a/lib/plaid/api/plaid_api.rb b/lib/plaid/api/plaid_api.rb index 075f1a662..f19c7727b 100644 --- a/lib/plaid/api/plaid_api.rb +++ b/lib/plaid/api/plaid_api.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -836,7 +836,7 @@ def asset_report_remove_with_http_info(asset_report_remove_request, opts = {}) end # Retrieve auth data - # The `/auth/get` endpoint returns the bank account and bank identification numbers (such as routing numbers, for US accounts) associated with an Item's checking and savings accounts, along with high-level account data and balances when available. Note: This request may take some time to complete if `auth` was not specified as an initial product when creating the Item. This is because Plaid must communicate directly with the institution to retrieve the data. Versioning note: In API version 2017-03-08, the schema of the `numbers` object returned by this endpoint is substantially different. For details, see [Plaid API versioning](https://plaid.com/docs/api/versioning/#version-2018-05-22). + # The `/auth/get` endpoint returns the bank account and bank identification numbers (such as routing numbers, for US accounts) associated with an Item's checking and savings accounts, along with high-level account data and balances when available. Versioning note: In API version 2017-03-08, the schema of the `numbers` object returned by this endpoint is substantially different. For details, see [Plaid API versioning](https://plaid.com/docs/api/versioning/#version-2018-05-22). # @param auth_get_request [AuthGetRequest] # @param [Hash] opts the optional parameters # @return [AuthGetResponse] @@ -846,7 +846,7 @@ def auth_get(auth_get_request, opts = {}) end # Retrieve auth data - # The `/auth/get` endpoint returns the bank account and bank identification numbers (such as routing numbers, for US accounts) associated with an Item's checking and savings accounts, along with high-level account data and balances when available. Note: This request may take some time to complete if `auth` was not specified as an initial product when creating the Item. This is because Plaid must communicate directly with the institution to retrieve the data. Versioning note: In API version 2017-03-08, the schema of the `numbers` object returned by this endpoint is substantially different. For details, see [Plaid API versioning](https://plaid.com/docs/api/versioning/#version-2018-05-22). + # The `/auth/get` endpoint returns the bank account and bank identification numbers (such as routing numbers, for US accounts) associated with an Item's checking and savings accounts, along with high-level account data and balances when available. Versioning note: In API version 2017-03-08, the schema of the `numbers` object returned by this endpoint is substantially different. For details, see [Plaid API versioning](https://plaid.com/docs/api/versioning/#version-2018-05-22). # @param auth_get_request [AuthGetRequest] # @param [Hash] opts the optional parameters # @return [Array<(AuthGetResponse, Integer, Hash)>] AuthGetResponse data, response status code and response headers @@ -1583,142 +1583,6 @@ def bank_transfer_sweep_list_with_http_info(bank_transfer_sweep_list_request, op return data, status_code, headers end - # Create a Base Report - # This endpoint allows the customer to create a Base Report by passing in a user token. The Base Report will be generated based on the most recently linked item from the user token. - # @param base_report_create_request [BaseReportCreateRequest] - # @param [Hash] opts the optional parameters - # @return [BaseReportCreateResponse] - def base_report_create(base_report_create_request, opts = {}) - data, _status_code, _headers = base_report_create_with_http_info(base_report_create_request, opts) - data - end - - # Create a Base Report - # This endpoint allows the customer to create a Base Report by passing in a user token. The Base Report will be generated based on the most recently linked item from the user token. - # @param base_report_create_request [BaseReportCreateRequest] - # @param [Hash] opts the optional parameters - # @return [Array<(BaseReportCreateResponse, Integer, Hash)>] BaseReportCreateResponse data, response status code and response headers - def base_report_create_with_http_info(base_report_create_request, opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug 'Calling API: PlaidApi.base_report_create ...' - end - # verify the required parameter 'base_report_create_request' is set - if @api_client.config.client_side_validation && base_report_create_request.nil? - fail ArgumentError, "Missing the required parameter 'base_report_create_request' when calling PlaidApi.base_report_create" - end - # resource path - local_var_path = '/cra/base_report/create' - - # query parameters - query_params = opts[:query_params] || {} - - # header parameters - header_params = opts[:header_params] || {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json']) - # HTTP header 'Content-Type' - content_type = @api_client.select_header_content_type(['application/json']) - if !content_type.nil? - header_params['Content-Type'] = content_type - end - - # form parameters - form_params = opts[:form_params] || {} - - # http body (model) - post_body = opts[:debug_body] || @api_client.object_to_http_body(base_report_create_request) - - # return_type - return_type = opts[:debug_return_type] || 'BaseReportCreateResponse' - - # auth_names - auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] - - new_options = opts.merge( - :operation => :"PlaidApi.base_report_create", - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => return_type - ) - - data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options) - if @api_client.config.debugging - @api_client.config.logger.debug "API called: PlaidApi#base_report_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - - # Retrieve a Base Report - # This endpoint allows the customer to retrieve a Base Report. Customers should pass in the `user_token` created in `/link/token/create`. - # @param base_report_get_request [BaseReportGetRequest] - # @param [Hash] opts the optional parameters - # @return [BaseReportGetResponse] - def base_report_get(base_report_get_request, opts = {}) - data, _status_code, _headers = base_report_get_with_http_info(base_report_get_request, opts) - data - end - - # Retrieve a Base Report - # This endpoint allows the customer to retrieve a Base Report. Customers should pass in the `user_token` created in `/link/token/create`. - # @param base_report_get_request [BaseReportGetRequest] - # @param [Hash] opts the optional parameters - # @return [Array<(BaseReportGetResponse, Integer, Hash)>] BaseReportGetResponse data, response status code and response headers - def base_report_get_with_http_info(base_report_get_request, opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug 'Calling API: PlaidApi.base_report_get ...' - end - # verify the required parameter 'base_report_get_request' is set - if @api_client.config.client_side_validation && base_report_get_request.nil? - fail ArgumentError, "Missing the required parameter 'base_report_get_request' when calling PlaidApi.base_report_get" - end - # resource path - local_var_path = '/cra/base_report/get' - - # query parameters - query_params = opts[:query_params] || {} - - # header parameters - header_params = opts[:header_params] || {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json']) - # HTTP header 'Content-Type' - content_type = @api_client.select_header_content_type(['application/json']) - if !content_type.nil? - header_params['Content-Type'] = content_type - end - - # form parameters - form_params = opts[:form_params] || {} - - # http body (model) - post_body = opts[:debug_body] || @api_client.object_to_http_body(base_report_get_request) - - # return_type - return_type = opts[:debug_return_type] || 'BaseReportGetResponse' - - # auth_names - auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] - - new_options = opts.merge( - :operation => :"PlaidApi.base_report_get", - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => return_type - ) - - data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options) - if @api_client.config.debugging - @api_client.config.logger.debug "API called: PlaidApi#base_report_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - # Evaluate risk of a bank account # Use `/beacon/account_risk/v1/evaluate` to get risk insights for a linked account. # @param beacon_account_risk_evaluate_request [BeaconAccountRiskEvaluateRequest] @@ -2875,6 +2739,142 @@ def cra_bank_income_get_with_http_info(cra_bank_income_get_request, opts = {}) return data, status_code, headers end + # Create a Base Report + # This endpoint allows the customer to create a Base Report by passing in a user token. The Base Report will be generated based on the most recently linked item from the user token. + # @param cra_base_report_create_request [CraBaseReportCreateRequest] + # @param [Hash] opts the optional parameters + # @return [CraBaseReportCreateResponse] + def cra_base_report_create(cra_base_report_create_request, opts = {}) + data, _status_code, _headers = cra_base_report_create_with_http_info(cra_base_report_create_request, opts) + data + end + + # Create a Base Report + # This endpoint allows the customer to create a Base Report by passing in a user token. The Base Report will be generated based on the most recently linked item from the user token. + # @param cra_base_report_create_request [CraBaseReportCreateRequest] + # @param [Hash] opts the optional parameters + # @return [Array<(CraBaseReportCreateResponse, Integer, Hash)>] CraBaseReportCreateResponse data, response status code and response headers + def cra_base_report_create_with_http_info(cra_base_report_create_request, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: PlaidApi.cra_base_report_create ...' + end + # verify the required parameter 'cra_base_report_create_request' is set + if @api_client.config.client_side_validation && cra_base_report_create_request.nil? + fail ArgumentError, "Missing the required parameter 'cra_base_report_create_request' when calling PlaidApi.cra_base_report_create" + end + # resource path + local_var_path = '/cra/base_report/create' + + # query parameters + query_params = opts[:query_params] || {} + + # header parameters + header_params = opts[:header_params] || {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + # HTTP header 'Content-Type' + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] || @api_client.object_to_http_body(cra_base_report_create_request) + + # return_type + return_type = opts[:debug_return_type] || 'CraBaseReportCreateResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] + + new_options = opts.merge( + :operation => :"PlaidApi.cra_base_report_create", + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type + ) + + data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: PlaidApi#cra_base_report_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # Retrieve a Base Report + # This endpoint allows the customer to retrieve a Base Report. Customers should pass in the `user_token` created in `/user/create`. + # @param cra_base_report_get_request [CraBaseReportGetRequest] + # @param [Hash] opts the optional parameters + # @return [CraBaseReportGetResponse] + def cra_base_report_get(cra_base_report_get_request, opts = {}) + data, _status_code, _headers = cra_base_report_get_with_http_info(cra_base_report_get_request, opts) + data + end + + # Retrieve a Base Report + # This endpoint allows the customer to retrieve a Base Report. Customers should pass in the `user_token` created in `/user/create`. + # @param cra_base_report_get_request [CraBaseReportGetRequest] + # @param [Hash] opts the optional parameters + # @return [Array<(CraBaseReportGetResponse, Integer, Hash)>] CraBaseReportGetResponse data, response status code and response headers + def cra_base_report_get_with_http_info(cra_base_report_get_request, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: PlaidApi.cra_base_report_get ...' + end + # verify the required parameter 'cra_base_report_get_request' is set + if @api_client.config.client_side_validation && cra_base_report_get_request.nil? + fail ArgumentError, "Missing the required parameter 'cra_base_report_get_request' when calling PlaidApi.cra_base_report_get" + end + # resource path + local_var_path = '/cra/base_report/get' + + # query parameters + query_params = opts[:query_params] || {} + + # header parameters + header_params = opts[:header_params] || {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + # HTTP header 'Content-Type' + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] || @api_client.object_to_http_body(cra_base_report_get_request) + + # return_type + return_type = opts[:debug_return_type] || 'CraBaseReportGetResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] + + new_options = opts.merge( + :operation => :"PlaidApi.cra_base_report_get", + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type + ) + + data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: PlaidApi#cra_base_report_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # Retrieve a Base Report # This endpoint allows you to retrieve the Base Report for your user, allowing you to receive comprehensive bank account and cash flow data. You should call this endpoint after you've received a `CHECK_REPORT_READY` webhook, either after the Link session for the user or after calling `/cra/check_report/create`. If the most recent consumer report for the user doesn't have sufficient data to generate the base report, or the consumer report has expired, you will receive an error indicating that you should create a new consumer report by calling `/cra/check_report/create`. # @param cra_check_report_base_report_get_request [CraCheckReportBaseReportGetRequest] @@ -3080,27 +3080,27 @@ def cra_check_report_income_insights_get_with_http_info(cra_check_report_income_ end # Retrieve network attributes for the user - # This endpoint allows you to retrieve the Network Attributes product for your user. You should call this endpoint after you've received the `CHECK_REPORT_READY` webhook, either after the Link session for the user or after calling `/cra/check_report/create`. If the most recent consumer report for the user doesn’t have sufficient data to generate the report, or the consumer report has expired, you will receive an error indicating that you should create a new consumer report by calling `/cra/check_report/create`. If you did not initialize Link with the `cra_network_attributes` product or have generated a report using `/cra/check_report/create`, we will generate the attributes when you call this endpoint. - # @param cra_check_report_network_attributes_get_request [CraCheckReportNetworkAttributesGetRequest] + # This endpoint allows you to retrieve the Network Insights product for your user. You should call this endpoint after you've received the `CHECK_REPORT_READY` webhook, either after the Link session for the user or after calling `/cra/check_report/create`. If the most recent consumer report for the user doesn’t have sufficient data to generate the report, or the consumer report has expired, you will receive an error indicating that you should create a new consumer report by calling `/cra/check_report/create`. If you did not initialize Link with the `cra_network_attributes` product or have generated a report using `/cra/check_report/create`, we will generate the attributes when you call this endpoint. + # @param cra_check_report_network_insights_get_request [CraCheckReportNetworkInsightsGetRequest] # @param [Hash] opts the optional parameters - # @return [CraCheckReportNetworkAttributesGetResponse] - def cra_check_report_network_attributes_get(cra_check_report_network_attributes_get_request, opts = {}) - data, _status_code, _headers = cra_check_report_network_attributes_get_with_http_info(cra_check_report_network_attributes_get_request, opts) + # @return [CraCheckReportNetworkInsightsGetResponse] + def cra_check_report_network_insights_get(cra_check_report_network_insights_get_request, opts = {}) + data, _status_code, _headers = cra_check_report_network_insights_get_with_http_info(cra_check_report_network_insights_get_request, opts) data end # Retrieve network attributes for the user - # This endpoint allows you to retrieve the Network Attributes product for your user. You should call this endpoint after you've received the `CHECK_REPORT_READY` webhook, either after the Link session for the user or after calling `/cra/check_report/create`. If the most recent consumer report for the user doesn’t have sufficient data to generate the report, or the consumer report has expired, you will receive an error indicating that you should create a new consumer report by calling `/cra/check_report/create`. If you did not initialize Link with the `cra_network_attributes` product or have generated a report using `/cra/check_report/create`, we will generate the attributes when you call this endpoint. - # @param cra_check_report_network_attributes_get_request [CraCheckReportNetworkAttributesGetRequest] + # This endpoint allows you to retrieve the Network Insights product for your user. You should call this endpoint after you've received the `CHECK_REPORT_READY` webhook, either after the Link session for the user or after calling `/cra/check_report/create`. If the most recent consumer report for the user doesn’t have sufficient data to generate the report, or the consumer report has expired, you will receive an error indicating that you should create a new consumer report by calling `/cra/check_report/create`. If you did not initialize Link with the `cra_network_attributes` product or have generated a report using `/cra/check_report/create`, we will generate the attributes when you call this endpoint. + # @param cra_check_report_network_insights_get_request [CraCheckReportNetworkInsightsGetRequest] # @param [Hash] opts the optional parameters - # @return [Array<(CraCheckReportNetworkAttributesGetResponse, Integer, Hash)>] CraCheckReportNetworkAttributesGetResponse data, response status code and response headers - def cra_check_report_network_attributes_get_with_http_info(cra_check_report_network_attributes_get_request, opts = {}) + # @return [Array<(CraCheckReportNetworkInsightsGetResponse, Integer, Hash)>] CraCheckReportNetworkInsightsGetResponse data, response status code and response headers + def cra_check_report_network_insights_get_with_http_info(cra_check_report_network_insights_get_request, opts = {}) if @api_client.config.debugging - @api_client.config.logger.debug 'Calling API: PlaidApi.cra_check_report_network_attributes_get ...' + @api_client.config.logger.debug 'Calling API: PlaidApi.cra_check_report_network_insights_get ...' end - # verify the required parameter 'cra_check_report_network_attributes_get_request' is set - if @api_client.config.client_side_validation && cra_check_report_network_attributes_get_request.nil? - fail ArgumentError, "Missing the required parameter 'cra_check_report_network_attributes_get_request' when calling PlaidApi.cra_check_report_network_attributes_get" + # verify the required parameter 'cra_check_report_network_insights_get_request' is set + if @api_client.config.client_side_validation && cra_check_report_network_insights_get_request.nil? + fail ArgumentError, "Missing the required parameter 'cra_check_report_network_insights_get_request' when calling PlaidApi.cra_check_report_network_insights_get" end # resource path local_var_path = '/cra/check_report/network_insights/get' @@ -3122,16 +3122,16 @@ def cra_check_report_network_attributes_get_with_http_info(cra_check_report_netw form_params = opts[:form_params] || {} # http body (model) - post_body = opts[:debug_body] || @api_client.object_to_http_body(cra_check_report_network_attributes_get_request) + post_body = opts[:debug_body] || @api_client.object_to_http_body(cra_check_report_network_insights_get_request) # return_type - return_type = opts[:debug_return_type] || 'CraCheckReportNetworkAttributesGetResponse' + return_type = opts[:debug_return_type] || 'CraCheckReportNetworkInsightsGetResponse' # auth_names auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] new_options = opts.merge( - :operation => :"PlaidApi.cra_check_report_network_attributes_get", + :operation => :"PlaidApi.cra_check_report_network_insights_get", :header_params => header_params, :query_params => query_params, :form_params => form_params, @@ -3142,13 +3142,13 @@ def cra_check_report_network_attributes_get_with_http_info(cra_check_report_netw data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options) if @api_client.config.debugging - @api_client.config.logger.debug "API called: PlaidApi#cra_check_report_network_attributes_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + @api_client.config.logger.debug "API called: PlaidApi#cra_check_report_network_insights_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end # Retrieve cash flow insights from partners - # This endpoint allows you to retrieve the Partner Insights product for your user. You should call this endpoint after you've received the `CHECK_REPORT_READY` webhook, either after the Link session for the user or after calling `/cra/check_report/create`. If the most recent consumer report for the user doesn’t have sufficient data to generate the base report, or the consumer report has expired, you will receive an error indicating that you should create a new consumer report by calling `/cra/check_report/create`. If you did not initialize Link with the `credit_partner_insights` product or have generated a report using `/cra/check_report/create`, we will call our partners to generate the insights when you call this endpoint. In this case, you may optionally provide parameters under `options` to configure which insights you want to receive. + # This endpoint allows you to retrieve the Partner Insights report for your user. You should call this endpoint after you've received the `CHECK_REPORT_READY` webhook, either after the Link session for the user or after calling `/cra/check_report/create`. If the most recent consumer report for the user doesn’t have sufficient data to generate the base report, or the consumer report has expired, you will receive an error indicating that you should create a new consumer report by calling `/cra/check_report/create`. If you did not initialize Link with the `credit_partner_insights` product or have generated a report using `/cra/check_report/create`, we will call our partners to generate the insights when you call this endpoint. In this case, you may optionally provide parameters under `options` to configure which insights you want to receive. # @param cra_check_report_partner_insights_get_request [CraCheckReportPartnerInsightsGetRequest] # @param [Hash] opts the optional parameters # @return [CraCheckReportPartnerInsightsGetResponse] @@ -3158,7 +3158,7 @@ def cra_check_report_partner_insights_get(cra_check_report_partner_insights_get_ end # Retrieve cash flow insights from partners - # This endpoint allows you to retrieve the Partner Insights product for your user. You should call this endpoint after you've received the `CHECK_REPORT_READY` webhook, either after the Link session for the user or after calling `/cra/check_report/create`. If the most recent consumer report for the user doesn’t have sufficient data to generate the base report, or the consumer report has expired, you will receive an error indicating that you should create a new consumer report by calling `/cra/check_report/create`. If you did not initialize Link with the `credit_partner_insights` product or have generated a report using `/cra/check_report/create`, we will call our partners to generate the insights when you call this endpoint. In this case, you may optionally provide parameters under `options` to configure which insights you want to receive. + # This endpoint allows you to retrieve the Partner Insights report for your user. You should call this endpoint after you've received the `CHECK_REPORT_READY` webhook, either after the Link session for the user or after calling `/cra/check_report/create`. If the most recent consumer report for the user doesn’t have sufficient data to generate the base report, or the consumer report has expired, you will receive an error indicating that you should create a new consumer report by calling `/cra/check_report/create`. If you did not initialize Link with the `credit_partner_insights` product or have generated a report using `/cra/check_report/create`, we will call our partners to generate the insights when you call this endpoint. In this case, you may optionally provide parameters under `options` to configure which insights you want to receive. # @param cra_check_report_partner_insights_get_request [CraCheckReportPartnerInsightsGetRequest] # @param [Hash] opts the optional parameters # @return [Array<(CraCheckReportPartnerInsightsGetResponse, Integer, Hash)>] CraCheckReportPartnerInsightsGetResponse data, response status code and response headers @@ -3215,8 +3215,8 @@ def cra_check_report_partner_insights_get_with_http_info(cra_check_report_partne return data, status_code, headers end - # Retrieve the most recent Base Report in PDF format. You can also include other reports in the same PDF if you specify `add_ons`. - # `/cra/check_report/pdf/get` retrieve the most recent Bank Income report (if it exists) followed by the most recent Base Report (if it exists) in PDF format + # Retrieve Consumer Reports as a PDF + # `/cra/check_report/pdf/get` retrieves the most recent Bank Income report (if it exists) followed by the most recent Base Report (if it exists) in PDF format. # @param cra_check_report_pdf_get_request [CraCheckReportPDFGetRequest] # @param [Hash] opts the optional parameters # @return [File] @@ -3225,8 +3225,8 @@ def cra_check_report_pdf_get(cra_check_report_pdf_get_request, opts = {}) data end - # Retrieve the most recent Base Report in PDF format. You can also include other reports in the same PDF if you specify `add_ons`. - # `/cra/check_report/pdf/get` retrieve the most recent Bank Income report (if it exists) followed by the most recent Base Report (if it exists) in PDF format + # Retrieve Consumer Reports as a PDF + # `/cra/check_report/pdf/get` retrieves the most recent Bank Income report (if it exists) followed by the most recent Base Report (if it exists) in PDF format. # @param cra_check_report_pdf_get_request [CraCheckReportPDFGetRequest] # @param [Hash] opts the optional parameters # @return [Array<(File, Integer, Hash)>] File data, response status code and response headers @@ -3436,14 +3436,218 @@ def cra_loans_unregister(cra_loans_unregister_request, opts = {}) # @return [Array<(CraLoanUnregisterResponse, Integer, Hash)>] CraLoanUnregisterResponse data, response status code and response headers def cra_loans_unregister_with_http_info(cra_loans_unregister_request, opts = {}) if @api_client.config.debugging - @api_client.config.logger.debug 'Calling API: PlaidApi.cra_loans_unregister ...' + @api_client.config.logger.debug 'Calling API: PlaidApi.cra_loans_unregister ...' + end + # verify the required parameter 'cra_loans_unregister_request' is set + if @api_client.config.client_side_validation && cra_loans_unregister_request.nil? + fail ArgumentError, "Missing the required parameter 'cra_loans_unregister_request' when calling PlaidApi.cra_loans_unregister" + end + # resource path + local_var_path = '/cra/loans/unregister' + + # query parameters + query_params = opts[:query_params] || {} + + # header parameters + header_params = opts[:header_params] || {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + # HTTP header 'Content-Type' + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] || @api_client.object_to_http_body(cra_loans_unregister_request) + + # return_type + return_type = opts[:debug_return_type] || 'CraLoanUnregisterResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] + + new_options = opts.merge( + :operation => :"PlaidApi.cra_loans_unregister", + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type + ) + + data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: PlaidApi#cra_loans_unregister\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # Updates loan data. + # `/cra/loans/update` updates loan information such as the status and payment history. + # @param cra_loans_update_request [CraLoansUpdateRequest] + # @param [Hash] opts the optional parameters + # @return [CraLoansUpdateResponse] + def cra_loans_update(cra_loans_update_request, opts = {}) + data, _status_code, _headers = cra_loans_update_with_http_info(cra_loans_update_request, opts) + data + end + + # Updates loan data. + # `/cra/loans/update` updates loan information such as the status and payment history. + # @param cra_loans_update_request [CraLoansUpdateRequest] + # @param [Hash] opts the optional parameters + # @return [Array<(CraLoansUpdateResponse, Integer, Hash)>] CraLoansUpdateResponse data, response status code and response headers + def cra_loans_update_with_http_info(cra_loans_update_request, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: PlaidApi.cra_loans_update ...' + end + # verify the required parameter 'cra_loans_update_request' is set + if @api_client.config.client_side_validation && cra_loans_update_request.nil? + fail ArgumentError, "Missing the required parameter 'cra_loans_update_request' when calling PlaidApi.cra_loans_update" + end + # resource path + local_var_path = '/cra/loans/update' + + # query parameters + query_params = opts[:query_params] || {} + + # header parameters + header_params = opts[:header_params] || {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + # HTTP header 'Content-Type' + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] || @api_client.object_to_http_body(cra_loans_update_request) + + # return_type + return_type = opts[:debug_return_type] || 'CraLoansUpdateResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] + + new_options = opts.merge( + :operation => :"PlaidApi.cra_loans_update", + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type + ) + + data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: PlaidApi#cra_loans_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # Retrieve a Monitoring Insights Report + # This endpoint allows you to retrieve a Monitoring Insights report by passing in the `user_token` referred to in the webhook you received. + # @param cra_monitoring_insights_get_request [CraMonitoringInsightsGetRequest] + # @param [Hash] opts the optional parameters + # @return [CraMonitoringInsightsGetResponse] + def cra_monitoring_insights_get(cra_monitoring_insights_get_request, opts = {}) + data, _status_code, _headers = cra_monitoring_insights_get_with_http_info(cra_monitoring_insights_get_request, opts) + data + end + + # Retrieve a Monitoring Insights Report + # This endpoint allows you to retrieve a Monitoring Insights report by passing in the `user_token` referred to in the webhook you received. + # @param cra_monitoring_insights_get_request [CraMonitoringInsightsGetRequest] + # @param [Hash] opts the optional parameters + # @return [Array<(CraMonitoringInsightsGetResponse, Integer, Hash)>] CraMonitoringInsightsGetResponse data, response status code and response headers + def cra_monitoring_insights_get_with_http_info(cra_monitoring_insights_get_request, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: PlaidApi.cra_monitoring_insights_get ...' + end + # verify the required parameter 'cra_monitoring_insights_get_request' is set + if @api_client.config.client_side_validation && cra_monitoring_insights_get_request.nil? + fail ArgumentError, "Missing the required parameter 'cra_monitoring_insights_get_request' when calling PlaidApi.cra_monitoring_insights_get" + end + # resource path + local_var_path = '/cra/monitoring_insights/get' + + # query parameters + query_params = opts[:query_params] || {} + + # header parameters + header_params = opts[:header_params] || {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + # HTTP header 'Content-Type' + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] || @api_client.object_to_http_body(cra_monitoring_insights_get_request) + + # return_type + return_type = opts[:debug_return_type] || 'CraMonitoringInsightsGetResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] + + new_options = opts.merge( + :operation => :"PlaidApi.cra_monitoring_insights_get", + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type + ) + + data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: PlaidApi#cra_monitoring_insights_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # Subscribe to Monitoring Insights + # This endpoint allows you to subscribe to insights for a user's linked CRA items, which are updated every 14 days. + # @param cra_monitoring_insights_subscribe_request [CraMonitoringInsightsSubscribeRequest] + # @param [Hash] opts the optional parameters + # @return [CraMonitoringInsightsSubscribeResponse] + def cra_monitoring_insights_subscribe(cra_monitoring_insights_subscribe_request, opts = {}) + data, _status_code, _headers = cra_monitoring_insights_subscribe_with_http_info(cra_monitoring_insights_subscribe_request, opts) + data + end + + # Subscribe to Monitoring Insights + # This endpoint allows you to subscribe to insights for a user's linked CRA items, which are updated every 14 days. + # @param cra_monitoring_insights_subscribe_request [CraMonitoringInsightsSubscribeRequest] + # @param [Hash] opts the optional parameters + # @return [Array<(CraMonitoringInsightsSubscribeResponse, Integer, Hash)>] CraMonitoringInsightsSubscribeResponse data, response status code and response headers + def cra_monitoring_insights_subscribe_with_http_info(cra_monitoring_insights_subscribe_request, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: PlaidApi.cra_monitoring_insights_subscribe ...' end - # verify the required parameter 'cra_loans_unregister_request' is set - if @api_client.config.client_side_validation && cra_loans_unregister_request.nil? - fail ArgumentError, "Missing the required parameter 'cra_loans_unregister_request' when calling PlaidApi.cra_loans_unregister" + # verify the required parameter 'cra_monitoring_insights_subscribe_request' is set + if @api_client.config.client_side_validation && cra_monitoring_insights_subscribe_request.nil? + fail ArgumentError, "Missing the required parameter 'cra_monitoring_insights_subscribe_request' when calling PlaidApi.cra_monitoring_insights_subscribe" end # resource path - local_var_path = '/cra/loans/unregister' + local_var_path = '/cra/monitoring_insights/subscribe' # query parameters query_params = opts[:query_params] || {} @@ -3462,16 +3666,16 @@ def cra_loans_unregister_with_http_info(cra_loans_unregister_request, opts = {}) form_params = opts[:form_params] || {} # http body (model) - post_body = opts[:debug_body] || @api_client.object_to_http_body(cra_loans_unregister_request) + post_body = opts[:debug_body] || @api_client.object_to_http_body(cra_monitoring_insights_subscribe_request) # return_type - return_type = opts[:debug_return_type] || 'CraLoanUnregisterResponse' + return_type = opts[:debug_return_type] || 'CraMonitoringInsightsSubscribeResponse' # auth_names auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] new_options = opts.merge( - :operation => :"PlaidApi.cra_loans_unregister", + :operation => :"PlaidApi.cra_monitoring_insights_subscribe", :header_params => header_params, :query_params => query_params, :form_params => form_params, @@ -3482,36 +3686,36 @@ def cra_loans_unregister_with_http_info(cra_loans_unregister_request, opts = {}) data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options) if @api_client.config.debugging - @api_client.config.logger.debug "API called: PlaidApi#cra_loans_unregister\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + @api_client.config.logger.debug "API called: PlaidApi#cra_monitoring_insights_subscribe\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end - # Updates loan data. - # `/cra/loans/update` updates loan information such as the status and payment history. - # @param cra_loans_update_request [CraLoansUpdateRequest] + # Unsubscribe from Monitoring Insights + # This endpoint allows you to unsubscribe from previously subscribed Monitoring Insights. + # @param cra_monitoring_insights_unsubscribe_request [CraMonitoringInsightsUnsubscribeRequest] # @param [Hash] opts the optional parameters - # @return [CraLoansUpdateResponse] - def cra_loans_update(cra_loans_update_request, opts = {}) - data, _status_code, _headers = cra_loans_update_with_http_info(cra_loans_update_request, opts) + # @return [CraMonitoringInsightsUnsubscribeResponse] + def cra_monitoring_insights_unsubscribe(cra_monitoring_insights_unsubscribe_request, opts = {}) + data, _status_code, _headers = cra_monitoring_insights_unsubscribe_with_http_info(cra_monitoring_insights_unsubscribe_request, opts) data end - # Updates loan data. - # `/cra/loans/update` updates loan information such as the status and payment history. - # @param cra_loans_update_request [CraLoansUpdateRequest] + # Unsubscribe from Monitoring Insights + # This endpoint allows you to unsubscribe from previously subscribed Monitoring Insights. + # @param cra_monitoring_insights_unsubscribe_request [CraMonitoringInsightsUnsubscribeRequest] # @param [Hash] opts the optional parameters - # @return [Array<(CraLoansUpdateResponse, Integer, Hash)>] CraLoansUpdateResponse data, response status code and response headers - def cra_loans_update_with_http_info(cra_loans_update_request, opts = {}) + # @return [Array<(CraMonitoringInsightsUnsubscribeResponse, Integer, Hash)>] CraMonitoringInsightsUnsubscribeResponse data, response status code and response headers + def cra_monitoring_insights_unsubscribe_with_http_info(cra_monitoring_insights_unsubscribe_request, opts = {}) if @api_client.config.debugging - @api_client.config.logger.debug 'Calling API: PlaidApi.cra_loans_update ...' + @api_client.config.logger.debug 'Calling API: PlaidApi.cra_monitoring_insights_unsubscribe ...' end - # verify the required parameter 'cra_loans_update_request' is set - if @api_client.config.client_side_validation && cra_loans_update_request.nil? - fail ArgumentError, "Missing the required parameter 'cra_loans_update_request' when calling PlaidApi.cra_loans_update" + # verify the required parameter 'cra_monitoring_insights_unsubscribe_request' is set + if @api_client.config.client_side_validation && cra_monitoring_insights_unsubscribe_request.nil? + fail ArgumentError, "Missing the required parameter 'cra_monitoring_insights_unsubscribe_request' when calling PlaidApi.cra_monitoring_insights_unsubscribe" end # resource path - local_var_path = '/cra/loans/update' + local_var_path = '/cra/monitoring_insights/unsubscribe' # query parameters query_params = opts[:query_params] || {} @@ -3530,16 +3734,16 @@ def cra_loans_update_with_http_info(cra_loans_update_request, opts = {}) form_params = opts[:form_params] || {} # http body (model) - post_body = opts[:debug_body] || @api_client.object_to_http_body(cra_loans_update_request) + post_body = opts[:debug_body] || @api_client.object_to_http_body(cra_monitoring_insights_unsubscribe_request) # return_type - return_type = opts[:debug_return_type] || 'CraLoansUpdateResponse' + return_type = opts[:debug_return_type] || 'CraMonitoringInsightsUnsubscribeResponse' # auth_names auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] new_options = opts.merge( - :operation => :"PlaidApi.cra_loans_update", + :operation => :"PlaidApi.cra_monitoring_insights_unsubscribe", :header_params => header_params, :query_params => query_params, :form_params => form_params, @@ -3550,7 +3754,7 @@ def cra_loans_update_with_http_info(cra_loans_update_request, opts = {}) data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options) if @api_client.config.debugging - @api_client.config.logger.debug "API called: PlaidApi#cra_loans_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + @api_client.config.logger.debug "API called: PlaidApi#cra_monitoring_insights_unsubscribe\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end @@ -3964,7 +4168,7 @@ def credit_bank_employment_get_with_http_info(credit_bank_employment_get_request end # Retrieve information from the bank accounts used for income verification - # `/credit/bank_income/get` returns the bank income report(s) for a specified user. + # `/credit/bank_income/get` returns the bank income report(s) for a specified user. A single report corresponds to all institutions linked in a single Link session. To include multiple institutions in a single report, use [Multi-Item Link](https://plaid.com/docs/link/multi-item-link). To return older reports, use the `options.count` field. # @param credit_bank_income_get_request [CreditBankIncomeGetRequest] # @param [Hash] opts the optional parameters # @return [CreditBankIncomeGetResponse] @@ -3974,7 +4178,7 @@ def credit_bank_income_get(credit_bank_income_get_request, opts = {}) end # Retrieve information from the bank accounts used for income verification - # `/credit/bank_income/get` returns the bank income report(s) for a specified user. + # `/credit/bank_income/get` returns the bank income report(s) for a specified user. A single report corresponds to all institutions linked in a single Link session. To include multiple institutions in a single report, use [Multi-Item Link](https://plaid.com/docs/link/multi-item-link). To return older reports, use the `options.count` field. # @param credit_bank_income_get_request [CreditBankIncomeGetRequest] # @param [Hash] opts the optional parameters # @return [Array<(CreditBankIncomeGetResponse, Integer, Hash)>] CreditBankIncomeGetResponse data, response status code and response headers @@ -4032,7 +4236,7 @@ def credit_bank_income_get_with_http_info(credit_bank_income_get_request, opts = end # Retrieve information from the bank accounts used for income verification in PDF format - # `/credit/bank_income/pdf/get` returns the most recent bank income report for a specified user in PDF format. + # `/credit/bank_income/pdf/get` returns the most recent bank income report for a specified user in PDF format. A single report corresponds to all institutions linked in a single Link session. To include multiple institutions in a single report, use [Multi-Item Link](https://plaid.com/docs/link/multi-item-link). # @param credit_bank_income_pdf_get_request [CreditBankIncomePDFGetRequest] # @param [Hash] opts the optional parameters # @return [File] @@ -4042,7 +4246,7 @@ def credit_bank_income_pdf_get(credit_bank_income_pdf_get_request, opts = {}) end # Retrieve information from the bank accounts used for income verification in PDF format - # `/credit/bank_income/pdf/get` returns the most recent bank income report for a specified user in PDF format. + # `/credit/bank_income/pdf/get` returns the most recent bank income report for a specified user in PDF format. A single report corresponds to all institutions linked in a single Link session. To include multiple institutions in a single report, use [Multi-Item Link](https://plaid.com/docs/link/multi-item-link). # @param credit_bank_income_pdf_get_request [CreditBankIncomePDFGetRequest] # @param [Hash] opts the optional parameters # @return [Array<(File, Integer, Hash)>] File data, response status code and response headers @@ -4100,7 +4304,7 @@ def credit_bank_income_pdf_get_with_http_info(credit_bank_income_pdf_get_request end # Refresh a user's bank income information - # `/credit/bank_income/refresh` refreshes the bank income report data for a specific user. + # `/credit/bank_income/refresh` refreshes the most recent bank income report data for a specific user. If the most recent bank income report is no longer valid (i.e. deleted), the endpoint will refresh the most recent valid report instead. # @param credit_bank_income_refresh_request [CreditBankIncomeRefreshRequest] # @param [Hash] opts the optional parameters # @return [CreditBankIncomeRefreshResponse] @@ -4110,7 +4314,7 @@ def credit_bank_income_refresh(credit_bank_income_refresh_request, opts = {}) end # Refresh a user's bank income information - # `/credit/bank_income/refresh` refreshes the bank income report data for a specific user. + # `/credit/bank_income/refresh` refreshes the most recent bank income report data for a specific user. If the most recent bank income report is no longer valid (i.e. deleted), the endpoint will refresh the most recent valid report instead. # @param credit_bank_income_refresh_request [CreditBankIncomeRefreshRequest] # @param [Hash] opts the optional parameters # @return [Array<(CreditBankIncomeRefreshResponse, Integer, Hash)>] CreditBankIncomeRefreshResponse data, response status code and response headers @@ -5867,6 +6071,129 @@ def fdx_notifications_with_http_info(fdx_notification, opts = {}) return data, status_code, headers end + # Get Recipient + # Get a specific recipient + # @param recipient_id [String] Recipient Identifier. Uniquely identifies the recipient + # @param [Hash] opts the optional parameters + # @option opts [String] :oauth_state_id The value that is passed into the OAuth URI 'state' query parameter. + # @return [GetRecipientResponse] + def get_recipient(recipient_id, opts = {}) + data, _status_code, _headers = get_recipient_with_http_info(recipient_id, opts) + data + end + + # Get Recipient + # Get a specific recipient + # @param recipient_id [String] Recipient Identifier. Uniquely identifies the recipient + # @param [Hash] opts the optional parameters + # @option opts [String] :oauth_state_id The value that is passed into the OAuth URI 'state' query parameter. + # @return [Array<(GetRecipientResponse, Integer, Hash)>] GetRecipientResponse data, response status code and response headers + def get_recipient_with_http_info(recipient_id, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: PlaidApi.get_recipient ...' + end + # verify the required parameter 'recipient_id' is set + if @api_client.config.client_side_validation && recipient_id.nil? + fail ArgumentError, "Missing the required parameter 'recipient_id' when calling PlaidApi.get_recipient" + end + # resource path + local_var_path = '/fdx/recipient/{recipientId}'.sub('{' + 'recipientId' + '}', CGI.escape(recipient_id.to_s)) + + # query parameters + query_params = opts[:query_params] || {} + + # header parameters + header_params = opts[:header_params] || {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + header_params[:'OAUTH-STATE-ID'] = opts[:'oauth_state_id'] if !opts[:'oauth_state_id'].nil? + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] + + # return_type + return_type = opts[:debug_return_type] || 'GetRecipientResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] + + new_options = opts.merge( + :operation => :"PlaidApi.get_recipient", + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type + ) + + data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: PlaidApi#get_recipient\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # Get Recipients + # Returns a list of Recipients + # @param [Hash] opts the optional parameters + # @return [GetRecipientsResponse] + def get_recipients(opts = {}) + data, _status_code, _headers = get_recipients_with_http_info(opts) + data + end + + # Get Recipients + # Returns a list of Recipients + # @param [Hash] opts the optional parameters + # @return [Array<(GetRecipientsResponse, Integer, Hash)>] GetRecipientsResponse data, response status code and response headers + def get_recipients_with_http_info(opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: PlaidApi.get_recipients ...' + end + # resource path + local_var_path = '/fdx/recipients' + + # query parameters + query_params = opts[:query_params] || {} + + # header parameters + header_params = opts[:header_params] || {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] + + # return_type + return_type = opts[:debug_return_type] || 'GetRecipientsResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] + + new_options = opts.merge( + :operation => :"PlaidApi.get_recipients", + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type + ) + + data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: PlaidApi#get_recipients\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # Returns uploaded document identity # Use `/identity/documents/uploads/get` to retrieve document uploaded identity. # @param identity_documents_uploads_get_request [IdentityDocumentsUploadsGetRequest] @@ -5936,7 +6263,7 @@ def identity_documents_uploads_get_with_http_info(identity_documents_uploads_get end # Retrieve identity data - # The `/identity/get` endpoint allows you to retrieve various account holder information on file with the financial institution, including names, emails, phone numbers, and addresses. Only name data is guaranteed to be returned; other fields will be empty arrays if not provided by the institution. This request may take some time to complete if identity was not specified as an initial product when creating the Item. This is because Plaid must communicate directly with the institution to retrieve the data. Note: In API versions 2018-05-22 and earlier, the `owners` object is not returned, and instead identity information is returned in the top level `identity` object. For more details, see [Plaid API versioning](https://plaid.com/docs/api/versioning/#version-2019-05-29). + # The `/identity/get` endpoint allows you to retrieve various account holder information on file with the financial institution, including names, emails, phone numbers, and addresses. Only name data is guaranteed to be returned; other fields will be empty arrays if not provided by the institution. Note: In API versions 2018-05-22 and earlier, the `owners` object is not returned, and instead identity information is returned in the top level `identity` object. For more details, see [Plaid API versioning](https://plaid.com/docs/api/versioning/#version-2019-05-29). # @param identity_get_request [IdentityGetRequest] # @param [Hash] opts the optional parameters # @return [IdentityGetResponse] @@ -5946,7 +6273,7 @@ def identity_get(identity_get_request, opts = {}) end # Retrieve identity data - # The `/identity/get` endpoint allows you to retrieve various account holder information on file with the financial institution, including names, emails, phone numbers, and addresses. Only name data is guaranteed to be returned; other fields will be empty arrays if not provided by the institution. This request may take some time to complete if identity was not specified as an initial product when creating the Item. This is because Plaid must communicate directly with the institution to retrieve the data. Note: In API versions 2018-05-22 and earlier, the `owners` object is not returned, and instead identity information is returned in the top level `identity` object. For more details, see [Plaid API versioning](https://plaid.com/docs/api/versioning/#version-2019-05-29). + # The `/identity/get` endpoint allows you to retrieve various account holder information on file with the financial institution, including names, emails, phone numbers, and addresses. Only name data is guaranteed to be returned; other fields will be empty arrays if not provided by the institution. Note: In API versions 2018-05-22 and earlier, the `owners` object is not returned, and instead identity information is returned in the top level `identity` object. For more details, see [Plaid API versioning](https://plaid.com/docs/api/versioning/#version-2019-05-29). # @param identity_get_request [IdentityGetRequest] # @param [Hash] opts the optional parameters # @return [Array<(IdentityGetResponse, Integer, Hash)>] IdentityGetResponse data, response status code and response headers @@ -6004,7 +6331,7 @@ def identity_get_with_http_info(identity_get_request, opts = {}) end # Retrieve identity match score - # The `/identity/match` endpoint generates a match score, which indicates how well the provided identity data matches the identity information on file with the account holder's financial institution. Fields within the `balances` object will always be null when retrieved by `/identity/match`. Instead, use the free `/accounts/get` endpoint to request balance cached data, or `/accounts/balance/get` for real-time data. This request may take some time to complete if Identity was not specified as an initial product when creating the Item. This is because Plaid must communicate directly with the institution to retrieve the data. + # The `/identity/match` endpoint generates a match score, which indicates how well the provided identity data matches the identity information on file with the account holder's financial institution. Fields within the `balances` object will always be null when retrieved by `/identity/match`. Instead, use the free `/accounts/get` endpoint to request balance cached data, or `/accounts/balance/get` for real-time data. # @param identity_match_request [IdentityMatchRequest] # @param [Hash] opts the optional parameters # @return [IdentityMatchResponse] @@ -6014,7 +6341,7 @@ def identity_match(identity_match_request, opts = {}) end # Retrieve identity match score - # The `/identity/match` endpoint generates a match score, which indicates how well the provided identity data matches the identity information on file with the account holder's financial institution. Fields within the `balances` object will always be null when retrieved by `/identity/match`. Instead, use the free `/accounts/get` endpoint to request balance cached data, or `/accounts/balance/get` for real-time data. This request may take some time to complete if Identity was not specified as an initial product when creating the Item. This is because Plaid must communicate directly with the institution to retrieve the data. + # The `/identity/match` endpoint generates a match score, which indicates how well the provided identity data matches the identity information on file with the account holder's financial institution. Fields within the `balances` object will always be null when retrieved by `/identity/match`. Instead, use the free `/accounts/get` endpoint to request balance cached data, or `/accounts/balance/get` for real-time data. # @param identity_match_request [IdentityMatchRequest] # @param [Hash] opts the optional parameters # @return [Array<(IdentityMatchResponse, Integer, Hash)>] IdentityMatchResponse data, response status code and response headers @@ -7160,7 +7487,7 @@ def investments_holdings_get_with_http_info(investments_holdings_get_request, op end # Refresh investment data - # `/investments/refresh` is an optional endpoint for users of the Investments product. It initiates an on-demand extraction to fetch the newest investments, holdings and investment transactions for an Item. This on-demand extraction takes place in addition to the periodic extractions that automatically occur one or more times per day for any Investments-enabled Item. If changes to investments are discovered after calling `/investments/refresh`, Plaid will fire webhooks: [`HOLDINGS: DEFAULT_UPDATE`](https://plaid.com/docs/api/products/investments/#holdings-default_update) if any new holdings are detected, and [INVESTMENTS_TRANSACTIONS: DEFAULT_UPDATE](https://plaid.com/docs/api/products/investments/#investments_transactions-default_update) if any new investment transactions are detected. Updated holdings and investment transactions can be fetched by calling `/investments/holdings/get` and `/investments/transactions/get`. \"Note that the `/investments/refresh` endpoint is not supported by all institutions. If called on an Item from an institution that does not support this functionality, it will return a `PRODUCT_NOT_SUPPORTED` error. As this endpoint triggers a synchronous request for fresh data, latency may be higher than for other Plaid endpoints (typically less than 10 seconds, but occasionally up to 30 seconds or more); if you encounter errors, you may find it necessary to adjust your timeout period when making requests. `/investments/refresh` is offered as an add-on to Investments and has a separate [fee model](/docs/account/billing/#per-request-flat-fee). To request access to this endpoint, submit a [product access request](https://dashboard.plaid.com/team/products) or contact your Plaid account manager. + # `/investments/refresh` is an optional endpoint for users of the Investments product. It initiates an on-demand extraction to fetch the newest investment holdings and transactions for an Item. This on-demand extraction takes place in addition to the periodic extractions that automatically occur one or more times per day for any Investments-enabled Item. If changes to investments are discovered after calling `/investments/refresh`, Plaid will fire webhooks: [`HOLDINGS: DEFAULT_UPDATE`](https://plaid.com/docs/api/products/investments/#holdings-default_update) if any new holdings are detected, and [`INVESTMENTS_TRANSACTIONS: DEFAULT_UPDATE`](https://plaid.com/docs/api/products/investments/#investments_transactions-default_update) if any new investment transactions are detected. Updated holdings and investment transactions can be fetched by calling `/investments/holdings/get` and `/investments/transactions/get`. Note that the `/investments/refresh` endpoint is not supported by all institutions. If called on an Item from an institution that does not support this functionality, it will return a `PRODUCT_NOT_SUPPORTED` error. As this endpoint triggers a synchronous request for fresh data, latency may be higher than for other Plaid endpoints (typically less than 10 seconds, but occasionally up to 30 seconds or more); if you encounter errors, you may find it necessary to adjust your timeout period when making requests. `/investments/refresh` is offered as an add-on to Investments and has a separate [fee model](/docs/account/billing/#per-request-flat-fee). To request access to this endpoint, submit a [product access request](https://dashboard.plaid.com/team/products) or contact your Plaid account manager. # @param investments_refresh_request [InvestmentsRefreshRequest] # @param [Hash] opts the optional parameters # @return [InvestmentsRefreshResponse] @@ -7170,7 +7497,7 @@ def investments_refresh(investments_refresh_request, opts = {}) end # Refresh investment data - # `/investments/refresh` is an optional endpoint for users of the Investments product. It initiates an on-demand extraction to fetch the newest investments, holdings and investment transactions for an Item. This on-demand extraction takes place in addition to the periodic extractions that automatically occur one or more times per day for any Investments-enabled Item. If changes to investments are discovered after calling `/investments/refresh`, Plaid will fire webhooks: [`HOLDINGS: DEFAULT_UPDATE`](https://plaid.com/docs/api/products/investments/#holdings-default_update) if any new holdings are detected, and [INVESTMENTS_TRANSACTIONS: DEFAULT_UPDATE](https://plaid.com/docs/api/products/investments/#investments_transactions-default_update) if any new investment transactions are detected. Updated holdings and investment transactions can be fetched by calling `/investments/holdings/get` and `/investments/transactions/get`. \"Note that the `/investments/refresh` endpoint is not supported by all institutions. If called on an Item from an institution that does not support this functionality, it will return a `PRODUCT_NOT_SUPPORTED` error. As this endpoint triggers a synchronous request for fresh data, latency may be higher than for other Plaid endpoints (typically less than 10 seconds, but occasionally up to 30 seconds or more); if you encounter errors, you may find it necessary to adjust your timeout period when making requests. `/investments/refresh` is offered as an add-on to Investments and has a separate [fee model](/docs/account/billing/#per-request-flat-fee). To request access to this endpoint, submit a [product access request](https://dashboard.plaid.com/team/products) or contact your Plaid account manager. + # `/investments/refresh` is an optional endpoint for users of the Investments product. It initiates an on-demand extraction to fetch the newest investment holdings and transactions for an Item. This on-demand extraction takes place in addition to the periodic extractions that automatically occur one or more times per day for any Investments-enabled Item. If changes to investments are discovered after calling `/investments/refresh`, Plaid will fire webhooks: [`HOLDINGS: DEFAULT_UPDATE`](https://plaid.com/docs/api/products/investments/#holdings-default_update) if any new holdings are detected, and [`INVESTMENTS_TRANSACTIONS: DEFAULT_UPDATE`](https://plaid.com/docs/api/products/investments/#investments_transactions-default_update) if any new investment transactions are detected. Updated holdings and investment transactions can be fetched by calling `/investments/holdings/get` and `/investments/transactions/get`. Note that the `/investments/refresh` endpoint is not supported by all institutions. If called on an Item from an institution that does not support this functionality, it will return a `PRODUCT_NOT_SUPPORTED` error. As this endpoint triggers a synchronous request for fresh data, latency may be higher than for other Plaid endpoints (typically less than 10 seconds, but occasionally up to 30 seconds or more); if you encounter errors, you may find it necessary to adjust your timeout period when making requests. `/investments/refresh` is offered as an add-on to Investments and has a separate [fee model](/docs/account/billing/#per-request-flat-fee). To request access to this endpoint, submit a [product access request](https://dashboard.plaid.com/team/products) or contact your Plaid account manager. # @param investments_refresh_request [InvestmentsRefreshRequest] # @param [Hash] opts the optional parameters # @return [Array<(InvestmentsRefreshResponse, Integer, Hash)>] InvestmentsRefreshResponse data, response status code and response headers @@ -8044,7 +8371,7 @@ def item_webhook_update_with_http_info(item_webhook_update_request, opts = {}) end # Retrieve Liabilities data - # The `/liabilities/get` endpoint returns various details about an Item with loan or credit accounts. Liabilities data is available primarily for US financial institutions, with some limited coverage of Canadian institutions. Currently supported account types are account type `credit` with account subtype `credit card` or `paypal`, and account type `loan` with account subtype `student` or `mortgage`. To limit accounts listed in Link to types and subtypes supported by Liabilities, you can use the `account_filters` parameter when [creating a Link token](https://plaid.com/docs/api/tokens/#linktokencreate). The types of information returned by Liabilities can include balances and due dates, loan terms, and account details such as original loan amount and guarantor. Data is refreshed approximately once per day; the latest data can be retrieved by calling `/liabilities/get`. Note: This request may take some time to complete if `liabilities` was not specified as an initial product when creating the Item. This is because Plaid must communicate directly with the institution to retrieve the additional data. + # The `/liabilities/get` endpoint returns various details about an Item with loan or credit accounts. Liabilities data is available primarily for US financial institutions, with some limited coverage of Canadian institutions. Currently supported account types are account type `credit` with account subtype `credit card` or `paypal`, and account type `loan` with account subtype `student` or `mortgage`. To limit accounts listed in Link to types and subtypes supported by Liabilities, you can use the `account_filters` parameter when [creating a Link token](https://plaid.com/docs/api/link/#linktokencreate). The types of information returned by Liabilities can include balances and due dates, loan terms, and account details such as original loan amount and guarantor. Data is refreshed approximately once per day; the latest data can be retrieved by calling `/liabilities/get`. # @param liabilities_get_request [LiabilitiesGetRequest] # @param [Hash] opts the optional parameters # @return [LiabilitiesGetResponse] @@ -8054,7 +8381,7 @@ def liabilities_get(liabilities_get_request, opts = {}) end # Retrieve Liabilities data - # The `/liabilities/get` endpoint returns various details about an Item with loan or credit accounts. Liabilities data is available primarily for US financial institutions, with some limited coverage of Canadian institutions. Currently supported account types are account type `credit` with account subtype `credit card` or `paypal`, and account type `loan` with account subtype `student` or `mortgage`. To limit accounts listed in Link to types and subtypes supported by Liabilities, you can use the `account_filters` parameter when [creating a Link token](https://plaid.com/docs/api/tokens/#linktokencreate). The types of information returned by Liabilities can include balances and due dates, loan terms, and account details such as original loan amount and guarantor. Data is refreshed approximately once per day; the latest data can be retrieved by calling `/liabilities/get`. Note: This request may take some time to complete if `liabilities` was not specified as an initial product when creating the Item. This is because Plaid must communicate directly with the institution to retrieve the additional data. + # The `/liabilities/get` endpoint returns various details about an Item with loan or credit accounts. Liabilities data is available primarily for US financial institutions, with some limited coverage of Canadian institutions. Currently supported account types are account type `credit` with account subtype `credit card` or `paypal`, and account type `loan` with account subtype `student` or `mortgage`. To limit accounts listed in Link to types and subtypes supported by Liabilities, you can use the `account_filters` parameter when [creating a Link token](https://plaid.com/docs/api/link/#linktokencreate). The types of information returned by Liabilities can include balances and due dates, loan terms, and account details such as original loan amount and guarantor. Data is refreshed approximately once per day; the latest data can be retrieved by calling `/liabilities/get`. # @param liabilities_get_request [LiabilitiesGetRequest] # @param [Hash] opts the optional parameters # @return [Array<(LiabilitiesGetResponse, Integer, Hash)>] LiabilitiesGetResponse data, response status code and response headers @@ -8452,7 +8779,7 @@ def link_token_create_with_http_info(link_token_create_request, opts = {}) end # Get Link Token - # The `/link/token/get` endpoint gets information about a previously-created `link_token` using the `/link/token/create` endpoint. It can be useful for debugging purposes. + # The `/link/token/get` endpoint gets information about a Link session, including all callbacks fired during the session along with their metadata, including the public token. This endpoint is used with Link flows that don't provide a public token via frontend callbacks, such as the [Hosted Link flow](https://plaid.com/docs/link/hosted-link/) and the [Multi-Item Link flow](https://plaid.com/docs/link/multi-item-link/). It also can be useful for debugging purposes. # @param link_token_get_request [LinkTokenGetRequest] # @param [Hash] opts the optional parameters # @return [LinkTokenGetResponse] @@ -8462,7 +8789,7 @@ def link_token_get(link_token_get_request, opts = {}) end # Get Link Token - # The `/link/token/get` endpoint gets information about a previously-created `link_token` using the `/link/token/create` endpoint. It can be useful for debugging purposes. + # The `/link/token/get` endpoint gets information about a Link session, including all callbacks fired during the session along with their metadata, including the public token. This endpoint is used with Link flows that don't provide a public token via frontend callbacks, such as the [Hosted Link flow](https://plaid.com/docs/link/hosted-link/) and the [Multi-Item Link flow](https://plaid.com/docs/link/multi-item-link/). It also can be useful for debugging purposes. # @param link_token_get_request [LinkTokenGetRequest] # @param [Hash] opts the optional parameters # @return [Array<(LinkTokenGetResponse, Integer, Hash)>] LinkTokenGetResponse data, response status code and response headers @@ -8519,6 +8846,74 @@ def link_token_get_with_http_info(link_token_get_request, opts = {}) return data, status_code, headers end + # Retrieve network insights for the provided `access_tokens` + # This endpoint allows you to retrieve the Network Insights from a list of `access_tokens`. + # @param network_insights_report_get_request [NetworkInsightsReportGetRequest] + # @param [Hash] opts the optional parameters + # @return [NetworkInsightsReportGetResponse] + def network_insights_report_get(network_insights_report_get_request, opts = {}) + data, _status_code, _headers = network_insights_report_get_with_http_info(network_insights_report_get_request, opts) + data + end + + # Retrieve network insights for the provided `access_tokens` + # This endpoint allows you to retrieve the Network Insights from a list of `access_tokens`. + # @param network_insights_report_get_request [NetworkInsightsReportGetRequest] + # @param [Hash] opts the optional parameters + # @return [Array<(NetworkInsightsReportGetResponse, Integer, Hash)>] NetworkInsightsReportGetResponse data, response status code and response headers + def network_insights_report_get_with_http_info(network_insights_report_get_request, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: PlaidApi.network_insights_report_get ...' + end + # verify the required parameter 'network_insights_report_get_request' is set + if @api_client.config.client_side_validation && network_insights_report_get_request.nil? + fail ArgumentError, "Missing the required parameter 'network_insights_report_get_request' when calling PlaidApi.network_insights_report_get" + end + # resource path + local_var_path = '/network_insights/report/get' + + # query parameters + query_params = opts[:query_params] || {} + + # header parameters + header_params = opts[:header_params] || {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + # HTTP header 'Content-Type' + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] || @api_client.object_to_http_body(network_insights_report_get_request) + + # return_type + return_type = opts[:debug_return_type] || 'NetworkInsightsReportGetResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] + + new_options = opts.merge( + :operation => :"PlaidApi.network_insights_report_get", + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type + ) + + data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: PlaidApi#network_insights_report_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # Creates a new end customer for a Plaid reseller. # The `/partner/customer/create` endpoint is used by reseller partners to create end customers. # @param partner_customer_create_request [PartnerCustomerCreateRequest] @@ -10220,7 +10615,7 @@ def processor_identity_get_with_http_info(processor_identity_get_request, opts = end # Retrieve identity match score - # The `/processor/identity/match` endpoint generates a match score, which indicates how well the provided identity data matches the identity information on file with the account holder's financial institution. Fields within the `balances` object will always be null when retrieved by `/identity/match`. Instead, use the free `/accounts/get` endpoint to request balance cached data, or `/accounts/balance/get` for real-time data. This request may take some time to complete if Identity was not specified as an initial product when creating the Item. This is because Plaid must communicate directly with the institution to retrieve the data. + # The `/processor/identity/match` endpoint generates a match score, which indicates how well the provided identity data matches the identity information on file with the account holder's financial institution. Fields within the `balances` object will always be null when retrieved by `/identity/match`. Instead, use the free `/accounts/get` endpoint to request balance cached data, or `/accounts/balance/get` for real-time data. # @param processor_identity_match_request [ProcessorIdentityMatchRequest] # @param [Hash] opts the optional parameters # @return [ProcessorIdentityMatchResponse] @@ -10230,7 +10625,7 @@ def processor_identity_match(processor_identity_match_request, opts = {}) end # Retrieve identity match score - # The `/processor/identity/match` endpoint generates a match score, which indicates how well the provided identity data matches the identity information on file with the account holder's financial institution. Fields within the `balances` object will always be null when retrieved by `/identity/match`. Instead, use the free `/accounts/get` endpoint to request balance cached data, or `/accounts/balance/get` for real-time data. This request may take some time to complete if Identity was not specified as an initial product when creating the Item. This is because Plaid must communicate directly with the institution to retrieve the data. + # The `/processor/identity/match` endpoint generates a match score, which indicates how well the provided identity data matches the identity information on file with the account holder's financial institution. Fields within the `balances` object will always be null when retrieved by `/identity/match`. Instead, use the free `/accounts/get` endpoint to request balance cached data, or `/accounts/balance/get` for real-time data. # @param processor_identity_match_request [ProcessorIdentityMatchRequest] # @param [Hash] opts the optional parameters # @return [Array<(ProcessorIdentityMatchResponse, Integer, Hash)>] ProcessorIdentityMatchResponse data, response status code and response headers @@ -11307,6 +11702,74 @@ def profile_get_with_http_info(profile_get_request, opts = {}) return data, status_code, headers end + # Check a user's Plaid Network status + # The `/profile/network_status/get` endpoint can be used to check whether Plaid has a matching profile for the user. + # @param profile_network_status_get_request [ProfileNetworkStatusGetRequest] + # @param [Hash] opts the optional parameters + # @return [ProfileNetworkStatusGetResponse] + def profile_network_status_get(profile_network_status_get_request, opts = {}) + data, _status_code, _headers = profile_network_status_get_with_http_info(profile_network_status_get_request, opts) + data + end + + # Check a user's Plaid Network status + # The `/profile/network_status/get` endpoint can be used to check whether Plaid has a matching profile for the user. + # @param profile_network_status_get_request [ProfileNetworkStatusGetRequest] + # @param [Hash] opts the optional parameters + # @return [Array<(ProfileNetworkStatusGetResponse, Integer, Hash)>] ProfileNetworkStatusGetResponse data, response status code and response headers + def profile_network_status_get_with_http_info(profile_network_status_get_request, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: PlaidApi.profile_network_status_get ...' + end + # verify the required parameter 'profile_network_status_get_request' is set + if @api_client.config.client_side_validation && profile_network_status_get_request.nil? + fail ArgumentError, "Missing the required parameter 'profile_network_status_get_request' when calling PlaidApi.profile_network_status_get" + end + # resource path + local_var_path = '/profile/network_status/get' + + # query parameters + query_params = opts[:query_params] || {} + + # header parameters + header_params = opts[:header_params] || {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + # HTTP header 'Content-Type' + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] || @api_client.object_to_http_body(profile_network_status_get_request) + + # return_type + return_type = opts[:debug_return_type] || 'ProfileNetworkStatusGetResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] + + new_options = opts.merge( + :operation => :"PlaidApi.profile_network_status_get", + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type + ) + + data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: PlaidApi#profile_network_status_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # Manually fire a bank income webhook in sandbox # Use the `/sandbox/bank_income/fire_webhook` endpoint to manually trigger a Bank Income webhook in the Sandbox environment. # @param sandbox_bank_income_fire_webhook_request [SandboxBankIncomeFireWebhookRequest] @@ -11580,7 +12043,7 @@ def sandbox_income_fire_webhook_with_http_info(sandbox_income_fire_webhook_reque end # Fire a test webhook - # The `/sandbox/item/fire_webhook` endpoint is used to test that code correctly handles webhooks. This endpoint can trigger the following webhooks: `DEFAULT_UPDATE`: Webhook to be fired for a given Sandbox Item simulating a default update event for the respective product as specified with the `webhook_type` in the request body. Valid sandbox `DEFAULT_UPDATE` responses include: `AUTH`, `IDENTITY`, `TRANSACTIONS`, `INVESTMENTS_TRANSACTIONS`, `LIABILITIES`, `HOLDINGS`. If the Item does not support the product, a `SANDBOX_PRODUCT_NOT_ENABLED` error will result. `NEW_ACCOUNTS_AVAILABLE`: Webhook to be fired for a given Sandbox Item created with Account Select v2. `SMS_MICRODEPOSITS_VERIFICATION`: Fired when a given same day micro-deposit item is verified via SMS verification. `LOGIN_REPAIRED`: Fired when an Item recovers from the `ITEM_LOGIN_REQUIRED` without the user going through update mode in your app. `RECURRING_TRANSACTIONS_UPDATE`: Recurring Transactions webhook to be fired for a given Sandbox Item. If the Item does not support Recurring Transactions, a `SANDBOX_PRODUCT_NOT_ENABLED` error will result. `SYNC_UPDATES_AVAILABLE`: Transactions webhook to be fired for a given Sandbox Item. If the Item does not support Transactions, a `SANDBOX_PRODUCT_NOT_ENABLED` error will result. `PRODUCT_READY`: Assets webhook to be fired when a given asset report has been successfully generated. If the Item does not support Assets, a `SANDBOX_PRODUCT_NOT_ENABLED` error will result. `ERROR`: Assets webhook to be fired when asset report generation has failed. If the Item does not support Assets, a `SANDBOX_PRODUCT_NOT_ENABLED` error will result. Note that this endpoint is provided for developer ease-of-use and is not required for testing webhooks; webhooks will also fire in Sandbox under the same conditions that they would in Production (except for webhooks of type `TRANSFER`). + # The `/sandbox/item/fire_webhook` endpoint is used to test that code correctly handles webhooks. This endpoint can trigger the following webhooks: `DEFAULT_UPDATE`: Webhook to be fired for a given Sandbox Item simulating a default update event for the respective product as specified with the `webhook_type` in the request body. Valid sandbox `DEFAULT_UPDATE` responses include: `AUTH`, `IDENTITY`, `TRANSACTIONS`, `INVESTMENTS_TRANSACTIONS`, `LIABILITIES`, `HOLDINGS`. If the Item does not support the product, a `SANDBOX_PRODUCT_NOT_ENABLED` error will result. `NEW_ACCOUNTS_AVAILABLE`: Fired to indicate that a new account is available on the Item and you can launch update mode to request access to it. `SMS_MICRODEPOSITS_VERIFICATION`: Fired when a given same day micro-deposit item is verified via SMS verification. `LOGIN_REPAIRED`: Fired when an Item recovers from the `ITEM_LOGIN_REQUIRED` without the user going through update mode in your app. `RECURRING_TRANSACTIONS_UPDATE`: Recurring Transactions webhook to be fired for a given Sandbox Item. If the Item does not support Recurring Transactions, a `SANDBOX_PRODUCT_NOT_ENABLED` error will result. `SYNC_UPDATES_AVAILABLE`: Transactions webhook to be fired for a given Sandbox Item. If the Item does not support Transactions, a `SANDBOX_PRODUCT_NOT_ENABLED` error will result. `PRODUCT_READY`: Assets webhook to be fired when a given asset report has been successfully generated. If the Item does not support Assets, a `SANDBOX_PRODUCT_NOT_ENABLED` error will result. `ERROR`: Assets webhook to be fired when asset report generation has failed. If the Item does not support Assets, a `SANDBOX_PRODUCT_NOT_ENABLED` error will result. Note that this endpoint is provided for developer ease-of-use and is not required for testing webhooks; webhooks will also fire in Sandbox under the same conditions that they would in Production (except for webhooks of type `TRANSFER`). # @param sandbox_item_fire_webhook_request [SandboxItemFireWebhookRequest] # @param [Hash] opts the optional parameters # @return [SandboxItemFireWebhookResponse] @@ -11590,7 +12053,7 @@ def sandbox_item_fire_webhook(sandbox_item_fire_webhook_request, opts = {}) end # Fire a test webhook - # The `/sandbox/item/fire_webhook` endpoint is used to test that code correctly handles webhooks. This endpoint can trigger the following webhooks: `DEFAULT_UPDATE`: Webhook to be fired for a given Sandbox Item simulating a default update event for the respective product as specified with the `webhook_type` in the request body. Valid sandbox `DEFAULT_UPDATE` responses include: `AUTH`, `IDENTITY`, `TRANSACTIONS`, `INVESTMENTS_TRANSACTIONS`, `LIABILITIES`, `HOLDINGS`. If the Item does not support the product, a `SANDBOX_PRODUCT_NOT_ENABLED` error will result. `NEW_ACCOUNTS_AVAILABLE`: Webhook to be fired for a given Sandbox Item created with Account Select v2. `SMS_MICRODEPOSITS_VERIFICATION`: Fired when a given same day micro-deposit item is verified via SMS verification. `LOGIN_REPAIRED`: Fired when an Item recovers from the `ITEM_LOGIN_REQUIRED` without the user going through update mode in your app. `RECURRING_TRANSACTIONS_UPDATE`: Recurring Transactions webhook to be fired for a given Sandbox Item. If the Item does not support Recurring Transactions, a `SANDBOX_PRODUCT_NOT_ENABLED` error will result. `SYNC_UPDATES_AVAILABLE`: Transactions webhook to be fired for a given Sandbox Item. If the Item does not support Transactions, a `SANDBOX_PRODUCT_NOT_ENABLED` error will result. `PRODUCT_READY`: Assets webhook to be fired when a given asset report has been successfully generated. If the Item does not support Assets, a `SANDBOX_PRODUCT_NOT_ENABLED` error will result. `ERROR`: Assets webhook to be fired when asset report generation has failed. If the Item does not support Assets, a `SANDBOX_PRODUCT_NOT_ENABLED` error will result. Note that this endpoint is provided for developer ease-of-use and is not required for testing webhooks; webhooks will also fire in Sandbox under the same conditions that they would in Production (except for webhooks of type `TRANSFER`). + # The `/sandbox/item/fire_webhook` endpoint is used to test that code correctly handles webhooks. This endpoint can trigger the following webhooks: `DEFAULT_UPDATE`: Webhook to be fired for a given Sandbox Item simulating a default update event for the respective product as specified with the `webhook_type` in the request body. Valid sandbox `DEFAULT_UPDATE` responses include: `AUTH`, `IDENTITY`, `TRANSACTIONS`, `INVESTMENTS_TRANSACTIONS`, `LIABILITIES`, `HOLDINGS`. If the Item does not support the product, a `SANDBOX_PRODUCT_NOT_ENABLED` error will result. `NEW_ACCOUNTS_AVAILABLE`: Fired to indicate that a new account is available on the Item and you can launch update mode to request access to it. `SMS_MICRODEPOSITS_VERIFICATION`: Fired when a given same day micro-deposit item is verified via SMS verification. `LOGIN_REPAIRED`: Fired when an Item recovers from the `ITEM_LOGIN_REQUIRED` without the user going through update mode in your app. `RECURRING_TRANSACTIONS_UPDATE`: Recurring Transactions webhook to be fired for a given Sandbox Item. If the Item does not support Recurring Transactions, a `SANDBOX_PRODUCT_NOT_ENABLED` error will result. `SYNC_UPDATES_AVAILABLE`: Transactions webhook to be fired for a given Sandbox Item. If the Item does not support Transactions, a `SANDBOX_PRODUCT_NOT_ENABLED` error will result. `PRODUCT_READY`: Assets webhook to be fired when a given asset report has been successfully generated. If the Item does not support Assets, a `SANDBOX_PRODUCT_NOT_ENABLED` error will result. `ERROR`: Assets webhook to be fired when asset report generation has failed. If the Item does not support Assets, a `SANDBOX_PRODUCT_NOT_ENABLED` error will result. Note that this endpoint is provided for developer ease-of-use and is not required for testing webhooks; webhooks will also fire in Sandbox under the same conditions that they would in Production (except for webhooks of type `TRANSFER`). # @param sandbox_item_fire_webhook_request [SandboxItemFireWebhookRequest] # @param [Hash] opts the optional parameters # @return [Array<(SandboxItemFireWebhookResponse, Integer, Hash)>] SandboxItemFireWebhookResponse data, response status code and response headers @@ -11988,7 +12451,7 @@ def sandbox_processor_token_create_with_http_info(sandbox_processor_token_create end # Create a test Item - # Use the `/sandbox/public_token/create` endpoint to create a valid `public_token` for an arbitrary institution ID, initial products, and test credentials. The created `public_token` maps to a new Sandbox Item. You can then call `/item/public_token/exchange` to exchange the `public_token` for an `access_token` and perform all API actions. `/sandbox/public_token/create` can also be used with the [`user_custom` test username](https://plaid.com/docs/sandbox/user-custom) to generate a test account with custom data. `/sandbox/public_token/create` cannot be used with OAuth institutions. + # Use the `/sandbox/public_token/create` endpoint to create a valid `public_token` for an arbitrary institution ID, initial products, and test credentials. The created `public_token` maps to a new Sandbox Item. You can then call `/item/public_token/exchange` to exchange the `public_token` for an `access_token` and perform all API actions. `/sandbox/public_token/create` can also be used with the [`user_custom` test username](https://plaid.com/docs/sandbox/user-custom) to generate a test account with custom data, or with Plaid's [pre-populated Sandbox test accounts](https://plaid.com/docs/sandbox/test-credentials/). # @param sandbox_public_token_create_request [SandboxPublicTokenCreateRequest] # @param [Hash] opts the optional parameters # @return [SandboxPublicTokenCreateResponse] @@ -11998,7 +12461,7 @@ def sandbox_public_token_create(sandbox_public_token_create_request, opts = {}) end # Create a test Item - # Use the `/sandbox/public_token/create` endpoint to create a valid `public_token` for an arbitrary institution ID, initial products, and test credentials. The created `public_token` maps to a new Sandbox Item. You can then call `/item/public_token/exchange` to exchange the `public_token` for an `access_token` and perform all API actions. `/sandbox/public_token/create` can also be used with the [`user_custom` test username](https://plaid.com/docs/sandbox/user-custom) to generate a test account with custom data. `/sandbox/public_token/create` cannot be used with OAuth institutions. + # Use the `/sandbox/public_token/create` endpoint to create a valid `public_token` for an arbitrary institution ID, initial products, and test credentials. The created `public_token` maps to a new Sandbox Item. You can then call `/item/public_token/exchange` to exchange the `public_token` for an `access_token` and perform all API actions. `/sandbox/public_token/create` can also be used with the [`user_custom` test username](https://plaid.com/docs/sandbox/user-custom) to generate a test account with custom data, or with Plaid's [pre-populated Sandbox test accounts](https://plaid.com/docs/sandbox/test-credentials/). # @param sandbox_public_token_create_request [SandboxPublicTokenCreateRequest] # @param [Hash] opts the optional parameters # @return [Array<(SandboxPublicTokenCreateResponse, Integer, Hash)>] SandboxPublicTokenCreateResponse data, response status code and response headers @@ -13620,7 +14083,7 @@ def transactions_get_with_http_info(transactions_get_request, opts = {}) end # Fetch recurring transaction streams - # The `/transactions/recurring/get` endpoint allows developers to receive a summary of the recurring outflow and inflow streams (expenses and deposits) from a user’s checking, savings or credit card accounts. Additionally, Plaid provides key insights about each recurring stream including the category, merchant, last amount, and more. Developers can use these insights to build tools and experiences that help their users better manage cash flow, monitor subscriptions, reduce spend, and stay on track with bill payments. This endpoint is offered as an add-on to Transactions. To request access to this endpoint, submit a [product access request](https://dashboard.plaid.com/team/products) or contact your Plaid account manager. This endpoint can only be called on an Item that has already been initialized with Transactions (either during Link, by specifying it in `/link/token/create`; or after Link, by calling `/transactions/get` or `/transactions/sync`). For optimal results, we strongly recommend customers using Recurring Transactions to request at least 180 days of history when initializing items with Transactions (using the [`days_requested`](https://plaid.com/docs/api/tokens/#link-token-create-request-transactions-days-requested) option). Once all historical transactions have been fetched, call `/transactions/recurring/get` to receive the Recurring Transactions streams and subscribe to the [`RECURRING_TRANSACTIONS_UPDATE`](https://plaid.com/docs/api/products/transactions/#recurring_transactions_update) webhook. To know when historical transactions have been fetched, if you are using `/transactions/sync` listen for the [`SYNC_UPDATES_AVAILABLE`](https://plaid.com/docs/api/products/transactions/#SyncUpdatesAvailableWebhook-historical-update-complete) webhook and check that the `historical_update_complete` field in the payload is `true`. If using `/transactions/get`, listen for the [`HISTORICAL_UPDATE`](https://plaid.com/docs/api/products/transactions/#historical_update) webhook. After the initial call, you can call `/transactions/recurring/get` endpoint at any point in the future to retrieve the latest summary of recurring streams. Listen to the [`RECURRING_TRANSACTIONS_UPDATE`](https://plaid.com/docs/api/products/transactions/#recurring_transactions_update) webhook to be notified when new updates are available. + # The `/transactions/recurring/get` endpoint allows developers to receive a summary of the recurring outflow and inflow streams (expenses and deposits) from a user’s checking, savings or credit card accounts. Additionally, Plaid provides key insights about each recurring stream including the category, merchant, last amount, and more. Developers can use these insights to build tools and experiences that help their users better manage cash flow, monitor subscriptions, reduce spend, and stay on track with bill payments. This endpoint is offered as an add-on to Transactions. To request access to this endpoint, submit a [product access request](https://dashboard.plaid.com/team/products) or contact your Plaid account manager. This endpoint can only be called on an Item that has already been initialized with Transactions (either during Link, by specifying it in `/link/token/create`; or after Link, by calling `/transactions/get` or `/transactions/sync`). When using Recurring Transactions, for best results, make sure to use the [`days_requested`](https://plaid.com/docs/api/link/#link-token-create-request-transactions-days-requested) parameter to request at least 180 days of history when initializing Items with Transactions. Once all historical transactions have been fetched, call `/transactions/recurring/get` to receive the Recurring Transactions streams and subscribe to the [`RECURRING_TRANSACTIONS_UPDATE`](https://plaid.com/docs/api/products/transactions/#recurring_transactions_update) webhook. To know when historical transactions have been fetched, if you are using `/transactions/sync` listen for the [`SYNC_UPDATES_AVAILABLE`](https://plaid.com/docs/api/products/transactions/#SyncUpdatesAvailableWebhook-historical-update-complete) webhook and check that the `historical_update_complete` field in the payload is `true`. If using `/transactions/get`, listen for the [`HISTORICAL_UPDATE`](https://plaid.com/docs/api/products/transactions/#historical_update) webhook. After the initial call, you can call `/transactions/recurring/get` endpoint at any point in the future to retrieve the latest summary of recurring streams. Listen to the [`RECURRING_TRANSACTIONS_UPDATE`](https://plaid.com/docs/api/products/transactions/#recurring_transactions_update) webhook to be notified when new updates are available. # @param transactions_recurring_get_request [TransactionsRecurringGetRequest] # @param [Hash] opts the optional parameters # @return [TransactionsRecurringGetResponse] @@ -13630,7 +14093,7 @@ def transactions_recurring_get(transactions_recurring_get_request, opts = {}) end # Fetch recurring transaction streams - # The `/transactions/recurring/get` endpoint allows developers to receive a summary of the recurring outflow and inflow streams (expenses and deposits) from a user’s checking, savings or credit card accounts. Additionally, Plaid provides key insights about each recurring stream including the category, merchant, last amount, and more. Developers can use these insights to build tools and experiences that help their users better manage cash flow, monitor subscriptions, reduce spend, and stay on track with bill payments. This endpoint is offered as an add-on to Transactions. To request access to this endpoint, submit a [product access request](https://dashboard.plaid.com/team/products) or contact your Plaid account manager. This endpoint can only be called on an Item that has already been initialized with Transactions (either during Link, by specifying it in `/link/token/create`; or after Link, by calling `/transactions/get` or `/transactions/sync`). For optimal results, we strongly recommend customers using Recurring Transactions to request at least 180 days of history when initializing items with Transactions (using the [`days_requested`](https://plaid.com/docs/api/tokens/#link-token-create-request-transactions-days-requested) option). Once all historical transactions have been fetched, call `/transactions/recurring/get` to receive the Recurring Transactions streams and subscribe to the [`RECURRING_TRANSACTIONS_UPDATE`](https://plaid.com/docs/api/products/transactions/#recurring_transactions_update) webhook. To know when historical transactions have been fetched, if you are using `/transactions/sync` listen for the [`SYNC_UPDATES_AVAILABLE`](https://plaid.com/docs/api/products/transactions/#SyncUpdatesAvailableWebhook-historical-update-complete) webhook and check that the `historical_update_complete` field in the payload is `true`. If using `/transactions/get`, listen for the [`HISTORICAL_UPDATE`](https://plaid.com/docs/api/products/transactions/#historical_update) webhook. After the initial call, you can call `/transactions/recurring/get` endpoint at any point in the future to retrieve the latest summary of recurring streams. Listen to the [`RECURRING_TRANSACTIONS_UPDATE`](https://plaid.com/docs/api/products/transactions/#recurring_transactions_update) webhook to be notified when new updates are available. + # The `/transactions/recurring/get` endpoint allows developers to receive a summary of the recurring outflow and inflow streams (expenses and deposits) from a user’s checking, savings or credit card accounts. Additionally, Plaid provides key insights about each recurring stream including the category, merchant, last amount, and more. Developers can use these insights to build tools and experiences that help their users better manage cash flow, monitor subscriptions, reduce spend, and stay on track with bill payments. This endpoint is offered as an add-on to Transactions. To request access to this endpoint, submit a [product access request](https://dashboard.plaid.com/team/products) or contact your Plaid account manager. This endpoint can only be called on an Item that has already been initialized with Transactions (either during Link, by specifying it in `/link/token/create`; or after Link, by calling `/transactions/get` or `/transactions/sync`). When using Recurring Transactions, for best results, make sure to use the [`days_requested`](https://plaid.com/docs/api/link/#link-token-create-request-transactions-days-requested) parameter to request at least 180 days of history when initializing Items with Transactions. Once all historical transactions have been fetched, call `/transactions/recurring/get` to receive the Recurring Transactions streams and subscribe to the [`RECURRING_TRANSACTIONS_UPDATE`](https://plaid.com/docs/api/products/transactions/#recurring_transactions_update) webhook. To know when historical transactions have been fetched, if you are using `/transactions/sync` listen for the [`SYNC_UPDATES_AVAILABLE`](https://plaid.com/docs/api/products/transactions/#SyncUpdatesAvailableWebhook-historical-update-complete) webhook and check that the `historical_update_complete` field in the payload is `true`. If using `/transactions/get`, listen for the [`HISTORICAL_UPDATE`](https://plaid.com/docs/api/products/transactions/#historical_update) webhook. After the initial call, you can call `/transactions/recurring/get` endpoint at any point in the future to retrieve the latest summary of recurring streams. Listen to the [`RECURRING_TRANSACTIONS_UPDATE`](https://plaid.com/docs/api/products/transactions/#recurring_transactions_update) webhook to be notified when new updates are available. # @param transactions_recurring_get_request [TransactionsRecurringGetRequest] # @param [Hash] opts the optional parameters # @return [Array<(TransactionsRecurringGetResponse, Integer, Hash)>] TransactionsRecurringGetResponse data, response status code and response headers @@ -14164,7 +14627,7 @@ def transfer_authorization_cancel_with_http_info(transfer_authorization_cancel_r end # Create a transfer authorization - # Use the `/transfer/authorization/create` endpoint to authorize a transfer. This endpoint must be called prior to calling `/transfer/create`. There are three possible outcomes to calling this endpoint: If the `authorization.decision` in the response is `declined`, the proposed transfer has failed the risk check and you cannot proceed with the transfer. If the `authorization.decision` is `approved`, and the `authorization.rationale_code` is `null`, the transfer has passed the risk check and you can proceed to call `/transfer/create`. If the `authorization.decision` is `approved` and the `authorization.rationale_code` is non-`null`, the risk check could not be run: you may proceed with the transfer, but should perform your own risk evaluation. For more details, see the response schema. In Plaid's Sandbox environment the decisions will be returned as follows: - To approve a transfer with `null` rationale code, make an authorization request with an `amount` less than the available balance in the account. - To approve a transfer with the rationale code `MANUALLY_VERIFIED_ITEM`, create an Item in Link through the [Same Day Micro-deposits flow](https://plaid.com/docs/auth/coverage/testing/#testing-same-day-micro-deposits). - To approve a transfer with the rationale code `ITEM_LOGIN_REQUIRED`, [reset the login for an Item](https://plaid.com/docs/sandbox/#item_login_required). - To decline a transfer with the rationale code `NSF`, the available balance on the account must be less than the authorization `amount`. See [Create Sandbox test data](https://plaid.com/docs/sandbox/user-custom/) for details on how to customize data in Sandbox. - To decline a transfer with the rationale code `RISK`, the available balance on the account must be exactly $0. See [Create Sandbox test data](https://plaid.com/docs/sandbox/user-custom/) for details on how to customize data in Sandbox. + # Use the `/transfer/authorization/create` endpoint to authorize a transfer. This endpoint must be called prior to calling `/transfer/create`. The transfer authorization will expire if not used after one hour. (You can contact your account manager to change the default authorization lifetime.) There are four possible outcomes to calling this endpoint: - If the `authorization.decision` in the response is `declined`, the proposed transfer has failed the risk check and you cannot proceed with the transfer. - If the `authorization.decision` is `user_action_required`, additional user input is needed, usually to fix a broken bank connection, before Plaid can properly assess the risk. You need to launch Link in update mode to complete the required user action. When calling `/link/token/create` to get a new Link token, instead of providing `access_token` in the request, you should set [`transfer.authorization_id`](https://plaid.com/docs/api/link/#link-token-create-request-transfer-authorization-id) as the `authorization.id`. After the Link flow is completed, you may re-attempt the authorization. - If the `authorization.decision` is `approved`, and the `authorization.rationale_code` is `null`, the transfer has passed the risk check and you can proceed to call `/transfer/create`. - If the `authorization.decision` is `approved` and the `authorization.rationale_code` is non-`null`, the risk check could not be run: you may proceed with the transfer, but should perform your own risk evaluation. For more details, see the response schema. In Plaid's Sandbox environment the decisions will be returned as follows: - To approve a transfer with `null` rationale code, make an authorization request with an `amount` less than the available balance in the account. - To approve a transfer with the rationale code `MANUALLY_VERIFIED_ITEM`, create an Item in Link through the [Same Day Micro-deposits flow](https://plaid.com/docs/auth/coverage/testing/#testing-same-day-micro-deposits). - To get an authorization decision of `user_action_required`, [reset the login for an Item](https://plaid.com/docs/sandbox/#item_login_required). - To decline a transfer with the rationale code `NSF`, the available balance on the account must be less than the authorization `amount`. See [Create Sandbox test data](https://plaid.com/docs/sandbox/user-custom/) for details on how to customize data in Sandbox. - To decline a transfer with the rationale code `RISK`, the available balance on the account must be exactly $0. See [Create Sandbox test data](https://plaid.com/docs/sandbox/user-custom/) for details on how to customize data in Sandbox. # @param transfer_authorization_create_request [TransferAuthorizationCreateRequest] # @param [Hash] opts the optional parameters # @return [TransferAuthorizationCreateResponse] @@ -14174,7 +14637,7 @@ def transfer_authorization_create(transfer_authorization_create_request, opts = end # Create a transfer authorization - # Use the `/transfer/authorization/create` endpoint to authorize a transfer. This endpoint must be called prior to calling `/transfer/create`. There are three possible outcomes to calling this endpoint: If the `authorization.decision` in the response is `declined`, the proposed transfer has failed the risk check and you cannot proceed with the transfer. If the `authorization.decision` is `approved`, and the `authorization.rationale_code` is `null`, the transfer has passed the risk check and you can proceed to call `/transfer/create`. If the `authorization.decision` is `approved` and the `authorization.rationale_code` is non-`null`, the risk check could not be run: you may proceed with the transfer, but should perform your own risk evaluation. For more details, see the response schema. In Plaid's Sandbox environment the decisions will be returned as follows: - To approve a transfer with `null` rationale code, make an authorization request with an `amount` less than the available balance in the account. - To approve a transfer with the rationale code `MANUALLY_VERIFIED_ITEM`, create an Item in Link through the [Same Day Micro-deposits flow](https://plaid.com/docs/auth/coverage/testing/#testing-same-day-micro-deposits). - To approve a transfer with the rationale code `ITEM_LOGIN_REQUIRED`, [reset the login for an Item](https://plaid.com/docs/sandbox/#item_login_required). - To decline a transfer with the rationale code `NSF`, the available balance on the account must be less than the authorization `amount`. See [Create Sandbox test data](https://plaid.com/docs/sandbox/user-custom/) for details on how to customize data in Sandbox. - To decline a transfer with the rationale code `RISK`, the available balance on the account must be exactly $0. See [Create Sandbox test data](https://plaid.com/docs/sandbox/user-custom/) for details on how to customize data in Sandbox. + # Use the `/transfer/authorization/create` endpoint to authorize a transfer. This endpoint must be called prior to calling `/transfer/create`. The transfer authorization will expire if not used after one hour. (You can contact your account manager to change the default authorization lifetime.) There are four possible outcomes to calling this endpoint: - If the `authorization.decision` in the response is `declined`, the proposed transfer has failed the risk check and you cannot proceed with the transfer. - If the `authorization.decision` is `user_action_required`, additional user input is needed, usually to fix a broken bank connection, before Plaid can properly assess the risk. You need to launch Link in update mode to complete the required user action. When calling `/link/token/create` to get a new Link token, instead of providing `access_token` in the request, you should set [`transfer.authorization_id`](https://plaid.com/docs/api/link/#link-token-create-request-transfer-authorization-id) as the `authorization.id`. After the Link flow is completed, you may re-attempt the authorization. - If the `authorization.decision` is `approved`, and the `authorization.rationale_code` is `null`, the transfer has passed the risk check and you can proceed to call `/transfer/create`. - If the `authorization.decision` is `approved` and the `authorization.rationale_code` is non-`null`, the risk check could not be run: you may proceed with the transfer, but should perform your own risk evaluation. For more details, see the response schema. In Plaid's Sandbox environment the decisions will be returned as follows: - To approve a transfer with `null` rationale code, make an authorization request with an `amount` less than the available balance in the account. - To approve a transfer with the rationale code `MANUALLY_VERIFIED_ITEM`, create an Item in Link through the [Same Day Micro-deposits flow](https://plaid.com/docs/auth/coverage/testing/#testing-same-day-micro-deposits). - To get an authorization decision of `user_action_required`, [reset the login for an Item](https://plaid.com/docs/sandbox/#item_login_required). - To decline a transfer with the rationale code `NSF`, the available balance on the account must be less than the authorization `amount`. See [Create Sandbox test data](https://plaid.com/docs/sandbox/user-custom/) for details on how to customize data in Sandbox. - To decline a transfer with the rationale code `RISK`, the available balance on the account must be exactly $0. See [Create Sandbox test data](https://plaid.com/docs/sandbox/user-custom/) for details on how to customize data in Sandbox. # @param transfer_authorization_create_request [TransferAuthorizationCreateRequest] # @param [Hash] opts the optional parameters # @return [Array<(TransferAuthorizationCreateResponse, Integer, Hash)>] TransferAuthorizationCreateResponse data, response status code and response headers @@ -14504,7 +14967,7 @@ def transfer_configuration_get_with_http_info(transfer_configuration_get_request end # Create a transfer - # Use the `/transfer/create` endpoint to initiate a new transfer. + # Use the `/transfer/create` endpoint to initiate a new transfer. This endpoint is retryable and idempotent; if a transfer with the provided `transfer_id` has already been created, it will return the transfer details without creating a new transfer. A transfer may still be created if a 500 error is returned; to detect this scenario, use [Transfer events](https://plaid.com/docs/transfer/reconciling-transfers/). # @param transfer_create_request [TransferCreateRequest] # @param [Hash] opts the optional parameters # @return [TransferCreateResponse] @@ -14514,7 +14977,7 @@ def transfer_create(transfer_create_request, opts = {}) end # Create a transfer - # Use the `/transfer/create` endpoint to initiate a new transfer. + # Use the `/transfer/create` endpoint to initiate a new transfer. This endpoint is retryable and idempotent; if a transfer with the provided `transfer_id` has already been created, it will return the transfer details without creating a new transfer. A transfer may still be created if a 500 error is returned; to detect this scenario, use [Transfer events](https://plaid.com/docs/transfer/reconciling-transfers/). # @param transfer_create_request [TransferCreateRequest] # @param [Hash] opts the optional parameters # @return [Array<(TransferCreateResponse, Integer, Hash)>] TransferCreateResponse data, response status code and response headers @@ -15456,7 +15919,7 @@ def transfer_metrics_get_with_http_info(transfer_metrics_get_request, opts = {}) end # Migrate account into Transfers - # As an alternative to adding Items via Link, you can also use the `/transfer/migrate_account` endpoint to migrate known account and routing numbers to Plaid Items. If you intend to create wire transfers on this account, you must provide `wire_routing_number`. Note that Items created in this way are not compatible with endpoints for other products, such as `/accounts/balance/get`, and can only be used with Transfer endpoints. If you require access to other endpoints, create the Item through Link instead. Access to `/transfer/migrate_account` is not enabled by default; to obtain access, contact your Plaid Account Manager. + # As an alternative to adding Items via Link, you can also use the `/transfer/migrate_account` endpoint to migrate known account and routing numbers to Plaid Items. This endpoint is also required when adding an Item for use with wire transfers; if you intend to create wire transfers on this account, you must provide `wire_routing_number`. Note that Items created in this way are not compatible with endpoints for other products, such as `/accounts/balance/get`, and can only be used with Transfer endpoints. If you require access to other endpoints, create the Item through Link instead. Access to `/transfer/migrate_account` is not enabled by default; to obtain access, contact your Plaid Account Manager. # @param transfer_migrate_account_request [TransferMigrateAccountRequest] # @param [Hash] opts the optional parameters # @return [TransferMigrateAccountResponse] @@ -15466,7 +15929,7 @@ def transfer_migrate_account(transfer_migrate_account_request, opts = {}) end # Migrate account into Transfers - # As an alternative to adding Items via Link, you can also use the `/transfer/migrate_account` endpoint to migrate known account and routing numbers to Plaid Items. If you intend to create wire transfers on this account, you must provide `wire_routing_number`. Note that Items created in this way are not compatible with endpoints for other products, such as `/accounts/balance/get`, and can only be used with Transfer endpoints. If you require access to other endpoints, create the Item through Link instead. Access to `/transfer/migrate_account` is not enabled by default; to obtain access, contact your Plaid Account Manager. + # As an alternative to adding Items via Link, you can also use the `/transfer/migrate_account` endpoint to migrate known account and routing numbers to Plaid Items. This endpoint is also required when adding an Item for use with wire transfers; if you intend to create wire transfers on this account, you must provide `wire_routing_number`. Note that Items created in this way are not compatible with endpoints for other products, such as `/accounts/balance/get`, and can only be used with Transfer endpoints. If you require access to other endpoints, create the Item through Link instead. Access to `/transfer/migrate_account` is not enabled by default; to obtain access, contact your Plaid Account Manager. # @param transfer_migrate_account_request [TransferMigrateAccountRequest] # @param [Hash] opts the optional parameters # @return [Array<(TransferMigrateAccountResponse, Integer, Hash)>] TransferMigrateAccountResponse data, response status code and response headers @@ -15795,6 +16258,74 @@ def transfer_originator_list_with_http_info(transfer_originator_list_request, op return data, status_code, headers end + # Create an originator for scaled platform customers + # The `/transfer/platform/originator/create` endpoint allows gathering information about the originator specific to the Scaled Platform Transfer offering, including the originator's agreement to legal terms required before accepting any further information related to the originator. + # @param transfer_platform_originator_create_request [TransferPlatformOriginatorCreateRequest] + # @param [Hash] opts the optional parameters + # @return [TransferPlatformOriginatorCreateResponse] + def transfer_platform_originator_create(transfer_platform_originator_create_request, opts = {}) + data, _status_code, _headers = transfer_platform_originator_create_with_http_info(transfer_platform_originator_create_request, opts) + data + end + + # Create an originator for scaled platform customers + # The `/transfer/platform/originator/create` endpoint allows gathering information about the originator specific to the Scaled Platform Transfer offering, including the originator's agreement to legal terms required before accepting any further information related to the originator. + # @param transfer_platform_originator_create_request [TransferPlatformOriginatorCreateRequest] + # @param [Hash] opts the optional parameters + # @return [Array<(TransferPlatformOriginatorCreateResponse, Integer, Hash)>] TransferPlatformOriginatorCreateResponse data, response status code and response headers + def transfer_platform_originator_create_with_http_info(transfer_platform_originator_create_request, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: PlaidApi.transfer_platform_originator_create ...' + end + # verify the required parameter 'transfer_platform_originator_create_request' is set + if @api_client.config.client_side_validation && transfer_platform_originator_create_request.nil? + fail ArgumentError, "Missing the required parameter 'transfer_platform_originator_create_request' when calling PlaidApi.transfer_platform_originator_create" + end + # resource path + local_var_path = '/transfer/platform/originator/create' + + # query parameters + query_params = opts[:query_params] || {} + + # header parameters + header_params = opts[:header_params] || {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + # HTTP header 'Content-Type' + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] || @api_client.object_to_http_body(transfer_platform_originator_create_request) + + # return_type + return_type = opts[:debug_return_type] || 'TransferPlatformOriginatorCreateResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] + + new_options = opts.merge( + :operation => :"PlaidApi.transfer_platform_originator_create", + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type + ) + + data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: PlaidApi#transfer_platform_originator_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # Generate a Plaid-hosted onboarding UI URL. # The `/transfer/questionnaire/create` endpoint generates a Plaid-hosted onboarding UI URL. Redirect the originator to this URL to provide their due diligence information and agree to Plaid’s terms for ACH money movement. # @param transfer_questionnaire_create_request [TransferQuestionnaireCreateRequest] @@ -16680,7 +17211,7 @@ def user_account_session_get_with_http_info(user_account_session_get_request, op end # Create user - # This endpoint should be called for each of your end users before they begin a Plaid income flow. This provides you a single token to access all income data associated with the user. You should only create one per end user. If you call the endpoint multiple times with the same `client_user_id`, the first creation call will succeed and the rest will fail with an error message indicating that the user has been created for the given `client_user_id`. Ensure that you store the `user_token` along with your user's identifier in your database, as it is not possible to retrieve a previously created `user_token`. + # This endpoint should be called for each of your end users before they begin a Plaid Check or Income flow, or a Multi-Item Link flow. This provides you a single token to access all data associated with the user. You should only create one per end user. The `consumer_report_user_identity` object must be present in order to create a Plaid Check Consumer Report for a user. If it is not provided during the `/user/create` call, it can be added later by calling `/user/update`. If you call the endpoint multiple times with the same `client_user_id`, the first creation call will succeed and the rest will fail with an error message indicating that the user has been created for the given `client_user_id`. Ensure that you store the `user_token` along with your user's identifier in your database, as it is not possible to retrieve a previously created `user_token`. # @param user_create_request [UserCreateRequest] # @param [Hash] opts the optional parameters # @return [UserCreateResponse] @@ -16690,7 +17221,7 @@ def user_create(user_create_request, opts = {}) end # Create user - # This endpoint should be called for each of your end users before they begin a Plaid income flow. This provides you a single token to access all income data associated with the user. You should only create one per end user. If you call the endpoint multiple times with the same `client_user_id`, the first creation call will succeed and the rest will fail with an error message indicating that the user has been created for the given `client_user_id`. Ensure that you store the `user_token` along with your user's identifier in your database, as it is not possible to retrieve a previously created `user_token`. + # This endpoint should be called for each of your end users before they begin a Plaid Check or Income flow, or a Multi-Item Link flow. This provides you a single token to access all data associated with the user. You should only create one per end user. The `consumer_report_user_identity` object must be present in order to create a Plaid Check Consumer Report for a user. If it is not provided during the `/user/create` call, it can be added later by calling `/user/update`. If you call the endpoint multiple times with the same `client_user_id`, the first creation call will succeed and the rest will fail with an error message indicating that the user has been created for the given `client_user_id`. Ensure that you store the `user_token` along with your user's identifier in your database, as it is not possible to retrieve a previously created `user_token`. # @param user_create_request [UserCreateRequest] # @param [Hash] opts the optional parameters # @return [Array<(UserCreateResponse, Integer, Hash)>] UserCreateResponse data, response status code and response headers @@ -16816,7 +17347,7 @@ def user_items_get_with_http_info(user_items_get_request, opts = {}) end # Remove user - # This endpoint is used to remove a user and any relevant data related to the user based on the provided user token. Any subsequent calls to retrieve information using the same user token will result in an error stating the user does not exist. + # `/user/remove` deletes a user token and and associated information, including any Items associated with the token. Any subsequent calls to retrieve information using the same user token will result in an error stating the user does not exist. # @param user_remove_request [UserRemoveRequest] # @param [Hash] opts the optional parameters # @return [UserRemoveResponse] @@ -16826,7 +17357,7 @@ def user_remove(user_remove_request, opts = {}) end # Remove user - # This endpoint is used to remove a user and any relevant data related to the user based on the provided user token. Any subsequent calls to retrieve information using the same user token will result in an error stating the user does not exist. + # `/user/remove` deletes a user token and and associated information, including any Items associated with the token. Any subsequent calls to retrieve information using the same user token will result in an error stating the user does not exist. # @param user_remove_request [UserRemoveRequest] # @param [Hash] opts the optional parameters # @return [Array<(UserRemoveResponse, Integer, Hash)>] UserRemoveResponse data, response status code and response headers @@ -16884,7 +17415,7 @@ def user_remove_with_http_info(user_remove_request, opts = {}) end # Update user information - # This endpoint is used to update user information associated with an existing `user_token`. The `user_token` should be in the response of `/user/create` call If you call the endpoint with a non-exist `user_token`, the call will fail with an error message indicating that the user token is not found. + # This endpoint is used to update user information associated with an existing `user_token`. It can also be used to enable an existing `user_token` for use with Consumer Reports by Plaid Check, by adding a `consumer_report_user_identity` object to the user. # @param user_update_request [UserUpdateRequest] # @param [Hash] opts the optional parameters # @return [UserUpdateResponse] @@ -16894,7 +17425,7 @@ def user_update(user_update_request, opts = {}) end # Update user information - # This endpoint is used to update user information associated with an existing `user_token`. The `user_token` should be in the response of `/user/create` call If you call the endpoint with a non-exist `user_token`, the call will fail with an error message indicating that the user token is not found. + # This endpoint is used to update user information associated with an existing `user_token`. It can also be used to enable an existing `user_token` for use with Consumer Reports by Plaid Check, by adding a `consumer_report_user_identity` object to the user. # @param user_update_request [UserUpdateRequest] # @param [Hash] opts the optional parameters # @return [Array<(UserUpdateResponse, Integer, Hash)>] UserUpdateResponse data, response status code and response headers diff --git a/lib/plaid/api_client.rb b/lib/plaid/api_client.rb index f99f11b73..40bdf6c40 100644 --- a/lib/plaid/api_client.rb +++ b/lib/plaid/api_client.rb @@ -7,7 +7,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -41,7 +41,7 @@ class ApiConnectionFailedError < ApiError; end # @option config [Configuration] Configuration for initializing the object, default to Configuration.default def initialize(config = Configuration.default) @config = config - @user_agent = "Plaid Ruby v30.0.0" + @user_agent = "Plaid Ruby v31.0.0" @default_headers = { 'Content-Type' => 'application/json', 'User-Agent' => @user_agent, diff --git a/lib/plaid/api_error.rb b/lib/plaid/api_error.rb index a29b370ec..8de8147fd 100644 --- a/lib/plaid/api_error.rb +++ b/lib/plaid/api_error.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/configuration.rb b/lib/plaid/configuration.rb index e437b3613..b5568c89e 100644 --- a/lib/plaid/configuration.rb +++ b/lib/plaid/configuration.rb @@ -7,7 +7,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/account_access.rb b/lib/plaid/models/account_access.rb index 66e82d021..227773907 100644 --- a/lib/plaid/models/account_access.rb +++ b/lib/plaid/models/account_access.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/account_assets.rb b/lib/plaid/models/account_assets.rb index 8c24ca288..51fef8dd5 100644 --- a/lib/plaid/models/account_assets.rb +++ b/lib/plaid/models/account_assets.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/account_balance.rb b/lib/plaid/models/account_balance.rb index 2b375a2ec..34923c811 100644 --- a/lib/plaid/models/account_balance.rb +++ b/lib/plaid/models/account_balance.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/account_base.rb b/lib/plaid/models/account_base.rb index 070984b4d..be84707e8 100644 --- a/lib/plaid/models/account_base.rb +++ b/lib/plaid/models/account_base.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/account_filter.rb b/lib/plaid/models/account_filter.rb index 944e3097c..a18addf5b 100644 --- a/lib/plaid/models/account_filter.rb +++ b/lib/plaid/models/account_filter.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/account_filters_response.rb b/lib/plaid/models/account_filters_response.rb index 66c7150dc..e1eb0b079 100644 --- a/lib/plaid/models/account_filters_response.rb +++ b/lib/plaid/models/account_filters_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/account_holder_category.rb b/lib/plaid/models/account_holder_category.rb index fd7361f4c..10ada3040 100644 --- a/lib/plaid/models/account_holder_category.rb +++ b/lib/plaid/models/account_holder_category.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/account_identity.rb b/lib/plaid/models/account_identity.rb index 1fcd1c120..38c0e5acf 100644 --- a/lib/plaid/models/account_identity.rb +++ b/lib/plaid/models/account_identity.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/account_identity_all_of.rb b/lib/plaid/models/account_identity_all_of.rb index 292808032..2f5624792 100644 --- a/lib/plaid/models/account_identity_all_of.rb +++ b/lib/plaid/models/account_identity_all_of.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/account_identity_document_upload.rb b/lib/plaid/models/account_identity_document_upload.rb index 69e7bcd0a..48accad26 100644 --- a/lib/plaid/models/account_identity_document_upload.rb +++ b/lib/plaid/models/account_identity_document_upload.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/account_identity_document_upload_all_of.rb b/lib/plaid/models/account_identity_document_upload_all_of.rb index f92e22986..f5012c474 100644 --- a/lib/plaid/models/account_identity_document_upload_all_of.rb +++ b/lib/plaid/models/account_identity_document_upload_all_of.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/account_identity_match_score.rb b/lib/plaid/models/account_identity_match_score.rb index 5446e4ddb..5d69074ed 100644 --- a/lib/plaid/models/account_identity_match_score.rb +++ b/lib/plaid/models/account_identity_match_score.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/account_identity_match_score_all_of.rb b/lib/plaid/models/account_identity_match_score_all_of.rb index e0dd5582a..6cf5cb8c2 100644 --- a/lib/plaid/models/account_identity_match_score_all_of.rb +++ b/lib/plaid/models/account_identity_match_score_all_of.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/account_product_access.rb b/lib/plaid/models/account_product_access.rb index 92580d853..065612242 100644 --- a/lib/plaid/models/account_product_access.rb +++ b/lib/plaid/models/account_product_access.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/account_product_access_nullable.rb b/lib/plaid/models/account_product_access_nullable.rb index 10cf10b23..02c884b40 100644 --- a/lib/plaid/models/account_product_access_nullable.rb +++ b/lib/plaid/models/account_product_access_nullable.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/account_selection_cardinality.rb b/lib/plaid/models/account_selection_cardinality.rb index 54decd62b..7d35fec19 100644 --- a/lib/plaid/models/account_selection_cardinality.rb +++ b/lib/plaid/models/account_selection_cardinality.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/account_subtype.rb b/lib/plaid/models/account_subtype.rb index 40763ac1b..9a0d68d61 100644 --- a/lib/plaid/models/account_subtype.rb +++ b/lib/plaid/models/account_subtype.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -20,75 +20,71 @@ class AccountSubtype N403_B = "403B".freeze N457B = "457b".freeze N529 = "529".freeze + AUTO = "auto".freeze BROKERAGE = "brokerage".freeze + BUSINESS = "business".freeze CASH_ISA = "cash isa".freeze + CASH_MANAGEMENT = "cash management".freeze + CD = "cd".freeze + CHECKING = "checking".freeze + COMMERCIAL = "commercial".freeze + CONSTRUCTION = "construction".freeze + CONSUMER = "consumer".freeze + CREDIT_CARD = "credit card".freeze CRYPTO_EXCHANGE = "crypto exchange".freeze - EDUCATION_SAVINGS_ACCOUNT = "education savings account".freeze EBT = "ebt".freeze + EDUCATION_SAVINGS_ACCOUNT = "education savings account".freeze FIXED_ANNUITY = "fixed annuity".freeze GIC = "gic".freeze HEALTH_REIMBURSEMENT_ARRANGEMENT = "health reimbursement arrangement".freeze + HOME_EQUITY = "home equity".freeze HSA = "hsa".freeze ISA = "isa".freeze IRA = "ira".freeze + KEOGH = "keogh".freeze LIF = "lif".freeze LIFE_INSURANCE = "life insurance".freeze + LINE_OF_CREDIT = "line of credit".freeze LIRA = "lira".freeze + LOAN = "loan".freeze LRIF = "lrif".freeze LRSP = "lrsp".freeze + MONEY_MARKET = "money market".freeze + MORTGAGE = "mortgage".freeze + MUTUAL_FUND = "mutual fund".freeze NON_CUSTODIAL_WALLET = "non-custodial wallet".freeze NON_TAXABLE_BROKERAGE_ACCOUNT = "non-taxable brokerage account".freeze OTHER = "other".freeze OTHER_INSURANCE = "other insurance".freeze OTHER_ANNUITY = "other annuity".freeze + OVERDRAFT = "overdraft".freeze + PAYPAL = "paypal".freeze + PAYROLL = "payroll".freeze + PENSION = "pension".freeze + PREPAID = "prepaid".freeze PRIF = "prif".freeze + PROFIT_SHARING_PLAN = "profit sharing plan".freeze RDSP = "rdsp".freeze RESP = "resp".freeze - RLIF = "rlif".freeze - RRIF = "rrif".freeze - PENSION = "pension".freeze - PROFIT_SHARING_PLAN = "profit sharing plan".freeze RETIREMENT = "retirement".freeze + RLIF = "rlif".freeze ROTH = "roth".freeze ROTH_401K = "roth 401k".freeze + RRIF = "rrif".freeze RRSP = "rrsp".freeze + SARSEP = "sarsep".freeze + SAVINGS = "savings".freeze SEP_IRA = "sep ira".freeze SIMPLE_IRA = "simple ira".freeze SIPP = "sipp".freeze STOCK_PLAN = "stock plan".freeze + STUDENT = "student".freeze THRIFT_SAVINGS_PLAN = "thrift savings plan".freeze TFSA = "tfsa".freeze TRUST = "trust".freeze UGMA = "ugma".freeze UTMA = "utma".freeze VARIABLE_ANNUITY = "variable annuity".freeze - CREDIT_CARD = "credit card".freeze - PAYPAL = "paypal".freeze - CD = "cd".freeze - CHECKING = "checking".freeze - SAVINGS = "savings".freeze - MONEY_MARKET = "money market".freeze - PREPAID = "prepaid".freeze - AUTO = "auto".freeze - BUSINESS = "business".freeze - COMMERCIAL = "commercial".freeze - CONSTRUCTION = "construction".freeze - CONSUMER = "consumer".freeze - HOME_EQUITY = "home equity".freeze - LOAN = "loan".freeze - MORTGAGE = "mortgage".freeze - OVERDRAFT = "overdraft".freeze - LINE_OF_CREDIT = "line of credit".freeze - STUDENT = "student".freeze - CASH_MANAGEMENT = "cash management".freeze - KEOGH = "keogh".freeze - MUTUAL_FUND = "mutual fund".freeze - RECURRING = "recurring".freeze - REWARDS = "rewards".freeze - SAFE_DEPOSIT = "safe deposit".freeze - SARSEP = "sarsep".freeze - PAYROLL = "payroll".freeze - NULL = "null".freeze # Builds the enum from string # @param [String] The enum value in the form of the string diff --git a/lib/plaid/models/account_type.rb b/lib/plaid/models/account_type.rb index a9d7e02a8..c06e5ee40 100644 --- a/lib/plaid/models/account_type.rb +++ b/lib/plaid/models/account_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/account_verification_insights.rb b/lib/plaid/models/account_verification_insights.rb index fecaaf761..6d985421a 100644 --- a/lib/plaid/models/account_verification_insights.rb +++ b/lib/plaid/models/account_verification_insights.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/account_verification_insights_account_number_format.rb b/lib/plaid/models/account_verification_insights_account_number_format.rb index 9c371e596..5268fbf63 100644 --- a/lib/plaid/models/account_verification_insights_account_number_format.rb +++ b/lib/plaid/models/account_verification_insights_account_number_format.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/account_verification_insights_network_status.rb b/lib/plaid/models/account_verification_insights_network_status.rb index 014c51e1e..ea768dce4 100644 --- a/lib/plaid/models/account_verification_insights_network_status.rb +++ b/lib/plaid/models/account_verification_insights_network_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/account_verification_insights_previous_returns.rb b/lib/plaid/models/account_verification_insights_previous_returns.rb index c636e3dd1..82d547d2b 100644 --- a/lib/plaid/models/account_verification_insights_previous_returns.rb +++ b/lib/plaid/models/account_verification_insights_previous_returns.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/accounts_balance_get_request.rb b/lib/plaid/models/accounts_balance_get_request.rb index 3026ca787..56713abb5 100644 --- a/lib/plaid/models/accounts_balance_get_request.rb +++ b/lib/plaid/models/accounts_balance_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/accounts_balance_get_request_options.rb b/lib/plaid/models/accounts_balance_get_request_options.rb index 8848dbe05..edd1eef5f 100644 --- a/lib/plaid/models/accounts_balance_get_request_options.rb +++ b/lib/plaid/models/accounts_balance_get_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/accounts_balance_get_request_payment_details.rb b/lib/plaid/models/accounts_balance_get_request_payment_details.rb index 1b3097a3e..512c99472 100644 --- a/lib/plaid/models/accounts_balance_get_request_payment_details.rb +++ b/lib/plaid/models/accounts_balance_get_request_payment_details.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/accounts_balance_get_response_payment_risk_assessment.rb b/lib/plaid/models/accounts_balance_get_response_payment_risk_assessment.rb index 8e7956115..eea826f6a 100644 --- a/lib/plaid/models/accounts_balance_get_response_payment_risk_assessment.rb +++ b/lib/plaid/models/accounts_balance_get_response_payment_risk_assessment.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/accounts_get_request.rb b/lib/plaid/models/accounts_get_request.rb index a449c29ec..cd3852ab5 100644 --- a/lib/plaid/models/accounts_get_request.rb +++ b/lib/plaid/models/accounts_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/accounts_get_request_options.rb b/lib/plaid/models/accounts_get_request_options.rb index 2c0493bc8..6a86a44a2 100644 --- a/lib/plaid/models/accounts_get_request_options.rb +++ b/lib/plaid/models/accounts_get_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/accounts_get_response.rb b/lib/plaid/models/accounts_get_response.rb index bab462091..6f27d059d 100644 --- a/lib/plaid/models/accounts_get_response.rb +++ b/lib/plaid/models/accounts_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/ach_class.rb b/lib/plaid/models/ach_class.rb index 41b75eb1b..ac9cde9ac 100644 --- a/lib/plaid/models/ach_class.rb +++ b/lib/plaid/models/ach_class.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/action_state.rb b/lib/plaid/models/action_state.rb index 91e9ebfff..56129c92d 100644 --- a/lib/plaid/models/action_state.rb +++ b/lib/plaid/models/action_state.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/activity.rb b/lib/plaid/models/activity.rb index 8724630bd..4a5ff6636 100644 --- a/lib/plaid/models/activity.rb +++ b/lib/plaid/models/activity.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/activity_type.rb b/lib/plaid/models/activity_type.rb index bc51e90e4..6ead85b6e 100644 --- a/lib/plaid/models/activity_type.rb +++ b/lib/plaid/models/activity_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/address.rb b/lib/plaid/models/address.rb index ee4073215..b960bcfad 100644 --- a/lib/plaid/models/address.rb +++ b/lib/plaid/models/address.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/address_data.rb b/lib/plaid/models/address_data.rb index b2f233fe7..e9edf040a 100644 --- a/lib/plaid/models/address_data.rb +++ b/lib/plaid/models/address_data.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/address_data_not_required.rb b/lib/plaid/models/address_data_not_required.rb index c609400f3..f410e84da 100644 --- a/lib/plaid/models/address_data_not_required.rb +++ b/lib/plaid/models/address_data_not_required.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/address_data_nullable.rb b/lib/plaid/models/address_data_nullable.rb index ff43cbd93..730531a67 100644 --- a/lib/plaid/models/address_data_nullable.rb +++ b/lib/plaid/models/address_data_nullable.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/address_data_nullable_no_required_fields.rb b/lib/plaid/models/address_data_nullable_no_required_fields.rb index 59aa8b0df..514c22910 100644 --- a/lib/plaid/models/address_data_nullable_no_required_fields.rb +++ b/lib/plaid/models/address_data_nullable_no_required_fields.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/address_match_score.rb b/lib/plaid/models/address_match_score.rb index 66c748d90..b80f34aa2 100644 --- a/lib/plaid/models/address_match_score.rb +++ b/lib/plaid/models/address_match_score.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/address_nullable.rb b/lib/plaid/models/address_nullable.rb index f39adb530..bf2a51e73 100644 --- a/lib/plaid/models/address_nullable.rb +++ b/lib/plaid/models/address_nullable.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/address_purpose_label.rb b/lib/plaid/models/address_purpose_label.rb index f3e61aa4b..46219ff42 100644 --- a/lib/plaid/models/address_purpose_label.rb +++ b/lib/plaid/models/address_purpose_label.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/application.rb b/lib/plaid/models/application.rb index 39903fe12..be87ee247 100644 --- a/lib/plaid/models/application.rb +++ b/lib/plaid/models/application.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/application_get_request.rb b/lib/plaid/models/application_get_request.rb index ce3e8dd5b..32f757e28 100644 --- a/lib/plaid/models/application_get_request.rb +++ b/lib/plaid/models/application_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/application_get_response.rb b/lib/plaid/models/application_get_response.rb index 0adb43014..0952e2e08 100644 --- a/lib/plaid/models/application_get_response.rb +++ b/lib/plaid/models/application_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/apr.rb b/lib/plaid/models/apr.rb index 62642c79c..013b2b82a 100644 --- a/lib/plaid/models/apr.rb +++ b/lib/plaid/models/apr.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset.rb b/lib/plaid/models/asset.rb index 316aa12bf..3aec936e6 100644 --- a/lib/plaid/models/asset.rb +++ b/lib/plaid/models/asset.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_detail.rb b/lib/plaid/models/asset_detail.rb index 24bc0858c..3dcf2899f 100644 --- a/lib/plaid/models/asset_detail.rb +++ b/lib/plaid/models/asset_detail.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_holder.rb b/lib/plaid/models/asset_holder.rb index 2b1fd91f9..7d4ce4a34 100644 --- a/lib/plaid/models/asset_holder.rb +++ b/lib/plaid/models/asset_holder.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_holder_name.rb b/lib/plaid/models/asset_holder_name.rb index 0383e3a10..61b5f01ca 100644 --- a/lib/plaid/models/asset_holder_name.rb +++ b/lib/plaid/models/asset_holder_name.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_owner.rb b/lib/plaid/models/asset_owner.rb index 431d80b23..e8c7382a9 100644 --- a/lib/plaid/models/asset_owner.rb +++ b/lib/plaid/models/asset_owner.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_owners.rb b/lib/plaid/models/asset_owners.rb index b31fd0825..9b7dc8932 100644 --- a/lib/plaid/models/asset_owners.rb +++ b/lib/plaid/models/asset_owners.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report.rb b/lib/plaid/models/asset_report.rb index bfa8f3df4..94428f282 100644 --- a/lib/plaid/models/asset_report.rb +++ b/lib/plaid/models/asset_report.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_account_balance.rb b/lib/plaid/models/asset_report_account_balance.rb index 6bdfb96fb..1af77cb8e 100644 --- a/lib/plaid/models/asset_report_account_balance.rb +++ b/lib/plaid/models/asset_report_account_balance.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_add_ons.rb b/lib/plaid/models/asset_report_add_ons.rb index e12d28d14..2ad859b28 100644 --- a/lib/plaid/models/asset_report_add_ons.rb +++ b/lib/plaid/models/asset_report_add_ons.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_audit_copy_create_request.rb b/lib/plaid/models/asset_report_audit_copy_create_request.rb index 543853a84..921b92e38 100644 --- a/lib/plaid/models/asset_report_audit_copy_create_request.rb +++ b/lib/plaid/models/asset_report_audit_copy_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_audit_copy_create_response.rb b/lib/plaid/models/asset_report_audit_copy_create_response.rb index 83a2296d8..a47c0fef9 100644 --- a/lib/plaid/models/asset_report_audit_copy_create_response.rb +++ b/lib/plaid/models/asset_report_audit_copy_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_audit_copy_get_request.rb b/lib/plaid/models/asset_report_audit_copy_get_request.rb index 42b4182c3..92096451d 100644 --- a/lib/plaid/models/asset_report_audit_copy_get_request.rb +++ b/lib/plaid/models/asset_report_audit_copy_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_audit_copy_remove_request.rb b/lib/plaid/models/asset_report_audit_copy_remove_request.rb index 318012e4b..d5da747e9 100644 --- a/lib/plaid/models/asset_report_audit_copy_remove_request.rb +++ b/lib/plaid/models/asset_report_audit_copy_remove_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_audit_copy_remove_response.rb b/lib/plaid/models/asset_report_audit_copy_remove_response.rb index eea06a029..1e1a53d36 100644 --- a/lib/plaid/models/asset_report_audit_copy_remove_response.rb +++ b/lib/plaid/models/asset_report_audit_copy_remove_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_create_request.rb b/lib/plaid/models/asset_report_create_request.rb index cada9928e..e918ea606 100644 --- a/lib/plaid/models/asset_report_create_request.rb +++ b/lib/plaid/models/asset_report_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_create_request_options.rb b/lib/plaid/models/asset_report_create_request_options.rb index 963d6606b..dd228f009 100644 --- a/lib/plaid/models/asset_report_create_request_options.rb +++ b/lib/plaid/models/asset_report_create_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -33,6 +33,9 @@ class AssetReportCreateRequestOptions attr_accessor :user + # If set to false, only 1 item must be healthy at the time of report creation. The default value is true, which would require all items to be healthy at the time of report creation. + attr_accessor :require_all_items + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { @@ -41,7 +44,8 @@ def self.attribute_map :'include_fast_report' => :'include_fast_report', :'products' => :'products', :'add_ons' => :'add_ons', - :'user' => :'user' + :'user' => :'user', + :'require_all_items' => :'require_all_items' } end @@ -58,7 +62,8 @@ def self.openapi_types :'include_fast_report' => :'Boolean', :'products' => :'Array', :'add_ons' => :'Array', - :'user' => :'AssetReportUser' + :'user' => :'AssetReportUser', + :'require_all_items' => :'Boolean' } end @@ -68,6 +73,7 @@ def self.openapi_nullable :'client_report_id', :'webhook', :'include_fast_report', + :'require_all_items' ]) end @@ -113,6 +119,12 @@ def initialize(attributes = {}) if attributes.key?(:'user') self.user = attributes[:'user'] end + + if attributes.key?(:'require_all_items') + self.require_all_items = attributes[:'require_all_items'] + else + self.require_all_items = true + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -138,7 +150,8 @@ def ==(o) include_fast_report == o.include_fast_report && products == o.products && add_ons == o.add_ons && - user == o.user + user == o.user && + require_all_items == o.require_all_items end # @see the `==` method @@ -150,7 +163,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [client_report_id, webhook, include_fast_report, products, add_ons, user].hash + [client_report_id, webhook, include_fast_report, products, add_ons, user, require_all_items].hash end # Builds the object from hash diff --git a/lib/plaid/models/asset_report_create_response.rb b/lib/plaid/models/asset_report_create_response.rb index 76232369b..d5ef5306a 100644 --- a/lib/plaid/models/asset_report_create_response.rb +++ b/lib/plaid/models/asset_report_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_filter_request.rb b/lib/plaid/models/asset_report_filter_request.rb index ae7142e92..61cc882b3 100644 --- a/lib/plaid/models/asset_report_filter_request.rb +++ b/lib/plaid/models/asset_report_filter_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_filter_response.rb b/lib/plaid/models/asset_report_filter_response.rb index 7d56109b1..c48d0add1 100644 --- a/lib/plaid/models/asset_report_filter_response.rb +++ b/lib/plaid/models/asset_report_filter_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_freddie.rb b/lib/plaid/models/asset_report_freddie.rb index ebcf6db46..40c11dc26 100644 --- a/lib/plaid/models/asset_report_freddie.rb +++ b/lib/plaid/models/asset_report_freddie.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_freddie_get_request.rb b/lib/plaid/models/asset_report_freddie_get_request.rb index 39f0bc233..00dcd036f 100644 --- a/lib/plaid/models/asset_report_freddie_get_request.rb +++ b/lib/plaid/models/asset_report_freddie_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_freddie_get_response.rb b/lib/plaid/models/asset_report_freddie_get_response.rb index 5801e518e..966e96332 100644 --- a/lib/plaid/models/asset_report_freddie_get_response.rb +++ b/lib/plaid/models/asset_report_freddie_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_get_request.rb b/lib/plaid/models/asset_report_get_request.rb index 47071a788..af6c0f547 100644 --- a/lib/plaid/models/asset_report_get_request.rb +++ b/lib/plaid/models/asset_report_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_get_request_options.rb b/lib/plaid/models/asset_report_get_request_options.rb index 02a25d969..3fb78269a 100644 --- a/lib/plaid/models/asset_report_get_request_options.rb +++ b/lib/plaid/models/asset_report_get_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_get_response.rb b/lib/plaid/models/asset_report_get_response.rb index b6ed97097..9029c05b7 100644 --- a/lib/plaid/models/asset_report_get_response.rb +++ b/lib/plaid/models/asset_report_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_investment_holding.rb b/lib/plaid/models/asset_report_investment_holding.rb index 71a2576f7..4d8501d1e 100644 --- a/lib/plaid/models/asset_report_investment_holding.rb +++ b/lib/plaid/models/asset_report_investment_holding.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_investment_security.rb b/lib/plaid/models/asset_report_investment_security.rb index e398f9095..32980991c 100644 --- a/lib/plaid/models/asset_report_investment_security.rb +++ b/lib/plaid/models/asset_report_investment_security.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_investments.rb b/lib/plaid/models/asset_report_investments.rb index 553a86a2e..844496de6 100644 --- a/lib/plaid/models/asset_report_investments.rb +++ b/lib/plaid/models/asset_report_investments.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_item.rb b/lib/plaid/models/asset_report_item.rb index 0d7f1198e..218b9d77c 100644 --- a/lib/plaid/models/asset_report_item.rb +++ b/lib/plaid/models/asset_report_item.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_pdf_get_request.rb b/lib/plaid/models/asset_report_pdf_get_request.rb index dec788cdc..e4b360255 100644 --- a/lib/plaid/models/asset_report_pdf_get_request.rb +++ b/lib/plaid/models/asset_report_pdf_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_pdf_get_request_options.rb b/lib/plaid/models/asset_report_pdf_get_request_options.rb index 274b8a6fd..d65977cff 100644 --- a/lib/plaid/models/asset_report_pdf_get_request_options.rb +++ b/lib/plaid/models/asset_report_pdf_get_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_refresh_request.rb b/lib/plaid/models/asset_report_refresh_request.rb index dd01ad425..f28e49084 100644 --- a/lib/plaid/models/asset_report_refresh_request.rb +++ b/lib/plaid/models/asset_report_refresh_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_refresh_request_options.rb b/lib/plaid/models/asset_report_refresh_request_options.rb index fdffdb830..4dda11cd1 100644 --- a/lib/plaid/models/asset_report_refresh_request_options.rb +++ b/lib/plaid/models/asset_report_refresh_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_refresh_response.rb b/lib/plaid/models/asset_report_refresh_response.rb index b4d3ddd57..e42be3cf9 100644 --- a/lib/plaid/models/asset_report_refresh_response.rb +++ b/lib/plaid/models/asset_report_refresh_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_remove_request.rb b/lib/plaid/models/asset_report_remove_request.rb index 64b728c28..df03a5a7e 100644 --- a/lib/plaid/models/asset_report_remove_request.rb +++ b/lib/plaid/models/asset_report_remove_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_remove_response.rb b/lib/plaid/models/asset_report_remove_response.rb index 1291da7ef..d8514ce6d 100644 --- a/lib/plaid/models/asset_report_remove_response.rb +++ b/lib/plaid/models/asset_report_remove_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_transaction.rb b/lib/plaid/models/asset_report_transaction.rb index 306070af8..143a361f2 100644 --- a/lib/plaid/models/asset_report_transaction.rb +++ b/lib/plaid/models/asset_report_transaction.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_transaction_type.rb b/lib/plaid/models/asset_report_transaction_type.rb index d6e5f187d..27da19017 100644 --- a/lib/plaid/models/asset_report_transaction_type.rb +++ b/lib/plaid/models/asset_report_transaction_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_type.rb b/lib/plaid/models/asset_report_type.rb index c53f87a15..ea018b6d4 100644 --- a/lib/plaid/models/asset_report_type.rb +++ b/lib/plaid/models/asset_report_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_user.rb b/lib/plaid/models/asset_report_user.rb index 2c7380c5a..44942ddcf 100644 --- a/lib/plaid/models/asset_report_user.rb +++ b/lib/plaid/models/asset_report_user.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_transaction.rb b/lib/plaid/models/asset_transaction.rb index 38c5ee3bc..d142ba5a8 100644 --- a/lib/plaid/models/asset_transaction.rb +++ b/lib/plaid/models/asset_transaction.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_transaction_category_type.rb b/lib/plaid/models/asset_transaction_category_type.rb index 567c2b390..a78b97fd4 100644 --- a/lib/plaid/models/asset_transaction_category_type.rb +++ b/lib/plaid/models/asset_transaction_category_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_transaction_description.rb b/lib/plaid/models/asset_transaction_description.rb index 2316fbf77..e597210a7 100644 --- a/lib/plaid/models/asset_transaction_description.rb +++ b/lib/plaid/models/asset_transaction_description.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_transaction_detail.rb b/lib/plaid/models/asset_transaction_detail.rb index 33352aab1..6bd433462 100644 --- a/lib/plaid/models/asset_transaction_detail.rb +++ b/lib/plaid/models/asset_transaction_detail.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_transaction_type.rb b/lib/plaid/models/asset_transaction_type.rb index 09cb80500..41e5b640d 100644 --- a/lib/plaid/models/asset_transaction_type.rb +++ b/lib/plaid/models/asset_transaction_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_transactions.rb b/lib/plaid/models/asset_transactions.rb index bde6aaefe..da2d24dbb 100644 --- a/lib/plaid/models/asset_transactions.rb +++ b/lib/plaid/models/asset_transactions.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_type.rb b/lib/plaid/models/asset_type.rb index 94e1fd6ff..f497e8bd2 100644 --- a/lib/plaid/models/asset_type.rb +++ b/lib/plaid/models/asset_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/assets.rb b/lib/plaid/models/assets.rb index a2aec62f1..8e0e1d992 100644 --- a/lib/plaid/models/assets.rb +++ b/lib/plaid/models/assets.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/assets_error_webhook.rb b/lib/plaid/models/assets_error_webhook.rb index bc2a85414..396994cce 100644 --- a/lib/plaid/models/assets_error_webhook.rb +++ b/lib/plaid/models/assets_error_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/assets_product_ready_webhook.rb b/lib/plaid/models/assets_product_ready_webhook.rb index 65edb5bdd..55a25cfe0 100644 --- a/lib/plaid/models/assets_product_ready_webhook.rb +++ b/lib/plaid/models/assets_product_ready_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/auth_default_update_webhook.rb b/lib/plaid/models/auth_default_update_webhook.rb index c606e3c4e..d34a3f8c3 100644 --- a/lib/plaid/models/auth_default_update_webhook.rb +++ b/lib/plaid/models/auth_default_update_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -25,10 +25,10 @@ class AuthDefaultUpdateWebhook # The `item_id` of the Item associated with this webhook, warning, or error attr_accessor :item_id - # An array of `account_id`'s for accounts that contain new auth.' + # An array of `account_id`'s for accounts that contain new auth. attr_accessor :account_ids_with_new_auth - # An object with keys of `account_id`'s that are mapped to their respective auth attributes that changed. Example: `{ \"XMBvvyMGQ1UoLbKByoMqH3nXMj84ALSdE5B58\": [\"ACCOUNT_NUMBER\"] }` + # An object with keys of `account_id`'s that are mapped to their respective auth attributes that changed. `ACCOUNT_NUMBER` and `ROUTING_NUMBER` are the two potential values that can be flagged as updated. Example: `{ \"XMBvvyMGQ1UoLbKByoMqH3nXMj84ALSdE5B58\": [\"ACCOUNT_NUMBER\"] }` attr_accessor :account_ids_with_updated_auth attr_accessor :error diff --git a/lib/plaid/models/auth_get_numbers.rb b/lib/plaid/models/auth_get_numbers.rb index 41af28e99..ee6ef1eeb 100644 --- a/lib/plaid/models/auth_get_numbers.rb +++ b/lib/plaid/models/auth_get_numbers.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/auth_get_request.rb b/lib/plaid/models/auth_get_request.rb index ee2cba852..a441a97d7 100644 --- a/lib/plaid/models/auth_get_request.rb +++ b/lib/plaid/models/auth_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/auth_get_request_options.rb b/lib/plaid/models/auth_get_request_options.rb index d94c97c58..a3eb000c2 100644 --- a/lib/plaid/models/auth_get_request_options.rb +++ b/lib/plaid/models/auth_get_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/auth_get_response.rb b/lib/plaid/models/auth_get_response.rb index 3f45af69b..70e892c37 100644 --- a/lib/plaid/models/auth_get_response.rb +++ b/lib/plaid/models/auth_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/auth_metadata.rb b/lib/plaid/models/auth_metadata.rb index 39eacc843..df777d747 100644 --- a/lib/plaid/models/auth_metadata.rb +++ b/lib/plaid/models/auth_metadata.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/auth_supported_methods.rb b/lib/plaid/models/auth_supported_methods.rb index db6249bea..1ad3474d2 100644 --- a/lib/plaid/models/auth_supported_methods.rb +++ b/lib/plaid/models/auth_supported_methods.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/auth_update_types.rb b/lib/plaid/models/auth_update_types.rb index e6526cf16..3010b77b7 100644 --- a/lib/plaid/models/auth_update_types.rb +++ b/lib/plaid/models/auth_update_types.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/automatically_verified_webhook.rb b/lib/plaid/models/automatically_verified_webhook.rb index e0af5ada9..59159ae78 100644 --- a/lib/plaid/models/automatically_verified_webhook.rb +++ b/lib/plaid/models/automatically_verified_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/balance_plus_attributes.rb b/lib/plaid/models/balance_plus_attributes.rb index 4c4287b40..a965d22d8 100644 --- a/lib/plaid/models/balance_plus_attributes.rb +++ b/lib/plaid/models/balance_plus_attributes.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/balance_plus_risk_level.rb b/lib/plaid/models/balance_plus_risk_level.rb index 1a645c76d..b7f613c58 100644 --- a/lib/plaid/models/balance_plus_risk_level.rb +++ b/lib/plaid/models/balance_plus_risk_level.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_income_complete_result.rb b/lib/plaid/models/bank_income_complete_result.rb index 7251f104e..2e2396d6b 100644 --- a/lib/plaid/models/bank_income_complete_result.rb +++ b/lib/plaid/models/bank_income_complete_result.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_income_complete_webhook.rb b/lib/plaid/models/bank_income_complete_webhook.rb index 0c8f59d9f..d9d6895a1 100644 --- a/lib/plaid/models/bank_income_complete_webhook.rb +++ b/lib/plaid/models/bank_income_complete_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_income_refresh_complete_result.rb b/lib/plaid/models/bank_income_refresh_complete_result.rb index 464f3a4dd..2ee2e7ea8 100644 --- a/lib/plaid/models/bank_income_refresh_complete_result.rb +++ b/lib/plaid/models/bank_income_refresh_complete_result.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_income_refresh_complete_webhook.rb b/lib/plaid/models/bank_income_refresh_complete_webhook.rb index 50b876915..32087241d 100644 --- a/lib/plaid/models/bank_income_refresh_complete_webhook.rb +++ b/lib/plaid/models/bank_income_refresh_complete_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_income_refresh_update_webhook.rb b/lib/plaid/models/bank_income_refresh_update_webhook.rb index 828b821ca..f431cbc1b 100644 --- a/lib/plaid/models/bank_income_refresh_update_webhook.rb +++ b/lib/plaid/models/bank_income_refresh_update_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_initiated_return_risk.rb b/lib/plaid/models/bank_initiated_return_risk.rb index 20d4277e4..a4919301a 100644 --- a/lib/plaid/models/bank_initiated_return_risk.rb +++ b/lib/plaid/models/bank_initiated_return_risk.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer.rb b/lib/plaid/models/bank_transfer.rb index 882186399..c4be6530d 100644 --- a/lib/plaid/models/bank_transfer.rb +++ b/lib/plaid/models/bank_transfer.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_balance.rb b/lib/plaid/models/bank_transfer_balance.rb index 3dce3993f..dc62e0f69 100644 --- a/lib/plaid/models/bank_transfer_balance.rb +++ b/lib/plaid/models/bank_transfer_balance.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_balance_get_request.rb b/lib/plaid/models/bank_transfer_balance_get_request.rb index 02addcc35..79fa9e989 100644 --- a/lib/plaid/models/bank_transfer_balance_get_request.rb +++ b/lib/plaid/models/bank_transfer_balance_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_balance_get_response.rb b/lib/plaid/models/bank_transfer_balance_get_response.rb index 85c727a3c..9d68a51af 100644 --- a/lib/plaid/models/bank_transfer_balance_get_response.rb +++ b/lib/plaid/models/bank_transfer_balance_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_cancel_request.rb b/lib/plaid/models/bank_transfer_cancel_request.rb index f6be31f53..149e2360a 100644 --- a/lib/plaid/models/bank_transfer_cancel_request.rb +++ b/lib/plaid/models/bank_transfer_cancel_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_cancel_response.rb b/lib/plaid/models/bank_transfer_cancel_response.rb index 1cc72f6f7..1b64c80b1 100644 --- a/lib/plaid/models/bank_transfer_cancel_response.rb +++ b/lib/plaid/models/bank_transfer_cancel_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_create_request.rb b/lib/plaid/models/bank_transfer_create_request.rb index 8c020366f..f7bbb0964 100644 --- a/lib/plaid/models/bank_transfer_create_request.rb +++ b/lib/plaid/models/bank_transfer_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_create_response.rb b/lib/plaid/models/bank_transfer_create_response.rb index cf21bf925..a8592c015 100644 --- a/lib/plaid/models/bank_transfer_create_response.rb +++ b/lib/plaid/models/bank_transfer_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_direction.rb b/lib/plaid/models/bank_transfer_direction.rb index 9c2cdb236..bb95cb1fd 100644 --- a/lib/plaid/models/bank_transfer_direction.rb +++ b/lib/plaid/models/bank_transfer_direction.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_event.rb b/lib/plaid/models/bank_transfer_event.rb index 5bf904da9..0a2100cf8 100644 --- a/lib/plaid/models/bank_transfer_event.rb +++ b/lib/plaid/models/bank_transfer_event.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_event_list_bank_transfer_type.rb b/lib/plaid/models/bank_transfer_event_list_bank_transfer_type.rb index 92cccc72e..f864e0674 100644 --- a/lib/plaid/models/bank_transfer_event_list_bank_transfer_type.rb +++ b/lib/plaid/models/bank_transfer_event_list_bank_transfer_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_event_list_direction.rb b/lib/plaid/models/bank_transfer_event_list_direction.rb index 060b0d4a9..3ee421979 100644 --- a/lib/plaid/models/bank_transfer_event_list_direction.rb +++ b/lib/plaid/models/bank_transfer_event_list_direction.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_event_list_request.rb b/lib/plaid/models/bank_transfer_event_list_request.rb index ccdd7556c..b49b1a6e4 100644 --- a/lib/plaid/models/bank_transfer_event_list_request.rb +++ b/lib/plaid/models/bank_transfer_event_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_event_list_response.rb b/lib/plaid/models/bank_transfer_event_list_response.rb index ad59b9c92..923de60f1 100644 --- a/lib/plaid/models/bank_transfer_event_list_response.rb +++ b/lib/plaid/models/bank_transfer_event_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_event_sync_request.rb b/lib/plaid/models/bank_transfer_event_sync_request.rb index 445f19a78..b2b9303a1 100644 --- a/lib/plaid/models/bank_transfer_event_sync_request.rb +++ b/lib/plaid/models/bank_transfer_event_sync_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_event_sync_response.rb b/lib/plaid/models/bank_transfer_event_sync_response.rb index 143836fb8..9c52c619e 100644 --- a/lib/plaid/models/bank_transfer_event_sync_response.rb +++ b/lib/plaid/models/bank_transfer_event_sync_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_event_type.rb b/lib/plaid/models/bank_transfer_event_type.rb index 4e8bdc1b9..872b44c3e 100644 --- a/lib/plaid/models/bank_transfer_event_type.rb +++ b/lib/plaid/models/bank_transfer_event_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_failure.rb b/lib/plaid/models/bank_transfer_failure.rb index 63894ab34..0f3f8d657 100644 --- a/lib/plaid/models/bank_transfer_failure.rb +++ b/lib/plaid/models/bank_transfer_failure.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_get_request.rb b/lib/plaid/models/bank_transfer_get_request.rb index 0fe8daf35..9e57562ff 100644 --- a/lib/plaid/models/bank_transfer_get_request.rb +++ b/lib/plaid/models/bank_transfer_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_get_response.rb b/lib/plaid/models/bank_transfer_get_response.rb index 9f47a3d53..84e8de822 100644 --- a/lib/plaid/models/bank_transfer_get_response.rb +++ b/lib/plaid/models/bank_transfer_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_list_request.rb b/lib/plaid/models/bank_transfer_list_request.rb index 4cf77c82f..46a3158f2 100644 --- a/lib/plaid/models/bank_transfer_list_request.rb +++ b/lib/plaid/models/bank_transfer_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_list_response.rb b/lib/plaid/models/bank_transfer_list_response.rb index 073e96d8c..0b44601fe 100644 --- a/lib/plaid/models/bank_transfer_list_response.rb +++ b/lib/plaid/models/bank_transfer_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_migrate_account_request.rb b/lib/plaid/models/bank_transfer_migrate_account_request.rb index 380abf87c..bb8d9282f 100644 --- a/lib/plaid/models/bank_transfer_migrate_account_request.rb +++ b/lib/plaid/models/bank_transfer_migrate_account_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_migrate_account_response.rb b/lib/plaid/models/bank_transfer_migrate_account_response.rb index b69e28d78..8b0899531 100644 --- a/lib/plaid/models/bank_transfer_migrate_account_response.rb +++ b/lib/plaid/models/bank_transfer_migrate_account_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_network.rb b/lib/plaid/models/bank_transfer_network.rb index e987ee16a..6fdfe3eb1 100644 --- a/lib/plaid/models/bank_transfer_network.rb +++ b/lib/plaid/models/bank_transfer_network.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_status.rb b/lib/plaid/models/bank_transfer_status.rb index d81610ade..26a370890 100644 --- a/lib/plaid/models/bank_transfer_status.rb +++ b/lib/plaid/models/bank_transfer_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_sweep.rb b/lib/plaid/models/bank_transfer_sweep.rb index ee9b680d7..6b5624b9c 100644 --- a/lib/plaid/models/bank_transfer_sweep.rb +++ b/lib/plaid/models/bank_transfer_sweep.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_sweep_get_request.rb b/lib/plaid/models/bank_transfer_sweep_get_request.rb index 189242fd0..ffe632531 100644 --- a/lib/plaid/models/bank_transfer_sweep_get_request.rb +++ b/lib/plaid/models/bank_transfer_sweep_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_sweep_get_response.rb b/lib/plaid/models/bank_transfer_sweep_get_response.rb index 29b858a00..52184b571 100644 --- a/lib/plaid/models/bank_transfer_sweep_get_response.rb +++ b/lib/plaid/models/bank_transfer_sweep_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_sweep_list_request.rb b/lib/plaid/models/bank_transfer_sweep_list_request.rb index 18f35b149..a6d4780a3 100644 --- a/lib/plaid/models/bank_transfer_sweep_list_request.rb +++ b/lib/plaid/models/bank_transfer_sweep_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_sweep_list_response.rb b/lib/plaid/models/bank_transfer_sweep_list_response.rb index 8f91f5e58..d89ea3998 100644 --- a/lib/plaid/models/bank_transfer_sweep_list_response.rb +++ b/lib/plaid/models/bank_transfer_sweep_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_type.rb b/lib/plaid/models/bank_transfer_type.rb index c254529b7..235aacf71 100644 --- a/lib/plaid/models/bank_transfer_type.rb +++ b/lib/plaid/models/bank_transfer_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_user.rb b/lib/plaid/models/bank_transfer_user.rb index 88d9443df..c4d4161c9 100644 --- a/lib/plaid/models/bank_transfer_user.rb +++ b/lib/plaid/models/bank_transfer_user.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfers_events_update_webhook.rb b/lib/plaid/models/bank_transfers_events_update_webhook.rb index f8df7064e..770ce9ced 100644 --- a/lib/plaid/models/bank_transfers_events_update_webhook.rb +++ b/lib/plaid/models/bank_transfers_events_update_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfers_events_update_webhook_for_auth.rb b/lib/plaid/models/bank_transfers_events_update_webhook_for_auth.rb index 67628531e..1f7837fba 100644 --- a/lib/plaid/models/bank_transfers_events_update_webhook_for_auth.rb +++ b/lib/plaid/models/bank_transfers_events_update_webhook_for_auth.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/base_report.rb b/lib/plaid/models/base_report.rb index 5fb2308d2..ed4431790 100644 --- a/lib/plaid/models/base_report.rb +++ b/lib/plaid/models/base_report.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/base_report_account.rb b/lib/plaid/models/base_report_account.rb index 720413c6e..4f0c288ff 100644 --- a/lib/plaid/models/base_report_account.rb +++ b/lib/plaid/models/base_report_account.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -21,6 +21,9 @@ class BaseReportAccount attr_accessor :balances + # The information about previously submitted valid dispute statements by the consumer + attr_accessor :consumer_disputes + # The last 2-4 alphanumeric characters of an account's official account number. Note that the mask may be non-unique between an Item's accounts, and it may also not match the mask that the bank displays to the user. attr_accessor :mask @@ -77,6 +80,7 @@ def self.attribute_map { :'account_id' => :'account_id', :'balances' => :'balances', + :'consumer_disputes' => :'consumer_disputes', :'mask' => :'mask', :'name' => :'name', :'official_name' => :'official_name', @@ -101,6 +105,7 @@ def self.openapi_types { :'account_id' => :'String', :'balances' => :'BaseReportAccountBalances', + :'consumer_disputes' => :'Array', :'mask' => :'String', :'name' => :'String', :'official_name' => :'String', @@ -110,7 +115,7 @@ def self.openapi_types :'transactions' => :'Array', :'owners' => :'Array', :'ownership_type' => :'OwnershipType', - :'historical_balances' => :'Array', + :'historical_balances' => :'Array', :'account_insights' => :'BaseReportAccountInsights' } end @@ -148,6 +153,12 @@ def initialize(attributes = {}) self.balances = attributes[:'balances'] end + if attributes.key?(:'consumer_disputes') + if (value = attributes[:'consumer_disputes']).is_a?(Array) + self.consumer_disputes = value + end + end + if attributes.key?(:'mask') self.mask = attributes[:'mask'] end @@ -211,6 +222,10 @@ def list_invalid_properties invalid_properties.push('invalid value for "balances", balances cannot be nil.') end + if @consumer_disputes.nil? + invalid_properties.push('invalid value for "consumer_disputes", consumer_disputes cannot be nil.') + end + if @name.nil? invalid_properties.push('invalid value for "name", name cannot be nil.') end @@ -239,6 +254,7 @@ def list_invalid_properties def valid? return false if @account_id.nil? return false if @balances.nil? + return false if @consumer_disputes.nil? return false if @name.nil? return false if @type.nil? return false if @days_available.nil? @@ -254,6 +270,7 @@ def ==(o) self.class == o.class && account_id == o.account_id && balances == o.balances && + consumer_disputes == o.consumer_disputes && mask == o.mask && name == o.name && official_name == o.official_name && @@ -276,7 +293,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [account_id, balances, mask, name, official_name, type, subtype, days_available, transactions, owners, ownership_type, historical_balances, account_insights].hash + [account_id, balances, consumer_disputes, mask, name, official_name, type, subtype, days_available, transactions, owners, ownership_type, historical_balances, account_insights].hash end # Builds the object from hash diff --git a/lib/plaid/models/base_report_account_balances.rb b/lib/plaid/models/base_report_account_balances.rb index fb064afff..a7933ca26 100644 --- a/lib/plaid/models/base_report_account_balances.rb +++ b/lib/plaid/models/base_report_account_balances.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -92,14 +92,6 @@ def self.openapi_nullable ]) end - # List of class defined in allOf (OpenAPI v3) - def self.openapi_all_of - [ - :'AccountBalance', - :'BaseReportAccountBalancesAllOf' - ] - end - # Initializes the object # @param [Hash] attributes Model attributes in the form of hash def initialize(attributes = {}) diff --git a/lib/plaid/models/base_report_account_insights.rb b/lib/plaid/models/base_report_account_insights.rb index caf22894f..2b05d63f7 100644 --- a/lib/plaid/models/base_report_account_insights.rb +++ b/lib/plaid/models/base_report_account_insights.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -28,21 +28,30 @@ class BaseReportAccountInsights # Average number of days between sequential transactions attr_accessor :average_days_between_transactions - # Longest gap between sequential transactions + # Deprecated; use `longest_gaps_between_transactions` instead. Longest gap between sequential transactions attr_accessor :longest_gap_between_transactions - # The number of debits into the account. This field will be null for non-depository accounts. + # Customers must transition from `longest_gap_between_transactions` by September 30th 2024. Longest gap between sequential transactions in a time period. This array can include multiple time periods. + attr_accessor :longest_gaps_between_transactions + + # The number of debits into the account. This array will be empty for non-depository accounts. attr_accessor :number_of_inflows - # Average amount of debit transactions into account. This field will be null for non-depository accounts. This field only takes into account USD transactions from the account. + # Deprecated; use `average_inflow_amounts` instead. Average amount of debit transactions into the account. This array will be empty for non-depository accounts. This field only takes into account USD transactions from the account. attr_accessor :average_inflow_amount - # The number of credit into the account. This field will be null for non-depository accounts. + # Customers must transition from `average_inflow_amount` by September 30th 2024. Average amount of debit transactions into the account in a time period. This array will be empty for non-depository accounts. This field only takes into account USD transactions from the account. + attr_accessor :average_inflow_amounts + + # The number of outflows from the account. This array will be empty for non-depository accounts. attr_accessor :number_of_outflows - # Average amount of credit transactions into account. This field will be null for non-depository accounts. This field only takes into account USD transactions from the account. + # Deprecated; use `average_outflow_amounts` instead. Average amount of transactions out of the account. This array will be empty for non-depository accounts. This field only takes into account USD transactions from the account. attr_accessor :average_outflow_amount + # Customers must transition from `average_outflow_amount` by September 30th 2024. Average amount of transactions out of the account in a time period. This array will be empty for non-depository accounts. This field only takes into account USD transactions from the account. + attr_accessor :average_outflow_amounts + # Number of days with no transactions attr_accessor :number_of_days_no_transactions @@ -54,10 +63,13 @@ def self.attribute_map :'days_available' => :'days_available', :'average_days_between_transactions' => :'average_days_between_transactions', :'longest_gap_between_transactions' => :'longest_gap_between_transactions', + :'longest_gaps_between_transactions' => :'longest_gaps_between_transactions', :'number_of_inflows' => :'number_of_inflows', :'average_inflow_amount' => :'average_inflow_amount', + :'average_inflow_amounts' => :'average_inflow_amounts', :'number_of_outflows' => :'number_of_outflows', :'average_outflow_amount' => :'average_outflow_amount', + :'average_outflow_amounts' => :'average_outflow_amounts', :'number_of_days_no_transactions' => :'number_of_days_no_transactions' } end @@ -75,10 +87,13 @@ def self.openapi_types :'days_available' => :'Integer', :'average_days_between_transactions' => :'Float', :'longest_gap_between_transactions' => :'Array', + :'longest_gaps_between_transactions' => :'Array', :'number_of_inflows' => :'Array', :'average_inflow_amount' => :'Array', + :'average_inflow_amounts' => :'Array', :'number_of_outflows' => :'Array', :'average_outflow_amount' => :'Array', + :'average_outflow_amounts' => :'Array', :'number_of_days_no_transactions' => :'Integer' } end @@ -88,10 +103,6 @@ def self.openapi_nullable Set.new([ :'oldest_transaction_date', :'most_recent_transaction_date', - :'number_of_inflows', - :'average_inflow_amount', - :'number_of_outflows', - :'average_outflow_amount', ]) end @@ -132,6 +143,12 @@ def initialize(attributes = {}) end end + if attributes.key?(:'longest_gaps_between_transactions') + if (value = attributes[:'longest_gaps_between_transactions']).is_a?(Array) + self.longest_gaps_between_transactions = value + end + end + if attributes.key?(:'number_of_inflows') if (value = attributes[:'number_of_inflows']).is_a?(Array) self.number_of_inflows = value @@ -144,6 +161,12 @@ def initialize(attributes = {}) end end + if attributes.key?(:'average_inflow_amounts') + if (value = attributes[:'average_inflow_amounts']).is_a?(Array) + self.average_inflow_amounts = value + end + end + if attributes.key?(:'number_of_outflows') if (value = attributes[:'number_of_outflows']).is_a?(Array) self.number_of_outflows = value @@ -156,6 +179,12 @@ def initialize(attributes = {}) end end + if attributes.key?(:'average_outflow_amounts') + if (value = attributes[:'average_outflow_amounts']).is_a?(Array) + self.average_outflow_amounts = value + end + end + if attributes.key?(:'number_of_days_no_transactions') self.number_of_days_no_transactions = attributes[:'number_of_days_no_transactions'] end @@ -184,10 +213,13 @@ def ==(o) days_available == o.days_available && average_days_between_transactions == o.average_days_between_transactions && longest_gap_between_transactions == o.longest_gap_between_transactions && + longest_gaps_between_transactions == o.longest_gaps_between_transactions && number_of_inflows == o.number_of_inflows && average_inflow_amount == o.average_inflow_amount && + average_inflow_amounts == o.average_inflow_amounts && number_of_outflows == o.number_of_outflows && average_outflow_amount == o.average_outflow_amount && + average_outflow_amounts == o.average_outflow_amounts && number_of_days_no_transactions == o.number_of_days_no_transactions end @@ -200,7 +232,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [oldest_transaction_date, most_recent_transaction_date, days_available, average_days_between_transactions, longest_gap_between_transactions, number_of_inflows, average_inflow_amount, number_of_outflows, average_outflow_amount, number_of_days_no_transactions].hash + [oldest_transaction_date, most_recent_transaction_date, days_available, average_days_between_transactions, longest_gap_between_transactions, longest_gaps_between_transactions, number_of_inflows, average_inflow_amount, average_inflow_amounts, number_of_outflows, average_outflow_amount, average_outflow_amounts, number_of_days_no_transactions].hash end # Builds the object from hash diff --git a/lib/plaid/models/base_report_average_flow_insights.rb b/lib/plaid/models/base_report_average_flow_insights.rb index 44c1fd682..8f663c6f9 100644 --- a/lib/plaid/models/base_report_average_flow_insights.rb +++ b/lib/plaid/models/base_report_average_flow_insights.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,7 +14,7 @@ require 'time' module Plaid - # Average dollar amount of credit or debit transactions out of the account. This field will only added for depository accounts + # Average dollar amount of credit or debit transactions out of the account. This field will only be included for depository accounts. class BaseReportAverageFlowInsights # The start date of this time period. The date will be returned in an ISO 8601 format (YYYY-MM-DD). attr_accessor :start_date @@ -85,12 +85,27 @@ def initialize(attributes = {}) # @return Array for valid properties with the reasons def list_invalid_properties invalid_properties = Array.new + if @start_date.nil? + invalid_properties.push('invalid value for "start_date", start_date cannot be nil.') + end + + if @end_date.nil? + invalid_properties.push('invalid value for "end_date", end_date cannot be nil.') + end + + if @total_amount.nil? + invalid_properties.push('invalid value for "total_amount", total_amount cannot be nil.') + end + invalid_properties end # Check to see if the all the properties in the model are valid # @return true if the model is valid def valid? + return false if @start_date.nil? + return false if @end_date.nil? + return false if @total_amount.nil? true end diff --git a/lib/plaid/models/base_report_average_monthly_balances.rb b/lib/plaid/models/base_report_average_monthly_balances.rb index a746059c0..4c3da704d 100644 --- a/lib/plaid/models/base_report_average_monthly_balances.rb +++ b/lib/plaid/models/base_report_average_monthly_balances.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -85,12 +85,27 @@ def initialize(attributes = {}) # @return Array for valid properties with the reasons def list_invalid_properties invalid_properties = Array.new + if @start_date.nil? + invalid_properties.push('invalid value for "start_date", start_date cannot be nil.') + end + + if @end_date.nil? + invalid_properties.push('invalid value for "end_date", end_date cannot be nil.') + end + + if @average_balance.nil? + invalid_properties.push('invalid value for "average_balance", average_balance cannot be nil.') + end + invalid_properties end # Check to see if the all the properties in the model are valid # @return true if the model is valid def valid? + return false if @start_date.nil? + return false if @end_date.nil? + return false if @average_balance.nil? true end diff --git a/lib/plaid/models/base_report_historical_balance.rb b/lib/plaid/models/base_report_historical_balance.rb new file mode 100644 index 000000000..cc208f3f7 --- /dev/null +++ b/lib/plaid/models/base_report_historical_balance.rb @@ -0,0 +1,263 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # An object representing a balance held by an account in the past + class BaseReportHistoricalBalance + # The date of the calculated historical balance, in an [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (YYYY-MM-DD) + attr_accessor :date + + # The total amount of funds in the account, calculated from the `current` balance in the `balance` object by subtracting inflows and adding back outflows according to the posted date of each transaction. If the account has any pending transactions, historical balance amounts on or after the date of the earliest pending transaction may differ if retrieved in subsequent Asset Reports as a result of those pending transactions posting. + attr_accessor :current + + # The ISO-4217 currency code of the balance. Always `null` if `unofficial_currency_code` is non-`null`. + attr_accessor :iso_currency_code + + # The unofficial currency code associated with the balance. Always `null` if `iso_currency_code` is non-`null`. See the [currency code schema](https://plaid.com/docs/api/accounts#currency-code-schema) for a full listing of supported `unofficial_currency_code`s. + attr_accessor :unofficial_currency_code + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'date' => :'date', + :'current' => :'current', + :'iso_currency_code' => :'iso_currency_code', + :'unofficial_currency_code' => :'unofficial_currency_code' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'date' => :'Date', + :'current' => :'Float', + :'iso_currency_code' => :'String', + :'unofficial_currency_code' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'iso_currency_code', + :'unofficial_currency_code' + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::BaseReportHistoricalBalance` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::BaseReportHistoricalBalance`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'date') + self.date = attributes[:'date'] + end + + if attributes.key?(:'current') + self.current = attributes[:'current'] + end + + if attributes.key?(:'iso_currency_code') + self.iso_currency_code = attributes[:'iso_currency_code'] + end + + if attributes.key?(:'unofficial_currency_code') + self.unofficial_currency_code = attributes[:'unofficial_currency_code'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @date.nil? + invalid_properties.push('invalid value for "date", date cannot be nil.') + end + + if @current.nil? + invalid_properties.push('invalid value for "current", current cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @date.nil? + return false if @current.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + date == o.date && + current == o.current && + iso_currency_code == o.iso_currency_code && + unofficial_currency_code == o.unofficial_currency_code + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [date, current, iso_currency_code, unofficial_currency_code].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/base_report_item.rb b/lib/plaid/models/base_report_item.rb index 8ad72adfa..eb8762adf 100644 --- a/lib/plaid/models/base_report_item.rb +++ b/lib/plaid/models/base_report_item.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/base_report_longest_gap_insights.rb b/lib/plaid/models/base_report_longest_gap_insights.rb index 9947deea5..69bbe9bbe 100644 --- a/lib/plaid/models/base_report_longest_gap_insights.rb +++ b/lib/plaid/models/base_report_longest_gap_insights.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -51,6 +51,7 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'days' ]) end diff --git a/lib/plaid/models/base_report_number_flow_insights.rb b/lib/plaid/models/base_report_number_flow_insights.rb index 5a0533b53..49300b056 100644 --- a/lib/plaid/models/base_report_number_flow_insights.rb +++ b/lib/plaid/models/base_report_number_flow_insights.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,7 +14,7 @@ require 'time' module Plaid - # The number of credits or debits out of the account. This field will only added for depository accounts + # The number of credits or debits out of the account. This field will only be included for depository accounts. class BaseReportNumberFlowInsights # The start date of this time period. The date will be returned in an ISO 8601 format (YYYY-MM-DD). attr_accessor :start_date @@ -86,12 +86,27 @@ def initialize(attributes = {}) # @return Array for valid properties with the reasons def list_invalid_properties invalid_properties = Array.new + if @start_date.nil? + invalid_properties.push('invalid value for "start_date", start_date cannot be nil.') + end + + if @end_date.nil? + invalid_properties.push('invalid value for "end_date", end_date cannot be nil.') + end + + if @count.nil? + invalid_properties.push('invalid value for "count", count cannot be nil.') + end + invalid_properties end # Check to see if the all the properties in the model are valid # @return true if the model is valid def valid? + return false if @start_date.nil? + return false if @end_date.nil? + return false if @count.nil? true end diff --git a/lib/plaid/models/base_report_transaction.rb b/lib/plaid/models/base_report_transaction.rb index 4bf0d8f60..ec73a2b5a 100644 --- a/lib/plaid/models/base_report_transaction.rb +++ b/lib/plaid/models/base_report_transaction.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -133,7 +133,7 @@ def self.openapi_types :'transaction_id' => :'String', :'transaction_type' => :'BaseReportTransactionType', :'category' => :'Array', - :'category_id' => :'Object' + :'category_id' => :'String' } end @@ -150,7 +150,6 @@ def self.openapi_nullable :'account_owner', :'transaction_type', :'category', - :'category_id' ]) end diff --git a/lib/plaid/models/base_report_transaction_type.rb b/lib/plaid/models/base_report_transaction_type.rb index 5333e3052..6e18f38c2 100644 --- a/lib/plaid/models/base_report_transaction_type.rb +++ b/lib/plaid/models/base_report_transaction_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/base_report_warning.rb b/lib/plaid/models/base_report_warning.rb index 9c75e98b1..3201c0b68 100644 --- a/lib/plaid/models/base_report_warning.rb +++ b/lib/plaid/models/base_report_warning.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/base_report_warning_code.rb b/lib/plaid/models/base_report_warning_code.rb index 6dc73b016..d9831efed 100644 --- a/lib/plaid/models/base_report_warning_code.rb +++ b/lib/plaid/models/base_report_warning_code.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/base_reports_error_webhook.rb b/lib/plaid/models/base_reports_error_webhook.rb index 45d4ff12d..d2698b3d2 100644 --- a/lib/plaid/models/base_reports_error_webhook.rb +++ b/lib/plaid/models/base_reports_error_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/base_reports_product_ready_webhook.rb b/lib/plaid/models/base_reports_product_ready_webhook.rb index cb742ab51..d6c6f146d 100644 --- a/lib/plaid/models/base_reports_product_ready_webhook.rb +++ b/lib/plaid/models/base_reports_product_ready_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_account_risk_attributes.rb b/lib/plaid/models/beacon_account_risk_attributes.rb index 9fe1e51bc..abd7af459 100644 --- a/lib/plaid/models/beacon_account_risk_attributes.rb +++ b/lib/plaid/models/beacon_account_risk_attributes.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_account_risk_evaluate_account.rb b/lib/plaid/models/beacon_account_risk_evaluate_account.rb index aff5b6b90..a0037c7ef 100644 --- a/lib/plaid/models/beacon_account_risk_evaluate_account.rb +++ b/lib/plaid/models/beacon_account_risk_evaluate_account.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_account_risk_evaluate_account_attributes.rb b/lib/plaid/models/beacon_account_risk_evaluate_account_attributes.rb index 15aeec070..de9221a5d 100644 --- a/lib/plaid/models/beacon_account_risk_evaluate_account_attributes.rb +++ b/lib/plaid/models/beacon_account_risk_evaluate_account_attributes.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_account_risk_evaluate_evaluation_reason.rb b/lib/plaid/models/beacon_account_risk_evaluate_evaluation_reason.rb index b20f7e1d8..d9ce77334 100644 --- a/lib/plaid/models/beacon_account_risk_evaluate_evaluation_reason.rb +++ b/lib/plaid/models/beacon_account_risk_evaluate_evaluation_reason.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_account_risk_evaluate_request.rb b/lib/plaid/models/beacon_account_risk_evaluate_request.rb index 4f858dbf6..ed8506f9d 100644 --- a/lib/plaid/models/beacon_account_risk_evaluate_request.rb +++ b/lib/plaid/models/beacon_account_risk_evaluate_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_account_risk_evaluate_request_options.rb b/lib/plaid/models/beacon_account_risk_evaluate_request_options.rb index cd02de54f..0f1fab802 100644 --- a/lib/plaid/models/beacon_account_risk_evaluate_request_options.rb +++ b/lib/plaid/models/beacon_account_risk_evaluate_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_account_risk_evaluate_response.rb b/lib/plaid/models/beacon_account_risk_evaluate_response.rb index 539abdafe..cb8c71bb1 100644 --- a/lib/plaid/models/beacon_account_risk_evaluate_response.rb +++ b/lib/plaid/models/beacon_account_risk_evaluate_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_audit_trail.rb b/lib/plaid/models/beacon_audit_trail.rb index c5a9155a9..9a7acfb0d 100644 --- a/lib/plaid/models/beacon_audit_trail.rb +++ b/lib/plaid/models/beacon_audit_trail.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_audit_trail_source.rb b/lib/plaid/models/beacon_audit_trail_source.rb index 3c605fe41..5e8b071ac 100644 --- a/lib/plaid/models/beacon_audit_trail_source.rb +++ b/lib/plaid/models/beacon_audit_trail_source.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_bank_account_insights.rb b/lib/plaid/models/beacon_bank_account_insights.rb index 5495fcfdb..3e9c2b2ba 100644 --- a/lib/plaid/models/beacon_bank_account_insights.rb +++ b/lib/plaid/models/beacon_bank_account_insights.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_bank_accounts.rb b/lib/plaid/models/beacon_bank_accounts.rb index 1e7fbd67c..fbdda7475 100644 --- a/lib/plaid/models/beacon_bank_accounts.rb +++ b/lib/plaid/models/beacon_bank_accounts.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_duplicate_detected_webhook.rb b/lib/plaid/models/beacon_duplicate_detected_webhook.rb index 4942329a5..b7a55d092 100644 --- a/lib/plaid/models/beacon_duplicate_detected_webhook.rb +++ b/lib/plaid/models/beacon_duplicate_detected_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_duplicate_get_request.rb b/lib/plaid/models/beacon_duplicate_get_request.rb index b08b2a982..9f35cf92c 100644 --- a/lib/plaid/models/beacon_duplicate_get_request.rb +++ b/lib/plaid/models/beacon_duplicate_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_duplicate_get_response.rb b/lib/plaid/models/beacon_duplicate_get_response.rb index b68438fd0..3c2a0abb4 100644 --- a/lib/plaid/models/beacon_duplicate_get_response.rb +++ b/lib/plaid/models/beacon_duplicate_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_match_summary_analysis.rb b/lib/plaid/models/beacon_match_summary_analysis.rb index a43e80d81..adc32cd45 100644 --- a/lib/plaid/models/beacon_match_summary_analysis.rb +++ b/lib/plaid/models/beacon_match_summary_analysis.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_match_summary_code.rb b/lib/plaid/models/beacon_match_summary_code.rb index bb26d1ba2..0dc66cd4d 100644 --- a/lib/plaid/models/beacon_match_summary_code.rb +++ b/lib/plaid/models/beacon_match_summary_code.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_report.rb b/lib/plaid/models/beacon_report.rb index cc13adbf7..aa91e57a3 100644 --- a/lib/plaid/models/beacon_report.rb +++ b/lib/plaid/models/beacon_report.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -30,6 +30,9 @@ class BeaconReport # A date in the format YYYY-MM-DD (RFC 3339 Section 5.6). attr_accessor :fraud_date + # A date in the format YYYY-MM-DD (RFC 3339 Section 5.6). + attr_accessor :event_date + attr_accessor :fraud_amount attr_accessor :audit_trail @@ -64,6 +67,7 @@ def self.attribute_map :'created_at' => :'created_at', :'type' => :'type', :'fraud_date' => :'fraud_date', + :'event_date' => :'event_date', :'fraud_amount' => :'fraud_amount', :'audit_trail' => :'audit_trail' } @@ -82,6 +86,7 @@ def self.openapi_types :'created_at' => :'Time', :'type' => :'BeaconReportType', :'fraud_date' => :'Date', + :'event_date' => :'Date', :'fraud_amount' => :'FraudAmount', :'audit_trail' => :'BeaconAuditTrail' } @@ -90,6 +95,7 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'fraud_date', :'fraud_amount', ]) end @@ -129,6 +135,10 @@ def initialize(attributes = {}) self.fraud_date = attributes[:'fraud_date'] end + if attributes.key?(:'event_date') + self.event_date = attributes[:'event_date'] + end + if attributes.key?(:'fraud_amount') self.fraud_amount = attributes[:'fraud_amount'] end @@ -158,8 +168,8 @@ def list_invalid_properties invalid_properties.push('invalid value for "type", type cannot be nil.') end - if @fraud_date.nil? - invalid_properties.push('invalid value for "fraud_date", fraud_date cannot be nil.') + if @event_date.nil? + invalid_properties.push('invalid value for "event_date", event_date cannot be nil.') end if @audit_trail.nil? @@ -176,7 +186,7 @@ def valid? return false if @beacon_user_id.nil? return false if @created_at.nil? return false if @type.nil? - return false if @fraud_date.nil? + return false if @event_date.nil? return false if @audit_trail.nil? true end @@ -191,6 +201,7 @@ def ==(o) created_at == o.created_at && type == o.type && fraud_date == o.fraud_date && + event_date == o.event_date && fraud_amount == o.fraud_amount && audit_trail == o.audit_trail end @@ -204,7 +215,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [id, beacon_user_id, created_at, type, fraud_date, fraud_amount, audit_trail].hash + [id, beacon_user_id, created_at, type, fraud_date, event_date, fraud_amount, audit_trail].hash end # Builds the object from hash diff --git a/lib/plaid/models/beacon_report_create_request.rb b/lib/plaid/models/beacon_report_create_request.rb index 4d5132833..3b89c69ab 100644 --- a/lib/plaid/models/beacon_report_create_request.rb +++ b/lib/plaid/models/beacon_report_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -75,7 +75,7 @@ def self.acceptable_attributes def self.openapi_types { :'beacon_user_id' => :'String', - :'type' => :'BeaconReportType', + :'type' => :'BeaconReportCreateType', :'fraud_date' => :'Date', :'fraud_amount' => :'FraudAmount', :'client_id' => :'String', diff --git a/lib/plaid/models/beacon_report_create_response.rb b/lib/plaid/models/beacon_report_create_response.rb index 30f21a8aa..d48401411 100644 --- a/lib/plaid/models/beacon_report_create_response.rb +++ b/lib/plaid/models/beacon_report_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -30,6 +30,9 @@ class BeaconReportCreateResponse # A date in the format YYYY-MM-DD (RFC 3339 Section 5.6). attr_accessor :fraud_date + # A date in the format YYYY-MM-DD (RFC 3339 Section 5.6). + attr_accessor :event_date + attr_accessor :fraud_amount attr_accessor :audit_trail @@ -67,6 +70,7 @@ def self.attribute_map :'created_at' => :'created_at', :'type' => :'type', :'fraud_date' => :'fraud_date', + :'event_date' => :'event_date', :'fraud_amount' => :'fraud_amount', :'audit_trail' => :'audit_trail', :'request_id' => :'request_id' @@ -86,6 +90,7 @@ def self.openapi_types :'created_at' => :'Time', :'type' => :'BeaconReportType', :'fraud_date' => :'Date', + :'event_date' => :'Date', :'fraud_amount' => :'FraudAmount', :'audit_trail' => :'BeaconAuditTrail', :'request_id' => :'String' @@ -95,6 +100,7 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'fraud_date', :'fraud_amount', ]) end @@ -134,6 +140,10 @@ def initialize(attributes = {}) self.fraud_date = attributes[:'fraud_date'] end + if attributes.key?(:'event_date') + self.event_date = attributes[:'event_date'] + end + if attributes.key?(:'fraud_amount') self.fraud_amount = attributes[:'fraud_amount'] end @@ -167,8 +177,8 @@ def list_invalid_properties invalid_properties.push('invalid value for "type", type cannot be nil.') end - if @fraud_date.nil? - invalid_properties.push('invalid value for "fraud_date", fraud_date cannot be nil.') + if @event_date.nil? + invalid_properties.push('invalid value for "event_date", event_date cannot be nil.') end if @audit_trail.nil? @@ -189,7 +199,7 @@ def valid? return false if @beacon_user_id.nil? return false if @created_at.nil? return false if @type.nil? - return false if @fraud_date.nil? + return false if @event_date.nil? return false if @audit_trail.nil? return false if @request_id.nil? true @@ -205,6 +215,7 @@ def ==(o) created_at == o.created_at && type == o.type && fraud_date == o.fraud_date && + event_date == o.event_date && fraud_amount == o.fraud_amount && audit_trail == o.audit_trail && request_id == o.request_id @@ -219,7 +230,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [id, beacon_user_id, created_at, type, fraud_date, fraud_amount, audit_trail, request_id].hash + [id, beacon_user_id, created_at, type, fraud_date, event_date, fraud_amount, audit_trail, request_id].hash end # Builds the object from hash diff --git a/lib/plaid/models/beacon_report_create_type.rb b/lib/plaid/models/beacon_report_create_type.rb new file mode 100644 index 000000000..a9076d498 --- /dev/null +++ b/lib/plaid/models/beacon_report_create_type.rb @@ -0,0 +1,43 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + class BeaconReportCreateType + FIRST_PARTY = "first_party".freeze + STOLEN = "stolen".freeze + SYNTHETIC = "synthetic".freeze + ACCOUNT_TAKEOVER = "account_takeover".freeze + DATA_BREACH = "data_breach".freeze + UNKNOWN = "unknown".freeze + + # Builds the enum from string + # @param [String] The enum value in the form of the string + # @return [String] The enum value + def self.build_from_hash(value) + new.build_from_hash(value) + end + + # Builds the enum from string + # @param [String] The enum value in the form of the string + # @return [String] The enum value + def build_from_hash(value) + # We do not validate that the value is one of the enums set in the OpenAPI + # file because we want to be able to add to our list of enums without + # breaking this client library. + value + end + end + +end diff --git a/lib/plaid/models/beacon_report_created_webhook.rb b/lib/plaid/models/beacon_report_created_webhook.rb index f32d45660..b33a5fee0 100644 --- a/lib/plaid/models/beacon_report_created_webhook.rb +++ b/lib/plaid/models/beacon_report_created_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_report_get_request.rb b/lib/plaid/models/beacon_report_get_request.rb index e3a7c992e..d0f3e937f 100644 --- a/lib/plaid/models/beacon_report_get_request.rb +++ b/lib/plaid/models/beacon_report_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_report_get_response.rb b/lib/plaid/models/beacon_report_get_response.rb index b4b7c21ed..d8e058f89 100644 --- a/lib/plaid/models/beacon_report_get_response.rb +++ b/lib/plaid/models/beacon_report_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -30,6 +30,9 @@ class BeaconReportGetResponse # A date in the format YYYY-MM-DD (RFC 3339 Section 5.6). attr_accessor :fraud_date + # A date in the format YYYY-MM-DD (RFC 3339 Section 5.6). + attr_accessor :event_date + attr_accessor :fraud_amount attr_accessor :audit_trail @@ -67,6 +70,7 @@ def self.attribute_map :'created_at' => :'created_at', :'type' => :'type', :'fraud_date' => :'fraud_date', + :'event_date' => :'event_date', :'fraud_amount' => :'fraud_amount', :'audit_trail' => :'audit_trail', :'request_id' => :'request_id' @@ -86,6 +90,7 @@ def self.openapi_types :'created_at' => :'Time', :'type' => :'BeaconReportType', :'fraud_date' => :'Date', + :'event_date' => :'Date', :'fraud_amount' => :'FraudAmount', :'audit_trail' => :'BeaconAuditTrail', :'request_id' => :'String' @@ -95,6 +100,7 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'fraud_date', :'fraud_amount', ]) end @@ -134,6 +140,10 @@ def initialize(attributes = {}) self.fraud_date = attributes[:'fraud_date'] end + if attributes.key?(:'event_date') + self.event_date = attributes[:'event_date'] + end + if attributes.key?(:'fraud_amount') self.fraud_amount = attributes[:'fraud_amount'] end @@ -167,8 +177,8 @@ def list_invalid_properties invalid_properties.push('invalid value for "type", type cannot be nil.') end - if @fraud_date.nil? - invalid_properties.push('invalid value for "fraud_date", fraud_date cannot be nil.') + if @event_date.nil? + invalid_properties.push('invalid value for "event_date", event_date cannot be nil.') end if @audit_trail.nil? @@ -189,7 +199,7 @@ def valid? return false if @beacon_user_id.nil? return false if @created_at.nil? return false if @type.nil? - return false if @fraud_date.nil? + return false if @event_date.nil? return false if @audit_trail.nil? return false if @request_id.nil? true @@ -205,6 +215,7 @@ def ==(o) created_at == o.created_at && type == o.type && fraud_date == o.fraud_date && + event_date == o.event_date && fraud_amount == o.fraud_amount && audit_trail == o.audit_trail && request_id == o.request_id @@ -219,7 +230,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [id, beacon_user_id, created_at, type, fraud_date, fraud_amount, audit_trail, request_id].hash + [id, beacon_user_id, created_at, type, fraud_date, event_date, fraud_amount, audit_trail, request_id].hash end # Builds the object from hash diff --git a/lib/plaid/models/beacon_report_list_request.rb b/lib/plaid/models/beacon_report_list_request.rb index 09a5eaf2c..d87f5beeb 100644 --- a/lib/plaid/models/beacon_report_list_request.rb +++ b/lib/plaid/models/beacon_report_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_report_list_response.rb b/lib/plaid/models/beacon_report_list_response.rb index a42ef7844..1da544d87 100644 --- a/lib/plaid/models/beacon_report_list_response.rb +++ b/lib/plaid/models/beacon_report_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_report_syndication.rb b/lib/plaid/models/beacon_report_syndication.rb index 32439fa0f..a7f2e69e7 100644 --- a/lib/plaid/models/beacon_report_syndication.rb +++ b/lib/plaid/models/beacon_report_syndication.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_report_syndication_analysis.rb b/lib/plaid/models/beacon_report_syndication_analysis.rb index cf190ca75..a343c1016 100644 --- a/lib/plaid/models/beacon_report_syndication_analysis.rb +++ b/lib/plaid/models/beacon_report_syndication_analysis.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -30,6 +30,8 @@ class BeaconReportSyndicationAnalysis attr_accessor :phone_number + attr_accessor :depository_accounts + class EnumAttributeValidator attr_reader :datatype attr_reader :allowable_values @@ -61,7 +63,8 @@ def self.attribute_map :'name' => :'name', :'id_number' => :'id_number', :'ip_address' => :'ip_address', - :'phone_number' => :'phone_number' + :'phone_number' => :'phone_number', + :'depository_accounts' => :'depository_accounts' } end @@ -79,7 +82,8 @@ def self.openapi_types :'name' => :'BeaconMatchSummaryCode', :'id_number' => :'BeaconMatchSummaryCode', :'ip_address' => :'BeaconMatchSummaryCode', - :'phone_number' => :'BeaconMatchSummaryCode' + :'phone_number' => :'BeaconMatchSummaryCode', + :'depository_accounts' => :'Array' } end @@ -131,6 +135,12 @@ def initialize(attributes = {}) if attributes.key?(:'phone_number') self.phone_number = attributes[:'phone_number'] end + + if attributes.key?(:'depository_accounts') + if (value = attributes[:'depository_accounts']).is_a?(Array) + self.depository_accounts = value + end + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -165,6 +175,10 @@ def list_invalid_properties invalid_properties.push('invalid value for "phone_number", phone_number cannot be nil.') end + if @depository_accounts.nil? + invalid_properties.push('invalid value for "depository_accounts", depository_accounts cannot be nil.') + end + invalid_properties end @@ -178,6 +192,7 @@ def valid? return false if @id_number.nil? return false if @ip_address.nil? return false if @phone_number.nil? + return false if @depository_accounts.nil? true end @@ -192,7 +207,8 @@ def ==(o) name == o.name && id_number == o.id_number && ip_address == o.ip_address && - phone_number == o.phone_number + phone_number == o.phone_number && + depository_accounts == o.depository_accounts end # @see the `==` method @@ -204,7 +220,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [address, date_of_birth, email_address, name, id_number, ip_address, phone_number].hash + [address, date_of_birth, email_address, name, id_number, ip_address, phone_number, depository_accounts].hash end # Builds the object from hash diff --git a/lib/plaid/models/beacon_report_syndication_created_webhook.rb b/lib/plaid/models/beacon_report_syndication_created_webhook.rb index 315378d66..5ee4262d4 100644 --- a/lib/plaid/models/beacon_report_syndication_created_webhook.rb +++ b/lib/plaid/models/beacon_report_syndication_created_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_report_syndication_get_request.rb b/lib/plaid/models/beacon_report_syndication_get_request.rb index 986696be5..37f74eeca 100644 --- a/lib/plaid/models/beacon_report_syndication_get_request.rb +++ b/lib/plaid/models/beacon_report_syndication_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_report_syndication_get_response.rb b/lib/plaid/models/beacon_report_syndication_get_response.rb index 4f37aa6c1..38a4bf20f 100644 --- a/lib/plaid/models/beacon_report_syndication_get_response.rb +++ b/lib/plaid/models/beacon_report_syndication_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_report_syndication_list_request.rb b/lib/plaid/models/beacon_report_syndication_list_request.rb index f4647de53..65073fa9c 100644 --- a/lib/plaid/models/beacon_report_syndication_list_request.rb +++ b/lib/plaid/models/beacon_report_syndication_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_report_syndication_list_response.rb b/lib/plaid/models/beacon_report_syndication_list_response.rb index 56c33404f..5d0bbcddd 100644 --- a/lib/plaid/models/beacon_report_syndication_list_response.rb +++ b/lib/plaid/models/beacon_report_syndication_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_report_syndication_original_report.rb b/lib/plaid/models/beacon_report_syndication_original_report.rb index fa18788ab..c14c68797 100644 --- a/lib/plaid/models/beacon_report_syndication_original_report.rb +++ b/lib/plaid/models/beacon_report_syndication_original_report.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -27,6 +27,9 @@ class BeaconReportSyndicationOriginalReport # A date in the format YYYY-MM-DD (RFC 3339 Section 5.6). attr_accessor :fraud_date + # A date in the format YYYY-MM-DD (RFC 3339 Section 5.6). + attr_accessor :event_date + class EnumAttributeValidator attr_reader :datatype attr_reader :allowable_values @@ -55,7 +58,8 @@ def self.attribute_map :'id' => :'id', :'created_at' => :'created_at', :'type' => :'type', - :'fraud_date' => :'fraud_date' + :'fraud_date' => :'fraud_date', + :'event_date' => :'event_date' } end @@ -70,7 +74,8 @@ def self.openapi_types :'id' => :'String', :'created_at' => :'Time', :'type' => :'BeaconReportType', - :'fraud_date' => :'Date' + :'fraud_date' => :'Date', + :'event_date' => :'Date' } end @@ -78,6 +83,7 @@ def self.openapi_types def self.openapi_nullable Set.new([ :'id', + :'fraud_date', ]) end @@ -111,6 +117,10 @@ def initialize(attributes = {}) if attributes.key?(:'fraud_date') self.fraud_date = attributes[:'fraud_date'] end + + if attributes.key?(:'event_date') + self.event_date = attributes[:'event_date'] + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -125,8 +135,8 @@ def list_invalid_properties invalid_properties.push('invalid value for "type", type cannot be nil.') end - if @fraud_date.nil? - invalid_properties.push('invalid value for "fraud_date", fraud_date cannot be nil.') + if @event_date.nil? + invalid_properties.push('invalid value for "event_date", event_date cannot be nil.') end invalid_properties @@ -137,7 +147,7 @@ def list_invalid_properties def valid? return false if @created_at.nil? return false if @type.nil? - return false if @fraud_date.nil? + return false if @event_date.nil? true end @@ -149,7 +159,8 @@ def ==(o) id == o.id && created_at == o.created_at && type == o.type && - fraud_date == o.fraud_date + fraud_date == o.fraud_date && + event_date == o.event_date end # @see the `==` method @@ -161,7 +172,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [id, created_at, type, fraud_date].hash + [id, created_at, type, fraud_date, event_date].hash end # Builds the object from hash diff --git a/lib/plaid/models/beacon_report_type.rb b/lib/plaid/models/beacon_report_type.rb index cedb7e601..30f84480f 100644 --- a/lib/plaid/models/beacon_report_type.rb +++ b/lib/plaid/models/beacon_report_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -19,6 +19,7 @@ class BeaconReportType STOLEN = "stolen".freeze SYNTHETIC = "synthetic".freeze ACCOUNT_TAKEOVER = "account_takeover".freeze + DATA_BREACH = "data_breach".freeze UNKNOWN = "unknown".freeze # Builds the enum from string diff --git a/lib/plaid/models/beacon_report_updated_webhook.rb b/lib/plaid/models/beacon_report_updated_webhook.rb index 44ff513db..0056fc69e 100644 --- a/lib/plaid/models/beacon_report_updated_webhook.rb +++ b/lib/plaid/models/beacon_report_updated_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_syndicated_report_depository_account_match_analysis.rb b/lib/plaid/models/beacon_syndicated_report_depository_account_match_analysis.rb new file mode 100644 index 000000000..7ea6eb2c7 --- /dev/null +++ b/lib/plaid/models/beacon_syndicated_report_depository_account_match_analysis.rb @@ -0,0 +1,277 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Analysis of whether this account matched between the originally reported Beacon User and the Beacon User that the report syndicated to. + class BeaconSyndicatedReportDepositoryAccountMatchAnalysis + # The last 2-4 numeric characters of this account’s account number. + attr_accessor :account_mask + + # The routing number of the account. + attr_accessor :routing_number + + attr_accessor :match_status + + class EnumAttributeValidator + attr_reader :datatype + attr_reader :allowable_values + + def initialize(datatype, allowable_values) + @allowable_values = allowable_values.map do |value| + case datatype.to_s + when /Integer/i + value.to_i + when /Float/i + value.to_f + else + value + end + end + end + + def valid?(value) + !value || allowable_values.include?(value) + end + end + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'account_mask' => :'account_mask', + :'routing_number' => :'routing_number', + :'match_status' => :'match_status' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'account_mask' => :'String', + :'routing_number' => :'String', + :'match_status' => :'BeaconMatchSummaryCode' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::BeaconSyndicatedReportDepositoryAccountMatchAnalysis` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::BeaconSyndicatedReportDepositoryAccountMatchAnalysis`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'account_mask') + self.account_mask = attributes[:'account_mask'] + end + + if attributes.key?(:'routing_number') + self.routing_number = attributes[:'routing_number'] + end + + if attributes.key?(:'match_status') + self.match_status = attributes[:'match_status'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @account_mask.nil? + invalid_properties.push('invalid value for "account_mask", account_mask cannot be nil.') + end + + if @routing_number.nil? + invalid_properties.push('invalid value for "routing_number", routing_number cannot be nil.') + end + + if @match_status.nil? + invalid_properties.push('invalid value for "match_status", match_status cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @account_mask.nil? + return false if @routing_number.nil? + return false if @match_status.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + account_mask == o.account_mask && + routing_number == o.routing_number && + match_status == o.match_status + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [account_mask, routing_number, match_status].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/beacon_user.rb b/lib/plaid/models/beacon_user.rb index cc41ad221..cfe36ff60 100644 --- a/lib/plaid/models/beacon_user.rb +++ b/lib/plaid/models/beacon_user.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_user_account_insights_get_request.rb b/lib/plaid/models/beacon_user_account_insights_get_request.rb index 4ab79a64f..51025ced4 100644 --- a/lib/plaid/models/beacon_user_account_insights_get_request.rb +++ b/lib/plaid/models/beacon_user_account_insights_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_user_account_insights_get_response.rb b/lib/plaid/models/beacon_user_account_insights_get_response.rb index 8e715fea3..de676ab1c 100644 --- a/lib/plaid/models/beacon_user_account_insights_get_response.rb +++ b/lib/plaid/models/beacon_user_account_insights_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_user_address.rb b/lib/plaid/models/beacon_user_address.rb index 065710418..6db4ba1a2 100644 --- a/lib/plaid/models/beacon_user_address.rb +++ b/lib/plaid/models/beacon_user_address.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -19,7 +19,7 @@ class BeaconUserAddress # The primary street portion of an address. If an address is provided, this field will always be filled. A string with at least one non-whitespace alphabetical character, with a max length of 80 characters. attr_accessor :street - # Extra street information, like an apartment or suite number. If provided, a string with at least one non-whitespace character, with a max length of 20 characters. + # Extra street information, like an apartment or suite number. If provided, a string with at least one non-whitespace character, with a max length of 50 characters. attr_accessor :street2 # City from the end user's address. A string with at least one non-whitespace alphabetical character, with a max length of 100 characters.\" diff --git a/lib/plaid/models/beacon_user_create_request.rb b/lib/plaid/models/beacon_user_create_request.rb index b1c8bdaa1..4d38b361e 100644 --- a/lib/plaid/models/beacon_user_create_request.rb +++ b/lib/plaid/models/beacon_user_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -24,7 +24,7 @@ class BeaconUserCreateRequest attr_accessor :user - # Send this array of access tokens to link accounts to the Beacon User and have them evaluated for Account Insights. A maximum of 50 accounts total can be added to a single Beacon User. + # Send this array of access tokens to link accounts to the Beacon User and have them evaluated for Account Insights. A maximum of 50 accounts total can be added to a single Beacon User. attr_accessor :access_tokens # Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body. diff --git a/lib/plaid/models/beacon_user_create_response.rb b/lib/plaid/models/beacon_user_create_response.rb index 140f9eeaa..ef5f3afaa 100644 --- a/lib/plaid/models/beacon_user_create_response.rb +++ b/lib/plaid/models/beacon_user_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_user_data.rb b/lib/plaid/models/beacon_user_data.rb index 5d787459e..45be44039 100644 --- a/lib/plaid/models/beacon_user_data.rb +++ b/lib/plaid/models/beacon_user_data.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -23,7 +23,7 @@ class BeaconUserData attr_accessor :address - # A valid email address. + # A valid email address. Must not have leading or trailing spaces. attr_accessor :email_address # A phone number in E.164 format. @@ -34,6 +34,8 @@ class BeaconUserData # An IPv4 or IPV6 address. attr_accessor :ip_address + attr_accessor :depository_accounts + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { @@ -43,7 +45,8 @@ def self.attribute_map :'email_address' => :'email_address', :'phone_number' => :'phone_number', :'id_number' => :'id_number', - :'ip_address' => :'ip_address' + :'ip_address' => :'ip_address', + :'depository_accounts' => :'depository_accounts' } end @@ -61,7 +64,8 @@ def self.openapi_types :'email_address' => :'String', :'phone_number' => :'String', :'id_number' => :'BeaconUserIDNumber', - :'ip_address' => :'String' + :'ip_address' => :'String', + :'depository_accounts' => :'Array' } end @@ -71,7 +75,7 @@ def self.openapi_nullable :'email_address', :'phone_number', :'id_number', - :'ip_address' + :'ip_address', ]) end @@ -117,6 +121,12 @@ def initialize(attributes = {}) if attributes.key?(:'ip_address') self.ip_address = attributes[:'ip_address'] end + + if attributes.key?(:'depository_accounts') + if (value = attributes[:'depository_accounts']).is_a?(Array) + self.depository_accounts = value + end + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -135,6 +145,10 @@ def list_invalid_properties invalid_properties.push('invalid value for "address", address cannot be nil.') end + if @depository_accounts.nil? + invalid_properties.push('invalid value for "depository_accounts", depository_accounts cannot be nil.') + end + invalid_properties end @@ -144,6 +158,7 @@ def valid? return false if @date_of_birth.nil? return false if @name.nil? return false if @address.nil? + return false if @depository_accounts.nil? true end @@ -158,7 +173,8 @@ def ==(o) email_address == o.email_address && phone_number == o.phone_number && id_number == o.id_number && - ip_address == o.ip_address + ip_address == o.ip_address && + depository_accounts == o.depository_accounts end # @see the `==` method @@ -170,7 +186,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [date_of_birth, name, address, email_address, phone_number, id_number, ip_address].hash + [date_of_birth, name, address, email_address, phone_number, id_number, ip_address, depository_accounts].hash end # Builds the object from hash diff --git a/lib/plaid/models/beacon_user_depository_account.rb b/lib/plaid/models/beacon_user_depository_account.rb new file mode 100644 index 000000000..175cd8afb --- /dev/null +++ b/lib/plaid/models/beacon_user_depository_account.rb @@ -0,0 +1,256 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Depository account information for the associated user. + class BeaconUserDepositoryAccount + # The last 2-4 numeric characters of this account’s account number. + attr_accessor :account_mask + + # The routing number of the account. + attr_accessor :routing_number + + # An ISO8601 formatted timestamp. + attr_accessor :added_at + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'account_mask' => :'account_mask', + :'routing_number' => :'routing_number', + :'added_at' => :'added_at' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'account_mask' => :'String', + :'routing_number' => :'String', + :'added_at' => :'Time' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::BeaconUserDepositoryAccount` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::BeaconUserDepositoryAccount`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'account_mask') + self.account_mask = attributes[:'account_mask'] + end + + if attributes.key?(:'routing_number') + self.routing_number = attributes[:'routing_number'] + end + + if attributes.key?(:'added_at') + self.added_at = attributes[:'added_at'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @account_mask.nil? + invalid_properties.push('invalid value for "account_mask", account_mask cannot be nil.') + end + + if @routing_number.nil? + invalid_properties.push('invalid value for "routing_number", routing_number cannot be nil.') + end + + if @added_at.nil? + invalid_properties.push('invalid value for "added_at", added_at cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @account_mask.nil? + return false if @routing_number.nil? + return false if @added_at.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + account_mask == o.account_mask && + routing_number == o.routing_number && + added_at == o.added_at + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [account_mask, routing_number, added_at].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/beacon_user_get_request.rb b/lib/plaid/models/beacon_user_get_request.rb index b64af8288..c74947300 100644 --- a/lib/plaid/models/beacon_user_get_request.rb +++ b/lib/plaid/models/beacon_user_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_user_get_response.rb b/lib/plaid/models/beacon_user_get_response.rb index 67bc5f907..65815c4d9 100644 --- a/lib/plaid/models/beacon_user_get_response.rb +++ b/lib/plaid/models/beacon_user_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_user_history_list_request.rb b/lib/plaid/models/beacon_user_history_list_request.rb index dedcae4d3..182d48f9d 100644 --- a/lib/plaid/models/beacon_user_history_list_request.rb +++ b/lib/plaid/models/beacon_user_history_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_user_history_list_response.rb b/lib/plaid/models/beacon_user_history_list_response.rb index cae25dd51..9891f8a2c 100644 --- a/lib/plaid/models/beacon_user_history_list_response.rb +++ b/lib/plaid/models/beacon_user_history_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_user_id_number.rb b/lib/plaid/models/beacon_user_id_number.rb index 651a4a726..1284d3873 100644 --- a/lib/plaid/models/beacon_user_id_number.rb +++ b/lib/plaid/models/beacon_user_id_number.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_user_name.rb b/lib/plaid/models/beacon_user_name.rb index 7aaf33b2e..cb5159e16 100644 --- a/lib/plaid/models/beacon_user_name.rb +++ b/lib/plaid/models/beacon_user_name.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_user_name_nullable.rb b/lib/plaid/models/beacon_user_name_nullable.rb index 987486cb5..2b3b3e02a 100644 --- a/lib/plaid/models/beacon_user_name_nullable.rb +++ b/lib/plaid/models/beacon_user_name_nullable.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_user_request_address.rb b/lib/plaid/models/beacon_user_request_address.rb index 480f4d2ad..4bdf0f336 100644 --- a/lib/plaid/models/beacon_user_request_address.rb +++ b/lib/plaid/models/beacon_user_request_address.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -19,7 +19,7 @@ class BeaconUserRequestAddress # The primary street portion of an address. If an address is provided, this field will always be filled. A string with at least one non-whitespace alphabetical character, with a max length of 80 characters. attr_accessor :street - # Extra street information, like an apartment or suite number. If provided, a string with at least one non-whitespace character, with a max length of 20 characters. + # Extra street information, like an apartment or suite number. If provided, a string with at least one non-whitespace character, with a max length of 50 characters. attr_accessor :street2 # City from the end user's address. A string with at least one non-whitespace alphabetical character, with a max length of 100 characters.\" diff --git a/lib/plaid/models/beacon_user_request_address_nullable.rb b/lib/plaid/models/beacon_user_request_address_nullable.rb index 4a61b216b..1175f36df 100644 --- a/lib/plaid/models/beacon_user_request_address_nullable.rb +++ b/lib/plaid/models/beacon_user_request_address_nullable.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -19,7 +19,7 @@ class BeaconUserRequestAddressNullable # The primary street portion of an address. If an address is provided, this field will always be filled. A string with at least one non-whitespace alphabetical character, with a max length of 80 characters. attr_accessor :street - # Extra street information, like an apartment or suite number. If provided, a string with at least one non-whitespace character, with a max length of 20 characters. + # Extra street information, like an apartment or suite number. If provided, a string with at least one non-whitespace character, with a max length of 50 characters. attr_accessor :street2 # City from the end user's address. A string with at least one non-whitespace alphabetical character, with a max length of 100 characters.\" diff --git a/lib/plaid/models/beacon_user_request_data.rb b/lib/plaid/models/beacon_user_request_data.rb index 350f45523..eda5b5ba9 100644 --- a/lib/plaid/models/beacon_user_request_data.rb +++ b/lib/plaid/models/beacon_user_request_data.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,7 +14,7 @@ require 'time' module Plaid - # A Beacon User's data which is used to check against duplicate records and the Beacon Fraud Network. + # A Beacon User's data which is used to check against duplicate records and the Beacon Fraud Network. In order to create a Beacon User, in addition to the `name`, _either_ the `date_of_birth` _or_ the `depository_accounts` field must be provided. class BeaconUserRequestData # A date in the format YYYY-MM-DD (RFC 3339 Section 5.6). attr_accessor :date_of_birth @@ -23,7 +23,7 @@ class BeaconUserRequestData attr_accessor :address - # A valid email address. + # A valid email address. Must not have leading or trailing spaces. attr_accessor :email_address # A phone number in E.164 format. @@ -34,6 +34,9 @@ class BeaconUserRequestData # An IPv4 or IPV6 address. attr_accessor :ip_address + # Provide a list of bank accounts that are associated with this Beacon User. These accounts will be scanned across the Beacon Network and used to find duplicate records. Note: These accounts will not have Bank Account Insights. To receive Bank Account Insights please supply `access_tokens`. + attr_accessor :depository_accounts + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { @@ -43,7 +46,8 @@ def self.attribute_map :'email_address' => :'email_address', :'phone_number' => :'phone_number', :'id_number' => :'id_number', - :'ip_address' => :'ip_address' + :'ip_address' => :'ip_address', + :'depository_accounts' => :'depository_accounts' } end @@ -61,7 +65,8 @@ def self.openapi_types :'email_address' => :'String', :'phone_number' => :'String', :'id_number' => :'BeaconUserIDNumber', - :'ip_address' => :'String' + :'ip_address' => :'String', + :'depository_accounts' => :'Array' } end @@ -71,7 +76,7 @@ def self.openapi_nullable :'address', :'phone_number', :'id_number', - :'ip_address' + :'ip_address', ]) end @@ -117,16 +122,18 @@ def initialize(attributes = {}) if attributes.key?(:'ip_address') self.ip_address = attributes[:'ip_address'] end + + if attributes.key?(:'depository_accounts') + if (value = attributes[:'depository_accounts']).is_a?(Array) + self.depository_accounts = value + end + end end # Show invalid properties with the reasons. Usually used together with valid? # @return Array for valid properties with the reasons def list_invalid_properties invalid_properties = Array.new - if @date_of_birth.nil? - invalid_properties.push('invalid value for "date_of_birth", date_of_birth cannot be nil.') - end - if @name.nil? invalid_properties.push('invalid value for "name", name cannot be nil.') end @@ -137,7 +144,6 @@ def list_invalid_properties # Check to see if the all the properties in the model are valid # @return true if the model is valid def valid? - return false if @date_of_birth.nil? return false if @name.nil? true end @@ -153,7 +159,8 @@ def ==(o) email_address == o.email_address && phone_number == o.phone_number && id_number == o.id_number && - ip_address == o.ip_address + ip_address == o.ip_address && + depository_accounts == o.depository_accounts end # @see the `==` method @@ -165,7 +172,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [date_of_birth, name, address, email_address, phone_number, id_number, ip_address].hash + [date_of_birth, name, address, email_address, phone_number, id_number, ip_address, depository_accounts].hash end # Builds the object from hash diff --git a/lib/plaid/models/beacon_user_request_depository_account.rb b/lib/plaid/models/beacon_user_request_depository_account.rb new file mode 100644 index 000000000..5ff4d777a --- /dev/null +++ b/lib/plaid/models/beacon_user_request_depository_account.rb @@ -0,0 +1,241 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Depository account information for the associated user. + class BeaconUserRequestDepositoryAccount + # Must be a valid US Bank Account Number + attr_accessor :account_number + + # The routing number of the account. + attr_accessor :routing_number + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'account_number' => :'account_number', + :'routing_number' => :'routing_number' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'account_number' => :'String', + :'routing_number' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::BeaconUserRequestDepositoryAccount` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::BeaconUserRequestDepositoryAccount`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'account_number') + self.account_number = attributes[:'account_number'] + end + + if attributes.key?(:'routing_number') + self.routing_number = attributes[:'routing_number'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @account_number.nil? + invalid_properties.push('invalid value for "account_number", account_number cannot be nil.') + end + + if @routing_number.nil? + invalid_properties.push('invalid value for "routing_number", routing_number cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @account_number.nil? + return false if @routing_number.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + account_number == o.account_number && + routing_number == o.routing_number + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [account_number, routing_number].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/beacon_user_review_request.rb b/lib/plaid/models/beacon_user_review_request.rb index 03ed05f9d..b3818d116 100644 --- a/lib/plaid/models/beacon_user_review_request.rb +++ b/lib/plaid/models/beacon_user_review_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_user_revision.rb b/lib/plaid/models/beacon_user_revision.rb index 557993fe0..8f539e2aa 100644 --- a/lib/plaid/models/beacon_user_revision.rb +++ b/lib/plaid/models/beacon_user_revision.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_user_status.rb b/lib/plaid/models/beacon_user_status.rb index 06eaf9704..7ea8e7cfa 100644 --- a/lib/plaid/models/beacon_user_status.rb +++ b/lib/plaid/models/beacon_user_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_user_status_updated_webhook.rb b/lib/plaid/models/beacon_user_status_updated_webhook.rb index 9afebe363..d2596d389 100644 --- a/lib/plaid/models/beacon_user_status_updated_webhook.rb +++ b/lib/plaid/models/beacon_user_status_updated_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_user_update_request.rb b/lib/plaid/models/beacon_user_update_request.rb index 57df07484..d6b86c425 100644 --- a/lib/plaid/models/beacon_user_update_request.rb +++ b/lib/plaid/models/beacon_user_update_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_user_update_request_data.rb b/lib/plaid/models/beacon_user_update_request_data.rb index c4fc4ca60..ce8a0870d 100644 --- a/lib/plaid/models/beacon_user_update_request_data.rb +++ b/lib/plaid/models/beacon_user_update_request_data.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -23,7 +23,7 @@ class BeaconUserUpdateRequestData attr_accessor :address - # A valid email address. + # A valid email address. Must not have leading or trailing spaces. attr_accessor :email_address # A phone number in E.164 format. @@ -34,6 +34,8 @@ class BeaconUserUpdateRequestData # An IPv4 or IPV6 address. attr_accessor :ip_address + attr_accessor :depository_accounts + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { @@ -43,7 +45,8 @@ def self.attribute_map :'email_address' => :'email_address', :'phone_number' => :'phone_number', :'id_number' => :'id_number', - :'ip_address' => :'ip_address' + :'ip_address' => :'ip_address', + :'depository_accounts' => :'depository_accounts' } end @@ -61,7 +64,8 @@ def self.openapi_types :'email_address' => :'String', :'phone_number' => :'String', :'id_number' => :'BeaconUserIDNumber', - :'ip_address' => :'String' + :'ip_address' => :'String', + :'depository_accounts' => :'Array' } end @@ -72,7 +76,7 @@ def self.openapi_nullable :'address', :'phone_number', :'id_number', - :'ip_address' + :'ip_address', ]) end @@ -118,6 +122,12 @@ def initialize(attributes = {}) if attributes.key?(:'ip_address') self.ip_address = attributes[:'ip_address'] end + + if attributes.key?(:'depository_accounts') + if (value = attributes[:'depository_accounts']).is_a?(Array) + self.depository_accounts = value + end + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -144,7 +154,8 @@ def ==(o) email_address == o.email_address && phone_number == o.phone_number && id_number == o.id_number && - ip_address == o.ip_address + ip_address == o.ip_address && + depository_accounts == o.depository_accounts end # @see the `==` method @@ -156,7 +167,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [date_of_birth, name, address, email_address, phone_number, id_number, ip_address].hash + [date_of_birth, name, address, email_address, phone_number, id_number, ip_address, depository_accounts].hash end # Builds the object from hash diff --git a/lib/plaid/models/beacon_user_update_response.rb b/lib/plaid/models/beacon_user_update_response.rb index 8581c9d71..94dd99796 100644 --- a/lib/plaid/models/beacon_user_update_response.rb +++ b/lib/plaid/models/beacon_user_update_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cashflow_attributes_version.rb b/lib/plaid/models/cashflow_attributes_version.rb new file mode 100644 index 000000000..b7aac308e --- /dev/null +++ b/lib/plaid/models/cashflow_attributes_version.rb @@ -0,0 +1,38 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + class CashflowAttributesVersion + V1_0 = "v1.0".freeze + + # Builds the enum from string + # @param [String] The enum value in the form of the string + # @return [String] The enum value + def self.build_from_hash(value) + new.build_from_hash(value) + end + + # Builds the enum from string + # @param [String] The enum value in the form of the string + # @return [String] The enum value + def build_from_hash(value) + # We do not validate that the value is one of the enums set in the OpenAPI + # file because we want to be able to add to our list of enums without + # breaking this client library. + value + end + end + +end diff --git a/lib/plaid/models/categories_get_response.rb b/lib/plaid/models/categories_get_response.rb index 40253c1fb..003cffc2c 100644 --- a/lib/plaid/models/categories_get_response.rb +++ b/lib/plaid/models/categories_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/category.rb b/lib/plaid/models/category.rb index f4e6b6a2c..37893d68e 100644 --- a/lib/plaid/models/category.rb +++ b/lib/plaid/models/category.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/category_insight_details.rb b/lib/plaid/models/category_insight_details.rb index 1e9a774b1..3e5786de1 100644 --- a/lib/plaid/models/category_insight_details.rb +++ b/lib/plaid/models/category_insight_details.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/category_insights.rb b/lib/plaid/models/category_insights.rb index 04ed81585..343ccdddb 100644 --- a/lib/plaid/models/category_insights.rb +++ b/lib/plaid/models/category_insights.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cause.rb b/lib/plaid/models/cause.rb index 45bd65561..f1ccefca4 100644 --- a/lib/plaid/models/cause.rb +++ b/lib/plaid/models/cause.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -21,6 +21,9 @@ class Cause # The particular error code. Safe for programmatic use. attr_accessor :error_code + # The specific reason for the error code. Currently, reasons are only supported OAuth-based item errors; `null` will be returned otherwise. Safe for programmatic use. Possible values: `OAUTH_INVALID_TOKEN`: The user’s OAuth connection to this institution has been invalidated. `OAUTH_CONSENT_EXPIRED`: The user's access consent for this OAuth connection to this institution has expired. `OAUTH_REVOKED_TOKEN`: The user’s OAuth connection to this institution is invalid because the user revoked their connection. + attr_accessor :error_code_reason + # A developer-friendly representation of the error code. This may change over time and is not safe for programmatic use. attr_accessor :error_message @@ -30,7 +33,7 @@ class Cause # A unique ID identifying the request, to be used for troubleshooting purposes. This field will be omitted in errors provided by webhooks. attr_accessor :request_id - # In the Assets product, a request can pertain to more than one Item. If an error is returned for such a request, `causes` will return an array of errors containing a breakdown of these errors on the individual Item level, if any can be identified. `causes` will only be provided for the `error_type` `ASSET_REPORT_ERROR`. `causes` will also not be populated inside an error nested within a `warning` object. + # In this product, a request can pertain to more than one Item. If an error is returned for such a request, `causes` will return an array of errors containing a breakdown of these errors on the individual Item level, if any can be identified. `causes` will only be provided for the `error_type` `ASSET_REPORT_ERROR`. `causes` will also not be populated inside an error nested within a `warning` object. attr_accessor :causes # The HTTP status code associated with the error. This will only be returned in the response body when the error information is provided via a webhook. @@ -72,6 +75,7 @@ def self.attribute_map { :'error_type' => :'error_type', :'error_code' => :'error_code', + :'error_code_reason' => :'error_code_reason', :'error_message' => :'error_message', :'display_message' => :'display_message', :'request_id' => :'request_id', @@ -93,6 +97,7 @@ def self.openapi_types { :'error_type' => :'PlaidErrorType', :'error_code' => :'String', + :'error_code_reason' => :'String', :'error_message' => :'String', :'display_message' => :'String', :'request_id' => :'String', @@ -107,6 +112,7 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'error_code_reason', :'display_message', :'status', :'suggested_action', @@ -144,6 +150,10 @@ def initialize(attributes = {}) self.error_code = attributes[:'error_code'] end + if attributes.key?(:'error_code_reason') + self.error_code_reason = attributes[:'error_code_reason'] + end + if attributes.key?(:'error_message') self.error_message = attributes[:'error_message'] end @@ -219,6 +229,7 @@ def ==(o) self.class == o.class && error_type == o.error_type && error_code == o.error_code && + error_code_reason == o.error_code_reason && error_message == o.error_message && display_message == o.display_message && request_id == o.request_id && @@ -238,7 +249,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [error_type, error_code, error_message, display_message, request_id, causes, status, documentation_url, suggested_action, item_id].hash + [error_type, error_code, error_code_reason, error_message, display_message, request_id, causes, status, documentation_url, suggested_action, item_id].hash end # Builds the object from hash diff --git a/lib/plaid/models/cause_all_of.rb b/lib/plaid/models/cause_all_of.rb index 548a87a93..27c7b3517 100644 --- a/lib/plaid/models/cause_all_of.rb +++ b/lib/plaid/models/cause_all_of.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/client_provided_enhanced_transaction.rb b/lib/plaid/models/client_provided_enhanced_transaction.rb index 7cccb9e50..81cce0817 100644 --- a/lib/plaid/models/client_provided_enhanced_transaction.rb +++ b/lib/plaid/models/client_provided_enhanced_transaction.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/client_provided_enriched_transaction.rb b/lib/plaid/models/client_provided_enriched_transaction.rb index 7d6f111b3..376f0383e 100644 --- a/lib/plaid/models/client_provided_enriched_transaction.rb +++ b/lib/plaid/models/client_provided_enriched_transaction.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/client_provided_raw_transaction.rb b/lib/plaid/models/client_provided_raw_transaction.rb index 3fb14676c..7d532b6de 100644 --- a/lib/plaid/models/client_provided_raw_transaction.rb +++ b/lib/plaid/models/client_provided_raw_transaction.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/client_provided_transaction.rb b/lib/plaid/models/client_provided_transaction.rb index b9f6e27b2..4dbf35b57 100644 --- a/lib/plaid/models/client_provided_transaction.rb +++ b/lib/plaid/models/client_provided_transaction.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/client_provided_transaction_location.rb b/lib/plaid/models/client_provided_transaction_location.rb index 3f8ca591c..7dd4e2e19 100644 --- a/lib/plaid/models/client_provided_transaction_location.rb +++ b/lib/plaid/models/client_provided_transaction_location.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/connected_application.rb b/lib/plaid/models/connected_application.rb index 624ecf5a6..d6ec099f5 100644 --- a/lib/plaid/models/connected_application.rb +++ b/lib/plaid/models/connected_application.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/consumer_dispute.rb b/lib/plaid/models/consumer_dispute.rb new file mode 100644 index 000000000..c53410420 --- /dev/null +++ b/lib/plaid/models/consumer_dispute.rb @@ -0,0 +1,292 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # The information about a previously submitted valid dispute statement by the consumer + class ConsumerDispute + # A unique identifier (UUID) of the consumer dispute that can be used for troubleshooting + attr_accessor :consumer_dispute_id + + # Date of the disputed field (e.g. transaction date), in an ISO 8601 format (YYYY-MM-DD) + attr_accessor :dispute_field_create_date + + attr_accessor :category + + # Text content of dispute + attr_accessor :statement + + class EnumAttributeValidator + attr_reader :datatype + attr_reader :allowable_values + + def initialize(datatype, allowable_values) + @allowable_values = allowable_values.map do |value| + case datatype.to_s + when /Integer/i + value.to_i + when /Float/i + value.to_f + else + value + end + end + end + + def valid?(value) + !value || allowable_values.include?(value) + end + end + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'consumer_dispute_id' => :'consumer_dispute_id', + :'dispute_field_create_date' => :'dispute_field_create_date', + :'category' => :'category', + :'statement' => :'statement' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'consumer_dispute_id' => :'String', + :'dispute_field_create_date' => :'Date', + :'category' => :'ConsumerDisputeCategory', + :'statement' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::ConsumerDispute` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::ConsumerDispute`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'consumer_dispute_id') + self.consumer_dispute_id = attributes[:'consumer_dispute_id'] + end + + if attributes.key?(:'dispute_field_create_date') + self.dispute_field_create_date = attributes[:'dispute_field_create_date'] + end + + if attributes.key?(:'category') + self.category = attributes[:'category'] + end + + if attributes.key?(:'statement') + self.statement = attributes[:'statement'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @consumer_dispute_id.nil? + invalid_properties.push('invalid value for "consumer_dispute_id", consumer_dispute_id cannot be nil.') + end + + if @dispute_field_create_date.nil? + invalid_properties.push('invalid value for "dispute_field_create_date", dispute_field_create_date cannot be nil.') + end + + if @category.nil? + invalid_properties.push('invalid value for "category", category cannot be nil.') + end + + if @statement.nil? + invalid_properties.push('invalid value for "statement", statement cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @consumer_dispute_id.nil? + return false if @dispute_field_create_date.nil? + return false if @category.nil? + return false if @statement.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + consumer_dispute_id == o.consumer_dispute_id && + dispute_field_create_date == o.dispute_field_create_date && + category == o.category && + statement == o.statement + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [consumer_dispute_id, dispute_field_create_date, category, statement].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/consumer_dispute_category.rb b/lib/plaid/models/consumer_dispute_category.rb new file mode 100644 index 000000000..dc2a8df70 --- /dev/null +++ b/lib/plaid/models/consumer_dispute_category.rb @@ -0,0 +1,41 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + class ConsumerDisputeCategory + TRANSACTION = "TRANSACTION".freeze + BALANCE = "BALANCE".freeze + IDENTITY = "IDENTITY".freeze + OTHER = "OTHER".freeze + + # Builds the enum from string + # @param [String] The enum value in the form of the string + # @return [String] The enum value + def self.build_from_hash(value) + new.build_from_hash(value) + end + + # Builds the enum from string + # @param [String] The enum value in the form of the string + # @return [String] The enum value + def build_from_hash(value) + # We do not validate that the value is one of the enums set in the OpenAPI + # file because we want to be able to add to our list of enums without + # breaking this client library. + value + end + end + +end diff --git a/lib/plaid/models/consumer_report_pdf_get_request.rb b/lib/plaid/models/consumer_report_pdf_get_request.rb index 0bc27c3b4..5696e7879 100644 --- a/lib/plaid/models/consumer_report_pdf_get_request.rb +++ b/lib/plaid/models/consumer_report_pdf_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/consumer_report_permissible_purpose.rb b/lib/plaid/models/consumer_report_permissible_purpose.rb index ffc808033..163137c2c 100644 --- a/lib/plaid/models/consumer_report_permissible_purpose.rb +++ b/lib/plaid/models/consumer_report_permissible_purpose.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/consumer_report_user_identity.rb b/lib/plaid/models/consumer_report_user_identity.rb index 2bf6f07d2..14dea6751 100644 --- a/lib/plaid/models/consumer_report_user_identity.rb +++ b/lib/plaid/models/consumer_report_user_identity.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,7 +14,7 @@ require 'time' module Plaid - # This object defines the user identity data collected for consumer report purposes. This field is required if you are planning on using the user token with Plaid Check products. + # To create a Plaid Check Consumer Report for a user, this field must be present on the user token. If this field is not provided during user token creation, you can add it to the user later by calling `/user/update`. Once the field has been added to the user, you will be able to call `/link/token/create` with a non-empty `consumer_report_permissible_purpose` (which will automatically create a Plaid Check Consumer Report), or call `/cra/check_report/create` for that user. class ConsumerReportUserIdentity # The user's first name attr_accessor :first_name @@ -22,7 +22,7 @@ class ConsumerReportUserIdentity # The user's last name attr_accessor :last_name - # The user's phone numbers. The format of phone number will be validated and for better normalization, it is expected to be in E.164 format +{countrycode}{number}, for example `+14151234567`. + # The user's phone number, in E.164 format: +{countrycode}{number}. For example: \"+14157452130\". Phone numbers provided in other formats will be parsed on a best-effort basis. Phone number input is validated against valid number ranges; number strings that do not match a real-world phone numbering scheme may cause the request to fail, even in the Sandbox test environment. attr_accessor :phone_numbers # The user's emails diff --git a/lib/plaid/models/counterparty.rb b/lib/plaid/models/counterparty.rb index 1c145e80f..f4bbe58cb 100644 --- a/lib/plaid/models/counterparty.rb +++ b/lib/plaid/models/counterparty.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/counterparty_insights.rb b/lib/plaid/models/counterparty_insights.rb index d3109b3f8..774672c5e 100644 --- a/lib/plaid/models/counterparty_insights.rb +++ b/lib/plaid/models/counterparty_insights.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/counterparty_type.rb b/lib/plaid/models/counterparty_type.rb index f87a1e2d0..e3e5cbb93 100644 --- a/lib/plaid/models/counterparty_type.rb +++ b/lib/plaid/models/counterparty_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/country_code.rb b/lib/plaid/models/country_code.rb index 763baec12..44aceebfc 100644 --- a/lib/plaid/models/country_code.rb +++ b/lib/plaid/models/country_code.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_bank_income.rb b/lib/plaid/models/cra_bank_income.rb index f5d12fad7..b4b89cb25 100644 --- a/lib/plaid/models/cra_bank_income.rb +++ b/lib/plaid/models/cra_bank_income.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,15 +14,15 @@ require 'time' module Plaid - # The report of the Bank Income data for an end user. + # The report of the Plaid Check Income Insights data for an end user. class CraBankIncome - # The unique identifier associated with the Bank Income Report. + # The unique identifier associated with the report. attr_accessor :bank_income_id - # The time when the Bank Income Report was generated. + # The time when the report was generated. attr_accessor :generated_time - # The number of days requested by the customer for the Bank Income Report. + # The number of days requested by the customer for the report. attr_accessor :days_requested # The list of Items in the report along with the associated metadata about the Item. @@ -30,7 +30,7 @@ class CraBankIncome attr_accessor :bank_income_summary - # If data from the Bank Income report was unable to be retrieved, the warnings will contain information about the error that caused the data to be incomplete. + # If data from the report was unable to be retrieved, the warnings object will contain information about the error that caused the data to be incomplete. attr_accessor :warnings # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/plaid/models/cra_bank_income_account.rb b/lib/plaid/models/cra_bank_income_account.rb index 0991a0314..2b82b1520 100644 --- a/lib/plaid/models/cra_bank_income_account.rb +++ b/lib/plaid/models/cra_bank_income_account.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_bank_income_bonus_type.rb b/lib/plaid/models/cra_bank_income_bonus_type.rb index b9fa12e13..de9b607a7 100644 --- a/lib/plaid/models/cra_bank_income_bonus_type.rb +++ b/lib/plaid/models/cra_bank_income_bonus_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -15,8 +15,9 @@ module Plaid class CraBankIncomeBonusType - INCLUDED = "BONUS_INCLUDED".freeze - ONLY = "BONUS_ONLY".freeze + BONUS_INCLUDED = "BONUS_INCLUDED".freeze + BONUS_ONLY = "BONUS_ONLY".freeze + NULL = "null".freeze # Builds the enum from string # @param [String] The enum value in the form of the string diff --git a/lib/plaid/models/cra_bank_income_cause.rb b/lib/plaid/models/cra_bank_income_cause.rb index 37d427811..f7d2a2c51 100644 --- a/lib/plaid/models/cra_bank_income_cause.rb +++ b/lib/plaid/models/cra_bank_income_cause.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_bank_income_complete_result.rb b/lib/plaid/models/cra_bank_income_complete_result.rb index c5999ba41..0d7f041dc 100644 --- a/lib/plaid/models/cra_bank_income_complete_result.rb +++ b/lib/plaid/models/cra_bank_income_complete_result.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_bank_income_complete_webhook.rb b/lib/plaid/models/cra_bank_income_complete_webhook.rb index e419df9b8..3f99ceb45 100644 --- a/lib/plaid/models/cra_bank_income_complete_webhook.rb +++ b/lib/plaid/models/cra_bank_income_complete_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_bank_income_create_request.rb b/lib/plaid/models/cra_bank_income_create_request.rb index 54ef227c2..b54da79a6 100644 --- a/lib/plaid/models/cra_bank_income_create_request.rb +++ b/lib/plaid/models/cra_bank_income_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -28,7 +28,7 @@ class CraBankIncomeCreateRequest # The destination URL to which webhooks will be sent attr_accessor :webhook - # The number of days of data to request for the Bank Income product + # The number of days of data to request attr_accessor :days_requested attr_accessor :consumer_report_permissible_purpose diff --git a/lib/plaid/models/cra_bank_income_create_response.rb b/lib/plaid/models/cra_bank_income_create_response.rb index d3cda88e3..4e47709aa 100644 --- a/lib/plaid/models/cra_bank_income_create_response.rb +++ b/lib/plaid/models/cra_bank_income_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_bank_income_employer.rb b/lib/plaid/models/cra_bank_income_employer.rb index 91357c5bd..ec8616a69 100644 --- a/lib/plaid/models/cra_bank_income_employer.rb +++ b/lib/plaid/models/cra_bank_income_employer.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_bank_income_error_webhook.rb b/lib/plaid/models/cra_bank_income_error_webhook.rb index a5cbdde87..019ae8f5a 100644 --- a/lib/plaid/models/cra_bank_income_error_webhook.rb +++ b/lib/plaid/models/cra_bank_income_error_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_bank_income_get_request.rb b/lib/plaid/models/cra_bank_income_get_request.rb index 4b8c1d33c..65b9a0330 100644 --- a/lib/plaid/models/cra_bank_income_get_request.rb +++ b/lib/plaid/models/cra_bank_income_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_bank_income_get_response.rb b/lib/plaid/models/cra_bank_income_get_response.rb index 0846542ea..68febff4a 100644 --- a/lib/plaid/models/cra_bank_income_get_response.rb +++ b/lib/plaid/models/cra_bank_income_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_bank_income_historical_summary.rb b/lib/plaid/models/cra_bank_income_historical_summary.rb index 6830e88f6..69aa6a0a5 100644 --- a/lib/plaid/models/cra_bank_income_historical_summary.rb +++ b/lib/plaid/models/cra_bank_income_historical_summary.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_bank_income_item.rb b/lib/plaid/models/cra_bank_income_item.rb index b98ec94b4..60acc7e1b 100644 --- a/lib/plaid/models/cra_bank_income_item.rb +++ b/lib/plaid/models/cra_bank_income_item.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -19,7 +19,7 @@ class CraBankIncomeItem # The `item_id` of the Item associated with this webhook, warning, or error attr_accessor :item_id - # The Item's accounts that have Bank Income data. + # The Item's accounts that have bank income data. attr_accessor :bank_income_accounts # The income sources for this Item. Each entry in the array is a single income source. diff --git a/lib/plaid/models/cra_bank_income_source.rb b/lib/plaid/models/cra_bank_income_source.rb index 9c2701f09..85e02e4fc 100644 --- a/lib/plaid/models/cra_bank_income_source.rb +++ b/lib/plaid/models/cra_bank_income_source.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_bank_income_summary.rb b/lib/plaid/models/cra_bank_income_summary.rb index 74dda9d83..736365026 100644 --- a/lib/plaid/models/cra_bank_income_summary.rb +++ b/lib/plaid/models/cra_bank_income_summary.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,7 +14,7 @@ require 'time' module Plaid - # Summary for bank income across all income sources and items (max history of 730 days). + # Summary for income across all income sources and items (max history of 730 days). class CraBankIncomeSummary # Total amount of earnings across all the income sources in the end user's Items for the days requested by the client. This can contain multiple amounts, with each amount denominated in one unique currency. attr_accessor :total_amounts diff --git a/lib/plaid/models/cra_bank_income_transaction.rb b/lib/plaid/models/cra_bank_income_transaction.rb index 7fe52ed48..dc161ce66 100644 --- a/lib/plaid/models/cra_bank_income_transaction.rb +++ b/lib/plaid/models/cra_bank_income_transaction.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -175,12 +175,32 @@ def initialize(attributes = {}) # @return Array for valid properties with the reasons def list_invalid_properties invalid_properties = Array.new + if @transaction_id.nil? + invalid_properties.push('invalid value for "transaction_id", transaction_id cannot be nil.') + end + + if @amount.nil? + invalid_properties.push('invalid value for "amount", amount cannot be nil.') + end + + if @date.nil? + invalid_properties.push('invalid value for "date", date cannot be nil.') + end + + if @pending.nil? + invalid_properties.push('invalid value for "pending", pending cannot be nil.') + end + invalid_properties end # Check to see if the all the properties in the model are valid # @return true if the model is valid def valid? + return false if @transaction_id.nil? + return false if @amount.nil? + return false if @date.nil? + return false if @pending.nil? true end diff --git a/lib/plaid/models/cra_bank_income_warning.rb b/lib/plaid/models/cra_bank_income_warning.rb index e76984ee7..a61a3ec7c 100644 --- a/lib/plaid/models/cra_bank_income_warning.rb +++ b/lib/plaid/models/cra_bank_income_warning.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,7 +14,7 @@ require 'time' module Plaid - # The warning associated with the data that was unavailable for the Bank Income Report. + # The warning associated with the data that was unavailable. class CraBankIncomeWarning attr_accessor :warning_type diff --git a/lib/plaid/models/cra_bank_income_warning_code.rb b/lib/plaid/models/cra_bank_income_warning_code.rb index 6e01e53d9..4d3f33e34 100644 --- a/lib/plaid/models/cra_bank_income_warning_code.rb +++ b/lib/plaid/models/cra_bank_income_warning_code.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/base_report_create_request.rb b/lib/plaid/models/cra_base_report_create_request.rb similarity index 96% rename from lib/plaid/models/base_report_create_request.rb rename to lib/plaid/models/cra_base_report_create_request.rb index 3dd553bf2..d61a94d8b 100644 --- a/lib/plaid/models/base_report_create_request.rb +++ b/lib/plaid/models/cra_base_report_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,8 +14,8 @@ require 'time' module Plaid - # BaseReportCreateRequest defines the request schema for `/cra/base_report/create` - class BaseReportCreateRequest + # CraBaseReportCreateRequest defines the request schema for `/cra/base_report/create` + class CraBaseReportCreateRequest # Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body. attr_accessor :client_id @@ -95,13 +95,13 @@ def self.openapi_nullable # @param [Hash] attributes Model attributes in the form of hash def initialize(attributes = {}) if (!attributes.is_a?(Hash)) - fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::BaseReportCreateRequest` initialize method" + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::CraBaseReportCreateRequest` initialize method" end # check to see if the attribute exists and convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| if (!self.class.attribute_map.key?(k.to_sym)) - fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::BaseReportCreateRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::CraBaseReportCreateRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect end h[k.to_sym] = v } diff --git a/lib/plaid/models/cra_base_report_create_response.rb b/lib/plaid/models/cra_base_report_create_response.rb new file mode 100644 index 000000000..ccc08b98a --- /dev/null +++ b/lib/plaid/models/cra_base_report_create_response.rb @@ -0,0 +1,226 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # CraBaseReportCreateResponse defines the response schema for `cra/base_report/create` + class CraBaseReportCreateResponse + # A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive. + attr_accessor :request_id + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'request_id' => :'request_id' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'request_id' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::CraBaseReportCreateResponse` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::CraBaseReportCreateResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'request_id') + self.request_id = attributes[:'request_id'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @request_id.nil? + invalid_properties.push('invalid value for "request_id", request_id cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @request_id.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + request_id == o.request_id + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [request_id].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/base_report_get_request.rb b/lib/plaid/models/cra_base_report_get_request.rb similarity index 94% rename from lib/plaid/models/base_report_get_request.rb rename to lib/plaid/models/cra_base_report_get_request.rb index c60b51dcb..70b556515 100644 --- a/lib/plaid/models/base_report_get_request.rb +++ b/lib/plaid/models/cra_base_report_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,8 +14,8 @@ require 'time' module Plaid - # BaseReportGetRequest defines the request schema for `/cra/base_report/get` - class BaseReportGetRequest + # CraBaseReportGetRequest defines the request schema for `/cra/base_report/get` + class CraBaseReportGetRequest # Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body. attr_accessor :client_id @@ -58,13 +58,13 @@ def self.openapi_nullable # @param [Hash] attributes Model attributes in the form of hash def initialize(attributes = {}) if (!attributes.is_a?(Hash)) - fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::BaseReportGetRequest` initialize method" + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::CraBaseReportGetRequest` initialize method" end # check to see if the attribute exists and convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| if (!self.class.attribute_map.key?(k.to_sym)) - fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::BaseReportGetRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::CraBaseReportGetRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect end h[k.to_sym] = v } diff --git a/lib/plaid/models/base_report_get_response.rb b/lib/plaid/models/cra_base_report_get_response.rb similarity index 93% rename from lib/plaid/models/base_report_get_response.rb rename to lib/plaid/models/cra_base_report_get_response.rb index 48fd0d03c..b7d153166 100644 --- a/lib/plaid/models/base_report_get_response.rb +++ b/lib/plaid/models/cra_base_report_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,8 +14,8 @@ require 'time' module Plaid - # BaseReportGetResponse defines the response schema for `/cra/base_report/get` - class BaseReportGetResponse + # CraBaseReportGetResponse defines the response schema for `/cra/base_report/get` + class CraBaseReportGetResponse attr_accessor :report # If the Base Report generation was successful but identity information cannot be returned, this array will contain information about the errors causing identity information to be missing @@ -57,13 +57,13 @@ def self.openapi_nullable # @param [Hash] attributes Model attributes in the form of hash def initialize(attributes = {}) if (!attributes.is_a?(Hash)) - fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::BaseReportGetResponse` initialize method" + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::CraBaseReportGetResponse` initialize method" end # check to see if the attribute exists and convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| if (!self.class.attribute_map.key?(k.to_sym)) - fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::BaseReportGetResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::CraBaseReportGetResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect end h[k.to_sym] = v } @@ -91,6 +91,10 @@ def list_invalid_properties invalid_properties.push('invalid value for "report", report cannot be nil.') end + if @warnings.nil? + invalid_properties.push('invalid value for "warnings", warnings cannot be nil.') + end + if @request_id.nil? invalid_properties.push('invalid value for "request_id", request_id cannot be nil.') end @@ -102,6 +106,7 @@ def list_invalid_properties # @return true if the model is valid def valid? return false if @report.nil? + return false if @warnings.nil? return false if @request_id.nil? true end diff --git a/lib/plaid/models/cra_cashflow_insights_report.rb b/lib/plaid/models/cra_cashflow_insights_report.rb new file mode 100644 index 000000000..a8e5fa0f5 --- /dev/null +++ b/lib/plaid/models/cra_cashflow_insights_report.rb @@ -0,0 +1,261 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Contains data for the CRA Cashflow Insights Report. + class CraCashflowInsightsReport + # The unique identifier associated with the Network Attributes report object. + attr_accessor :report_id + + # The time when the Network Attributes Report was generated. + attr_accessor :generated_time + + attr_accessor :plaid_check_score + + # A map of cashflow attributes, where the key is a string, and the value is a float, int, or boolean. + attr_accessor :attributes + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'report_id' => :'report_id', + :'generated_time' => :'generated_time', + :'plaid_check_score' => :'plaid_check_score', + :'attributes' => :'attributes' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'report_id' => :'String', + :'generated_time' => :'Time', + :'plaid_check_score' => :'PlaidCheckScore', + :'attributes' => :'Object' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'plaid_check_score', + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::CraCashflowInsightsReport` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::CraCashflowInsightsReport`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'report_id') + self.report_id = attributes[:'report_id'] + end + + if attributes.key?(:'generated_time') + self.generated_time = attributes[:'generated_time'] + end + + if attributes.key?(:'plaid_check_score') + self.plaid_check_score = attributes[:'plaid_check_score'] + end + + if attributes.key?(:'attributes') + self.attributes = attributes[:'attributes'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @report_id.nil? + invalid_properties.push('invalid value for "report_id", report_id cannot be nil.') + end + + if @generated_time.nil? + invalid_properties.push('invalid value for "generated_time", generated_time cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @report_id.nil? + return false if @generated_time.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + report_id == o.report_id && + generated_time == o.generated_time && + plaid_check_score == o.plaid_check_score && + attributes == o.attributes + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [report_id, generated_time, plaid_check_score, attributes].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/cra_check_report_base_report_get_request.rb b/lib/plaid/models/cra_check_report_base_report_get_request.rb index e19cc3b4c..5da28e231 100644 --- a/lib/plaid/models/cra_check_report_base_report_get_request.rb +++ b/lib/plaid/models/cra_check_report_base_report_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_check_report_base_report_get_response.rb b/lib/plaid/models/cra_check_report_base_report_get_response.rb index 42ef20008..e8d0c467b 100644 --- a/lib/plaid/models/cra_check_report_base_report_get_response.rb +++ b/lib/plaid/models/cra_check_report_base_report_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -91,6 +91,10 @@ def list_invalid_properties invalid_properties.push('invalid value for "report", report cannot be nil.') end + if @warnings.nil? + invalid_properties.push('invalid value for "warnings", warnings cannot be nil.') + end + if @request_id.nil? invalid_properties.push('invalid value for "request_id", request_id cannot be nil.') end @@ -102,6 +106,7 @@ def list_invalid_properties # @return true if the model is valid def valid? return false if @report.nil? + return false if @warnings.nil? return false if @request_id.nil? true end diff --git a/lib/plaid/models/cra_check_report_cashflow_insights_get_options.rb b/lib/plaid/models/cra_check_report_cashflow_insights_get_options.rb new file mode 100644 index 000000000..1bb757da1 --- /dev/null +++ b/lib/plaid/models/cra_check_report_cashflow_insights_get_options.rb @@ -0,0 +1,254 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Defines configuration options to generate Cashflow Insights + class CraCheckReportCashflowInsightsGetOptions + # The version of the Plaid Check score to return + attr_accessor :plaid_check_score_version + + attr_accessor :attributes_version + + class EnumAttributeValidator + attr_reader :datatype + attr_reader :allowable_values + + def initialize(datatype, allowable_values) + @allowable_values = allowable_values.map do |value| + case datatype.to_s + when /Integer/i + value.to_i + when /Float/i + value.to_f + else + value + end + end + end + + def valid?(value) + !value || allowable_values.include?(value) + end + end + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'plaid_check_score_version' => :'plaid_check_score_version', + :'attributes_version' => :'attributes_version' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'plaid_check_score_version' => :'String', + :'attributes_version' => :'CashflowAttributesVersion' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'plaid_check_score_version', + :'attributes_version' + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::CraCheckReportCashflowInsightsGetOptions` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::CraCheckReportCashflowInsightsGetOptions`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'plaid_check_score_version') + self.plaid_check_score_version = attributes[:'plaid_check_score_version'] + end + + if attributes.key?(:'attributes_version') + self.attributes_version = attributes[:'attributes_version'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + plaid_check_score_version == o.plaid_check_score_version && + attributes_version == o.attributes_version + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [plaid_check_score_version, attributes_version].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/cra_check_report_create_request.rb b/lib/plaid/models/cra_check_report_create_request.rb index b000ef55a..0a9e05424 100644 --- a/lib/plaid/models/cra_check_report_create_request.rb +++ b/lib/plaid/models/cra_check_report_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -28,7 +28,7 @@ class CraCheckReportCreateRequest # The destination URL to which webhooks will be sent attr_accessor :webhook - # The number of days of data to request for the report + # The number of days of data to request for the report. If requesting Income Insights, a minimum of 90 days is recommended in order to receive both historical and forecasted income. attr_accessor :days_requested # Products that will be retrieved in this report. This configuration will determine what data types to fetch from the user's financial institution. If omitted, the data types needed to support all products will be fetched. @@ -153,11 +153,15 @@ def list_invalid_properties invalid_properties.push('invalid value for "webhook", webhook cannot be nil.') end - if !@days_requested.nil? && @days_requested > 731 + if @days_requested.nil? + invalid_properties.push('invalid value for "days_requested", days_requested cannot be nil.') + end + + if @days_requested > 731 invalid_properties.push('invalid value for "days_requested", must be smaller than or equal to 731.') end - if !@days_requested.nil? && @days_requested < 1 + if @days_requested < 1 invalid_properties.push('invalid value for "days_requested", must be greater than or equal to 1.') end @@ -174,8 +178,9 @@ def list_invalid_properties def valid? return false if @user_token.nil? return false if @webhook.nil? - return false if !@days_requested.nil? && @days_requested > 731 - return false if !@days_requested.nil? && @days_requested < 1 + return false if @days_requested.nil? + return false if @days_requested > 731 + return false if @days_requested < 1 return false if @consumer_report_permissible_purpose.nil? true end @@ -183,11 +188,15 @@ def valid? # Custom attribute writer method with validation # @param [Object] days_requested Value to be assigned def days_requested=(days_requested) - if !days_requested.nil? && days_requested > 731 + if days_requested.nil? + fail ArgumentError, 'days_requested cannot be nil' + end + + if days_requested > 731 fail ArgumentError, 'invalid value for "days_requested", must be smaller than or equal to 731.' end - if !days_requested.nil? && days_requested < 1 + if days_requested < 1 fail ArgumentError, 'invalid value for "days_requested", must be greater than or equal to 1.' end diff --git a/lib/plaid/models/cra_check_report_create_response.rb b/lib/plaid/models/cra_check_report_create_response.rb index c2ebe484c..3494c7041 100644 --- a/lib/plaid/models/cra_check_report_create_response.rb +++ b/lib/plaid/models/cra_check_report_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_check_report_failed_webhook.rb b/lib/plaid/models/cra_check_report_failed_webhook.rb index 22cfdcc5f..a1c11f398 100644 --- a/lib/plaid/models/cra_check_report_failed_webhook.rb +++ b/lib/plaid/models/cra_check_report_failed_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_check_report_income_insights_get_request.rb b/lib/plaid/models/cra_check_report_income_insights_get_request.rb index ef9b2dc94..9a31cf214 100644 --- a/lib/plaid/models/cra_check_report_income_insights_get_request.rb +++ b/lib/plaid/models/cra_check_report_income_insights_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_check_report_income_insights_get_response.rb b/lib/plaid/models/cra_check_report_income_insights_get_response.rb index af519c392..05ec642d4 100644 --- a/lib/plaid/models/cra_check_report_income_insights_get_response.rb +++ b/lib/plaid/models/cra_check_report_income_insights_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_check_report_network_attributes_get_request.rb b/lib/plaid/models/cra_check_report_network_insights_get_request.rb similarity index 93% rename from lib/plaid/models/cra_check_report_network_attributes_get_request.rb rename to lib/plaid/models/cra_check_report_network_insights_get_request.rb index 082ad34e4..1b206849d 100644 --- a/lib/plaid/models/cra_check_report_network_attributes_get_request.rb +++ b/lib/plaid/models/cra_check_report_network_insights_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,8 +14,8 @@ require 'time' module Plaid - # CraCheckReportNetworkAttributesGetRequest defines the request schema for `/cra/check_report/network_attributes/get`. - class CraCheckReportNetworkAttributesGetRequest + # CraCheckReportNetworkInsightsGetRequest defines the request schema for `/cra/check_report/network_attributes/get`. + class CraCheckReportNetworkInsightsGetRequest # Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body. attr_accessor :client_id @@ -58,13 +58,13 @@ def self.openapi_nullable # @param [Hash] attributes Model attributes in the form of hash def initialize(attributes = {}) if (!attributes.is_a?(Hash)) - fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::CraCheckReportNetworkAttributesGetRequest` initialize method" + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::CraCheckReportNetworkInsightsGetRequest` initialize method" end # check to see if the attribute exists and convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| if (!self.class.attribute_map.key?(k.to_sym)) - fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::CraCheckReportNetworkAttributesGetRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::CraCheckReportNetworkInsightsGetRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect end h[k.to_sym] = v } diff --git a/lib/plaid/models/cra_check_report_network_attributes_get_response.rb b/lib/plaid/models/cra_check_report_network_insights_get_response.rb similarity index 92% rename from lib/plaid/models/cra_check_report_network_attributes_get_response.rb rename to lib/plaid/models/cra_check_report_network_insights_get_response.rb index c1c7a46cd..9dfd4c126 100644 --- a/lib/plaid/models/cra_check_report_network_attributes_get_response.rb +++ b/lib/plaid/models/cra_check_report_network_insights_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,8 +14,8 @@ require 'time' module Plaid - # CraCheckReportNetworkAttributesGetResponse defines the response schema for `/cra/check_report/network_attributes/get`. - class CraCheckReportNetworkAttributesGetResponse + # CraCheckReportNetworkInsightsGetResponse defines the response schema for `/cra/check_report/network_attributes/get`. + class CraCheckReportNetworkInsightsGetResponse attr_accessor :report # A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive. @@ -37,7 +37,7 @@ def self.acceptable_attributes # Attribute type mapping. def self.openapi_types { - :'report' => :'CraNetworkAttributesReport', + :'report' => :'CraNetworkInsightsReport', :'request_id' => :'String' } end @@ -52,13 +52,13 @@ def self.openapi_nullable # @param [Hash] attributes Model attributes in the form of hash def initialize(attributes = {}) if (!attributes.is_a?(Hash)) - fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::CraCheckReportNetworkAttributesGetResponse` initialize method" + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::CraCheckReportNetworkInsightsGetResponse` initialize method" end # check to see if the attribute exists and convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| if (!self.class.attribute_map.key?(k.to_sym)) - fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::CraCheckReportNetworkAttributesGetResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::CraCheckReportNetworkInsightsGetResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect end h[k.to_sym] = v } diff --git a/lib/plaid/models/cra_check_report_partner_insights_get_options.rb b/lib/plaid/models/cra_check_report_partner_insights_get_options.rb index 791514de0..51e4dd08f 100644 --- a/lib/plaid/models/cra_check_report_partner_insights_get_options.rb +++ b/lib/plaid/models/cra_check_report_partner_insights_get_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -19,10 +19,13 @@ class CraCheckReportPartnerInsightsGetOptions # The specific Prism Data products to return. If none are passed in, then all products will be returned. attr_accessor :prism_products + attr_accessor :prism_versions + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { - :'prism_products' => :'prism_products' + :'prism_products' => :'prism_products', + :'prism_versions' => :'prism_versions' } end @@ -34,13 +37,15 @@ def self.acceptable_attributes # Attribute type mapping. def self.openapi_types { - :'prism_products' => :'Array' + :'prism_products' => :'Array', + :'prism_versions' => :'PrismVersions' } end # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'prism_versions' ]) end @@ -64,6 +69,10 @@ def initialize(attributes = {}) self.prism_products = value end end + + if attributes.key?(:'prism_versions') + self.prism_versions = attributes[:'prism_versions'] + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -84,7 +93,8 @@ def valid? def ==(o) return true if self.equal?(o) self.class == o.class && - prism_products == o.prism_products + prism_products == o.prism_products && + prism_versions == o.prism_versions end # @see the `==` method @@ -96,7 +106,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [prism_products].hash + [prism_products, prism_versions].hash end # Builds the object from hash diff --git a/lib/plaid/models/cra_check_report_partner_insights_get_request.rb b/lib/plaid/models/cra_check_report_partner_insights_get_request.rb index 37aba5d95..3973640c8 100644 --- a/lib/plaid/models/cra_check_report_partner_insights_get_request.rb +++ b/lib/plaid/models/cra_check_report_partner_insights_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_check_report_partner_insights_get_response.rb b/lib/plaid/models/cra_check_report_partner_insights_get_response.rb index 2a72779cb..90c158be5 100644 --- a/lib/plaid/models/cra_check_report_partner_insights_get_response.rb +++ b/lib/plaid/models/cra_check_report_partner_insights_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_check_report_pdf_get_request.rb b/lib/plaid/models/cra_check_report_pdf_get_request.rb index 5820e3897..9486498a1 100644 --- a/lib/plaid/models/cra_check_report_pdf_get_request.rb +++ b/lib/plaid/models/cra_check_report_pdf_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_check_report_product.rb b/lib/plaid/models/cra_check_report_product.rb index 298e978b2..a2838611e 100644 --- a/lib/plaid/models/cra_check_report_product.rb +++ b/lib/plaid/models/cra_check_report_product.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_check_report_ready_webhook.rb b/lib/plaid/models/cra_check_report_ready_webhook.rb index 05b074fef..0f46d279c 100644 --- a/lib/plaid/models/cra_check_report_ready_webhook.rb +++ b/lib/plaid/models/cra_check_report_ready_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_income_insights.rb b/lib/plaid/models/cra_income_insights.rb index f8f25f30f..0a05684fc 100644 --- a/lib/plaid/models/cra_income_insights.rb +++ b/lib/plaid/models/cra_income_insights.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,15 +14,15 @@ require 'time' module Plaid - # The report of the Bank Income data for an end user. + # The Check Income Insights Report for an end user. class CraIncomeInsights - # The unique identifier associated with the Bank Income Report. + # The unique identifier associated with the Check Income Insights Report. attr_accessor :report_id - # The time when the Bank Income Report was generated. + # The time when the Check Income Insights Report was generated. attr_accessor :generated_time - # The number of days requested by the customer for the Bank Income Report. + # The number of days requested by the customer for the Check Income Insights Report. attr_accessor :days_requested # The list of Items in the report along with the associated metadata about the Item. @@ -30,7 +30,7 @@ class CraIncomeInsights attr_accessor :bank_income_summary - # If data from the Bank Income report was unable to be retrieved, the warnings will contain information about the error that caused the data to be incomplete. + # If data from the report was unable to be retrieved, the warnings object will contain information about the error that caused the data to be incomplete. attr_accessor :warnings # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/plaid/models/cra_loan_application.rb b/lib/plaid/models/cra_loan_application.rb index d57bb1891..799604c8f 100644 --- a/lib/plaid/models/cra_loan_application.rb +++ b/lib/plaid/models/cra_loan_application.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_loan_application_decision.rb b/lib/plaid/models/cra_loan_application_decision.rb index b89fc2493..b7a567a62 100644 --- a/lib/plaid/models/cra_loan_application_decision.rb +++ b/lib/plaid/models/cra_loan_application_decision.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_loan_closed_status.rb b/lib/plaid/models/cra_loan_closed_status.rb index c68c530ac..085f73abc 100644 --- a/lib/plaid/models/cra_loan_closed_status.rb +++ b/lib/plaid/models/cra_loan_closed_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_loan_opened_status.rb b/lib/plaid/models/cra_loan_opened_status.rb index d048eb778..3a13460e1 100644 --- a/lib/plaid/models/cra_loan_opened_status.rb +++ b/lib/plaid/models/cra_loan_opened_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_loan_payment_history.rb b/lib/plaid/models/cra_loan_payment_history.rb index fefaa0137..4416c8ba5 100644 --- a/lib/plaid/models/cra_loan_payment_history.rb +++ b/lib/plaid/models/cra_loan_payment_history.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_loan_payment_schedule.rb b/lib/plaid/models/cra_loan_payment_schedule.rb index f1958e726..d109bb7cb 100644 --- a/lib/plaid/models/cra_loan_payment_schedule.rb +++ b/lib/plaid/models/cra_loan_payment_schedule.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_loan_register.rb b/lib/plaid/models/cra_loan_register.rb index 38ceb36cf..426f66f6c 100644 --- a/lib/plaid/models/cra_loan_register.rb +++ b/lib/plaid/models/cra_loan_register.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_loan_register_application.rb b/lib/plaid/models/cra_loan_register_application.rb index 58e0faabf..17872d572 100644 --- a/lib/plaid/models/cra_loan_register_application.rb +++ b/lib/plaid/models/cra_loan_register_application.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_loan_status.rb b/lib/plaid/models/cra_loan_status.rb index 1baf8be73..18a337124 100644 --- a/lib/plaid/models/cra_loan_status.rb +++ b/lib/plaid/models/cra_loan_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_loan_status_history_update.rb b/lib/plaid/models/cra_loan_status_history_update.rb index 218bf0b5a..f86bbc00c 100644 --- a/lib/plaid/models/cra_loan_status_history_update.rb +++ b/lib/plaid/models/cra_loan_status_history_update.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_loan_type.rb b/lib/plaid/models/cra_loan_type.rb index 00aca580b..af65acbfa 100644 --- a/lib/plaid/models/cra_loan_type.rb +++ b/lib/plaid/models/cra_loan_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_loan_unregister.rb b/lib/plaid/models/cra_loan_unregister.rb index 62b344381..adf874d93 100644 --- a/lib/plaid/models/cra_loan_unregister.rb +++ b/lib/plaid/models/cra_loan_unregister.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_loan_unregister_response.rb b/lib/plaid/models/cra_loan_unregister_response.rb index 04e0a86da..c398b0a84 100644 --- a/lib/plaid/models/cra_loan_unregister_response.rb +++ b/lib/plaid/models/cra_loan_unregister_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_loan_update.rb b/lib/plaid/models/cra_loan_update.rb index de14268cd..a18fb42c7 100644 --- a/lib/plaid/models/cra_loan_update.rb +++ b/lib/plaid/models/cra_loan_update.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_loans_applications_register_request.rb b/lib/plaid/models/cra_loans_applications_register_request.rb index 9a9dbfc12..fcbcaa3fe 100644 --- a/lib/plaid/models/cra_loans_applications_register_request.rb +++ b/lib/plaid/models/cra_loans_applications_register_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_loans_applications_register_response.rb b/lib/plaid/models/cra_loans_applications_register_response.rb index 243cf503f..cffc8705c 100644 --- a/lib/plaid/models/cra_loans_applications_register_response.rb +++ b/lib/plaid/models/cra_loans_applications_register_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_loans_register_request.rb b/lib/plaid/models/cra_loans_register_request.rb index 81fde88fc..57566efe8 100644 --- a/lib/plaid/models/cra_loans_register_request.rb +++ b/lib/plaid/models/cra_loans_register_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_loans_register_response.rb b/lib/plaid/models/cra_loans_register_response.rb index 949a7d199..174e64d35 100644 --- a/lib/plaid/models/cra_loans_register_response.rb +++ b/lib/plaid/models/cra_loans_register_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_loans_unregister_request.rb b/lib/plaid/models/cra_loans_unregister_request.rb index 260a45d96..03f271ab6 100644 --- a/lib/plaid/models/cra_loans_unregister_request.rb +++ b/lib/plaid/models/cra_loans_unregister_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_loans_update_request.rb b/lib/plaid/models/cra_loans_update_request.rb index f4e3a4c01..1d47af726 100644 --- a/lib/plaid/models/cra_loans_update_request.rb +++ b/lib/plaid/models/cra_loans_update_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_loans_update_response.rb b/lib/plaid/models/cra_loans_update_response.rb index d6570e2fb..b3766b229 100644 --- a/lib/plaid/models/cra_loans_update_response.rb +++ b/lib/plaid/models/cra_loans_update_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_monitoring_insights_get_request.rb b/lib/plaid/models/cra_monitoring_insights_get_request.rb new file mode 100644 index 000000000..8299a55e2 --- /dev/null +++ b/lib/plaid/models/cra_monitoring_insights_get_request.rb @@ -0,0 +1,246 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # CraMonitoringInsightsGetRequest defines the request schema for `/cra/monitoring_insights/get` + class CraMonitoringInsightsGetRequest + # Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body. + attr_accessor :client_id + + # Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body. + attr_accessor :secret + + # The user token associated with the User data is being requested for. + attr_accessor :user_token + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'client_id' => :'client_id', + :'secret' => :'secret', + :'user_token' => :'user_token' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'client_id' => :'String', + :'secret' => :'String', + :'user_token' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::CraMonitoringInsightsGetRequest` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::CraMonitoringInsightsGetRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'client_id') + self.client_id = attributes[:'client_id'] + end + + if attributes.key?(:'secret') + self.secret = attributes[:'secret'] + end + + if attributes.key?(:'user_token') + self.user_token = attributes[:'user_token'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @user_token.nil? + invalid_properties.push('invalid value for "user_token", user_token cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @user_token.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + client_id == o.client_id && + secret == o.secret && + user_token == o.user_token + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [client_id, secret, user_token].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/cra_monitoring_insights_get_response.rb b/lib/plaid/models/cra_monitoring_insights_get_response.rb new file mode 100644 index 000000000..b44c6f33e --- /dev/null +++ b/lib/plaid/models/cra_monitoring_insights_get_response.rb @@ -0,0 +1,243 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # CraMonitoringInsightsGetResponse defines the response schema for `cra/monitoring_insights/get` + class CraMonitoringInsightsGetResponse + # A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive. + attr_accessor :request_id + + # An array of the Monitoring Insights Item + attr_accessor :items + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'request_id' => :'request_id', + :'items' => :'items' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'request_id' => :'String', + :'items' => :'Array' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::CraMonitoringInsightsGetResponse` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::CraMonitoringInsightsGetResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'request_id') + self.request_id = attributes[:'request_id'] + end + + if attributes.key?(:'items') + if (value = attributes[:'items']).is_a?(Array) + self.items = value + end + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @request_id.nil? + invalid_properties.push('invalid value for "request_id", request_id cannot be nil.') + end + + if @items.nil? + invalid_properties.push('invalid value for "items", items cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @request_id.nil? + return false if @items.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + request_id == o.request_id && + items == o.items + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [request_id, items].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/cra_monitoring_insights_item.rb b/lib/plaid/models/cra_monitoring_insights_item.rb new file mode 100644 index 000000000..b96ed7729 --- /dev/null +++ b/lib/plaid/models/cra_monitoring_insights_item.rb @@ -0,0 +1,269 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # An object representing a Monitoring Insights Item + class CraMonitoringInsightsItem + # The date and time when the specific insights were generated (per-item), in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (e.g. \"2018-04-12T03:32:11Z\"). + attr_accessor :date_generated + + # The `item_id` of the Item associated with the insights + attr_accessor :item_id + + attr_accessor :status + + attr_accessor :insights + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'date_generated' => :'date_generated', + :'item_id' => :'item_id', + :'status' => :'status', + :'insights' => :'insights' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'date_generated' => :'Time', + :'item_id' => :'String', + :'status' => :'MonitoringInsightsItemStatus', + :'insights' => :'MonitoringInsights' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::CraMonitoringInsightsItem` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::CraMonitoringInsightsItem`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'date_generated') + self.date_generated = attributes[:'date_generated'] + end + + if attributes.key?(:'item_id') + self.item_id = attributes[:'item_id'] + end + + if attributes.key?(:'status') + self.status = attributes[:'status'] + end + + if attributes.key?(:'insights') + self.insights = attributes[:'insights'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @date_generated.nil? + invalid_properties.push('invalid value for "date_generated", date_generated cannot be nil.') + end + + if @item_id.nil? + invalid_properties.push('invalid value for "item_id", item_id cannot be nil.') + end + + if @status.nil? + invalid_properties.push('invalid value for "status", status cannot be nil.') + end + + if @insights.nil? + invalid_properties.push('invalid value for "insights", insights cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @date_generated.nil? + return false if @item_id.nil? + return false if @status.nil? + return false if @insights.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + date_generated == o.date_generated && + item_id == o.item_id && + status == o.status && + insights == o.insights + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [date_generated, item_id, status, insights].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/cra_monitoring_insights_subscribe_request.rb b/lib/plaid/models/cra_monitoring_insights_subscribe_request.rb new file mode 100644 index 000000000..641960af1 --- /dev/null +++ b/lib/plaid/models/cra_monitoring_insights_subscribe_request.rb @@ -0,0 +1,261 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # CraMonitoringInsightsSubscribeRequest defines the request schema for `/cra/monitoring_insights/subscribe` + class CraMonitoringInsightsSubscribeRequest + # Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body. + attr_accessor :client_id + + # Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body. + attr_accessor :secret + + # The user token associated with the User data is being requested for. + attr_accessor :user_token + + # URL to which Plaid will send Monitoring Insights webhooks, for example when the requested Monitoring Insights is ready. + attr_accessor :webhook + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'client_id' => :'client_id', + :'secret' => :'secret', + :'user_token' => :'user_token', + :'webhook' => :'webhook' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'client_id' => :'String', + :'secret' => :'String', + :'user_token' => :'String', + :'webhook' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::CraMonitoringInsightsSubscribeRequest` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::CraMonitoringInsightsSubscribeRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'client_id') + self.client_id = attributes[:'client_id'] + end + + if attributes.key?(:'secret') + self.secret = attributes[:'secret'] + end + + if attributes.key?(:'user_token') + self.user_token = attributes[:'user_token'] + end + + if attributes.key?(:'webhook') + self.webhook = attributes[:'webhook'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @user_token.nil? + invalid_properties.push('invalid value for "user_token", user_token cannot be nil.') + end + + if @webhook.nil? + invalid_properties.push('invalid value for "webhook", webhook cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @user_token.nil? + return false if @webhook.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + client_id == o.client_id && + secret == o.secret && + user_token == o.user_token && + webhook == o.webhook + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [client_id, secret, user_token, webhook].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/cra_monitoring_insights_subscribe_response.rb b/lib/plaid/models/cra_monitoring_insights_subscribe_response.rb new file mode 100644 index 000000000..4a9139ade --- /dev/null +++ b/lib/plaid/models/cra_monitoring_insights_subscribe_response.rb @@ -0,0 +1,241 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # CraMonitoringInsightsSubscribeResponse defines the response schema for `cra/monitoring_insights/subscribe` + class CraMonitoringInsightsSubscribeResponse + # A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive. + attr_accessor :request_id + + # A unique identifier for the subscription, which can be used for troubleshooting + attr_accessor :subscription_id + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'request_id' => :'request_id', + :'subscription_id' => :'subscription_id' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'request_id' => :'String', + :'subscription_id' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::CraMonitoringInsightsSubscribeResponse` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::CraMonitoringInsightsSubscribeResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'request_id') + self.request_id = attributes[:'request_id'] + end + + if attributes.key?(:'subscription_id') + self.subscription_id = attributes[:'subscription_id'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @request_id.nil? + invalid_properties.push('invalid value for "request_id", request_id cannot be nil.') + end + + if @subscription_id.nil? + invalid_properties.push('invalid value for "subscription_id", subscription_id cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @request_id.nil? + return false if @subscription_id.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + request_id == o.request_id && + subscription_id == o.subscription_id + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [request_id, subscription_id].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/cra_monitoring_insights_unsubscribe_request.rb b/lib/plaid/models/cra_monitoring_insights_unsubscribe_request.rb new file mode 100644 index 000000000..09e748183 --- /dev/null +++ b/lib/plaid/models/cra_monitoring_insights_unsubscribe_request.rb @@ -0,0 +1,246 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # CraMonitoringInsightsUnsubscribeRequest defines the request schema for `/cra/monitoring_insights/unsubscribe` + class CraMonitoringInsightsUnsubscribeRequest + # Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body. + attr_accessor :client_id + + # Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body. + attr_accessor :secret + + # A unique identifier for the subscription, which can be used for troubleshooting + attr_accessor :subscription_id + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'client_id' => :'client_id', + :'secret' => :'secret', + :'subscription_id' => :'subscription_id' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'client_id' => :'String', + :'secret' => :'String', + :'subscription_id' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::CraMonitoringInsightsUnsubscribeRequest` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::CraMonitoringInsightsUnsubscribeRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'client_id') + self.client_id = attributes[:'client_id'] + end + + if attributes.key?(:'secret') + self.secret = attributes[:'secret'] + end + + if attributes.key?(:'subscription_id') + self.subscription_id = attributes[:'subscription_id'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @subscription_id.nil? + invalid_properties.push('invalid value for "subscription_id", subscription_id cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @subscription_id.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + client_id == o.client_id && + secret == o.secret && + subscription_id == o.subscription_id + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [client_id, secret, subscription_id].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/cra_monitoring_insights_unsubscribe_response.rb b/lib/plaid/models/cra_monitoring_insights_unsubscribe_response.rb new file mode 100644 index 000000000..ed032f691 --- /dev/null +++ b/lib/plaid/models/cra_monitoring_insights_unsubscribe_response.rb @@ -0,0 +1,226 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # CraMonitoringInsightsUnsubscribeResponse defines the response schema for `cra/monitoring_insights/unsubscribe` + class CraMonitoringInsightsUnsubscribeResponse + # A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive. + attr_accessor :request_id + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'request_id' => :'request_id' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'request_id' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::CraMonitoringInsightsUnsubscribeResponse` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::CraMonitoringInsightsUnsubscribeResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'request_id') + self.request_id = attributes[:'request_id'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @request_id.nil? + invalid_properties.push('invalid value for "request_id", request_id cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @request_id.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + request_id == o.request_id + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [request_id].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/cra_network_attributes_item.rb b/lib/plaid/models/cra_network_insights_item.rb similarity index 96% rename from lib/plaid/models/cra_network_attributes_item.rb rename to lib/plaid/models/cra_network_insights_item.rb index 1a01ccc6a..ad963fa1a 100644 --- a/lib/plaid/models/cra_network_attributes_item.rb +++ b/lib/plaid/models/cra_network_insights_item.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -15,7 +15,7 @@ module Plaid # Contains data about the connected Item. - class CraNetworkAttributesItem + class CraNetworkInsightsItem # The ID for the institution the user linked. attr_accessor :institution_id @@ -58,13 +58,13 @@ def self.openapi_nullable # @param [Hash] attributes Model attributes in the form of hash def initialize(attributes = {}) if (!attributes.is_a?(Hash)) - fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::CraNetworkAttributesItem` initialize method" + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::CraNetworkInsightsItem` initialize method" end # check to see if the attribute exists and convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| if (!self.class.attribute_map.key?(k.to_sym)) - fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::CraNetworkAttributesItem`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::CraNetworkInsightsItem`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect end h[k.to_sym] = v } diff --git a/lib/plaid/models/cra_network_attributes_report.rb b/lib/plaid/models/cra_network_insights_report.rb similarity index 95% rename from lib/plaid/models/cra_network_attributes_report.rb rename to lib/plaid/models/cra_network_insights_report.rb index e7eb60bcc..820f07379 100644 --- a/lib/plaid/models/cra_network_attributes_report.rb +++ b/lib/plaid/models/cra_network_insights_report.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -15,7 +15,7 @@ module Plaid # Contains data for the CRA Network Attributes Report. - class CraNetworkAttributesReport + class CraNetworkInsightsReport # The unique identifier associated with the Network Attributes report object. attr_accessor :report_id @@ -49,7 +49,7 @@ def self.openapi_types :'report_id' => :'String', :'generated_time' => :'Time', :'network_attributes' => :'Object', - :'items' => :'Array' + :'items' => :'Array' } end @@ -63,13 +63,13 @@ def self.openapi_nullable # @param [Hash] attributes Model attributes in the form of hash def initialize(attributes = {}) if (!attributes.is_a?(Hash)) - fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::CraNetworkAttributesReport` initialize method" + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::CraNetworkInsightsReport` initialize method" end # check to see if the attribute exists and convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| if (!self.class.attribute_map.key?(k.to_sym)) - fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::CraNetworkAttributesReport`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::CraNetworkInsightsReport`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect end h[k.to_sym] = v } diff --git a/lib/plaid/models/cra_partner_insights.rb b/lib/plaid/models/cra_partner_insights.rb index 42bd5bdf5..53949d7a3 100644 --- a/lib/plaid/models/cra_partner_insights.rb +++ b/lib/plaid/models/cra_partner_insights.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_partner_insights_complete_webhook.rb b/lib/plaid/models/cra_partner_insights_complete_webhook.rb index 99ec2615f..1ba3df67d 100644 --- a/lib/plaid/models/cra_partner_insights_complete_webhook.rb +++ b/lib/plaid/models/cra_partner_insights_complete_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_partner_insights_error_webhook.rb b/lib/plaid/models/cra_partner_insights_error_webhook.rb index 86ce2dcfb..7c2ccfc2b 100644 --- a/lib/plaid/models/cra_partner_insights_error_webhook.rb +++ b/lib/plaid/models/cra_partner_insights_error_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_partner_insights_get_request.rb b/lib/plaid/models/cra_partner_insights_get_request.rb index 16bb837d5..1bccf1d51 100644 --- a/lib/plaid/models/cra_partner_insights_get_request.rb +++ b/lib/plaid/models/cra_partner_insights_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_partner_insights_get_response.rb b/lib/plaid/models/cra_partner_insights_get_response.rb index 3a6cdf256..60fbfe78b 100644 --- a/lib/plaid/models/cra_partner_insights_get_response.rb +++ b/lib/plaid/models/cra_partner_insights_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_partner_insights_item.rb b/lib/plaid/models/cra_partner_insights_item.rb index a9e66b56b..8856e8e89 100644 --- a/lib/plaid/models/cra_partner_insights_item.rb +++ b/lib/plaid/models/cra_partner_insights_item.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_partner_insights_item_account.rb b/lib/plaid/models/cra_partner_insights_item_account.rb index 01f48fe4c..cd848e144 100644 --- a/lib/plaid/models/cra_partner_insights_item_account.rb +++ b/lib/plaid/models/cra_partner_insights_item_account.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_partner_insights_prism.rb b/lib/plaid/models/cra_partner_insights_prism.rb index 4830b6bf7..7f390184b 100644 --- a/lib/plaid/models/cra_partner_insights_prism.rb +++ b/lib/plaid/models/cra_partner_insights_prism.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_pdf_add_ons.rb b/lib/plaid/models/cra_pdf_add_ons.rb index 2163e8169..935be9fd3 100644 --- a/lib/plaid/models/cra_pdf_add_ons.rb +++ b/lib/plaid/models/cra_pdf_add_ons.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_prediction_interval.rb b/lib/plaid/models/cra_prediction_interval.rb index 526c849d3..e9226673a 100644 --- a/lib/plaid/models/cra_prediction_interval.rb +++ b/lib/plaid/models/cra_prediction_interval.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit1099.rb b/lib/plaid/models/credit1099.rb index 19b11a509..fc28cb14f 100644 --- a/lib/plaid/models/credit1099.rb +++ b/lib/plaid/models/credit1099.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit1099_filer.rb b/lib/plaid/models/credit1099_filer.rb index e56d671b9..5ed477442 100644 --- a/lib/plaid/models/credit1099_filer.rb +++ b/lib/plaid/models/credit1099_filer.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit1099_payer.rb b/lib/plaid/models/credit1099_payer.rb index 4e73c7c43..622aa929f 100644 --- a/lib/plaid/models/credit1099_payer.rb +++ b/lib/plaid/models/credit1099_payer.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit1099_recipient.rb b/lib/plaid/models/credit1099_recipient.rb index 184719d10..f8b5f526c 100644 --- a/lib/plaid/models/credit1099_recipient.rb +++ b/lib/plaid/models/credit1099_recipient.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_account_subtype.rb b/lib/plaid/models/credit_account_subtype.rb index a4f8475e3..c3cd97f1d 100644 --- a/lib/plaid/models/credit_account_subtype.rb +++ b/lib/plaid/models/credit_account_subtype.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_ach_class.rb b/lib/plaid/models/credit_ach_class.rb index f20904f36..8a2bb90cf 100644 --- a/lib/plaid/models/credit_ach_class.rb +++ b/lib/plaid/models/credit_ach_class.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_amount_with_currency.rb b/lib/plaid/models/credit_amount_with_currency.rb index ba2916b27..c3c7ffb0b 100644 --- a/lib/plaid/models/credit_amount_with_currency.rb +++ b/lib/plaid/models/credit_amount_with_currency.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -88,12 +88,17 @@ def initialize(attributes = {}) # @return Array for valid properties with the reasons def list_invalid_properties invalid_properties = Array.new + if @amount.nil? + invalid_properties.push('invalid value for "amount", amount cannot be nil.') + end + invalid_properties end # Check to see if the all the properties in the model are valid # @return true if the model is valid def valid? + return false if @amount.nil? true end diff --git a/lib/plaid/models/credit_audit_copy_token_create_request.rb b/lib/plaid/models/credit_audit_copy_token_create_request.rb index 690299b55..45bdeed9e 100644 --- a/lib/plaid/models/credit_audit_copy_token_create_request.rb +++ b/lib/plaid/models/credit_audit_copy_token_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_audit_copy_token_create_response.rb b/lib/plaid/models/credit_audit_copy_token_create_response.rb index c4ab78eb4..ebde70d57 100644 --- a/lib/plaid/models/credit_audit_copy_token_create_response.rb +++ b/lib/plaid/models/credit_audit_copy_token_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_audit_copy_token_remove_request.rb b/lib/plaid/models/credit_audit_copy_token_remove_request.rb index 2ab45535d..c858c14f1 100644 --- a/lib/plaid/models/credit_audit_copy_token_remove_request.rb +++ b/lib/plaid/models/credit_audit_copy_token_remove_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_audit_copy_token_remove_response.rb b/lib/plaid/models/credit_audit_copy_token_remove_response.rb index 49814316b..03b49e460 100644 --- a/lib/plaid/models/credit_audit_copy_token_remove_response.rb +++ b/lib/plaid/models/credit_audit_copy_token_remove_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_audit_copy_token_update_request.rb b/lib/plaid/models/credit_audit_copy_token_update_request.rb index 33212c577..73d49d8e2 100644 --- a/lib/plaid/models/credit_audit_copy_token_update_request.rb +++ b/lib/plaid/models/credit_audit_copy_token_update_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_audit_copy_token_update_response.rb b/lib/plaid/models/credit_audit_copy_token_update_response.rb index 5648c0c6f..725ab9340 100644 --- a/lib/plaid/models/credit_audit_copy_token_update_response.rb +++ b/lib/plaid/models/credit_audit_copy_token_update_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_employer.rb b/lib/plaid/models/credit_bank_employer.rb index 89f0ebf5e..846bd0130 100644 --- a/lib/plaid/models/credit_bank_employer.rb +++ b/lib/plaid/models/credit_bank_employer.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_employment.rb b/lib/plaid/models/credit_bank_employment.rb index 805b74934..e787cf28f 100644 --- a/lib/plaid/models/credit_bank_employment.rb +++ b/lib/plaid/models/credit_bank_employment.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_employment_get_request.rb b/lib/plaid/models/credit_bank_employment_get_request.rb index 48e800833..70c3f3534 100644 --- a/lib/plaid/models/credit_bank_employment_get_request.rb +++ b/lib/plaid/models/credit_bank_employment_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_employment_get_response.rb b/lib/plaid/models/credit_bank_employment_get_response.rb index b4b8988fd..66b9f26ec 100644 --- a/lib/plaid/models/credit_bank_employment_get_response.rb +++ b/lib/plaid/models/credit_bank_employment_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_employment_item.rb b/lib/plaid/models/credit_bank_employment_item.rb index 01a47195f..72200ee85 100644 --- a/lib/plaid/models/credit_bank_employment_item.rb +++ b/lib/plaid/models/credit_bank_employment_item.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_employment_report.rb b/lib/plaid/models/credit_bank_employment_report.rb index 9ef32483a..646acc50f 100644 --- a/lib/plaid/models/credit_bank_employment_report.rb +++ b/lib/plaid/models/credit_bank_employment_report.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_employment_warning.rb b/lib/plaid/models/credit_bank_employment_warning.rb index 2b37f123b..dceb7b5d7 100644 --- a/lib/plaid/models/credit_bank_employment_warning.rb +++ b/lib/plaid/models/credit_bank_employment_warning.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_employment_warning_type.rb b/lib/plaid/models/credit_bank_employment_warning_type.rb index b55463fa1..fdc7b765c 100644 --- a/lib/plaid/models/credit_bank_employment_warning_type.rb +++ b/lib/plaid/models/credit_bank_employment_warning_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_income.rb b/lib/plaid/models/credit_bank_income.rb index 6637bb03b..7b45c171c 100644 --- a/lib/plaid/models/credit_bank_income.rb +++ b/lib/plaid/models/credit_bank_income.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -19,10 +19,10 @@ class CreditBankIncome # The unique identifier associated with the Bank Income Report. attr_accessor :bank_income_id - # The time when the Bank Income Report was generated. + # The time when the report was generated. attr_accessor :generated_time - # The number of days requested by the customer for the Bank Income Report. + # The number of days requested by the customer for the report. attr_accessor :days_requested # The list of Items in the report along with the associated metadata about the Item. @@ -30,7 +30,7 @@ class CreditBankIncome attr_accessor :bank_income_summary - # If data from the Bank Income report was unable to be retrieved, the warnings will contain information about the error that caused the data to be incomplete. + # If data from the report was unable to be retrieved, the warnings will contain information about the error that caused the data to be incomplete. attr_accessor :warnings # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/plaid/models/credit_bank_income_account.rb b/lib/plaid/models/credit_bank_income_account.rb index 313b6666b..a503894de 100644 --- a/lib/plaid/models/credit_bank_income_account.rb +++ b/lib/plaid/models/credit_bank_income_account.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_income_account_type.rb b/lib/plaid/models/credit_bank_income_account_type.rb index e4c7f9ead..ebb48190c 100644 --- a/lib/plaid/models/credit_bank_income_account_type.rb +++ b/lib/plaid/models/credit_bank_income_account_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_income_category.rb b/lib/plaid/models/credit_bank_income_category.rb index 6868801eb..0e19266df 100644 --- a/lib/plaid/models/credit_bank_income_category.rb +++ b/lib/plaid/models/credit_bank_income_category.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_income_cause.rb b/lib/plaid/models/credit_bank_income_cause.rb index a64609a9d..9296e3f68 100644 --- a/lib/plaid/models/credit_bank_income_cause.rb +++ b/lib/plaid/models/credit_bank_income_cause.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_income_error_type.rb b/lib/plaid/models/credit_bank_income_error_type.rb index f78a5cac8..1198c7ce6 100644 --- a/lib/plaid/models/credit_bank_income_error_type.rb +++ b/lib/plaid/models/credit_bank_income_error_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_income_get_request.rb b/lib/plaid/models/credit_bank_income_get_request.rb index 7d9abaa1b..78183b36e 100644 --- a/lib/plaid/models/credit_bank_income_get_request.rb +++ b/lib/plaid/models/credit_bank_income_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_income_get_request_options.rb b/lib/plaid/models/credit_bank_income_get_request_options.rb index 71cc894bc..58541af96 100644 --- a/lib/plaid/models/credit_bank_income_get_request_options.rb +++ b/lib/plaid/models/credit_bank_income_get_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_income_get_response.rb b/lib/plaid/models/credit_bank_income_get_response.rb index 4f9c9313a..c8b06442f 100644 --- a/lib/plaid/models/credit_bank_income_get_response.rb +++ b/lib/plaid/models/credit_bank_income_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_income_historical_summary.rb b/lib/plaid/models/credit_bank_income_historical_summary.rb index 21f296cbb..a1df77a3d 100644 --- a/lib/plaid/models/credit_bank_income_historical_summary.rb +++ b/lib/plaid/models/credit_bank_income_historical_summary.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_income_item.rb b/lib/plaid/models/credit_bank_income_item.rb index 176267f5f..a4cf28282 100644 --- a/lib/plaid/models/credit_bank_income_item.rb +++ b/lib/plaid/models/credit_bank_income_item.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_income_pay_frequency.rb b/lib/plaid/models/credit_bank_income_pay_frequency.rb index aec07a72c..a04be0079 100644 --- a/lib/plaid/models/credit_bank_income_pay_frequency.rb +++ b/lib/plaid/models/credit_bank_income_pay_frequency.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_income_pdf_get_request.rb b/lib/plaid/models/credit_bank_income_pdf_get_request.rb index 6ea3a2872..bf56b04d8 100644 --- a/lib/plaid/models/credit_bank_income_pdf_get_request.rb +++ b/lib/plaid/models/credit_bank_income_pdf_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_income_refresh_request.rb b/lib/plaid/models/credit_bank_income_refresh_request.rb index da18f4915..069bc1c23 100644 --- a/lib/plaid/models/credit_bank_income_refresh_request.rb +++ b/lib/plaid/models/credit_bank_income_refresh_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_income_refresh_request_options.rb b/lib/plaid/models/credit_bank_income_refresh_request_options.rb index 52fcafb83..671004d35 100644 --- a/lib/plaid/models/credit_bank_income_refresh_request_options.rb +++ b/lib/plaid/models/credit_bank_income_refresh_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_income_refresh_response.rb b/lib/plaid/models/credit_bank_income_refresh_response.rb index 287a265b2..42a2cbfbc 100644 --- a/lib/plaid/models/credit_bank_income_refresh_response.rb +++ b/lib/plaid/models/credit_bank_income_refresh_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_income_source.rb b/lib/plaid/models/credit_bank_income_source.rb index 3ebeb0bab..e5cb0a848 100644 --- a/lib/plaid/models/credit_bank_income_source.rb +++ b/lib/plaid/models/credit_bank_income_source.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_income_summary.rb b/lib/plaid/models/credit_bank_income_summary.rb index 9d6b464d1..4ba890f45 100644 --- a/lib/plaid/models/credit_bank_income_summary.rb +++ b/lib/plaid/models/credit_bank_income_summary.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_income_transaction.rb b/lib/plaid/models/credit_bank_income_transaction.rb index e8c82dcae..a7312d979 100644 --- a/lib/plaid/models/credit_bank_income_transaction.rb +++ b/lib/plaid/models/credit_bank_income_transaction.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_income_warning.rb b/lib/plaid/models/credit_bank_income_warning.rb index b581c6642..4f1ed00c2 100644 --- a/lib/plaid/models/credit_bank_income_warning.rb +++ b/lib/plaid/models/credit_bank_income_warning.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_income_warning_code.rb b/lib/plaid/models/credit_bank_income_warning_code.rb index 2946655d6..f4e51bab0 100644 --- a/lib/plaid/models/credit_bank_income_warning_code.rb +++ b/lib/plaid/models/credit_bank_income_warning_code.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_income_warning_type.rb b/lib/plaid/models/credit_bank_income_warning_type.rb index 027ac35d6..cc7149105 100644 --- a/lib/plaid/models/credit_bank_income_warning_type.rb +++ b/lib/plaid/models/credit_bank_income_warning_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_income_webhook_update_request.rb b/lib/plaid/models/credit_bank_income_webhook_update_request.rb index 4c8b4be3b..6709e66d5 100644 --- a/lib/plaid/models/credit_bank_income_webhook_update_request.rb +++ b/lib/plaid/models/credit_bank_income_webhook_update_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_income_webhook_update_response.rb b/lib/plaid/models/credit_bank_income_webhook_update_response.rb index 65cfc1c42..b042dfd87 100644 --- a/lib/plaid/models/credit_bank_income_webhook_update_response.rb +++ b/lib/plaid/models/credit_bank_income_webhook_update_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_statement_upload_account_owner.rb b/lib/plaid/models/credit_bank_statement_upload_account_owner.rb index e61444512..b94e2afd6 100644 --- a/lib/plaid/models/credit_bank_statement_upload_account_owner.rb +++ b/lib/plaid/models/credit_bank_statement_upload_account_owner.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_statement_upload_account_owner_address.rb b/lib/plaid/models/credit_bank_statement_upload_account_owner_address.rb index 067e239dc..dd8a3b803 100644 --- a/lib/plaid/models/credit_bank_statement_upload_account_owner_address.rb +++ b/lib/plaid/models/credit_bank_statement_upload_account_owner_address.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_statement_upload_bank_account.rb b/lib/plaid/models/credit_bank_statement_upload_bank_account.rb index 9943992f2..641f9c71d 100644 --- a/lib/plaid/models/credit_bank_statement_upload_bank_account.rb +++ b/lib/plaid/models/credit_bank_statement_upload_bank_account.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_statement_upload_bank_account_period.rb b/lib/plaid/models/credit_bank_statement_upload_bank_account_period.rb index cc2c4794b..a2215a0b0 100644 --- a/lib/plaid/models/credit_bank_statement_upload_bank_account_period.rb +++ b/lib/plaid/models/credit_bank_statement_upload_bank_account_period.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_statement_upload_item.rb b/lib/plaid/models/credit_bank_statement_upload_item.rb index cf8ef4ca1..2d8720dad 100644 --- a/lib/plaid/models/credit_bank_statement_upload_item.rb +++ b/lib/plaid/models/credit_bank_statement_upload_item.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_statement_upload_object.rb b/lib/plaid/models/credit_bank_statement_upload_object.rb index d402e5d2a..f6e804f01 100644 --- a/lib/plaid/models/credit_bank_statement_upload_object.rb +++ b/lib/plaid/models/credit_bank_statement_upload_object.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_statement_upload_transaction.rb b/lib/plaid/models/credit_bank_statement_upload_transaction.rb index 728601448..f3c2e5be9 100644 --- a/lib/plaid/models/credit_bank_statement_upload_transaction.rb +++ b/lib/plaid/models/credit_bank_statement_upload_transaction.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_statements_uploads_get_request.rb b/lib/plaid/models/credit_bank_statements_uploads_get_request.rb index ee58a5faa..315a62c12 100644 --- a/lib/plaid/models/credit_bank_statements_uploads_get_request.rb +++ b/lib/plaid/models/credit_bank_statements_uploads_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_statements_uploads_get_request_options.rb b/lib/plaid/models/credit_bank_statements_uploads_get_request_options.rb index 85b49f4c3..05674ec22 100644 --- a/lib/plaid/models/credit_bank_statements_uploads_get_request_options.rb +++ b/lib/plaid/models/credit_bank_statements_uploads_get_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_statements_uploads_get_response.rb b/lib/plaid/models/credit_bank_statements_uploads_get_response.rb index 8d27cb57b..d503c9fba 100644 --- a/lib/plaid/models/credit_bank_statements_uploads_get_response.rb +++ b/lib/plaid/models/credit_bank_statements_uploads_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_card_liability.rb b/lib/plaid/models/credit_card_liability.rb index 2835350cb..0ff251c66 100644 --- a/lib/plaid/models/credit_card_liability.rb +++ b/lib/plaid/models/credit_card_liability.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_category.rb b/lib/plaid/models/credit_category.rb index 440b78e82..90e231d53 100644 --- a/lib/plaid/models/credit_category.rb +++ b/lib/plaid/models/credit_category.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_document_metadata.rb b/lib/plaid/models/credit_document_metadata.rb index c7f5d1737..96d972114 100644 --- a/lib/plaid/models/credit_document_metadata.rb +++ b/lib/plaid/models/credit_document_metadata.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_employer_verification.rb b/lib/plaid/models/credit_employer_verification.rb index b7fa8bdca..0578d1a2d 100644 --- a/lib/plaid/models/credit_employer_verification.rb +++ b/lib/plaid/models/credit_employer_verification.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_employment_get_request.rb b/lib/plaid/models/credit_employment_get_request.rb index f12efcd54..464e1fca3 100644 --- a/lib/plaid/models/credit_employment_get_request.rb +++ b/lib/plaid/models/credit_employment_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_employment_get_response.rb b/lib/plaid/models/credit_employment_get_response.rb index c1ed087da..c40c45e4c 100644 --- a/lib/plaid/models/credit_employment_get_response.rb +++ b/lib/plaid/models/credit_employment_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_employment_item.rb b/lib/plaid/models/credit_employment_item.rb index 95e734a81..d6e2f5abe 100644 --- a/lib/plaid/models/credit_employment_item.rb +++ b/lib/plaid/models/credit_employment_item.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_employment_verification.rb b/lib/plaid/models/credit_employment_verification.rb index 124a14c9b..4f8406bbb 100644 --- a/lib/plaid/models/credit_employment_verification.rb +++ b/lib/plaid/models/credit_employment_verification.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_filter.rb b/lib/plaid/models/credit_filter.rb index fca653f67..3017a7fd6 100644 --- a/lib/plaid/models/credit_filter.rb +++ b/lib/plaid/models/credit_filter.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_freddie_mac_asset.rb b/lib/plaid/models/credit_freddie_mac_asset.rb index d2262b5b5..98ac522ce 100644 --- a/lib/plaid/models/credit_freddie_mac_asset.rb +++ b/lib/plaid/models/credit_freddie_mac_asset.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_freddie_mac_asset_transaction.rb b/lib/plaid/models/credit_freddie_mac_asset_transaction.rb index 28f1259a4..4bf437a41 100644 --- a/lib/plaid/models/credit_freddie_mac_asset_transaction.rb +++ b/lib/plaid/models/credit_freddie_mac_asset_transaction.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_freddie_mac_asset_transactions.rb b/lib/plaid/models/credit_freddie_mac_asset_transactions.rb index f30b83db4..c73ed9a36 100644 --- a/lib/plaid/models/credit_freddie_mac_asset_transactions.rb +++ b/lib/plaid/models/credit_freddie_mac_asset_transactions.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_freddie_mac_assets.rb b/lib/plaid/models/credit_freddie_mac_assets.rb index bc6aaf2e0..96148df8b 100644 --- a/lib/plaid/models/credit_freddie_mac_assets.rb +++ b/lib/plaid/models/credit_freddie_mac_assets.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_freddie_mac_individual_name.rb b/lib/plaid/models/credit_freddie_mac_individual_name.rb index d235494a3..a33457c77 100644 --- a/lib/plaid/models/credit_freddie_mac_individual_name.rb +++ b/lib/plaid/models/credit_freddie_mac_individual_name.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_freddie_mac_loan.rb b/lib/plaid/models/credit_freddie_mac_loan.rb index ac8c660e6..26092ca00 100644 --- a/lib/plaid/models/credit_freddie_mac_loan.rb +++ b/lib/plaid/models/credit_freddie_mac_loan.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_freddie_mac_loan_identifiers.rb b/lib/plaid/models/credit_freddie_mac_loan_identifiers.rb index 728e2ed6e..fd2c813a4 100644 --- a/lib/plaid/models/credit_freddie_mac_loan_identifiers.rb +++ b/lib/plaid/models/credit_freddie_mac_loan_identifiers.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_freddie_mac_loans.rb b/lib/plaid/models/credit_freddie_mac_loans.rb index 4e2a7bc3a..e3275c179 100644 --- a/lib/plaid/models/credit_freddie_mac_loans.rb +++ b/lib/plaid/models/credit_freddie_mac_loans.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_freddie_mac_parties.rb b/lib/plaid/models/credit_freddie_mac_parties.rb index e7c87cd5c..9499fb7ca 100644 --- a/lib/plaid/models/credit_freddie_mac_parties.rb +++ b/lib/plaid/models/credit_freddie_mac_parties.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_freddie_mac_party.rb b/lib/plaid/models/credit_freddie_mac_party.rb index 1d196a87e..de07b12a9 100644 --- a/lib/plaid/models/credit_freddie_mac_party.rb +++ b/lib/plaid/models/credit_freddie_mac_party.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_freddie_mac_party_individual.rb b/lib/plaid/models/credit_freddie_mac_party_individual.rb index 04babd3c4..ec58cca40 100644 --- a/lib/plaid/models/credit_freddie_mac_party_individual.rb +++ b/lib/plaid/models/credit_freddie_mac_party_individual.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_freddie_mac_reporting_information.rb b/lib/plaid/models/credit_freddie_mac_reporting_information.rb index b92581c7f..c05158d3d 100644 --- a/lib/plaid/models/credit_freddie_mac_reporting_information.rb +++ b/lib/plaid/models/credit_freddie_mac_reporting_information.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_freddie_mac_reports_get_request.rb b/lib/plaid/models/credit_freddie_mac_reports_get_request.rb index e05d7bc46..1ef69c430 100644 --- a/lib/plaid/models/credit_freddie_mac_reports_get_request.rb +++ b/lib/plaid/models/credit_freddie_mac_reports_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_freddie_mac_reports_get_response.rb b/lib/plaid/models/credit_freddie_mac_reports_get_response.rb index 72a45139f..37486999a 100644 --- a/lib/plaid/models/credit_freddie_mac_reports_get_response.rb +++ b/lib/plaid/models/credit_freddie_mac_reports_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_freddie_mac_service.rb b/lib/plaid/models/credit_freddie_mac_service.rb index 82463b507..797089e26 100644 --- a/lib/plaid/models/credit_freddie_mac_service.rb +++ b/lib/plaid/models/credit_freddie_mac_service.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_freddie_mac_services.rb b/lib/plaid/models/credit_freddie_mac_services.rb index 16484ed5d..33b1ffd66 100644 --- a/lib/plaid/models/credit_freddie_mac_services.rb +++ b/lib/plaid/models/credit_freddie_mac_services.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_freddie_mac_verification_of_asset.rb b/lib/plaid/models/credit_freddie_mac_verification_of_asset.rb index 299d6acc0..b76d5dd9e 100644 --- a/lib/plaid/models/credit_freddie_mac_verification_of_asset.rb +++ b/lib/plaid/models/credit_freddie_mac_verification_of_asset.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_freddie_mac_verification_of_asset_response.rb b/lib/plaid/models/credit_freddie_mac_verification_of_asset_response.rb index 8f60727a8..dba825256 100644 --- a/lib/plaid/models/credit_freddie_mac_verification_of_asset_response.rb +++ b/lib/plaid/models/credit_freddie_mac_verification_of_asset_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_freddie_mac_verification_of_assets_deal.rb b/lib/plaid/models/credit_freddie_mac_verification_of_assets_deal.rb index 065a530b7..6e98ec99d 100644 --- a/lib/plaid/models/credit_freddie_mac_verification_of_assets_deal.rb +++ b/lib/plaid/models/credit_freddie_mac_verification_of_assets_deal.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_pay_stub.rb b/lib/plaid/models/credit_pay_stub.rb index c1c557367..2f2904070 100644 --- a/lib/plaid/models/credit_pay_stub.rb +++ b/lib/plaid/models/credit_pay_stub.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_pay_stub_address.rb b/lib/plaid/models/credit_pay_stub_address.rb index bf3c775e7..23c361767 100644 --- a/lib/plaid/models/credit_pay_stub_address.rb +++ b/lib/plaid/models/credit_pay_stub_address.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_pay_stub_deductions.rb b/lib/plaid/models/credit_pay_stub_deductions.rb index 51d415fd4..9ad8e33fb 100644 --- a/lib/plaid/models/credit_pay_stub_deductions.rb +++ b/lib/plaid/models/credit_pay_stub_deductions.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_pay_stub_earnings.rb b/lib/plaid/models/credit_pay_stub_earnings.rb index 2b8187636..b8e257f3d 100644 --- a/lib/plaid/models/credit_pay_stub_earnings.rb +++ b/lib/plaid/models/credit_pay_stub_earnings.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_pay_stub_employee.rb b/lib/plaid/models/credit_pay_stub_employee.rb index efdae6011..a1c00a93e 100644 --- a/lib/plaid/models/credit_pay_stub_employee.rb +++ b/lib/plaid/models/credit_pay_stub_employee.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_pay_stub_employer.rb b/lib/plaid/models/credit_pay_stub_employer.rb index ca3684fac..ea59a87e3 100644 --- a/lib/plaid/models/credit_pay_stub_employer.rb +++ b/lib/plaid/models/credit_pay_stub_employer.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_pay_stub_net_pay.rb b/lib/plaid/models/credit_pay_stub_net_pay.rb index a85ac8688..5dfa31627 100644 --- a/lib/plaid/models/credit_pay_stub_net_pay.rb +++ b/lib/plaid/models/credit_pay_stub_net_pay.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_pay_stub_pay_basis_type.rb b/lib/plaid/models/credit_pay_stub_pay_basis_type.rb index 6685cc96b..86e88c906 100644 --- a/lib/plaid/models/credit_pay_stub_pay_basis_type.rb +++ b/lib/plaid/models/credit_pay_stub_pay_basis_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_payroll_income_get_request.rb b/lib/plaid/models/credit_payroll_income_get_request.rb index ab50206b2..74772acd0 100644 --- a/lib/plaid/models/credit_payroll_income_get_request.rb +++ b/lib/plaid/models/credit_payroll_income_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_payroll_income_get_request_options.rb b/lib/plaid/models/credit_payroll_income_get_request_options.rb index 9e20b7dd0..2d1e457d6 100644 --- a/lib/plaid/models/credit_payroll_income_get_request_options.rb +++ b/lib/plaid/models/credit_payroll_income_get_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_payroll_income_get_response.rb b/lib/plaid/models/credit_payroll_income_get_response.rb index 1f6e09e38..261989c0a 100644 --- a/lib/plaid/models/credit_payroll_income_get_response.rb +++ b/lib/plaid/models/credit_payroll_income_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_payroll_income_parsing_config_update_request.rb b/lib/plaid/models/credit_payroll_income_parsing_config_update_request.rb index e7e16dd0e..85fb18827 100644 --- a/lib/plaid/models/credit_payroll_income_parsing_config_update_request.rb +++ b/lib/plaid/models/credit_payroll_income_parsing_config_update_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_payroll_income_parsing_config_update_response.rb b/lib/plaid/models/credit_payroll_income_parsing_config_update_response.rb index 9d49a05ef..0c6b129c8 100644 --- a/lib/plaid/models/credit_payroll_income_parsing_config_update_response.rb +++ b/lib/plaid/models/credit_payroll_income_parsing_config_update_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_payroll_income_precheck_request.rb b/lib/plaid/models/credit_payroll_income_precheck_request.rb index 251abd685..360847e26 100644 --- a/lib/plaid/models/credit_payroll_income_precheck_request.rb +++ b/lib/plaid/models/credit_payroll_income_precheck_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_payroll_income_precheck_response.rb b/lib/plaid/models/credit_payroll_income_precheck_response.rb index 04c86ef2f..53c76897d 100644 --- a/lib/plaid/models/credit_payroll_income_precheck_response.rb +++ b/lib/plaid/models/credit_payroll_income_precheck_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_payroll_income_refresh_request.rb b/lib/plaid/models/credit_payroll_income_refresh_request.rb index 5a55ed5eb..b9dedbe42 100644 --- a/lib/plaid/models/credit_payroll_income_refresh_request.rb +++ b/lib/plaid/models/credit_payroll_income_refresh_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_payroll_income_refresh_request_options.rb b/lib/plaid/models/credit_payroll_income_refresh_request_options.rb index a6fee6a40..1239279dc 100644 --- a/lib/plaid/models/credit_payroll_income_refresh_request_options.rb +++ b/lib/plaid/models/credit_payroll_income_refresh_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_payroll_income_refresh_response.rb b/lib/plaid/models/credit_payroll_income_refresh_response.rb index 4c8f090d9..16a28af8e 100644 --- a/lib/plaid/models/credit_payroll_income_refresh_response.rb +++ b/lib/plaid/models/credit_payroll_income_refresh_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_payroll_income_risk_signals_get_request.rb b/lib/plaid/models/credit_payroll_income_risk_signals_get_request.rb index b575f544b..a5dc44c25 100644 --- a/lib/plaid/models/credit_payroll_income_risk_signals_get_request.rb +++ b/lib/plaid/models/credit_payroll_income_risk_signals_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_payroll_income_risk_signals_get_response.rb b/lib/plaid/models/credit_payroll_income_risk_signals_get_response.rb index e32f647fc..46b7440e4 100644 --- a/lib/plaid/models/credit_payroll_income_risk_signals_get_response.rb +++ b/lib/plaid/models/credit_payroll_income_risk_signals_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_platform_ids.rb b/lib/plaid/models/credit_platform_ids.rb index e4a2e0289..8ee0acec4 100644 --- a/lib/plaid/models/credit_platform_ids.rb +++ b/lib/plaid/models/credit_platform_ids.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_relay_create_request.rb b/lib/plaid/models/credit_relay_create_request.rb index df0680f64..caf362506 100644 --- a/lib/plaid/models/credit_relay_create_request.rb +++ b/lib/plaid/models/credit_relay_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_relay_create_response.rb b/lib/plaid/models/credit_relay_create_response.rb index 8631a7cbb..74116924d 100644 --- a/lib/plaid/models/credit_relay_create_response.rb +++ b/lib/plaid/models/credit_relay_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_relay_get_request.rb b/lib/plaid/models/credit_relay_get_request.rb index abf5efda8..97137b4f9 100644 --- a/lib/plaid/models/credit_relay_get_request.rb +++ b/lib/plaid/models/credit_relay_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_relay_pdf_get_request.rb b/lib/plaid/models/credit_relay_pdf_get_request.rb index a2d2b329e..8a87bfa87 100644 --- a/lib/plaid/models/credit_relay_pdf_get_request.rb +++ b/lib/plaid/models/credit_relay_pdf_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_relay_refresh_request.rb b/lib/plaid/models/credit_relay_refresh_request.rb index 556bef217..8bc2fb3e3 100644 --- a/lib/plaid/models/credit_relay_refresh_request.rb +++ b/lib/plaid/models/credit_relay_refresh_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_relay_refresh_response.rb b/lib/plaid/models/credit_relay_refresh_response.rb index bb8a70312..5112df911 100644 --- a/lib/plaid/models/credit_relay_refresh_response.rb +++ b/lib/plaid/models/credit_relay_refresh_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_relay_remove_request.rb b/lib/plaid/models/credit_relay_remove_request.rb index 306ed7368..adfea349c 100644 --- a/lib/plaid/models/credit_relay_remove_request.rb +++ b/lib/plaid/models/credit_relay_remove_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_relay_remove_response.rb b/lib/plaid/models/credit_relay_remove_response.rb index 3b3d23508..ee6ae92f2 100644 --- a/lib/plaid/models/credit_relay_remove_response.rb +++ b/lib/plaid/models/credit_relay_remove_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_session.rb b/lib/plaid/models/credit_session.rb index 2cf48220f..9d5b6ba29 100644 --- a/lib/plaid/models/credit_session.rb +++ b/lib/plaid/models/credit_session.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_session_bank_employment_result.rb b/lib/plaid/models/credit_session_bank_employment_result.rb index 32f6c7c7e..c1051fe8c 100644 --- a/lib/plaid/models/credit_session_bank_employment_result.rb +++ b/lib/plaid/models/credit_session_bank_employment_result.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_session_bank_employment_status.rb b/lib/plaid/models/credit_session_bank_employment_status.rb index 68a5b492b..606c80135 100644 --- a/lib/plaid/models/credit_session_bank_employment_status.rb +++ b/lib/plaid/models/credit_session_bank_employment_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_session_bank_income_result.rb b/lib/plaid/models/credit_session_bank_income_result.rb index d43db2ccf..512a8e52b 100644 --- a/lib/plaid/models/credit_session_bank_income_result.rb +++ b/lib/plaid/models/credit_session_bank_income_result.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_session_bank_income_status.rb b/lib/plaid/models/credit_session_bank_income_status.rb index 418fc2f5b..5689e8013 100644 --- a/lib/plaid/models/credit_session_bank_income_status.rb +++ b/lib/plaid/models/credit_session_bank_income_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_session_document_income_result.rb b/lib/plaid/models/credit_session_document_income_result.rb index deeb63f3c..6efd08961 100644 --- a/lib/plaid/models/credit_session_document_income_result.rb +++ b/lib/plaid/models/credit_session_document_income_result.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_session_error.rb b/lib/plaid/models/credit_session_error.rb index ab85e5471..1517cdce1 100644 --- a/lib/plaid/models/credit_session_error.rb +++ b/lib/plaid/models/credit_session_error.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_session_item_add_result.rb b/lib/plaid/models/credit_session_item_add_result.rb index 1eaa8d4e4..ea4f3aa0a 100644 --- a/lib/plaid/models/credit_session_item_add_result.rb +++ b/lib/plaid/models/credit_session_item_add_result.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_session_payroll_income_result.rb b/lib/plaid/models/credit_session_payroll_income_result.rb index 08af2cf99..f1050de59 100644 --- a/lib/plaid/models/credit_session_payroll_income_result.rb +++ b/lib/plaid/models/credit_session_payroll_income_result.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_session_results.rb b/lib/plaid/models/credit_session_results.rb index 23109ca6d..5fba0030f 100644 --- a/lib/plaid/models/credit_session_results.rb +++ b/lib/plaid/models/credit_session_results.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_sessions_get_request.rb b/lib/plaid/models/credit_sessions_get_request.rb index cb764a5f2..76fa2b3fe 100644 --- a/lib/plaid/models/credit_sessions_get_request.rb +++ b/lib/plaid/models/credit_sessions_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_sessions_get_response.rb b/lib/plaid/models/credit_sessions_get_response.rb index 37f1215d0..c332dd4ef 100644 --- a/lib/plaid/models/credit_sessions_get_response.rb +++ b/lib/plaid/models/credit_sessions_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_w2.rb b/lib/plaid/models/credit_w2.rb index ffbbfe027..775130104 100644 --- a/lib/plaid/models/credit_w2.rb +++ b/lib/plaid/models/credit_w2.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/customer_initiated_return_risk.rb b/lib/plaid/models/customer_initiated_return_risk.rb index 2a8d6935a..7fefa0970 100644 --- a/lib/plaid/models/customer_initiated_return_risk.rb +++ b/lib/plaid/models/customer_initiated_return_risk.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/dashboard_user.rb b/lib/plaid/models/dashboard_user.rb index f88490b31..0ecdb23f4 100644 --- a/lib/plaid/models/dashboard_user.rb +++ b/lib/plaid/models/dashboard_user.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -22,7 +22,7 @@ class DashboardUser # An ISO8601 formatted timestamp. attr_accessor :created_at - # A valid email address. + # A valid email address. Must not have leading or trailing spaces. attr_accessor :email_address attr_accessor :status diff --git a/lib/plaid/models/dashboard_user_get_request.rb b/lib/plaid/models/dashboard_user_get_request.rb index 1dfa33611..d26fdf8ad 100644 --- a/lib/plaid/models/dashboard_user_get_request.rb +++ b/lib/plaid/models/dashboard_user_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/dashboard_user_get_response.rb b/lib/plaid/models/dashboard_user_get_response.rb index 93465a454..6deef36a5 100644 --- a/lib/plaid/models/dashboard_user_get_response.rb +++ b/lib/plaid/models/dashboard_user_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -22,7 +22,7 @@ class DashboardUserGetResponse # An ISO8601 formatted timestamp. attr_accessor :created_at - # A valid email address. + # A valid email address. Must not have leading or trailing spaces. attr_accessor :email_address attr_accessor :status diff --git a/lib/plaid/models/dashboard_user_list_request.rb b/lib/plaid/models/dashboard_user_list_request.rb index c592cdec7..80ee6abd5 100644 --- a/lib/plaid/models/dashboard_user_list_request.rb +++ b/lib/plaid/models/dashboard_user_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/dashboard_user_list_response.rb b/lib/plaid/models/dashboard_user_list_response.rb index 9594a45d7..3ce8b413f 100644 --- a/lib/plaid/models/dashboard_user_list_response.rb +++ b/lib/plaid/models/dashboard_user_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/dashboard_user_status.rb b/lib/plaid/models/dashboard_user_status.rb index fae7354bb..15fcb8bcc 100644 --- a/lib/plaid/models/dashboard_user_status.rb +++ b/lib/plaid/models/dashboard_user_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/date_range.rb b/lib/plaid/models/date_range.rb index 35437b8ba..ae6e657aa 100644 --- a/lib/plaid/models/date_range.rb +++ b/lib/plaid/models/date_range.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/deductions.rb b/lib/plaid/models/deductions.rb index eed9f98fc..3bbbcdcba 100644 --- a/lib/plaid/models/deductions.rb +++ b/lib/plaid/models/deductions.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/deductions_breakdown.rb b/lib/plaid/models/deductions_breakdown.rb index 9e76e6dfa..8120f5621 100644 --- a/lib/plaid/models/deductions_breakdown.rb +++ b/lib/plaid/models/deductions_breakdown.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/deductions_total.rb b/lib/plaid/models/deductions_total.rb index bd0ec70de..dc602b82b 100644 --- a/lib/plaid/models/deductions_total.rb +++ b/lib/plaid/models/deductions_total.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/default_update_webhook.rb b/lib/plaid/models/default_update_webhook.rb index b4496ccf6..c7fad0f90 100644 --- a/lib/plaid/models/default_update_webhook.rb +++ b/lib/plaid/models/default_update_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/deposit_switch_address_data.rb b/lib/plaid/models/deposit_switch_address_data.rb index 39e8cac4e..070065420 100644 --- a/lib/plaid/models/deposit_switch_address_data.rb +++ b/lib/plaid/models/deposit_switch_address_data.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/deposit_switch_alt_create_request.rb b/lib/plaid/models/deposit_switch_alt_create_request.rb index d41068b26..7483cb2ee 100644 --- a/lib/plaid/models/deposit_switch_alt_create_request.rb +++ b/lib/plaid/models/deposit_switch_alt_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/deposit_switch_alt_create_response.rb b/lib/plaid/models/deposit_switch_alt_create_response.rb index c3671fcd5..de063267b 100644 --- a/lib/plaid/models/deposit_switch_alt_create_response.rb +++ b/lib/plaid/models/deposit_switch_alt_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/deposit_switch_create_request.rb b/lib/plaid/models/deposit_switch_create_request.rb index edf92a646..c76522427 100644 --- a/lib/plaid/models/deposit_switch_create_request.rb +++ b/lib/plaid/models/deposit_switch_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/deposit_switch_create_request_options.rb b/lib/plaid/models/deposit_switch_create_request_options.rb index fa8c2b89c..6d0ffb25f 100644 --- a/lib/plaid/models/deposit_switch_create_request_options.rb +++ b/lib/plaid/models/deposit_switch_create_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/deposit_switch_create_response.rb b/lib/plaid/models/deposit_switch_create_response.rb index b149ef880..f4423dbb1 100644 --- a/lib/plaid/models/deposit_switch_create_response.rb +++ b/lib/plaid/models/deposit_switch_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/deposit_switch_get_request.rb b/lib/plaid/models/deposit_switch_get_request.rb index 7560e7b74..c6802208a 100644 --- a/lib/plaid/models/deposit_switch_get_request.rb +++ b/lib/plaid/models/deposit_switch_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/deposit_switch_get_response.rb b/lib/plaid/models/deposit_switch_get_response.rb index b10c5e4a7..48484577a 100644 --- a/lib/plaid/models/deposit_switch_get_response.rb +++ b/lib/plaid/models/deposit_switch_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/deposit_switch_state_update_webhook.rb b/lib/plaid/models/deposit_switch_state_update_webhook.rb index f90505c0d..210ac06ff 100644 --- a/lib/plaid/models/deposit_switch_state_update_webhook.rb +++ b/lib/plaid/models/deposit_switch_state_update_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/deposit_switch_target_account.rb b/lib/plaid/models/deposit_switch_target_account.rb index c34802d82..a702c6594 100644 --- a/lib/plaid/models/deposit_switch_target_account.rb +++ b/lib/plaid/models/deposit_switch_target_account.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/deposit_switch_target_user.rb b/lib/plaid/models/deposit_switch_target_user.rb index 109a1355f..5fe8b7df4 100644 --- a/lib/plaid/models/deposit_switch_target_user.rb +++ b/lib/plaid/models/deposit_switch_target_user.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/deposit_switch_token_create_request.rb b/lib/plaid/models/deposit_switch_token_create_request.rb index df85bee03..b5f0a6ad2 100644 --- a/lib/plaid/models/deposit_switch_token_create_request.rb +++ b/lib/plaid/models/deposit_switch_token_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/deposit_switch_token_create_response.rb b/lib/plaid/models/deposit_switch_token_create_response.rb index 9b30766fa..45a88e8fa 100644 --- a/lib/plaid/models/deposit_switch_token_create_response.rb +++ b/lib/plaid/models/deposit_switch_token_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/depository_account_subtype.rb b/lib/plaid/models/depository_account_subtype.rb index 33a0ee292..9f6d172ec 100644 --- a/lib/plaid/models/depository_account_subtype.rb +++ b/lib/plaid/models/depository_account_subtype.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/depository_filter.rb b/lib/plaid/models/depository_filter.rb index 091718120..ec5eda66f 100644 --- a/lib/plaid/models/depository_filter.rb +++ b/lib/plaid/models/depository_filter.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/detailed_originator.rb b/lib/plaid/models/detailed_originator.rb index 865bf42c6..a0174dd54 100644 --- a/lib/plaid/models/detailed_originator.rb +++ b/lib/plaid/models/detailed_originator.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/detected_account.rb b/lib/plaid/models/detected_account.rb index 7c1a4d8be..e7102d52d 100644 --- a/lib/plaid/models/detected_account.rb +++ b/lib/plaid/models/detected_account.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/distribution_breakdown.rb b/lib/plaid/models/distribution_breakdown.rb index cd8645561..75d010455 100644 --- a/lib/plaid/models/distribution_breakdown.rb +++ b/lib/plaid/models/distribution_breakdown.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/doc_type.rb b/lib/plaid/models/doc_type.rb index d275b0be0..5f317a99e 100644 --- a/lib/plaid/models/doc_type.rb +++ b/lib/plaid/models/doc_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/document_analysis.rb b/lib/plaid/models/document_analysis.rb index 33b2be2de..11b8f657e 100644 --- a/lib/plaid/models/document_analysis.rb +++ b/lib/plaid/models/document_analysis.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/document_authenticity_match_code.rb b/lib/plaid/models/document_authenticity_match_code.rb index 6380dadde..7756c0741 100644 --- a/lib/plaid/models/document_authenticity_match_code.rb +++ b/lib/plaid/models/document_authenticity_match_code.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/document_date_of_birth_match_code.rb b/lib/plaid/models/document_date_of_birth_match_code.rb index 43df61fda..c7ca07303 100644 --- a/lib/plaid/models/document_date_of_birth_match_code.rb +++ b/lib/plaid/models/document_date_of_birth_match_code.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/document_metadata.rb b/lib/plaid/models/document_metadata.rb index bc2e0217b..55ff2cfee 100644 --- a/lib/plaid/models/document_metadata.rb +++ b/lib/plaid/models/document_metadata.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/document_name_match_code.rb b/lib/plaid/models/document_name_match_code.rb index a6052aae0..8fa6f384b 100644 --- a/lib/plaid/models/document_name_match_code.rb +++ b/lib/plaid/models/document_name_match_code.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/document_risk_signal.rb b/lib/plaid/models/document_risk_signal.rb index 364ce5303..10021649c 100644 --- a/lib/plaid/models/document_risk_signal.rb +++ b/lib/plaid/models/document_risk_signal.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/document_risk_signal_institution_metadata.rb b/lib/plaid/models/document_risk_signal_institution_metadata.rb index 78ed56c5a..27197f295 100644 --- a/lib/plaid/models/document_risk_signal_institution_metadata.rb +++ b/lib/plaid/models/document_risk_signal_institution_metadata.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/document_risk_signals_object.rb b/lib/plaid/models/document_risk_signals_object.rb index 875a5320f..69dc9ed8b 100644 --- a/lib/plaid/models/document_risk_signals_object.rb +++ b/lib/plaid/models/document_risk_signals_object.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/document_risk_summary.rb b/lib/plaid/models/document_risk_summary.rb index a7c4cb142..b0f92e486 100644 --- a/lib/plaid/models/document_risk_summary.rb +++ b/lib/plaid/models/document_risk_summary.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/document_status.rb b/lib/plaid/models/document_status.rb index 3fea0e96f..d14b28901 100644 --- a/lib/plaid/models/document_status.rb +++ b/lib/plaid/models/document_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/documentary_verification.rb b/lib/plaid/models/documentary_verification.rb index e2cd91d9f..b9139dc4b 100644 --- a/lib/plaid/models/documentary_verification.rb +++ b/lib/plaid/models/documentary_verification.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/documentary_verification_document.rb b/lib/plaid/models/documentary_verification_document.rb index 7260de63d..33d375b38 100644 --- a/lib/plaid/models/documentary_verification_document.rb +++ b/lib/plaid/models/documentary_verification_document.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/earnings.rb b/lib/plaid/models/earnings.rb index beafdf65e..385df7898 100644 --- a/lib/plaid/models/earnings.rb +++ b/lib/plaid/models/earnings.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/earnings_breakdown.rb b/lib/plaid/models/earnings_breakdown.rb index f74e4f35d..61389dd6f 100644 --- a/lib/plaid/models/earnings_breakdown.rb +++ b/lib/plaid/models/earnings_breakdown.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/earnings_breakdown_canonical_description.rb b/lib/plaid/models/earnings_breakdown_canonical_description.rb index da683a997..e7d31aa46 100644 --- a/lib/plaid/models/earnings_breakdown_canonical_description.rb +++ b/lib/plaid/models/earnings_breakdown_canonical_description.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/earnings_total.rb b/lib/plaid/models/earnings_total.rb index b7f541473..552895dd5 100644 --- a/lib/plaid/models/earnings_total.rb +++ b/lib/plaid/models/earnings_total.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/email.rb b/lib/plaid/models/email.rb index 3af25ac58..3d2cb96c9 100644 --- a/lib/plaid/models/email.rb +++ b/lib/plaid/models/email.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/email_address_match_score.rb b/lib/plaid/models/email_address_match_score.rb index 6b89892d2..54681626b 100644 --- a/lib/plaid/models/email_address_match_score.rb +++ b/lib/plaid/models/email_address_match_score.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/employee.rb b/lib/plaid/models/employee.rb index 48e626c1c..e0cdd6b11 100644 --- a/lib/plaid/models/employee.rb +++ b/lib/plaid/models/employee.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/employee_income_summary_field_string.rb b/lib/plaid/models/employee_income_summary_field_string.rb index cf9c58248..33051dea2 100644 --- a/lib/plaid/models/employee_income_summary_field_string.rb +++ b/lib/plaid/models/employee_income_summary_field_string.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/employer.rb b/lib/plaid/models/employer.rb index a6907f0d0..9c81051d8 100644 --- a/lib/plaid/models/employer.rb +++ b/lib/plaid/models/employer.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/employer_income_summary_field_string.rb b/lib/plaid/models/employer_income_summary_field_string.rb index 648ac47b1..6770bdbdd 100644 --- a/lib/plaid/models/employer_income_summary_field_string.rb +++ b/lib/plaid/models/employer_income_summary_field_string.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/employer_verification.rb b/lib/plaid/models/employer_verification.rb index f58d1de37..4fb8d0816 100644 --- a/lib/plaid/models/employer_verification.rb +++ b/lib/plaid/models/employer_verification.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/employers_search_request.rb b/lib/plaid/models/employers_search_request.rb index 97dc85d23..f315b20f3 100644 --- a/lib/plaid/models/employers_search_request.rb +++ b/lib/plaid/models/employers_search_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/employers_search_response.rb b/lib/plaid/models/employers_search_response.rb index cf89d4caf..978d722f4 100644 --- a/lib/plaid/models/employers_search_response.rb +++ b/lib/plaid/models/employers_search_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/employment_details.rb b/lib/plaid/models/employment_details.rb index c082055c2..7106fd06c 100644 --- a/lib/plaid/models/employment_details.rb +++ b/lib/plaid/models/employment_details.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/employment_source_type.rb b/lib/plaid/models/employment_source_type.rb index 472bf4a43..1b74aa208 100644 --- a/lib/plaid/models/employment_source_type.rb +++ b/lib/plaid/models/employment_source_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/employment_verification.rb b/lib/plaid/models/employment_verification.rb index 7778f265e..e7ab1ac6e 100644 --- a/lib/plaid/models/employment_verification.rb +++ b/lib/plaid/models/employment_verification.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/employment_verification_get_request.rb b/lib/plaid/models/employment_verification_get_request.rb index e69388dfe..72d5a7e6a 100644 --- a/lib/plaid/models/employment_verification_get_request.rb +++ b/lib/plaid/models/employment_verification_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/employment_verification_get_response.rb b/lib/plaid/models/employment_verification_get_response.rb index daabccf15..f183bb9bf 100644 --- a/lib/plaid/models/employment_verification_get_response.rb +++ b/lib/plaid/models/employment_verification_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/employment_verification_status.rb b/lib/plaid/models/employment_verification_status.rb index a1596f634..62a58bc74 100644 --- a/lib/plaid/models/employment_verification_status.rb +++ b/lib/plaid/models/employment_verification_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/enhancements.rb b/lib/plaid/models/enhancements.rb index 0c289212b..140c4268b 100644 --- a/lib/plaid/models/enhancements.rb +++ b/lib/plaid/models/enhancements.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/enrich_transaction_direction.rb b/lib/plaid/models/enrich_transaction_direction.rb index 9c47100a1..24a2ac2fd 100644 --- a/lib/plaid/models/enrich_transaction_direction.rb +++ b/lib/plaid/models/enrich_transaction_direction.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/enrichments.rb b/lib/plaid/models/enrichments.rb index 49d369a23..497f45b6c 100644 --- a/lib/plaid/models/enrichments.rb +++ b/lib/plaid/models/enrichments.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/entity_document.rb b/lib/plaid/models/entity_document.rb index 78edfd13a..7cfa9a555 100644 --- a/lib/plaid/models/entity_document.rb +++ b/lib/plaid/models/entity_document.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -18,7 +18,7 @@ module Plaid class EntityDocument attr_accessor :type - # The numeric or alphanumeric identifier associated with this document. + # The numeric or alphanumeric identifier associated with this document. Must be between 4 and 32 characters long, and cannot have leading or trailing spaces. attr_accessor :number class EnumAttributeValidator diff --git a/lib/plaid/models/entity_document_type.rb b/lib/plaid/models/entity_document_type.rb index 6040eeb97..40c027b0c 100644 --- a/lib/plaid/models/entity_document_type.rb +++ b/lib/plaid/models/entity_document_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/entity_screening_hit_analysis.rb b/lib/plaid/models/entity_screening_hit_analysis.rb index 2c65e996f..6b52a94bf 100644 --- a/lib/plaid/models/entity_screening_hit_analysis.rb +++ b/lib/plaid/models/entity_screening_hit_analysis.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/entity_screening_hit_data.rb b/lib/plaid/models/entity_screening_hit_data.rb index 3d7b79820..fa0f274be 100644 --- a/lib/plaid/models/entity_screening_hit_data.rb +++ b/lib/plaid/models/entity_screening_hit_data.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/entity_screening_hit_documents_items.rb b/lib/plaid/models/entity_screening_hit_documents_items.rb index e84a173a5..0294c9709 100644 --- a/lib/plaid/models/entity_screening_hit_documents_items.rb +++ b/lib/plaid/models/entity_screening_hit_documents_items.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/entity_screening_hit_emails.rb b/lib/plaid/models/entity_screening_hit_emails.rb index 025dcce75..d8d61c678 100644 --- a/lib/plaid/models/entity_screening_hit_emails.rb +++ b/lib/plaid/models/entity_screening_hit_emails.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -16,7 +16,7 @@ module Plaid # Email address information for the associated entity watchlist hit class EntityScreeningHitEmails - # A valid email address. + # A valid email address. Must not have leading or trailing spaces. attr_accessor :email_address # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/plaid/models/entity_screening_hit_emails_items.rb b/lib/plaid/models/entity_screening_hit_emails_items.rb index 668717dae..21d388278 100644 --- a/lib/plaid/models/entity_screening_hit_emails_items.rb +++ b/lib/plaid/models/entity_screening_hit_emails_items.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/entity_screening_hit_names.rb b/lib/plaid/models/entity_screening_hit_names.rb index 05472daab..43ed8b5aa 100644 --- a/lib/plaid/models/entity_screening_hit_names.rb +++ b/lib/plaid/models/entity_screening_hit_names.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/entity_screening_hit_names_items.rb b/lib/plaid/models/entity_screening_hit_names_items.rb index 7d4644d4b..d8e50d7a5 100644 --- a/lib/plaid/models/entity_screening_hit_names_items.rb +++ b/lib/plaid/models/entity_screening_hit_names_items.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/entity_screening_hit_phone_numbers.rb b/lib/plaid/models/entity_screening_hit_phone_numbers.rb index 10a38aebd..ec3849f94 100644 --- a/lib/plaid/models/entity_screening_hit_phone_numbers.rb +++ b/lib/plaid/models/entity_screening_hit_phone_numbers.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/entity_screening_hit_urls.rb b/lib/plaid/models/entity_screening_hit_urls.rb index e59ff8a4e..939b0aae9 100644 --- a/lib/plaid/models/entity_screening_hit_urls.rb +++ b/lib/plaid/models/entity_screening_hit_urls.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/entity_screening_hit_urls_items.rb b/lib/plaid/models/entity_screening_hit_urls_items.rb index 0fb9a3d76..10cc8fa04 100644 --- a/lib/plaid/models/entity_screening_hit_urls_items.rb +++ b/lib/plaid/models/entity_screening_hit_urls_items.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/entity_screening_hits_phone_number_items.rb b/lib/plaid/models/entity_screening_hits_phone_number_items.rb index b3d5024b1..5f11fad8b 100644 --- a/lib/plaid/models/entity_screening_hits_phone_number_items.rb +++ b/lib/plaid/models/entity_screening_hits_phone_number_items.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/entity_screening_status_updated_webhook.rb b/lib/plaid/models/entity_screening_status_updated_webhook.rb index 5292c52d8..e4b930908 100644 --- a/lib/plaid/models/entity_screening_status_updated_webhook.rb +++ b/lib/plaid/models/entity_screening_status_updated_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/entity_watchlist_code.rb b/lib/plaid/models/entity_watchlist_code.rb index ffcf60eea..59dd9c120 100644 --- a/lib/plaid/models/entity_watchlist_code.rb +++ b/lib/plaid/models/entity_watchlist_code.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/entity_watchlist_program.rb b/lib/plaid/models/entity_watchlist_program.rb index 5090f069b..e87eea074 100644 --- a/lib/plaid/models/entity_watchlist_program.rb +++ b/lib/plaid/models/entity_watchlist_program.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/entity_watchlist_screening.rb b/lib/plaid/models/entity_watchlist_screening.rb index fb3b0fe5a..c6fb1a943 100644 --- a/lib/plaid/models/entity_watchlist_screening.rb +++ b/lib/plaid/models/entity_watchlist_screening.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/entity_watchlist_screening_hit.rb b/lib/plaid/models/entity_watchlist_screening_hit.rb index f20af2cac..107744264 100644 --- a/lib/plaid/models/entity_watchlist_screening_hit.rb +++ b/lib/plaid/models/entity_watchlist_screening_hit.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/entity_watchlist_screening_review.rb b/lib/plaid/models/entity_watchlist_screening_review.rb index 45514f74b..dbee136cc 100644 --- a/lib/plaid/models/entity_watchlist_screening_review.rb +++ b/lib/plaid/models/entity_watchlist_screening_review.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/entity_watchlist_screening_search_terms.rb b/lib/plaid/models/entity_watchlist_screening_search_terms.rb index 643e373ac..9779b0790 100644 --- a/lib/plaid/models/entity_watchlist_screening_search_terms.rb +++ b/lib/plaid/models/entity_watchlist_screening_search_terms.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -19,13 +19,13 @@ class EntityWatchlistScreeningSearchTerms # ID of the associated entity program. attr_accessor :entity_watchlist_program_id - # The name of the organization being screened. + # The name of the organization being screened. Must have at least one alphabetical character, have a maximum length of 100 characters, and not include leading or trailing spaces. attr_accessor :legal_name - # The numeric or alphanumeric identifier associated with this document. + # The numeric or alphanumeric identifier associated with this document. Must be between 4 and 32 characters long, and cannot have leading or trailing spaces. attr_accessor :document_number - # A valid email address. + # A valid email address. Must not have leading or trailing spaces. attr_accessor :email_address # Valid, capitalized, two-letter ISO code representing the country of this object. Must be in ISO 3166-1 alpha-2 form. diff --git a/lib/plaid/models/entity_watchlist_search_terms.rb b/lib/plaid/models/entity_watchlist_search_terms.rb index 5c6936251..3a734a785 100644 --- a/lib/plaid/models/entity_watchlist_search_terms.rb +++ b/lib/plaid/models/entity_watchlist_search_terms.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -19,13 +19,13 @@ class EntityWatchlistSearchTerms # ID of the associated entity program. attr_accessor :entity_watchlist_program_id - # The name of the organization being screened. + # The name of the organization being screened. Must have at least one alphabetical character, have a maximum length of 100 characters, and not include leading or trailing spaces. attr_accessor :legal_name - # The numeric or alphanumeric identifier associated with this document. + # The numeric or alphanumeric identifier associated with this document. Must be between 4 and 32 characters long, and cannot have leading or trailing spaces. attr_accessor :document_number - # A valid email address. + # A valid email address. Must not have leading or trailing spaces. attr_accessor :email_address # Valid, capitalized, two-letter ISO code representing the country of this object. Must be in ISO 3166-1 alpha-2 form. diff --git a/lib/plaid/models/expiration_date.rb b/lib/plaid/models/expiration_date.rb index a4980d58c..7f840aef4 100644 --- a/lib/plaid/models/expiration_date.rb +++ b/lib/plaid/models/expiration_date.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/extended_recipient_metadata.rb b/lib/plaid/models/extended_recipient_metadata.rb new file mode 100644 index 000000000..42a48ff5e --- /dev/null +++ b/lib/plaid/models/extended_recipient_metadata.rb @@ -0,0 +1,383 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Plaid and FDX-defined recipient metadata fields + class ExtendedRecipientMetadata + # The recipient identifier + attr_accessor :recipient_id + + # The recipient name displayed by the Data Provider during the consent flow + attr_accessor :client_name + + # Data Recipient Logo URL location + attr_accessor :logo_uri + + # The legal name of the recipient + attr_accessor :third_party_legal_name + + # The category that the recipient falls under + attr_accessor :category + + # The date at which the recipient gained production access to Plaid + attr_accessor :joined_date + + # The number of Data Partner consumers that are connected to the recipient for the specific Data Partner + attr_accessor :connection_count + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'recipient_id' => :'recipient_id', + :'client_name' => :'client_name', + :'logo_uri' => :'logo_uri', + :'third_party_legal_name' => :'third_party_legal_name', + :'category' => :'category', + :'joined_date' => :'joined_date', + :'connection_count' => :'connection_count' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'recipient_id' => :'String', + :'client_name' => :'String', + :'logo_uri' => :'String', + :'third_party_legal_name' => :'String', + :'category' => :'String', + :'joined_date' => :'Date', + :'connection_count' => :'Integer' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'logo_uri', + ]) + end + + # List of class defined in allOf (OpenAPI v3) + def self.openapi_all_of + [ + :'ExtendedRecipientMetadataAllOf', + :'FDXRecipientMetadata' + ] + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::ExtendedRecipientMetadata` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::ExtendedRecipientMetadata`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'recipient_id') + self.recipient_id = attributes[:'recipient_id'] + end + + if attributes.key?(:'client_name') + self.client_name = attributes[:'client_name'] + end + + if attributes.key?(:'logo_uri') + self.logo_uri = attributes[:'logo_uri'] + end + + if attributes.key?(:'third_party_legal_name') + self.third_party_legal_name = attributes[:'third_party_legal_name'] + end + + if attributes.key?(:'category') + self.category = attributes[:'category'] + end + + if attributes.key?(:'joined_date') + self.joined_date = attributes[:'joined_date'] + end + + if attributes.key?(:'connection_count') + self.connection_count = attributes[:'connection_count'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @recipient_id.nil? + invalid_properties.push('invalid value for "recipient_id", recipient_id cannot be nil.') + end + + if @recipient_id.to_s.length > 256 + invalid_properties.push('invalid value for "recipient_id", the character length must be smaller than or equal to 256.') + end + + + if @client_name.nil? + invalid_properties.push('invalid value for "client_name", client_name cannot be nil.') + end + + if @client_name.to_s.length > 256 + invalid_properties.push('invalid value for "client_name", the character length must be smaller than or equal to 256.') + end + + + if @third_party_legal_name.nil? + invalid_properties.push('invalid value for "third_party_legal_name", third_party_legal_name cannot be nil.') + end + + if @third_party_legal_name.to_s.length > 256 + invalid_properties.push('invalid value for "third_party_legal_name", the character length must be smaller than or equal to 256.') + end + + + if @category.nil? + invalid_properties.push('invalid value for "category", category cannot be nil.') + end + + if @joined_date.nil? + invalid_properties.push('invalid value for "joined_date", joined_date cannot be nil.') + end + + if @connection_count.nil? + invalid_properties.push('invalid value for "connection_count", connection_count cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @recipient_id.nil? + return false if @recipient_id.to_s.length > 256 + return false if @client_name.nil? + return false if @client_name.to_s.length > 256 + return false if @third_party_legal_name.nil? + return false if @third_party_legal_name.to_s.length > 256 + return false if @category.nil? + return false if @joined_date.nil? + return false if @connection_count.nil? + true + end + + # Custom attribute writer method with validation + # @param [Object] recipient_id Value to be assigned + def recipient_id=(recipient_id) + if recipient_id.nil? + fail ArgumentError, 'recipient_id cannot be nil' + end + + if recipient_id.to_s.length > 256 + fail ArgumentError, 'invalid value for "recipient_id", the character length must be smaller than or equal to 256.' + end + + + @recipient_id = recipient_id + end + + # Custom attribute writer method with validation + # @param [Object] client_name Value to be assigned + def client_name=(client_name) + if client_name.nil? + fail ArgumentError, 'client_name cannot be nil' + end + + if client_name.to_s.length > 256 + fail ArgumentError, 'invalid value for "client_name", the character length must be smaller than or equal to 256.' + end + + + @client_name = client_name + end + + # Custom attribute writer method with validation + # @param [Object] third_party_legal_name Value to be assigned + def third_party_legal_name=(third_party_legal_name) + if third_party_legal_name.nil? + fail ArgumentError, 'third_party_legal_name cannot be nil' + end + + if third_party_legal_name.to_s.length > 256 + fail ArgumentError, 'invalid value for "third_party_legal_name", the character length must be smaller than or equal to 256.' + end + + + @third_party_legal_name = third_party_legal_name + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + recipient_id == o.recipient_id && + client_name == o.client_name && + logo_uri == o.logo_uri && + third_party_legal_name == o.third_party_legal_name && + category == o.category && + joined_date == o.joined_date && + connection_count == o.connection_count + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [recipient_id, client_name, logo_uri, third_party_legal_name, category, joined_date, connection_count].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/base_report_account_balances_all_of.rb b/lib/plaid/models/extended_recipient_metadata_all_of.rb similarity index 77% rename from lib/plaid/models/base_report_account_balances_all_of.rb rename to lib/plaid/models/extended_recipient_metadata_all_of.rb index 3dff8c345..6882ca9be 100644 --- a/lib/plaid/models/base_report_account_balances_all_of.rb +++ b/lib/plaid/models/extended_recipient_metadata_all_of.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,22 +14,22 @@ require 'time' module Plaid - class BaseReportAccountBalancesAllOf - # The average historical balance for the entire report - attr_accessor :average_balance + class ExtendedRecipientMetadataAllOf + # The category that the recipient falls under + attr_accessor :category - # The average historical balance of each calendar month - attr_accessor :average_monthly_balances + # The date at which the recipient gained production access to Plaid + attr_accessor :joined_date - # The average historical balance from the most recent 30 days - attr_accessor :most_recent_thirty_day_average_balance + # The number of Data Partner consumers that are connected to the recipient for the specific Data Partner + attr_accessor :connection_count # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { - :'average_balance' => :'average_balance', - :'average_monthly_balances' => :'average_monthly_balances', - :'most_recent_thirty_day_average_balance' => :'most_recent_thirty_day_average_balance' + :'category' => :'category', + :'joined_date' => :'joined_date', + :'connection_count' => :'connection_count' } end @@ -41,17 +41,15 @@ def self.acceptable_attributes # Attribute type mapping. def self.openapi_types { - :'average_balance' => :'Float', - :'average_monthly_balances' => :'Array', - :'most_recent_thirty_day_average_balance' => :'Float' + :'category' => :'String', + :'joined_date' => :'Date', + :'connection_count' => :'Integer' } end # List of attributes with nullable: true def self.openapi_nullable Set.new([ - :'average_balance', - :'most_recent_thirty_day_average_balance' ]) end @@ -59,29 +57,27 @@ def self.openapi_nullable # @param [Hash] attributes Model attributes in the form of hash def initialize(attributes = {}) if (!attributes.is_a?(Hash)) - fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::BaseReportAccountBalancesAllOf` initialize method" + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::ExtendedRecipientMetadataAllOf` initialize method" end # check to see if the attribute exists and convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| if (!self.class.attribute_map.key?(k.to_sym)) - fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::BaseReportAccountBalancesAllOf`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::ExtendedRecipientMetadataAllOf`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect end h[k.to_sym] = v } - if attributes.key?(:'average_balance') - self.average_balance = attributes[:'average_balance'] + if attributes.key?(:'category') + self.category = attributes[:'category'] end - if attributes.key?(:'average_monthly_balances') - if (value = attributes[:'average_monthly_balances']).is_a?(Array) - self.average_monthly_balances = value - end + if attributes.key?(:'joined_date') + self.joined_date = attributes[:'joined_date'] end - if attributes.key?(:'most_recent_thirty_day_average_balance') - self.most_recent_thirty_day_average_balance = attributes[:'most_recent_thirty_day_average_balance'] + if attributes.key?(:'connection_count') + self.connection_count = attributes[:'connection_count'] end end @@ -89,12 +85,27 @@ def initialize(attributes = {}) # @return Array for valid properties with the reasons def list_invalid_properties invalid_properties = Array.new + if @category.nil? + invalid_properties.push('invalid value for "category", category cannot be nil.') + end + + if @joined_date.nil? + invalid_properties.push('invalid value for "joined_date", joined_date cannot be nil.') + end + + if @connection_count.nil? + invalid_properties.push('invalid value for "connection_count", connection_count cannot be nil.') + end + invalid_properties end # Check to see if the all the properties in the model are valid # @return true if the model is valid def valid? + return false if @category.nil? + return false if @joined_date.nil? + return false if @connection_count.nil? true end @@ -103,9 +114,9 @@ def valid? def ==(o) return true if self.equal?(o) self.class == o.class && - average_balance == o.average_balance && - average_monthly_balances == o.average_monthly_balances && - most_recent_thirty_day_average_balance == o.most_recent_thirty_day_average_balance + category == o.category && + joined_date == o.joined_date && + connection_count == o.connection_count end # @see the `==` method @@ -117,7 +128,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [average_balance, average_monthly_balances, most_recent_thirty_day_average_balance].hash + [category, joined_date, connection_count].hash end # Builds the object from hash diff --git a/lib/plaid/models/external_payment_initiation_consent_options.rb b/lib/plaid/models/external_payment_initiation_consent_options.rb index 69ec183a1..e2cd89a5e 100644 --- a/lib/plaid/models/external_payment_initiation_consent_options.rb +++ b/lib/plaid/models/external_payment_initiation_consent_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/external_payment_options.rb b/lib/plaid/models/external_payment_options.rb index 8b5c7143a..ae39b5196 100644 --- a/lib/plaid/models/external_payment_options.rb +++ b/lib/plaid/models/external_payment_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/external_payment_refund_details.rb b/lib/plaid/models/external_payment_refund_details.rb index 8ff6ec934..fe5c00a08 100644 --- a/lib/plaid/models/external_payment_refund_details.rb +++ b/lib/plaid/models/external_payment_refund_details.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/external_payment_schedule_base.rb b/lib/plaid/models/external_payment_schedule_base.rb index 50ab9fc1d..99d73f4f9 100644 --- a/lib/plaid/models/external_payment_schedule_base.rb +++ b/lib/plaid/models/external_payment_schedule_base.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/external_payment_schedule_get.rb b/lib/plaid/models/external_payment_schedule_get.rb index 4ce9cc42f..26ea27707 100644 --- a/lib/plaid/models/external_payment_schedule_get.rb +++ b/lib/plaid/models/external_payment_schedule_get.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/external_payment_schedule_request.rb b/lib/plaid/models/external_payment_schedule_request.rb index 8815ece2a..aa8644d69 100644 --- a/lib/plaid/models/external_payment_schedule_request.rb +++ b/lib/plaid/models/external_payment_schedule_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/fallback_auth_microdeposit_auto_verified_webhook.rb b/lib/plaid/models/fallback_auth_microdeposit_auto_verified_webhook.rb index fa5db08bc..6cbf5e907 100644 --- a/lib/plaid/models/fallback_auth_microdeposit_auto_verified_webhook.rb +++ b/lib/plaid/models/fallback_auth_microdeposit_auto_verified_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/fallback_auth_microdeposit_verification_expired_webhook.rb b/lib/plaid/models/fallback_auth_microdeposit_verification_expired_webhook.rb index fe2b367e9..f21f12b3f 100644 --- a/lib/plaid/models/fallback_auth_microdeposit_verification_expired_webhook.rb +++ b/lib/plaid/models/fallback_auth_microdeposit_verification_expired_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/fdx_content_types.rb b/lib/plaid/models/fdx_content_types.rb index bd7cc33fe..b0d0960c8 100644 --- a/lib/plaid/models/fdx_content_types.rb +++ b/lib/plaid/models/fdx_content_types.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/fdx_hateoas_link.rb b/lib/plaid/models/fdx_hateoas_link.rb index de34602bf..bce6429ee 100644 --- a/lib/plaid/models/fdx_hateoas_link.rb +++ b/lib/plaid/models/fdx_hateoas_link.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/fdx_hateoas_link_action.rb b/lib/plaid/models/fdx_hateoas_link_action.rb index a97ab2953..e93472279 100644 --- a/lib/plaid/models/fdx_hateoas_link_action.rb +++ b/lib/plaid/models/fdx_hateoas_link_action.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/fdx_initiator_fi_attribute.rb b/lib/plaid/models/fdx_initiator_fi_attribute.rb index 62c4df5ea..41ec08af7 100644 --- a/lib/plaid/models/fdx_initiator_fi_attribute.rb +++ b/lib/plaid/models/fdx_initiator_fi_attribute.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/fdx_notification.rb b/lib/plaid/models/fdx_notification.rb index 9f8c716b9..ea200df02 100644 --- a/lib/plaid/models/fdx_notification.rb +++ b/lib/plaid/models/fdx_notification.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/fdx_notification_category.rb b/lib/plaid/models/fdx_notification_category.rb index fed8b2fa9..b6abafcb4 100644 --- a/lib/plaid/models/fdx_notification_category.rb +++ b/lib/plaid/models/fdx_notification_category.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/fdx_notification_payload.rb b/lib/plaid/models/fdx_notification_payload.rb index 1d5c49b84..4702bf2ca 100644 --- a/lib/plaid/models/fdx_notification_payload.rb +++ b/lib/plaid/models/fdx_notification_payload.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/fdx_notification_payload_id_type.rb b/lib/plaid/models/fdx_notification_payload_id_type.rb index 7c27dc05f..de06273f2 100644 --- a/lib/plaid/models/fdx_notification_payload_id_type.rb +++ b/lib/plaid/models/fdx_notification_payload_id_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/fdx_notification_priority.rb b/lib/plaid/models/fdx_notification_priority.rb index c7c6f9478..50f0c1ec1 100644 --- a/lib/plaid/models/fdx_notification_priority.rb +++ b/lib/plaid/models/fdx_notification_priority.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/fdx_notification_severity.rb b/lib/plaid/models/fdx_notification_severity.rb index c58f7509f..cc8315958 100644 --- a/lib/plaid/models/fdx_notification_severity.rb +++ b/lib/plaid/models/fdx_notification_severity.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/fdx_notification_type.rb b/lib/plaid/models/fdx_notification_type.rb index 4caf0750c..46b94880c 100644 --- a/lib/plaid/models/fdx_notification_type.rb +++ b/lib/plaid/models/fdx_notification_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/fdx_party.rb b/lib/plaid/models/fdx_party.rb index 189182a87..b0ff8c763 100644 --- a/lib/plaid/models/fdx_party.rb +++ b/lib/plaid/models/fdx_party.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/fdx_party_registry.rb b/lib/plaid/models/fdx_party_registry.rb index 2400078e1..eb0b3f74a 100644 --- a/lib/plaid/models/fdx_party_registry.rb +++ b/lib/plaid/models/fdx_party_registry.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/fdx_party_type.rb b/lib/plaid/models/fdx_party_type.rb index d71bf4863..e5e15783b 100644 --- a/lib/plaid/models/fdx_party_type.rb +++ b/lib/plaid/models/fdx_party_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/fdx_recipient_metadata.rb b/lib/plaid/models/fdx_recipient_metadata.rb new file mode 100644 index 000000000..f2b839599 --- /dev/null +++ b/lib/plaid/models/fdx_recipient_metadata.rb @@ -0,0 +1,330 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Recipient metadata fields that are defined by FDX + class FDXRecipientMetadata + # The recipient identifier + attr_accessor :recipient_id + + # The recipient name displayed by the Data Provider during the consent flow + attr_accessor :client_name + + # Data Recipient Logo URL location + attr_accessor :logo_uri + + # The legal name of the recipient + attr_accessor :third_party_legal_name + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'recipient_id' => :'recipient_id', + :'client_name' => :'client_name', + :'logo_uri' => :'logo_uri', + :'third_party_legal_name' => :'third_party_legal_name' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'recipient_id' => :'String', + :'client_name' => :'String', + :'logo_uri' => :'String', + :'third_party_legal_name' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'logo_uri', + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::FDXRecipientMetadata` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::FDXRecipientMetadata`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'recipient_id') + self.recipient_id = attributes[:'recipient_id'] + end + + if attributes.key?(:'client_name') + self.client_name = attributes[:'client_name'] + end + + if attributes.key?(:'logo_uri') + self.logo_uri = attributes[:'logo_uri'] + end + + if attributes.key?(:'third_party_legal_name') + self.third_party_legal_name = attributes[:'third_party_legal_name'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @recipient_id.nil? + invalid_properties.push('invalid value for "recipient_id", recipient_id cannot be nil.') + end + + if @recipient_id.to_s.length > 256 + invalid_properties.push('invalid value for "recipient_id", the character length must be smaller than or equal to 256.') + end + + + if @client_name.nil? + invalid_properties.push('invalid value for "client_name", client_name cannot be nil.') + end + + if @client_name.to_s.length > 256 + invalid_properties.push('invalid value for "client_name", the character length must be smaller than or equal to 256.') + end + + + if @third_party_legal_name.nil? + invalid_properties.push('invalid value for "third_party_legal_name", third_party_legal_name cannot be nil.') + end + + if @third_party_legal_name.to_s.length > 256 + invalid_properties.push('invalid value for "third_party_legal_name", the character length must be smaller than or equal to 256.') + end + + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @recipient_id.nil? + return false if @recipient_id.to_s.length > 256 + return false if @client_name.nil? + return false if @client_name.to_s.length > 256 + return false if @third_party_legal_name.nil? + return false if @third_party_legal_name.to_s.length > 256 + true + end + + # Custom attribute writer method with validation + # @param [Object] recipient_id Value to be assigned + def recipient_id=(recipient_id) + if recipient_id.nil? + fail ArgumentError, 'recipient_id cannot be nil' + end + + if recipient_id.to_s.length > 256 + fail ArgumentError, 'invalid value for "recipient_id", the character length must be smaller than or equal to 256.' + end + + + @recipient_id = recipient_id + end + + # Custom attribute writer method with validation + # @param [Object] client_name Value to be assigned + def client_name=(client_name) + if client_name.nil? + fail ArgumentError, 'client_name cannot be nil' + end + + if client_name.to_s.length > 256 + fail ArgumentError, 'invalid value for "client_name", the character length must be smaller than or equal to 256.' + end + + + @client_name = client_name + end + + # Custom attribute writer method with validation + # @param [Object] third_party_legal_name Value to be assigned + def third_party_legal_name=(third_party_legal_name) + if third_party_legal_name.nil? + fail ArgumentError, 'third_party_legal_name cannot be nil' + end + + if third_party_legal_name.to_s.length > 256 + fail ArgumentError, 'invalid value for "third_party_legal_name", the character length must be smaller than or equal to 256.' + end + + + @third_party_legal_name = third_party_legal_name + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + recipient_id == o.recipient_id && + client_name == o.client_name && + logo_uri == o.logo_uri && + third_party_legal_name == o.third_party_legal_name + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [recipient_id, client_name, logo_uri, third_party_legal_name].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/fdxfi_attribute.rb b/lib/plaid/models/fdxfi_attribute.rb index 318ffee6c..e6227a851 100644 --- a/lib/plaid/models/fdxfi_attribute.rb +++ b/lib/plaid/models/fdxfi_attribute.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/financial_institution_insights.rb b/lib/plaid/models/financial_institution_insights.rb index 040b5fb94..4043b56a4 100644 --- a/lib/plaid/models/financial_institution_insights.rb +++ b/lib/plaid/models/financial_institution_insights.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/forecasted_monthly_income.rb b/lib/plaid/models/forecasted_monthly_income.rb new file mode 100644 index 000000000..0b25c7cea --- /dev/null +++ b/lib/plaid/models/forecasted_monthly_income.rb @@ -0,0 +1,241 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # An object representing the predicted average monthly net income amount. This amount reflects the funds deposited into the account and may not include any withheld income such as taxes or other payroll deductions + class ForecastedMonthlyIncome + # The forecasted monthly income at the time of subscription + attr_accessor :baseline_amount + + # The current forecasted monthly income + attr_accessor :current_amount + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'baseline_amount' => :'baseline_amount', + :'current_amount' => :'current_amount' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'baseline_amount' => :'Float', + :'current_amount' => :'Float' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::ForecastedMonthlyIncome` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::ForecastedMonthlyIncome`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'baseline_amount') + self.baseline_amount = attributes[:'baseline_amount'] + end + + if attributes.key?(:'current_amount') + self.current_amount = attributes[:'current_amount'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @baseline_amount.nil? + invalid_properties.push('invalid value for "baseline_amount", baseline_amount cannot be nil.') + end + + if @current_amount.nil? + invalid_properties.push('invalid value for "current_amount", current_amount cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @baseline_amount.nil? + return false if @current_amount.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + baseline_amount == o.baseline_amount && + current_amount == o.current_amount + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [baseline_amount, current_amount].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/form1099_type.rb b/lib/plaid/models/form1099_type.rb index 6c333ecd1..b4f74bcee 100644 --- a/lib/plaid/models/form1099_type.rb +++ b/lib/plaid/models/form1099_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/base_report_create_response.rb b/lib/plaid/models/forwarded_json_response.rb similarity index 94% rename from lib/plaid/models/base_report_create_response.rb rename to lib/plaid/models/forwarded_json_response.rb index eb80affe5..f06534120 100644 --- a/lib/plaid/models/base_report_create_response.rb +++ b/lib/plaid/models/forwarded_json_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,8 +14,8 @@ require 'time' module Plaid - # BaseReportCreateResponse defines the response schema for `cra/base_report/create` - class BaseReportCreateResponse + # An arbitrary JSON payload sent to or received from the Plaid server. Internal use only. + class ForwardedJSONResponse # A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive. attr_accessor :request_id @@ -48,13 +48,13 @@ def self.openapi_nullable # @param [Hash] attributes Model attributes in the form of hash def initialize(attributes = {}) if (!attributes.is_a?(Hash)) - fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::BaseReportCreateResponse` initialize method" + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::ForwardedJSONResponse` initialize method" end # check to see if the attribute exists and convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| if (!self.class.attribute_map.key?(k.to_sym)) - fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::BaseReportCreateResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::ForwardedJSONResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect end h[k.to_sym] = v } diff --git a/lib/plaid/models/fraud_amount.rb b/lib/plaid/models/fraud_amount.rb index 7cbd39dd0..f5affb6ca 100644 --- a/lib/plaid/models/fraud_amount.rb +++ b/lib/plaid/models/fraud_amount.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/generic_screening_hit_location_items.rb b/lib/plaid/models/generic_screening_hit_location_items.rb index 9b4a8c6f1..d1254cfec 100644 --- a/lib/plaid/models/generic_screening_hit_location_items.rb +++ b/lib/plaid/models/generic_screening_hit_location_items.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/get_recipient_response.rb b/lib/plaid/models/get_recipient_response.rb new file mode 100644 index 000000000..5319e9ac9 --- /dev/null +++ b/lib/plaid/models/get_recipient_response.rb @@ -0,0 +1,337 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # GetRecipientResponse defines the response schema for `/fdx/recipient/{recipientId}` + class GetRecipientResponse + # The recipient identifier + attr_accessor :recipient_id + + # The recipient name displayed by the Data Provider during the consent flow + attr_accessor :client_name + + # Data Recipient Logo URL location + attr_accessor :logo_uri + + # The legal name of the recipient + attr_accessor :third_party_legal_name + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'recipient_id' => :'recipient_id', + :'client_name' => :'client_name', + :'logo_uri' => :'logo_uri', + :'third_party_legal_name' => :'third_party_legal_name' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'recipient_id' => :'String', + :'client_name' => :'String', + :'logo_uri' => :'String', + :'third_party_legal_name' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'logo_uri', + ]) + end + + # List of class defined in allOf (OpenAPI v3) + def self.openapi_all_of + [ + :'FDXRecipientMetadata' + ] + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::GetRecipientResponse` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::GetRecipientResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'recipient_id') + self.recipient_id = attributes[:'recipient_id'] + end + + if attributes.key?(:'client_name') + self.client_name = attributes[:'client_name'] + end + + if attributes.key?(:'logo_uri') + self.logo_uri = attributes[:'logo_uri'] + end + + if attributes.key?(:'third_party_legal_name') + self.third_party_legal_name = attributes[:'third_party_legal_name'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @recipient_id.nil? + invalid_properties.push('invalid value for "recipient_id", recipient_id cannot be nil.') + end + + if @recipient_id.to_s.length > 256 + invalid_properties.push('invalid value for "recipient_id", the character length must be smaller than or equal to 256.') + end + + + if @client_name.nil? + invalid_properties.push('invalid value for "client_name", client_name cannot be nil.') + end + + if @client_name.to_s.length > 256 + invalid_properties.push('invalid value for "client_name", the character length must be smaller than or equal to 256.') + end + + + if @third_party_legal_name.nil? + invalid_properties.push('invalid value for "third_party_legal_name", third_party_legal_name cannot be nil.') + end + + if @third_party_legal_name.to_s.length > 256 + invalid_properties.push('invalid value for "third_party_legal_name", the character length must be smaller than or equal to 256.') + end + + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @recipient_id.nil? + return false if @recipient_id.to_s.length > 256 + return false if @client_name.nil? + return false if @client_name.to_s.length > 256 + return false if @third_party_legal_name.nil? + return false if @third_party_legal_name.to_s.length > 256 + true + end + + # Custom attribute writer method with validation + # @param [Object] recipient_id Value to be assigned + def recipient_id=(recipient_id) + if recipient_id.nil? + fail ArgumentError, 'recipient_id cannot be nil' + end + + if recipient_id.to_s.length > 256 + fail ArgumentError, 'invalid value for "recipient_id", the character length must be smaller than or equal to 256.' + end + + + @recipient_id = recipient_id + end + + # Custom attribute writer method with validation + # @param [Object] client_name Value to be assigned + def client_name=(client_name) + if client_name.nil? + fail ArgumentError, 'client_name cannot be nil' + end + + if client_name.to_s.length > 256 + fail ArgumentError, 'invalid value for "client_name", the character length must be smaller than or equal to 256.' + end + + + @client_name = client_name + end + + # Custom attribute writer method with validation + # @param [Object] third_party_legal_name Value to be assigned + def third_party_legal_name=(third_party_legal_name) + if third_party_legal_name.nil? + fail ArgumentError, 'third_party_legal_name cannot be nil' + end + + if third_party_legal_name.to_s.length > 256 + fail ArgumentError, 'invalid value for "third_party_legal_name", the character length must be smaller than or equal to 256.' + end + + + @third_party_legal_name = third_party_legal_name + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + recipient_id == o.recipient_id && + client_name == o.client_name && + logo_uri == o.logo_uri && + third_party_legal_name == o.third_party_legal_name + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [recipient_id, client_name, logo_uri, third_party_legal_name].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/get_recipients_response.rb b/lib/plaid/models/get_recipients_response.rb new file mode 100644 index 000000000..d38a27229 --- /dev/null +++ b/lib/plaid/models/get_recipients_response.rb @@ -0,0 +1,227 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # GetRecipientsResponse defines the response schema for `/fdx/recipients` + class GetRecipientsResponse + attr_accessor :recipients + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'recipients' => :'recipients' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'recipients' => :'Array' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::GetRecipientsResponse` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::GetRecipientsResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'recipients') + if (value = attributes[:'recipients']).is_a?(Array) + self.recipients = value + end + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @recipients.nil? + invalid_properties.push('invalid value for "recipients", recipients cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @recipients.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + recipients == o.recipients + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [recipients].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/health_incident.rb b/lib/plaid/models/health_incident.rb index d1888f394..0bc909248 100644 --- a/lib/plaid/models/health_incident.rb +++ b/lib/plaid/models/health_incident.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/hidden_match_summary_code.rb b/lib/plaid/models/hidden_match_summary_code.rb new file mode 100644 index 000000000..bd340f968 --- /dev/null +++ b/lib/plaid/models/hidden_match_summary_code.rb @@ -0,0 +1,42 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + class HiddenMatchSummaryCode + MATCH = "match".freeze + PARTIAL_MATCH = "partial_match".freeze + NO_MATCH = "no_match".freeze + NO_DATA = "no_data".freeze + NO_INPUT = "no_input".freeze + + # Builds the enum from string + # @param [String] The enum value in the form of the string + # @return [String] The enum value + def self.build_from_hash(value) + new.build_from_hash(value) + end + + # Builds the enum from string + # @param [String] The enum value in the form of the string + # @return [String] The enum value + def build_from_hash(value) + # We do not validate that the value is one of the enums set in the OpenAPI + # file because we want to be able to add to our list of enums without + # breaking this client library. + value + end + end + +end diff --git a/lib/plaid/models/historical_balance.rb b/lib/plaid/models/historical_balance.rb index a237861bf..0a3508837 100644 --- a/lib/plaid/models/historical_balance.rb +++ b/lib/plaid/models/historical_balance.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/historical_update_webhook.rb b/lib/plaid/models/historical_update_webhook.rb index 0e9945d9a..fabefcdb2 100644 --- a/lib/plaid/models/historical_update_webhook.rb +++ b/lib/plaid/models/historical_update_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,7 +14,7 @@ require 'time' module Plaid - # Fired when an Item's historical transaction pull is completed and Plaid has prepared as much historical transaction data as possible for the Item. Once this webhook has been fired, transaction data beyond the most recent 30 days can be fetched for the Item. If [Account Select v2](https://plaid.com/docs/link/customization/#account-select) is enabled, this webhook will also be fired if account selections for the Item are updated, with `new_transactions` set to the number of net new transactions pulled after the account selection update. This webhook is intended for use with `/transactions/get`; if you are using the newer `/transactions/sync` endpoint, this webhook will still be fired to maintain backwards compatibility, but it is recommended to listen for and respond to the `SYNC_UPDATES_AVAILABLE` webhook instead. + # Fired when an Item's historical transaction pull is completed and Plaid has prepared as much historical transaction data as possible for the Item. Once this webhook has been fired, transaction data beyond the most recent 30 days can be fetched for the Item. This webhook will also be fired if account selections for the Item are updated, with `new_transactions` set to the number of net new transactions pulled after the account selection update. This webhook is intended for use with `/transactions/get`; if you are using the newer `/transactions/sync` endpoint, this webhook will still be fired to maintain backwards compatibility, but it is recommended to listen for and respond to the `SYNC_UPDATES_AVAILABLE` webhook instead. class HistoricalUpdateWebhook # `TRANSACTIONS` attr_accessor :webhook_type @@ -24,7 +24,7 @@ class HistoricalUpdateWebhook attr_accessor :error - # The number of new, unfetched transactions available + # The number of new transactions available attr_accessor :new_transactions # The `item_id` of the Item associated with this webhook, warning, or error diff --git a/lib/plaid/models/holding.rb b/lib/plaid/models/holding.rb index 398435958..0f5d74830 100644 --- a/lib/plaid/models/holding.rb +++ b/lib/plaid/models/holding.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/holdings_default_update_webhook.rb b/lib/plaid/models/holdings_default_update_webhook.rb index c7fc1599a..93cf1673b 100644 --- a/lib/plaid/models/holdings_default_update_webhook.rb +++ b/lib/plaid/models/holdings_default_update_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/holdings_override.rb b/lib/plaid/models/holdings_override.rb index 7efce8ad9..ab4afc182 100644 --- a/lib/plaid/models/holdings_override.rb +++ b/lib/plaid/models/holdings_override.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/hosted_link_delivery_method.rb b/lib/plaid/models/hosted_link_delivery_method.rb index 53e77e1ce..f908de321 100644 --- a/lib/plaid/models/hosted_link_delivery_method.rb +++ b/lib/plaid/models/hosted_link_delivery_method.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/hosted_mmd_verification_webhook.rb b/lib/plaid/models/hosted_mmd_verification_webhook.rb index 92b422f14..3c7303bd7 100644 --- a/lib/plaid/models/hosted_mmd_verification_webhook.rb +++ b/lib/plaid/models/hosted_mmd_verification_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/id_number_type.rb b/lib/plaid/models/id_number_type.rb index 13f54f026..5b9d321bc 100644 --- a/lib/plaid/models/id_number_type.rb +++ b/lib/plaid/models/id_number_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_default_update_webhook.rb b/lib/plaid/models/identity_default_update_webhook.rb index 9c278f814..5aa1231cb 100644 --- a/lib/plaid/models/identity_default_update_webhook.rb +++ b/lib/plaid/models/identity_default_update_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_document_metadata.rb b/lib/plaid/models/identity_document_metadata.rb index 3358c3b49..913cc4877 100644 --- a/lib/plaid/models/identity_document_metadata.rb +++ b/lib/plaid/models/identity_document_metadata.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_document_upload.rb b/lib/plaid/models/identity_document_upload.rb index 7e294f0c2..3fc0fd171 100644 --- a/lib/plaid/models/identity_document_upload.rb +++ b/lib/plaid/models/identity_document_upload.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_document_upload_metadata.rb b/lib/plaid/models/identity_document_upload_metadata.rb index e89c113da..a830b366e 100644 --- a/lib/plaid/models/identity_document_upload_metadata.rb +++ b/lib/plaid/models/identity_document_upload_metadata.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_document_upload_risk_insights.rb b/lib/plaid/models/identity_document_upload_risk_insights.rb index f5647e0ea..22c4115f3 100644 --- a/lib/plaid/models/identity_document_upload_risk_insights.rb +++ b/lib/plaid/models/identity_document_upload_risk_insights.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_document_upload_risk_signal.rb b/lib/plaid/models/identity_document_upload_risk_signal.rb index 34a87f4c0..b9b33d832 100644 --- a/lib/plaid/models/identity_document_upload_risk_signal.rb +++ b/lib/plaid/models/identity_document_upload_risk_signal.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_document_upload_risk_summary.rb b/lib/plaid/models/identity_document_upload_risk_summary.rb index 82232b31e..842f8b016 100644 --- a/lib/plaid/models/identity_document_upload_risk_summary.rb +++ b/lib/plaid/models/identity_document_upload_risk_summary.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_documents_uploads_get_request.rb b/lib/plaid/models/identity_documents_uploads_get_request.rb index 4cb62376c..1e5a2d29d 100644 --- a/lib/plaid/models/identity_documents_uploads_get_request.rb +++ b/lib/plaid/models/identity_documents_uploads_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_documents_uploads_get_request_options.rb b/lib/plaid/models/identity_documents_uploads_get_request_options.rb index 16fa913de..5f597a0e2 100644 --- a/lib/plaid/models/identity_documents_uploads_get_request_options.rb +++ b/lib/plaid/models/identity_documents_uploads_get_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_documents_uploads_get_response.rb b/lib/plaid/models/identity_documents_uploads_get_response.rb index 505e6add8..dcffdf2d0 100644 --- a/lib/plaid/models/identity_documents_uploads_get_response.rb +++ b/lib/plaid/models/identity_documents_uploads_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_get_request.rb b/lib/plaid/models/identity_get_request.rb index 0bd9ebbb0..f2b488d7f 100644 --- a/lib/plaid/models/identity_get_request.rb +++ b/lib/plaid/models/identity_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_get_request_options.rb b/lib/plaid/models/identity_get_request_options.rb index 4fbbe84ed..8d3dd5a19 100644 --- a/lib/plaid/models/identity_get_request_options.rb +++ b/lib/plaid/models/identity_get_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_get_response.rb b/lib/plaid/models/identity_get_response.rb index fe8b45be0..4cc0d9966 100644 --- a/lib/plaid/models/identity_get_response.rb +++ b/lib/plaid/models/identity_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_match_request.rb b/lib/plaid/models/identity_match_request.rb index d68f3711d..e116ecd6d 100644 --- a/lib/plaid/models/identity_match_request.rb +++ b/lib/plaid/models/identity_match_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_match_request_options.rb b/lib/plaid/models/identity_match_request_options.rb index ef7045e26..ecc61ae69 100644 --- a/lib/plaid/models/identity_match_request_options.rb +++ b/lib/plaid/models/identity_match_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_match_response.rb b/lib/plaid/models/identity_match_response.rb index 37f3ed885..252adac12 100644 --- a/lib/plaid/models/identity_match_response.rb +++ b/lib/plaid/models/identity_match_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_match_user.rb b/lib/plaid/models/identity_match_user.rb index 8553b64ee..93c617c3d 100644 --- a/lib/plaid/models/identity_match_user.rb +++ b/lib/plaid/models/identity_match_user.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -19,7 +19,7 @@ class IdentityMatchUser # The user's full legal name. attr_accessor :legal_name - # The user's phone number, in E.164 format: +{countrycode}{number}. For example: \"+14151234567\". Phone numbers provided in other formats will be parsed on a best-effort basis. + # The user's phone number, in E.164 format: +{countrycode}{number}. For example: \"+14157452130\". Phone numbers provided in other formats will be parsed on a best-effort basis. Phone number input is validated against valid number ranges; number strings that do not match a real-world phone numbering scheme may cause the request to fail, even in the Sandbox test environment. attr_accessor :phone_number # The user's email address. diff --git a/lib/plaid/models/identity_refresh_request.rb b/lib/plaid/models/identity_refresh_request.rb index 6b8ef5b99..253646118 100644 --- a/lib/plaid/models/identity_refresh_request.rb +++ b/lib/plaid/models/identity_refresh_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_refresh_response.rb b/lib/plaid/models/identity_refresh_response.rb index 4e4050159..e03e8593e 100644 --- a/lib/plaid/models/identity_refresh_response.rb +++ b/lib/plaid/models/identity_refresh_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_update_types.rb b/lib/plaid/models/identity_update_types.rb index 1a4ca364d..1ad1f1d44 100644 --- a/lib/plaid/models/identity_update_types.rb +++ b/lib/plaid/models/identity_update_types.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_verification.rb b/lib/plaid/models/identity_verification.rb index f0e6f84f8..23cd7183c 100644 --- a/lib/plaid/models/identity_verification.rb +++ b/lib/plaid/models/identity_verification.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_verification_autofill_address.rb b/lib/plaid/models/identity_verification_autofill_address.rb index d01c358d4..1d9ff1888 100644 --- a/lib/plaid/models/identity_verification_autofill_address.rb +++ b/lib/plaid/models/identity_verification_autofill_address.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -19,7 +19,7 @@ class IdentityVerificationAutofillAddress # The primary street portion of an address. If an address is provided, this field will always be filled. A string with at least one non-whitespace alphabetical character, with a max length of 80 characters. attr_accessor :street - # Extra street information, like an apartment or suite number. If provided, a string with at least one non-whitespace character, with a max length of 20 characters. + # Extra street information, like an apartment or suite number. If provided, a string with at least one non-whitespace character, with a max length of 50 characters. attr_accessor :street2 # City from the end user's address. A string with at least one non-whitespace alphabetical character, with a max length of 100 characters.\" diff --git a/lib/plaid/models/identity_verification_autofill_create_request.rb b/lib/plaid/models/identity_verification_autofill_create_request.rb index 3b0b44952..2fa8b43ea 100644 --- a/lib/plaid/models/identity_verification_autofill_create_request.rb +++ b/lib/plaid/models/identity_verification_autofill_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_verification_autofill_create_response.rb b/lib/plaid/models/identity_verification_autofill_create_response.rb index 340fbd712..81b9892d2 100644 --- a/lib/plaid/models/identity_verification_autofill_create_response.rb +++ b/lib/plaid/models/identity_verification_autofill_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_verification_autofill_status.rb b/lib/plaid/models/identity_verification_autofill_status.rb index a353ed6c7..f1180a46c 100644 --- a/lib/plaid/models/identity_verification_autofill_status.rb +++ b/lib/plaid/models/identity_verification_autofill_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_verification_autofill_user_data.rb b/lib/plaid/models/identity_verification_autofill_user_data.rb index 53b982527..2f2bdd747 100644 --- a/lib/plaid/models/identity_verification_autofill_user_data.rb +++ b/lib/plaid/models/identity_verification_autofill_user_data.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_verification_create_request.rb b/lib/plaid/models/identity_verification_create_request.rb index 3a6e68f19..97f820050 100644 --- a/lib/plaid/models/identity_verification_create_request.rb +++ b/lib/plaid/models/identity_verification_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_verification_create_request_user.rb b/lib/plaid/models/identity_verification_create_request_user.rb index 938c140cc..a8d64adfe 100644 --- a/lib/plaid/models/identity_verification_create_request_user.rb +++ b/lib/plaid/models/identity_verification_create_request_user.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -16,10 +16,10 @@ module Plaid # User information collected outside of Link, most likely via your own onboarding process. Each of the following identity fields are optional: `email_address` `phone_number` `date_of_birth` `name` `address` `id_number` Specifically, these fields are optional in that they can either be fully provided (satisfying every required field in their subschema) or omitted from the request entirely by not providing the key or value. Providing these fields via the API will result in Link skipping the data collection process for the associated user. All verification steps enabled in the associated Identity Verification Template will still be run. Verification steps will either be run immediately, or once the user completes the `accept_tos` step, depending on the value provided to the `gave_consent` field. If you are not using the shareable URL feature, you can optionally provide these fields via `/link/token/create` instead; both `/identity_verification/create` and `/link/token/create` are valid ways to provide this information. Note that if you provide a non-`null` user data object via `/identity_verification/create`, any user data fields entered via `/link/token/create` for the same `client_user_id` will be ignored when prefilling Link. class IdentityVerificationCreateRequestUser - # A valid email address. + # A valid email address. Must not have leading or trailing spaces. attr_accessor :email_address - # A phone number in E.164 format. + # A valid phone number in E.164 format. attr_accessor :phone_number # A date in the format YYYY-MM-DD (RFC 3339 Section 5.6). diff --git a/lib/plaid/models/identity_verification_create_response.rb b/lib/plaid/models/identity_verification_create_response.rb index deb41425a..9d083c88f 100644 --- a/lib/plaid/models/identity_verification_create_response.rb +++ b/lib/plaid/models/identity_verification_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_verification_document_address_response.rb b/lib/plaid/models/identity_verification_document_address_response.rb index a7c073bc9..f35d7cd9d 100644 --- a/lib/plaid/models/identity_verification_document_address_response.rb +++ b/lib/plaid/models/identity_verification_document_address_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_verification_document_name_response.rb b/lib/plaid/models/identity_verification_document_name_response.rb new file mode 100644 index 000000000..64f1dab60 --- /dev/null +++ b/lib/plaid/models/identity_verification_document_name_response.rb @@ -0,0 +1,241 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # The individual's name extracted from the document. + class IdentityVerificationDocumentNameResponse + # A string with at least one non-whitespace character, with a max length of 100 characters. + attr_accessor :given_name + + # A string with at least one non-whitespace character, with a max length of 100 characters. + attr_accessor :family_name + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'given_name' => :'given_name', + :'family_name' => :'family_name' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'given_name' => :'String', + :'family_name' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::IdentityVerificationDocumentNameResponse` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::IdentityVerificationDocumentNameResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'given_name') + self.given_name = attributes[:'given_name'] + end + + if attributes.key?(:'family_name') + self.family_name = attributes[:'family_name'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @given_name.nil? + invalid_properties.push('invalid value for "given_name", given_name cannot be nil.') + end + + if @family_name.nil? + invalid_properties.push('invalid value for "family_name", family_name cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @given_name.nil? + return false if @family_name.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + given_name == o.given_name && + family_name == o.family_name + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [given_name, family_name].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/identity_verification_get_request.rb b/lib/plaid/models/identity_verification_get_request.rb index adec1bbf0..0af0b4396 100644 --- a/lib/plaid/models/identity_verification_get_request.rb +++ b/lib/plaid/models/identity_verification_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_verification_get_response.rb b/lib/plaid/models/identity_verification_get_response.rb index 1639c4bbb..b2dd8b594 100644 --- a/lib/plaid/models/identity_verification_get_response.rb +++ b/lib/plaid/models/identity_verification_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_verification_list_request.rb b/lib/plaid/models/identity_verification_list_request.rb index 476bf6af4..f82d4416a 100644 --- a/lib/plaid/models/identity_verification_list_request.rb +++ b/lib/plaid/models/identity_verification_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_verification_list_response.rb b/lib/plaid/models/identity_verification_list_response.rb index ef87f1017..42b719670 100644 --- a/lib/plaid/models/identity_verification_list_response.rb +++ b/lib/plaid/models/identity_verification_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_verification_request_user.rb b/lib/plaid/models/identity_verification_request_user.rb index ac142c4f9..09c97339e 100644 --- a/lib/plaid/models/identity_verification_request_user.rb +++ b/lib/plaid/models/identity_verification_request_user.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -16,10 +16,10 @@ module Plaid # User information collected outside of Link, most likely via your own onboarding process. Each of the following identity fields are optional: `email_address` `phone_number` `date_of_birth` `name` `address` `id_number` Specifically, these fields are optional in that they can either be fully provided (satisfying every required field in their subschema) or omitted from the request entirely by not providing the key or value. Providing these fields via the API will result in Link skipping the data collection process for the associated user. All verification steps enabled in the associated Identity Verification Template will still be run. Verification steps will either be run immediately, or once the user completes the `accept_tos` step, depending on the value provided to the `gave_consent` field. class IdentityVerificationRequestUser - # A valid email address. + # A valid email address. Must not have leading or trailing spaces. attr_accessor :email_address - # A phone number in E.164 format. + # A valid phone number in E.164 format. attr_accessor :phone_number # A date in the format YYYY-MM-DD (RFC 3339 Section 5.6). diff --git a/lib/plaid/models/identity_verification_request_user_name.rb b/lib/plaid/models/identity_verification_request_user_name.rb index 126831e2f..9518d1171 100644 --- a/lib/plaid/models/identity_verification_request_user_name.rb +++ b/lib/plaid/models/identity_verification_request_user_name.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_verification_response_user_name.rb b/lib/plaid/models/identity_verification_response_user_name.rb index c5b6da81d..3a3692568 100644 --- a/lib/plaid/models/identity_verification_response_user_name.rb +++ b/lib/plaid/models/identity_verification_response_user_name.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_verification_retried_webhook.rb b/lib/plaid/models/identity_verification_retried_webhook.rb index 61805a8c7..2c50cb859 100644 --- a/lib/plaid/models/identity_verification_retried_webhook.rb +++ b/lib/plaid/models/identity_verification_retried_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_verification_retry_request.rb b/lib/plaid/models/identity_verification_retry_request.rb index fa91ae247..bc1780a1a 100644 --- a/lib/plaid/models/identity_verification_retry_request.rb +++ b/lib/plaid/models/identity_verification_retry_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -28,6 +28,9 @@ class IdentityVerificationRetryRequest attr_accessor :steps + # A flag specifying whether you would like Plaid to expose a shareable URL for the verification being retried. + attr_accessor :is_shareable + # Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body. attr_accessor :client_id @@ -64,6 +67,7 @@ def self.attribute_map :'strategy' => :'strategy', :'user' => :'user', :'steps' => :'steps', + :'is_shareable' => :'is_shareable', :'client_id' => :'client_id', :'secret' => :'secret' } @@ -82,6 +86,7 @@ def self.openapi_types :'strategy' => :'Strategy', :'user' => :'IdentityVerificationRequestUser', :'steps' => :'IdentityVerificationRetryRequestStepsObject', + :'is_shareable' => :'Boolean', :'client_id' => :'String', :'secret' => :'String' } @@ -92,6 +97,7 @@ def self.openapi_nullable Set.new([ :'user', :'steps', + :'is_shareable', ]) end @@ -130,6 +136,10 @@ def initialize(attributes = {}) self.steps = attributes[:'steps'] end + if attributes.key?(:'is_shareable') + self.is_shareable = attributes[:'is_shareable'] + end + if attributes.key?(:'client_id') self.client_id = attributes[:'client_id'] end @@ -177,6 +187,7 @@ def ==(o) strategy == o.strategy && user == o.user && steps == o.steps && + is_shareable == o.is_shareable && client_id == o.client_id && secret == o.secret end @@ -190,7 +201,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [client_user_id, template_id, strategy, user, steps, client_id, secret].hash + [client_user_id, template_id, strategy, user, steps, is_shareable, client_id, secret].hash end # Builds the object from hash diff --git a/lib/plaid/models/identity_verification_retry_request_steps_object.rb b/lib/plaid/models/identity_verification_retry_request_steps_object.rb index 74aca68cc..df49f9b6c 100644 --- a/lib/plaid/models/identity_verification_retry_request_steps_object.rb +++ b/lib/plaid/models/identity_verification_retry_request_steps_object.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_verification_retry_response.rb b/lib/plaid/models/identity_verification_retry_response.rb index 82afdde63..af665f5d5 100644 --- a/lib/plaid/models/identity_verification_retry_response.rb +++ b/lib/plaid/models/identity_verification_retry_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_verification_status.rb b/lib/plaid/models/identity_verification_status.rb index 03359824a..795585eef 100644 --- a/lib/plaid/models/identity_verification_status.rb +++ b/lib/plaid/models/identity_verification_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_verification_status_updated_webhook.rb b/lib/plaid/models/identity_verification_status_updated_webhook.rb index 6c73ea1d4..286174972 100644 --- a/lib/plaid/models/identity_verification_status_updated_webhook.rb +++ b/lib/plaid/models/identity_verification_status_updated_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_verification_step_status.rb b/lib/plaid/models/identity_verification_step_status.rb index 25ec49970..a7177e078 100644 --- a/lib/plaid/models/identity_verification_step_status.rb +++ b/lib/plaid/models/identity_verification_step_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_verification_step_summary.rb b/lib/plaid/models/identity_verification_step_summary.rb index 1fb8628ac..665eed526 100644 --- a/lib/plaid/models/identity_verification_step_summary.rb +++ b/lib/plaid/models/identity_verification_step_summary.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_verification_step_updated_webhook.rb b/lib/plaid/models/identity_verification_step_updated_webhook.rb index e43def467..5b1189bf0 100644 --- a/lib/plaid/models/identity_verification_step_updated_webhook.rb +++ b/lib/plaid/models/identity_verification_step_updated_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_verification_template_reference.rb b/lib/plaid/models/identity_verification_template_reference.rb index a1aebaaf6..360244eab 100644 --- a/lib/plaid/models/identity_verification_template_reference.rb +++ b/lib/plaid/models/identity_verification_template_reference.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_verification_user_address.rb b/lib/plaid/models/identity_verification_user_address.rb index 2d11b6408..7a4fb763f 100644 --- a/lib/plaid/models/identity_verification_user_address.rb +++ b/lib/plaid/models/identity_verification_user_address.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -19,7 +19,7 @@ class IdentityVerificationUserAddress # The primary street portion of an address. If an address is provided, this field will always be filled. A string with at least one non-whitespace alphabetical character, with a max length of 80 characters. attr_accessor :street - # Extra street information, like an apartment or suite number. If provided, a string with at least one non-whitespace character, with a max length of 20 characters. + # Extra street information, like an apartment or suite number. If provided, a string with at least one non-whitespace character, with a max length of 50 characters. attr_accessor :street2 # City from the end user's address. A string with at least one non-whitespace alphabetical character, with a max length of 100 characters.\" diff --git a/lib/plaid/models/identity_verification_user_data.rb b/lib/plaid/models/identity_verification_user_data.rb index 6878c3b79..ae8942ce9 100644 --- a/lib/plaid/models/identity_verification_user_data.rb +++ b/lib/plaid/models/identity_verification_user_data.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -16,7 +16,7 @@ module Plaid # The identity data that was either collected from the user or provided via API in order to perform an Identity Verification. class IdentityVerificationUserData - # A phone number in E.164 format. + # A valid phone number in E.164 format. attr_accessor :phone_number # A date in the format YYYY-MM-DD (RFC 3339 Section 5.6). @@ -25,7 +25,7 @@ class IdentityVerificationUserData # An IPv4 or IPV6 address. attr_accessor :ip_address - # A valid email address. + # A valid email address. Must not have leading or trailing spaces. attr_accessor :email_address attr_accessor :name diff --git a/lib/plaid/models/image_quality.rb b/lib/plaid/models/image_quality.rb index 31cd26646..66c2d57dd 100644 --- a/lib/plaid/models/image_quality.rb +++ b/lib/plaid/models/image_quality.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/incident_update.rb b/lib/plaid/models/incident_update.rb index 7dc654529..9efeeeff9 100644 --- a/lib/plaid/models/incident_update.rb +++ b/lib/plaid/models/incident_update.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_breakdown.rb b/lib/plaid/models/income_breakdown.rb index 988cf8d7d..d04cc1b97 100644 --- a/lib/plaid/models/income_breakdown.rb +++ b/lib/plaid/models/income_breakdown.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_breakdown_type.rb b/lib/plaid/models/income_breakdown_type.rb index bd34305a8..374ede498 100644 --- a/lib/plaid/models/income_breakdown_type.rb +++ b/lib/plaid/models/income_breakdown_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_override.rb b/lib/plaid/models/income_override.rb index 8910c55eb..c901aaf03 100644 --- a/lib/plaid/models/income_override.rb +++ b/lib/plaid/models/income_override.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_sources_counts.rb b/lib/plaid/models/income_sources_counts.rb new file mode 100644 index 000000000..175fe4e2e --- /dev/null +++ b/lib/plaid/models/income_sources_counts.rb @@ -0,0 +1,241 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # An object representing insights about the number of income sources + class IncomeSourcesCounts + # The number of income sources detected at the subscription date + attr_accessor :baseline_count + + # The number of income sources currently detected + attr_accessor :current_count + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'baseline_count' => :'baseline_count', + :'current_count' => :'current_count' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'baseline_count' => :'Float', + :'current_count' => :'Float' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::IncomeSourcesCounts` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::IncomeSourcesCounts`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'baseline_count') + self.baseline_count = attributes[:'baseline_count'] + end + + if attributes.key?(:'current_count') + self.current_count = attributes[:'current_count'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @baseline_count.nil? + invalid_properties.push('invalid value for "baseline_count", baseline_count cannot be nil.') + end + + if @current_count.nil? + invalid_properties.push('invalid value for "current_count", current_count cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @baseline_count.nil? + return false if @current_count.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + baseline_count == o.baseline_count && + current_count == o.current_count + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [baseline_count, current_count].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/income_summary.rb b/lib/plaid/models/income_summary.rb index e353948c8..0b40b79c3 100644 --- a/lib/plaid/models/income_summary.rb +++ b/lib/plaid/models/income_summary.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_summary_field_number.rb b/lib/plaid/models/income_summary_field_number.rb index 21f4d0eef..ef0eaade9 100644 --- a/lib/plaid/models/income_summary_field_number.rb +++ b/lib/plaid/models/income_summary_field_number.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_summary_field_string.rb b/lib/plaid/models/income_summary_field_string.rb index 8629ffd1a..8d23bab8e 100644 --- a/lib/plaid/models/income_summary_field_string.rb +++ b/lib/plaid/models/income_summary_field_string.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_verification_create_request.rb b/lib/plaid/models/income_verification_create_request.rb index 29cef1ee3..9a005dc26 100644 --- a/lib/plaid/models/income_verification_create_request.rb +++ b/lib/plaid/models/income_verification_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_verification_create_request_options.rb b/lib/plaid/models/income_verification_create_request_options.rb index a4e0aad42..b51dbee50 100644 --- a/lib/plaid/models/income_verification_create_request_options.rb +++ b/lib/plaid/models/income_verification_create_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_verification_create_response.rb b/lib/plaid/models/income_verification_create_response.rb index 8647fad64..aaac0b315 100644 --- a/lib/plaid/models/income_verification_create_response.rb +++ b/lib/plaid/models/income_verification_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_verification_doc_parsing_config.rb b/lib/plaid/models/income_verification_doc_parsing_config.rb index e7c2b9d7a..fa2ba88e6 100644 --- a/lib/plaid/models/income_verification_doc_parsing_config.rb +++ b/lib/plaid/models/income_verification_doc_parsing_config.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_verification_documents_download_request.rb b/lib/plaid/models/income_verification_documents_download_request.rb index 94b6516c0..686ccdaa6 100644 --- a/lib/plaid/models/income_verification_documents_download_request.rb +++ b/lib/plaid/models/income_verification_documents_download_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_verification_payroll_flow_type.rb b/lib/plaid/models/income_verification_payroll_flow_type.rb index 5a728cc86..fa80b3f8f 100644 --- a/lib/plaid/models/income_verification_payroll_flow_type.rb +++ b/lib/plaid/models/income_verification_payroll_flow_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_verification_paystubs_get_request.rb b/lib/plaid/models/income_verification_paystubs_get_request.rb index 16b2c585f..83be2d77f 100644 --- a/lib/plaid/models/income_verification_paystubs_get_request.rb +++ b/lib/plaid/models/income_verification_paystubs_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_verification_paystubs_get_response.rb b/lib/plaid/models/income_verification_paystubs_get_response.rb index 4f8ffc5c5..59b9e6d34 100644 --- a/lib/plaid/models/income_verification_paystubs_get_response.rb +++ b/lib/plaid/models/income_verification_paystubs_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_verification_precheck_confidence.rb b/lib/plaid/models/income_verification_precheck_confidence.rb index 5d734bb0d..380ad10e3 100644 --- a/lib/plaid/models/income_verification_precheck_confidence.rb +++ b/lib/plaid/models/income_verification_precheck_confidence.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_verification_precheck_employer.rb b/lib/plaid/models/income_verification_precheck_employer.rb index 10684f0d6..e6b6ce618 100644 --- a/lib/plaid/models/income_verification_precheck_employer.rb +++ b/lib/plaid/models/income_verification_precheck_employer.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_verification_precheck_employer_address.rb b/lib/plaid/models/income_verification_precheck_employer_address.rb index ea53f486e..ad5fa904e 100644 --- a/lib/plaid/models/income_verification_precheck_employer_address.rb +++ b/lib/plaid/models/income_verification_precheck_employer_address.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_verification_precheck_employer_address_data.rb b/lib/plaid/models/income_verification_precheck_employer_address_data.rb index d2695d800..843df6ed8 100644 --- a/lib/plaid/models/income_verification_precheck_employer_address_data.rb +++ b/lib/plaid/models/income_verification_precheck_employer_address_data.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_verification_precheck_military_info.rb b/lib/plaid/models/income_verification_precheck_military_info.rb index b17c79ab4..73c0464a8 100644 --- a/lib/plaid/models/income_verification_precheck_military_info.rb +++ b/lib/plaid/models/income_verification_precheck_military_info.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_verification_precheck_payroll_institution.rb b/lib/plaid/models/income_verification_precheck_payroll_institution.rb index f4f752d39..2e7ac4366 100644 --- a/lib/plaid/models/income_verification_precheck_payroll_institution.rb +++ b/lib/plaid/models/income_verification_precheck_payroll_institution.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_verification_precheck_request.rb b/lib/plaid/models/income_verification_precheck_request.rb index d1e57fffd..6e2b5bfc5 100644 --- a/lib/plaid/models/income_verification_precheck_request.rb +++ b/lib/plaid/models/income_verification_precheck_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_verification_precheck_response.rb b/lib/plaid/models/income_verification_precheck_response.rb index 95992339d..371a36090 100644 --- a/lib/plaid/models/income_verification_precheck_response.rb +++ b/lib/plaid/models/income_verification_precheck_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_verification_precheck_user.rb b/lib/plaid/models/income_verification_precheck_user.rb index aac581106..e6da952fe 100644 --- a/lib/plaid/models/income_verification_precheck_user.rb +++ b/lib/plaid/models/income_verification_precheck_user.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_verification_refresh_reconnect_needed_webhook.rb b/lib/plaid/models/income_verification_refresh_reconnect_needed_webhook.rb index 8d889580e..73254b762 100644 --- a/lib/plaid/models/income_verification_refresh_reconnect_needed_webhook.rb +++ b/lib/plaid/models/income_verification_refresh_reconnect_needed_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_verification_risk_signals_status_webhook.rb b/lib/plaid/models/income_verification_risk_signals_status_webhook.rb index 41677ad70..09ee80229 100644 --- a/lib/plaid/models/income_verification_risk_signals_status_webhook.rb +++ b/lib/plaid/models/income_verification_risk_signals_status_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_verification_source_type.rb b/lib/plaid/models/income_verification_source_type.rb index 93c0911f8..6e7a553be 100644 --- a/lib/plaid/models/income_verification_source_type.rb +++ b/lib/plaid/models/income_verification_source_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_verification_status_webhook.rb b/lib/plaid/models/income_verification_status_webhook.rb index 87487ec7a..8acb960e4 100644 --- a/lib/plaid/models/income_verification_status_webhook.rb +++ b/lib/plaid/models/income_verification_status_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_verification_taxforms_get_request.rb b/lib/plaid/models/income_verification_taxforms_get_request.rb index d53792e3f..86a5bb336 100644 --- a/lib/plaid/models/income_verification_taxforms_get_request.rb +++ b/lib/plaid/models/income_verification_taxforms_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_verification_taxforms_get_response.rb b/lib/plaid/models/income_verification_taxforms_get_response.rb index 56d915a5a..2d255d037 100644 --- a/lib/plaid/models/income_verification_taxforms_get_response.rb +++ b/lib/plaid/models/income_verification_taxforms_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_verification_webhook_status.rb b/lib/plaid/models/income_verification_webhook_status.rb index 94107aae4..101144123 100644 --- a/lib/plaid/models/income_verification_webhook_status.rb +++ b/lib/plaid/models/income_verification_webhook_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/individual_name.rb b/lib/plaid/models/individual_name.rb index 2a82a20e0..dc6adf0a0 100644 --- a/lib/plaid/models/individual_name.rb +++ b/lib/plaid/models/individual_name.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/individual_screening_hit_names.rb b/lib/plaid/models/individual_screening_hit_names.rb index cc81f8ad4..0e3f74f8f 100644 --- a/lib/plaid/models/individual_screening_hit_names.rb +++ b/lib/plaid/models/individual_screening_hit_names.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/individual_watchlist_code.rb b/lib/plaid/models/individual_watchlist_code.rb index 5dcaf2920..2d62fd0cd 100644 --- a/lib/plaid/models/individual_watchlist_code.rb +++ b/lib/plaid/models/individual_watchlist_code.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/individual_watchlist_program.rb b/lib/plaid/models/individual_watchlist_program.rb index 6e3bd56a8..b3f03e94d 100644 --- a/lib/plaid/models/individual_watchlist_program.rb +++ b/lib/plaid/models/individual_watchlist_program.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/inflow_model.rb b/lib/plaid/models/inflow_model.rb index 365bc0e28..e9743261b 100644 --- a/lib/plaid/models/inflow_model.rb +++ b/lib/plaid/models/inflow_model.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/initial_update_webhook.rb b/lib/plaid/models/initial_update_webhook.rb index 986765946..1be142a69 100644 --- a/lib/plaid/models/initial_update_webhook.rb +++ b/lib/plaid/models/initial_update_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,7 +14,7 @@ require 'time' module Plaid - # Fired when an Item's initial transaction pull is completed. Once this webhook has been fired, transaction data for the most recent 30 days can be fetched for the Item. If [Account Select v2](https://plaid.com/docs/link/customization/#account-select) is enabled, this webhook will also be fired if account selections for the Item are updated, with `new_transactions` set to the number of net new transactions pulled after the account selection update. This webhook is intended for use with `/transactions/get`; if you are using the newer `/transactions/sync` endpoint, this webhook will still be fired to maintain backwards compatibility, but it is recommended to listen for and respond to the `SYNC_UPDATES_AVAILABLE` webhook instead. + # Fired when an Item's initial transaction pull is completed. Once this webhook has been fired, transaction data for the most recent 30 days can be fetched for the Item. This webhook will also be fired if account selections for the Item are updated, with `new_transactions` set to the number of net new transactions pulled after the account selection update. This webhook is intended for use with `/transactions/get`; if you are using the newer `/transactions/sync` endpoint, this webhook will still be fired to maintain backwards compatibility, but it is recommended to listen for and respond to the `SYNC_UPDATES_AVAILABLE` webhook instead. class InitialUpdateWebhook # `TRANSACTIONS` attr_accessor :webhook_type @@ -25,7 +25,7 @@ class InitialUpdateWebhook # The error code associated with the webhook. attr_accessor :error - # The number of new, unfetched transactions available. + # The number of new transactions available. attr_accessor :new_transactions # The `item_id` of the Item associated with this webhook, warning, or error diff --git a/lib/plaid/models/institution.rb b/lib/plaid/models/institution.rb index 770951636..ad811fde9 100644 --- a/lib/plaid/models/institution.rb +++ b/lib/plaid/models/institution.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/institution_status.rb b/lib/plaid/models/institution_status.rb index 9e950a3d8..5f9a6c822 100644 --- a/lib/plaid/models/institution_status.rb +++ b/lib/plaid/models/institution_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/institution_status_alert_webhook.rb b/lib/plaid/models/institution_status_alert_webhook.rb index d8dff59bd..90813eb4d 100644 --- a/lib/plaid/models/institution_status_alert_webhook.rb +++ b/lib/plaid/models/institution_status_alert_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/institution_supported_networks.rb b/lib/plaid/models/institution_supported_networks.rb index e23925784..b39567e6f 100644 --- a/lib/plaid/models/institution_supported_networks.rb +++ b/lib/plaid/models/institution_supported_networks.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/institutions_get_by_id_request.rb b/lib/plaid/models/institutions_get_by_id_request.rb index b2cf24390..faec4cace 100644 --- a/lib/plaid/models/institutions_get_by_id_request.rb +++ b/lib/plaid/models/institutions_get_by_id_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/institutions_get_by_id_request_options.rb b/lib/plaid/models/institutions_get_by_id_request_options.rb index cd7059900..a31642f57 100644 --- a/lib/plaid/models/institutions_get_by_id_request_options.rb +++ b/lib/plaid/models/institutions_get_by_id_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/institutions_get_by_id_response.rb b/lib/plaid/models/institutions_get_by_id_response.rb index f2e317f5a..e7299a61f 100644 --- a/lib/plaid/models/institutions_get_by_id_response.rb +++ b/lib/plaid/models/institutions_get_by_id_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/institutions_get_request.rb b/lib/plaid/models/institutions_get_request.rb index d7173b629..8168b544a 100644 --- a/lib/plaid/models/institutions_get_request.rb +++ b/lib/plaid/models/institutions_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/institutions_get_request_options.rb b/lib/plaid/models/institutions_get_request_options.rb index b8c07cf7d..7d9303846 100644 --- a/lib/plaid/models/institutions_get_request_options.rb +++ b/lib/plaid/models/institutions_get_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/institutions_get_response.rb b/lib/plaid/models/institutions_get_response.rb index 2b97efb5a..a37059209 100644 --- a/lib/plaid/models/institutions_get_response.rb +++ b/lib/plaid/models/institutions_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/institutions_search_account_filter.rb b/lib/plaid/models/institutions_search_account_filter.rb index 15680d0f4..53ebe918a 100644 --- a/lib/plaid/models/institutions_search_account_filter.rb +++ b/lib/plaid/models/institutions_search_account_filter.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/institutions_search_payment_initiation_options.rb b/lib/plaid/models/institutions_search_payment_initiation_options.rb index 7a24c8cf5..40367dceb 100644 --- a/lib/plaid/models/institutions_search_payment_initiation_options.rb +++ b/lib/plaid/models/institutions_search_payment_initiation_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/institutions_search_request.rb b/lib/plaid/models/institutions_search_request.rb index addd58eae..ae77adde1 100644 --- a/lib/plaid/models/institutions_search_request.rb +++ b/lib/plaid/models/institutions_search_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/institutions_search_request_options.rb b/lib/plaid/models/institutions_search_request_options.rb index c40dfd8c5..14a98a402 100644 --- a/lib/plaid/models/institutions_search_request_options.rb +++ b/lib/plaid/models/institutions_search_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/institutions_search_response.rb b/lib/plaid/models/institutions_search_response.rb index 73667be88..47839c7d2 100644 --- a/lib/plaid/models/institutions_search_response.rb +++ b/lib/plaid/models/institutions_search_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/investment_account_subtype.rb b/lib/plaid/models/investment_account_subtype.rb index e976ce41a..d1f1ea721 100644 --- a/lib/plaid/models/investment_account_subtype.rb +++ b/lib/plaid/models/investment_account_subtype.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/investment_filter.rb b/lib/plaid/models/investment_filter.rb index 93d460bee..a6aadd46e 100644 --- a/lib/plaid/models/investment_filter.rb +++ b/lib/plaid/models/investment_filter.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/investment_holdings_get_request_options.rb b/lib/plaid/models/investment_holdings_get_request_options.rb index 99eb28aea..12008b691 100644 --- a/lib/plaid/models/investment_holdings_get_request_options.rb +++ b/lib/plaid/models/investment_holdings_get_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/investment_transaction.rb b/lib/plaid/models/investment_transaction.rb index 404fb39f4..32872f5d1 100644 --- a/lib/plaid/models/investment_transaction.rb +++ b/lib/plaid/models/investment_transaction.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/investment_transaction_subtype.rb b/lib/plaid/models/investment_transaction_subtype.rb index 4cbe4895b..88b7a72b6 100644 --- a/lib/plaid/models/investment_transaction_subtype.rb +++ b/lib/plaid/models/investment_transaction_subtype.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/investment_transaction_type.rb b/lib/plaid/models/investment_transaction_type.rb index 263bbb69f..61dcb51ed 100644 --- a/lib/plaid/models/investment_transaction_type.rb +++ b/lib/plaid/models/investment_transaction_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/investments_auth_get_numbers.rb b/lib/plaid/models/investments_auth_get_numbers.rb index b76779119..da1e58dfa 100644 --- a/lib/plaid/models/investments_auth_get_numbers.rb +++ b/lib/plaid/models/investments_auth_get_numbers.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/investments_auth_get_request.rb b/lib/plaid/models/investments_auth_get_request.rb index 1bf9d0663..413651302 100644 --- a/lib/plaid/models/investments_auth_get_request.rb +++ b/lib/plaid/models/investments_auth_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/investments_auth_get_request_options.rb b/lib/plaid/models/investments_auth_get_request_options.rb index 5774b98fa..4f96631ba 100644 --- a/lib/plaid/models/investments_auth_get_request_options.rb +++ b/lib/plaid/models/investments_auth_get_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/investments_auth_get_response.rb b/lib/plaid/models/investments_auth_get_response.rb index e528a1bbc..ec5bbd6a6 100644 --- a/lib/plaid/models/investments_auth_get_response.rb +++ b/lib/plaid/models/investments_auth_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/investments_auth_owner.rb b/lib/plaid/models/investments_auth_owner.rb index 87cfdbb0f..0491dc25d 100644 --- a/lib/plaid/models/investments_auth_owner.rb +++ b/lib/plaid/models/investments_auth_owner.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/investments_default_update_webhook.rb b/lib/plaid/models/investments_default_update_webhook.rb index 5a4571318..0ac809507 100644 --- a/lib/plaid/models/investments_default_update_webhook.rb +++ b/lib/plaid/models/investments_default_update_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/investments_historical_update_webhook.rb b/lib/plaid/models/investments_historical_update_webhook.rb index 324db5028..086e030cc 100644 --- a/lib/plaid/models/investments_historical_update_webhook.rb +++ b/lib/plaid/models/investments_historical_update_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/investments_holdings_get_request.rb b/lib/plaid/models/investments_holdings_get_request.rb index c91382425..b8910670f 100644 --- a/lib/plaid/models/investments_holdings_get_request.rb +++ b/lib/plaid/models/investments_holdings_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/investments_holdings_get_response.rb b/lib/plaid/models/investments_holdings_get_response.rb index 01126955a..a58be1d7a 100644 --- a/lib/plaid/models/investments_holdings_get_response.rb +++ b/lib/plaid/models/investments_holdings_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/investments_refresh_request.rb b/lib/plaid/models/investments_refresh_request.rb index ce57fd540..4f09761cc 100644 --- a/lib/plaid/models/investments_refresh_request.rb +++ b/lib/plaid/models/investments_refresh_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/investments_refresh_response.rb b/lib/plaid/models/investments_refresh_response.rb index 20a362a5c..c5c908d70 100644 --- a/lib/plaid/models/investments_refresh_response.rb +++ b/lib/plaid/models/investments_refresh_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/investments_transactions_get_request.rb b/lib/plaid/models/investments_transactions_get_request.rb index 65cbf8b17..448ac9f15 100644 --- a/lib/plaid/models/investments_transactions_get_request.rb +++ b/lib/plaid/models/investments_transactions_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/investments_transactions_get_request_options.rb b/lib/plaid/models/investments_transactions_get_request_options.rb index b3f3dc0d2..8ab9fea52 100644 --- a/lib/plaid/models/investments_transactions_get_request_options.rb +++ b/lib/plaid/models/investments_transactions_get_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -25,7 +25,7 @@ class InvestmentsTransactionsGetRequestOptions # The number of transactions to skip when fetching transaction history attr_accessor :offset - # If the Item was not initialized with the investments product via the `products` array when calling `/link/token/create`, and `async_update` is set to true, the initial Investments extraction will happen asynchronously. Plaid will subsequently fire a `HISTORICAL_UPDATE` webhook when the extraction completes. When `false`, Plaid will wait to return a response until extraction completion and no `HISTORICAL_UPDATE` webhook will fire. Note that while the extraction is happening asynchronously, calls to `/investments/transactions/get` and `/investments/refresh` will return `PRODUCT_NOT_READY` errors until the extraction completes. + # If the Item was not initialized with the investments product via the `products`, `required_if_supported_products`, or `optional_products` array when calling `/link/token/create`, and `async_update` is set to true, the initial Investments extraction will happen asynchronously. Plaid will subsequently fire a `HISTORICAL_UPDATE` webhook when the extraction completes. When `false`, Plaid will wait to return a response until extraction completion and no `HISTORICAL_UPDATE` webhook will fire. Note that while the extraction is happening asynchronously, calls to `/investments/transactions/get` and `/investments/refresh` will return `PRODUCT_NOT_READY` errors until the extraction completes. attr_accessor :async_update # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/plaid/models/investments_transactions_get_response.rb b/lib/plaid/models/investments_transactions_get_response.rb index dbdd252c1..b17306cac 100644 --- a/lib/plaid/models/investments_transactions_get_response.rb +++ b/lib/plaid/models/investments_transactions_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/investments_transactions_override.rb b/lib/plaid/models/investments_transactions_override.rb index d28c06cb2..cafa5c998 100644 --- a/lib/plaid/models/investments_transactions_override.rb +++ b/lib/plaid/models/investments_transactions_override.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/iso_currency_code.rb b/lib/plaid/models/iso_currency_code.rb index f22327a67..b15bb1e1c 100644 --- a/lib/plaid/models/iso_currency_code.rb +++ b/lib/plaid/models/iso_currency_code.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/issue_resolved_webhook.rb b/lib/plaid/models/issue_resolved_webhook.rb new file mode 100644 index 000000000..ed6d5f59c --- /dev/null +++ b/lib/plaid/models/issue_resolved_webhook.rb @@ -0,0 +1,316 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Webhook notifications are sent only when a subscribed issue is marked as resolved. The payload contains details about the issue at the time of its resolution, focusing on the most essential information. + class IssueResolvedWebhook + # `ISSUES` + attr_accessor :webhook_type + + # `ISSUE_RESOLVED` + attr_accessor :webhook_code + + # The unique identifier of the connectivity issue. + attr_accessor :issue_id + + # A simple description of the error for the end user. + attr_accessor :issue_description + + # The time when the issue was marked as resolved. + attr_accessor :issue_resolved_at + + # The unique identifier of the financial institution involved. + attr_accessor :institution_id + + # The name of the financial institution involved. + attr_accessor :institution_name + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'webhook_type' => :'webhook_type', + :'webhook_code' => :'webhook_code', + :'issue_id' => :'issue_id', + :'issue_description' => :'issue_description', + :'issue_resolved_at' => :'issue_resolved_at', + :'institution_id' => :'institution_id', + :'institution_name' => :'institution_name' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'webhook_type' => :'String', + :'webhook_code' => :'String', + :'issue_id' => :'String', + :'issue_description' => :'String', + :'issue_resolved_at' => :'Time', + :'institution_id' => :'String', + :'institution_name' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::IssueResolvedWebhook` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::IssueResolvedWebhook`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'webhook_type') + self.webhook_type = attributes[:'webhook_type'] + end + + if attributes.key?(:'webhook_code') + self.webhook_code = attributes[:'webhook_code'] + end + + if attributes.key?(:'issue_id') + self.issue_id = attributes[:'issue_id'] + end + + if attributes.key?(:'issue_description') + self.issue_description = attributes[:'issue_description'] + end + + if attributes.key?(:'issue_resolved_at') + self.issue_resolved_at = attributes[:'issue_resolved_at'] + end + + if attributes.key?(:'institution_id') + self.institution_id = attributes[:'institution_id'] + end + + if attributes.key?(:'institution_name') + self.institution_name = attributes[:'institution_name'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @webhook_type.nil? + invalid_properties.push('invalid value for "webhook_type", webhook_type cannot be nil.') + end + + if @webhook_code.nil? + invalid_properties.push('invalid value for "webhook_code", webhook_code cannot be nil.') + end + + if @issue_id.nil? + invalid_properties.push('invalid value for "issue_id", issue_id cannot be nil.') + end + + if @issue_description.nil? + invalid_properties.push('invalid value for "issue_description", issue_description cannot be nil.') + end + + if @issue_resolved_at.nil? + invalid_properties.push('invalid value for "issue_resolved_at", issue_resolved_at cannot be nil.') + end + + if @institution_id.nil? + invalid_properties.push('invalid value for "institution_id", institution_id cannot be nil.') + end + + if @institution_name.nil? + invalid_properties.push('invalid value for "institution_name", institution_name cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @webhook_type.nil? + return false if @webhook_code.nil? + return false if @issue_id.nil? + return false if @issue_description.nil? + return false if @issue_resolved_at.nil? + return false if @institution_id.nil? + return false if @institution_name.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + webhook_type == o.webhook_type && + webhook_code == o.webhook_code && + issue_id == o.issue_id && + issue_description == o.issue_description && + issue_resolved_at == o.issue_resolved_at && + institution_id == o.institution_id && + institution_name == o.institution_name + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [webhook_type, webhook_code, issue_id, issue_description, issue_resolved_at, institution_id, institution_name].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/issuing_country.rb b/lib/plaid/models/issuing_country.rb index ec6e95f66..007e78f6b 100644 --- a/lib/plaid/models/issuing_country.rb +++ b/lib/plaid/models/issuing_country.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item.rb b/lib/plaid/models/item.rb index 71c9e9093..c9efd0002 100644 --- a/lib/plaid/models/item.rb +++ b/lib/plaid/models/item.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_access_token_invalidate_request.rb b/lib/plaid/models/item_access_token_invalidate_request.rb index f3d1cf321..b789f555e 100644 --- a/lib/plaid/models/item_access_token_invalidate_request.rb +++ b/lib/plaid/models/item_access_token_invalidate_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_access_token_invalidate_response.rb b/lib/plaid/models/item_access_token_invalidate_response.rb index 98d3bd319..bfa387fd9 100644 --- a/lib/plaid/models/item_access_token_invalidate_response.rb +++ b/lib/plaid/models/item_access_token_invalidate_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_activity_list_request.rb b/lib/plaid/models/item_activity_list_request.rb index 6c83098d2..ffe563840 100644 --- a/lib/plaid/models/item_activity_list_request.rb +++ b/lib/plaid/models/item_activity_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_activity_list_response.rb b/lib/plaid/models/item_activity_list_response.rb index cf84d2f69..98b1a7616 100644 --- a/lib/plaid/models/item_activity_list_response.rb +++ b/lib/plaid/models/item_activity_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_add_result_webhook.rb b/lib/plaid/models/item_add_result_webhook.rb index c9fd8e3b2..e505c06f1 100644 --- a/lib/plaid/models/item_add_result_webhook.rb +++ b/lib/plaid/models/item_add_result_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,7 +14,7 @@ require 'time' module Plaid - # Fired when a user successfully adds a Plaid item during a Link session. Contains the public token for the item. + # Fired when a user successfully adds a Plaid Item during a Link session when using Hosted Link or Multi-Item Link sessions. Contains the public token for the Item. class ItemAddResultWebhook # `LINK` attr_accessor :webhook_type diff --git a/lib/plaid/models/item_application_list_request.rb b/lib/plaid/models/item_application_list_request.rb index b2cd799bc..e5d6a3457 100644 --- a/lib/plaid/models/item_application_list_request.rb +++ b/lib/plaid/models/item_application_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_application_list_response.rb b/lib/plaid/models/item_application_list_response.rb index 1307d8f6d..54b83c168 100644 --- a/lib/plaid/models/item_application_list_response.rb +++ b/lib/plaid/models/item_application_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_application_list_user_auth.rb b/lib/plaid/models/item_application_list_user_auth.rb index 983948a3f..129932522 100644 --- a/lib/plaid/models/item_application_list_user_auth.rb +++ b/lib/plaid/models/item_application_list_user_auth.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_application_scopes_update_request.rb b/lib/plaid/models/item_application_scopes_update_request.rb index 5cb4f9104..34b664793 100644 --- a/lib/plaid/models/item_application_scopes_update_request.rb +++ b/lib/plaid/models/item_application_scopes_update_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_application_scopes_update_response.rb b/lib/plaid/models/item_application_scopes_update_response.rb index 49a852576..4fbf0fd85 100644 --- a/lib/plaid/models/item_application_scopes_update_response.rb +++ b/lib/plaid/models/item_application_scopes_update_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_application_unlink_request.rb b/lib/plaid/models/item_application_unlink_request.rb index c23bee1bb..72ce7fdde 100644 --- a/lib/plaid/models/item_application_unlink_request.rb +++ b/lib/plaid/models/item_application_unlink_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_application_unlink_response.rb b/lib/plaid/models/item_application_unlink_response.rb index c08c62173..c47bed15b 100644 --- a/lib/plaid/models/item_application_unlink_response.rb +++ b/lib/plaid/models/item_application_unlink_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_error_webhook.rb b/lib/plaid/models/item_error_webhook.rb index 771650219..327b6d57c 100644 --- a/lib/plaid/models/item_error_webhook.rb +++ b/lib/plaid/models/item_error_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_get_request.rb b/lib/plaid/models/item_get_request.rb index bb315bff5..652e88214 100644 --- a/lib/plaid/models/item_get_request.rb +++ b/lib/plaid/models/item_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_get_response.rb b/lib/plaid/models/item_get_response.rb index 2b6a16d97..5c7b65861 100644 --- a/lib/plaid/models/item_get_response.rb +++ b/lib/plaid/models/item_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_import_request.rb b/lib/plaid/models/item_import_request.rb index f818944ef..2938de2a2 100644 --- a/lib/plaid/models/item_import_request.rb +++ b/lib/plaid/models/item_import_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_import_request_options.rb b/lib/plaid/models/item_import_request_options.rb index b67de386d..0be1cfbb0 100644 --- a/lib/plaid/models/item_import_request_options.rb +++ b/lib/plaid/models/item_import_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_import_request_user_auth.rb b/lib/plaid/models/item_import_request_user_auth.rb index 0cf76d315..013f6d5b6 100644 --- a/lib/plaid/models/item_import_request_user_auth.rb +++ b/lib/plaid/models/item_import_request_user_auth.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_import_response.rb b/lib/plaid/models/item_import_response.rb index 1afca2674..a3cbf61cb 100644 --- a/lib/plaid/models/item_import_response.rb +++ b/lib/plaid/models/item_import_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_login_repaired_webhook.rb b/lib/plaid/models/item_login_repaired_webhook.rb index f1a57e79f..4b09cc509 100644 --- a/lib/plaid/models/item_login_repaired_webhook.rb +++ b/lib/plaid/models/item_login_repaired_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_product_ready_webhook.rb b/lib/plaid/models/item_product_ready_webhook.rb index d81fff592..49a8c74df 100644 --- a/lib/plaid/models/item_product_ready_webhook.rb +++ b/lib/plaid/models/item_product_ready_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_public_token_create_request.rb b/lib/plaid/models/item_public_token_create_request.rb index 6bc572171..6300e9597 100644 --- a/lib/plaid/models/item_public_token_create_request.rb +++ b/lib/plaid/models/item_public_token_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_public_token_create_response.rb b/lib/plaid/models/item_public_token_create_response.rb index d62e3cc7f..f752a11eb 100644 --- a/lib/plaid/models/item_public_token_create_response.rb +++ b/lib/plaid/models/item_public_token_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_public_token_exchange_request.rb b/lib/plaid/models/item_public_token_exchange_request.rb index b426c1b84..a933b9a89 100644 --- a/lib/plaid/models/item_public_token_exchange_request.rb +++ b/lib/plaid/models/item_public_token_exchange_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_public_token_exchange_response.rb b/lib/plaid/models/item_public_token_exchange_response.rb index 59031fd63..8e8d7618f 100644 --- a/lib/plaid/models/item_public_token_exchange_response.rb +++ b/lib/plaid/models/item_public_token_exchange_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_remove_request.rb b/lib/plaid/models/item_remove_request.rb index 448f84ed3..d56285eb6 100644 --- a/lib/plaid/models/item_remove_request.rb +++ b/lib/plaid/models/item_remove_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_remove_response.rb b/lib/plaid/models/item_remove_response.rb index 05157da05..8b234b404 100644 --- a/lib/plaid/models/item_remove_response.rb +++ b/lib/plaid/models/item_remove_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_status.rb b/lib/plaid/models/item_status.rb index a6e9a1f48..03e6719ab 100644 --- a/lib/plaid/models/item_status.rb +++ b/lib/plaid/models/item_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_status_investments.rb b/lib/plaid/models/item_status_investments.rb index edb3734a5..3077d6300 100644 --- a/lib/plaid/models/item_status_investments.rb +++ b/lib/plaid/models/item_status_investments.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_status_last_webhook.rb b/lib/plaid/models/item_status_last_webhook.rb index 27f07276e..70de9cfc7 100644 --- a/lib/plaid/models/item_status_last_webhook.rb +++ b/lib/plaid/models/item_status_last_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_status_nullable.rb b/lib/plaid/models/item_status_nullable.rb index 3a77e8bf8..347cfebc5 100644 --- a/lib/plaid/models/item_status_nullable.rb +++ b/lib/plaid/models/item_status_nullable.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_status_transactions.rb b/lib/plaid/models/item_status_transactions.rb index b44b4229d..056b06a50 100644 --- a/lib/plaid/models/item_status_transactions.rb +++ b/lib/plaid/models/item_status_transactions.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_webhook_update_request.rb b/lib/plaid/models/item_webhook_update_request.rb index f0cb379c3..2e927bf8c 100644 --- a/lib/plaid/models/item_webhook_update_request.rb +++ b/lib/plaid/models/item_webhook_update_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_webhook_update_response.rb b/lib/plaid/models/item_webhook_update_response.rb index c52d3b2f0..28aea00a4 100644 --- a/lib/plaid/models/item_webhook_update_response.rb +++ b/lib/plaid/models/item_webhook_update_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/jwk_public_key.rb b/lib/plaid/models/jwk_public_key.rb index 15c2ff08b..052e105b5 100644 --- a/lib/plaid/models/jwk_public_key.rb +++ b/lib/plaid/models/jwk_public_key.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/jwt_header.rb b/lib/plaid/models/jwt_header.rb index 53b70e9ab..9fa4c6a78 100644 --- a/lib/plaid/models/jwt_header.rb +++ b/lib/plaid/models/jwt_header.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/kyc_check_address_summary.rb b/lib/plaid/models/kyc_check_address_summary.rb index f27008c46..03a0bf457 100644 --- a/lib/plaid/models/kyc_check_address_summary.rb +++ b/lib/plaid/models/kyc_check_address_summary.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -22,6 +22,16 @@ class KYCCheckAddressSummary attr_accessor :type + attr_accessor :street + + attr_accessor :city + + attr_accessor :region + + attr_accessor :postal_code + + attr_accessor :international_details + class EnumAttributeValidator attr_reader :datatype attr_reader :allowable_values @@ -49,7 +59,12 @@ def self.attribute_map { :'summary' => :'summary', :'po_box' => :'po_box', - :'type' => :'type' + :'type' => :'type', + :'street' => :'street', + :'city' => :'city', + :'region' => :'region', + :'postal_code' => :'postal_code', + :'international_details' => :'international_details' } end @@ -63,13 +78,19 @@ def self.openapi_types { :'summary' => :'MatchSummaryCode', :'po_box' => :'POBoxStatus', - :'type' => :'AddressPurposeLabel' + :'type' => :'AddressPurposeLabel', + :'street' => :'HiddenMatchSummaryCode', + :'city' => :'HiddenMatchSummaryCode', + :'region' => :'HiddenMatchSummaryCode', + :'postal_code' => :'HiddenMatchSummaryCode', + :'international_details' => :'KYCCheckDetailsInternationalAddress' } end # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'international_details' ]) end @@ -99,6 +120,26 @@ def initialize(attributes = {}) if attributes.key?(:'type') self.type = attributes[:'type'] end + + if attributes.key?(:'street') + self.street = attributes[:'street'] + end + + if attributes.key?(:'city') + self.city = attributes[:'city'] + end + + if attributes.key?(:'region') + self.region = attributes[:'region'] + end + + if attributes.key?(:'postal_code') + self.postal_code = attributes[:'postal_code'] + end + + if attributes.key?(:'international_details') + self.international_details = attributes[:'international_details'] + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -136,7 +177,12 @@ def ==(o) self.class == o.class && summary == o.summary && po_box == o.po_box && - type == o.type + type == o.type && + street == o.street && + city == o.city && + region == o.region && + postal_code == o.postal_code && + international_details == o.international_details end # @see the `==` method @@ -148,7 +194,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [summary, po_box, type].hash + [summary, po_box, type, street, city, region, postal_code, international_details].hash end # Builds the object from hash diff --git a/lib/plaid/models/kyc_check_date_of_birth_summary.rb b/lib/plaid/models/kyc_check_date_of_birth_summary.rb index affbdf640..687863c21 100644 --- a/lib/plaid/models/kyc_check_date_of_birth_summary.rb +++ b/lib/plaid/models/kyc_check_date_of_birth_summary.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -18,6 +18,12 @@ module Plaid class KYCCheckDateOfBirthSummary attr_accessor :summary + attr_accessor :day + + attr_accessor :month + + attr_accessor :year + class EnumAttributeValidator attr_reader :datatype attr_reader :allowable_values @@ -43,7 +49,10 @@ def valid?(value) # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { - :'summary' => :'summary' + :'summary' => :'summary', + :'day' => :'day', + :'month' => :'month', + :'year' => :'year' } end @@ -55,7 +64,10 @@ def self.acceptable_attributes # Attribute type mapping. def self.openapi_types { - :'summary' => :'MatchSummaryCode' + :'summary' => :'MatchSummaryCode', + :'day' => :'HiddenMatchSummaryCode', + :'month' => :'HiddenMatchSummaryCode', + :'year' => :'HiddenMatchSummaryCode' } end @@ -83,6 +95,18 @@ def initialize(attributes = {}) if attributes.key?(:'summary') self.summary = attributes[:'summary'] end + + if attributes.key?(:'day') + self.day = attributes[:'day'] + end + + if attributes.key?(:'month') + self.month = attributes[:'month'] + end + + if attributes.key?(:'year') + self.year = attributes[:'year'] + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -108,7 +132,10 @@ def valid? def ==(o) return true if self.equal?(o) self.class == o.class && - summary == o.summary + summary == o.summary && + day == o.day && + month == o.month && + year == o.year end # @see the `==` method @@ -120,7 +147,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [summary].hash + [summary, day, month, year].hash end # Builds the object from hash diff --git a/lib/plaid/models/kyc_check_details.rb b/lib/plaid/models/kyc_check_details.rb index f0b2093e0..1d5ce2342 100644 --- a/lib/plaid/models/kyc_check_details.rb +++ b/lib/plaid/models/kyc_check_details.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/kyc_check_details_international_address.rb b/lib/plaid/models/kyc_check_details_international_address.rb new file mode 100644 index 000000000..0f0e9bf52 --- /dev/null +++ b/lib/plaid/models/kyc_check_details_international_address.rb @@ -0,0 +1,317 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Result summary object specifying how the `address` field matched for fields that are only present on an international KYC check. + class KYCCheckDetailsInternationalAddress + attr_accessor :building + + attr_accessor :county + + attr_accessor :district + + attr_accessor :house_number + + attr_accessor :subpremise + + attr_accessor :thoroughfare + + class EnumAttributeValidator + attr_reader :datatype + attr_reader :allowable_values + + def initialize(datatype, allowable_values) + @allowable_values = allowable_values.map do |value| + case datatype.to_s + when /Integer/i + value.to_i + when /Float/i + value.to_f + else + value + end + end + end + + def valid?(value) + !value || allowable_values.include?(value) + end + end + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'building' => :'building', + :'county' => :'county', + :'district' => :'district', + :'house_number' => :'house_number', + :'subpremise' => :'subpremise', + :'thoroughfare' => :'thoroughfare' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'building' => :'HiddenMatchSummaryCode', + :'county' => :'HiddenMatchSummaryCode', + :'district' => :'HiddenMatchSummaryCode', + :'house_number' => :'HiddenMatchSummaryCode', + :'subpremise' => :'HiddenMatchSummaryCode', + :'thoroughfare' => :'HiddenMatchSummaryCode' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::KYCCheckDetailsInternationalAddress` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::KYCCheckDetailsInternationalAddress`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'building') + self.building = attributes[:'building'] + end + + if attributes.key?(:'county') + self.county = attributes[:'county'] + end + + if attributes.key?(:'district') + self.district = attributes[:'district'] + end + + if attributes.key?(:'house_number') + self.house_number = attributes[:'house_number'] + end + + if attributes.key?(:'subpremise') + self.subpremise = attributes[:'subpremise'] + end + + if attributes.key?(:'thoroughfare') + self.thoroughfare = attributes[:'thoroughfare'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @building.nil? + invalid_properties.push('invalid value for "building", building cannot be nil.') + end + + if @county.nil? + invalid_properties.push('invalid value for "county", county cannot be nil.') + end + + if @district.nil? + invalid_properties.push('invalid value for "district", district cannot be nil.') + end + + if @house_number.nil? + invalid_properties.push('invalid value for "house_number", house_number cannot be nil.') + end + + if @subpremise.nil? + invalid_properties.push('invalid value for "subpremise", subpremise cannot be nil.') + end + + if @thoroughfare.nil? + invalid_properties.push('invalid value for "thoroughfare", thoroughfare cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @building.nil? + return false if @county.nil? + return false if @district.nil? + return false if @house_number.nil? + return false if @subpremise.nil? + return false if @thoroughfare.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + building == o.building && + county == o.county && + district == o.district && + house_number == o.house_number && + subpremise == o.subpremise && + thoroughfare == o.thoroughfare + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [building, county, district, house_number, subpremise, thoroughfare].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/kyc_check_id_number_summary.rb b/lib/plaid/models/kyc_check_id_number_summary.rb index 34394f3fe..33304e563 100644 --- a/lib/plaid/models/kyc_check_id_number_summary.rb +++ b/lib/plaid/models/kyc_check_id_number_summary.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/kyc_check_name_summary.rb b/lib/plaid/models/kyc_check_name_summary.rb index 9eccccde8..0bd9f6de4 100644 --- a/lib/plaid/models/kyc_check_name_summary.rb +++ b/lib/plaid/models/kyc_check_name_summary.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -18,6 +18,10 @@ module Plaid class KYCCheckNameSummary attr_accessor :summary + attr_accessor :given_name + + attr_accessor :family_name + class EnumAttributeValidator attr_reader :datatype attr_reader :allowable_values @@ -43,7 +47,9 @@ def valid?(value) # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { - :'summary' => :'summary' + :'summary' => :'summary', + :'given_name' => :'given_name', + :'family_name' => :'family_name' } end @@ -55,7 +61,9 @@ def self.acceptable_attributes # Attribute type mapping. def self.openapi_types { - :'summary' => :'MatchSummaryCode' + :'summary' => :'MatchSummaryCode', + :'given_name' => :'HiddenMatchSummaryCode', + :'family_name' => :'HiddenMatchSummaryCode' } end @@ -83,6 +91,14 @@ def initialize(attributes = {}) if attributes.key?(:'summary') self.summary = attributes[:'summary'] end + + if attributes.key?(:'given_name') + self.given_name = attributes[:'given_name'] + end + + if attributes.key?(:'family_name') + self.family_name = attributes[:'family_name'] + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -108,7 +124,9 @@ def valid? def ==(o) return true if self.equal?(o) self.class == o.class && - summary == o.summary + summary == o.summary && + given_name == o.given_name && + family_name == o.family_name end # @see the `==` method @@ -120,7 +138,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [summary].hash + [summary, given_name, family_name].hash end # Builds the object from hash diff --git a/lib/plaid/models/kyc_check_phone_summary.rb b/lib/plaid/models/kyc_check_phone_summary.rb index f0f5e6126..7d71ebdca 100644 --- a/lib/plaid/models/kyc_check_phone_summary.rb +++ b/lib/plaid/models/kyc_check_phone_summary.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/last_data_access_times.rb b/lib/plaid/models/last_data_access_times.rb index 5971af6af..3a6f689ee 100644 --- a/lib/plaid/models/last_data_access_times.rb +++ b/lib/plaid/models/last_data_access_times.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/liabilities_default_update_webhook.rb b/lib/plaid/models/liabilities_default_update_webhook.rb index 8ea8a64f8..a6c7e18b8 100644 --- a/lib/plaid/models/liabilities_default_update_webhook.rb +++ b/lib/plaid/models/liabilities_default_update_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/liabilities_get_request.rb b/lib/plaid/models/liabilities_get_request.rb index 62bb98c9a..e84d59627 100644 --- a/lib/plaid/models/liabilities_get_request.rb +++ b/lib/plaid/models/liabilities_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/liabilities_get_request_options.rb b/lib/plaid/models/liabilities_get_request_options.rb index e9953ca7a..2ecd5c200 100644 --- a/lib/plaid/models/liabilities_get_request_options.rb +++ b/lib/plaid/models/liabilities_get_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/liabilities_get_response.rb b/lib/plaid/models/liabilities_get_response.rb index 8864689c0..ff808df56 100644 --- a/lib/plaid/models/liabilities_get_response.rb +++ b/lib/plaid/models/liabilities_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/liabilities_object.rb b/lib/plaid/models/liabilities_object.rb index 91e7ae5fd..cd824296d 100644 --- a/lib/plaid/models/liabilities_object.rb +++ b/lib/plaid/models/liabilities_object.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/liability_override.rb b/lib/plaid/models/liability_override.rb index c0c159a2d..3a8b63947 100644 --- a/lib/plaid/models/liability_override.rb +++ b/lib/plaid/models/liability_override.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_callback_metadata.rb b/lib/plaid/models/link_callback_metadata.rb index fceab1e10..644b6eb36 100644 --- a/lib/plaid/models/link_callback_metadata.rb +++ b/lib/plaid/models/link_callback_metadata.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_delivery_account.rb b/lib/plaid/models/link_delivery_account.rb index 29a37139a..c5f68999d 100644 --- a/lib/plaid/models/link_delivery_account.rb +++ b/lib/plaid/models/link_delivery_account.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_delivery_callback_webhook.rb b/lib/plaid/models/link_delivery_callback_webhook.rb index cde9cd182..06ff10d2e 100644 --- a/lib/plaid/models/link_delivery_callback_webhook.rb +++ b/lib/plaid/models/link_delivery_callback_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_delivery_communication_method.rb b/lib/plaid/models/link_delivery_communication_method.rb index a89be6674..9883f6708 100644 --- a/lib/plaid/models/link_delivery_communication_method.rb +++ b/lib/plaid/models/link_delivery_communication_method.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_delivery_create_request.rb b/lib/plaid/models/link_delivery_create_request.rb index cbac4dc55..496ee26d7 100644 --- a/lib/plaid/models/link_delivery_create_request.rb +++ b/lib/plaid/models/link_delivery_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_delivery_create_response.rb b/lib/plaid/models/link_delivery_create_response.rb index b503ca9d4..56f162a1f 100644 --- a/lib/plaid/models/link_delivery_create_response.rb +++ b/lib/plaid/models/link_delivery_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_delivery_delivery_method.rb b/lib/plaid/models/link_delivery_delivery_method.rb index ff8948c0f..06272799e 100644 --- a/lib/plaid/models/link_delivery_delivery_method.rb +++ b/lib/plaid/models/link_delivery_delivery_method.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_delivery_get_request.rb b/lib/plaid/models/link_delivery_get_request.rb index bb03fc981..f878c6629 100644 --- a/lib/plaid/models/link_delivery_get_request.rb +++ b/lib/plaid/models/link_delivery_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_delivery_get_response.rb b/lib/plaid/models/link_delivery_get_response.rb index e21ff2620..d02501232 100644 --- a/lib/plaid/models/link_delivery_get_response.rb +++ b/lib/plaid/models/link_delivery_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_delivery_institution.rb b/lib/plaid/models/link_delivery_institution.rb index 6434f6fb8..1d6b013d1 100644 --- a/lib/plaid/models/link_delivery_institution.rb +++ b/lib/plaid/models/link_delivery_institution.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_delivery_metadata.rb b/lib/plaid/models/link_delivery_metadata.rb index e26cfc934..6aa0386f7 100644 --- a/lib/plaid/models/link_delivery_metadata.rb +++ b/lib/plaid/models/link_delivery_metadata.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_delivery_options.rb b/lib/plaid/models/link_delivery_options.rb index 75d4ebbf7..5b1faa8c6 100644 --- a/lib/plaid/models/link_delivery_options.rb +++ b/lib/plaid/models/link_delivery_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_delivery_recipient.rb b/lib/plaid/models/link_delivery_recipient.rb index b8e410d15..2f042f677 100644 --- a/lib/plaid/models/link_delivery_recipient.rb +++ b/lib/plaid/models/link_delivery_recipient.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_delivery_session_status.rb b/lib/plaid/models/link_delivery_session_status.rb index 2ed8e2d58..2bd4983cf 100644 --- a/lib/plaid/models/link_delivery_session_status.rb +++ b/lib/plaid/models/link_delivery_session_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_delivery_verification_status.rb b/lib/plaid/models/link_delivery_verification_status.rb index b2d503332..b8691ea60 100644 --- a/lib/plaid/models/link_delivery_verification_status.rb +++ b/lib/plaid/models/link_delivery_verification_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_delivery_webhook_callback_type.rb b/lib/plaid/models/link_delivery_webhook_callback_type.rb index f44260709..91885d762 100644 --- a/lib/plaid/models/link_delivery_webhook_callback_type.rb +++ b/lib/plaid/models/link_delivery_webhook_callback_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_delivery_webhook_communication_method.rb b/lib/plaid/models/link_delivery_webhook_communication_method.rb index 842a6ad8e..bc1032bb2 100644 --- a/lib/plaid/models/link_delivery_webhook_communication_method.rb +++ b/lib/plaid/models/link_delivery_webhook_communication_method.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_delivery_webhook_delivery_status.rb b/lib/plaid/models/link_delivery_webhook_delivery_status.rb index 3ff9e4fc2..ebce7b663 100644 --- a/lib/plaid/models/link_delivery_webhook_delivery_status.rb +++ b/lib/plaid/models/link_delivery_webhook_delivery_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_event.rb b/lib/plaid/models/link_event.rb index 6bc054cf5..a2c760954 100644 --- a/lib/plaid/models/link_event.rb +++ b/lib/plaid/models/link_event.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_event_metadata.rb b/lib/plaid/models/link_event_metadata.rb index eeb006026..21f939b47 100644 --- a/lib/plaid/models/link_event_metadata.rb +++ b/lib/plaid/models/link_event_metadata.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_event_name.rb b/lib/plaid/models/link_event_name.rb index 5ea93f1da..4d488224a 100644 --- a/lib/plaid/models/link_event_name.rb +++ b/lib/plaid/models/link_event_name.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -21,6 +21,7 @@ class LinkEventName EXIT = "EXIT".freeze FAIL_OAUTH = "FAIL_OAUTH".freeze HANDOFF = "HANDOFF".freeze + ISSUE_FOLLOWED = "ISSUE_FOLLOWED".freeze OPEN = "OPEN".freeze OPEN_MY_PLAID = "OPEN_MY_PLAID".freeze OPEN_OAUTH = "OPEN_OAUTH".freeze diff --git a/lib/plaid/models/link_events_webhook.rb b/lib/plaid/models/link_events_webhook.rb index 3f8fb5151..ae238bb18 100644 --- a/lib/plaid/models/link_events_webhook.rb +++ b/lib/plaid/models/link_events_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_o_auth_correlation_id_exchange_request.rb b/lib/plaid/models/link_o_auth_correlation_id_exchange_request.rb index 224d694b8..34946b2b7 100644 --- a/lib/plaid/models/link_o_auth_correlation_id_exchange_request.rb +++ b/lib/plaid/models/link_o_auth_correlation_id_exchange_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_o_auth_correlation_id_exchange_response.rb b/lib/plaid/models/link_o_auth_correlation_id_exchange_response.rb index f1c8e3ff1..cfb52b41c 100644 --- a/lib/plaid/models/link_o_auth_correlation_id_exchange_response.rb +++ b/lib/plaid/models/link_o_auth_correlation_id_exchange_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_profile_eligibility_check_request.rb b/lib/plaid/models/link_profile_eligibility_check_request.rb index d33696e60..722d241bb 100644 --- a/lib/plaid/models/link_profile_eligibility_check_request.rb +++ b/lib/plaid/models/link_profile_eligibility_check_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_profile_eligibility_check_response.rb b/lib/plaid/models/link_profile_eligibility_check_response.rb index 17b76a03e..46b1bbc04 100644 --- a/lib/plaid/models/link_profile_eligibility_check_response.rb +++ b/lib/plaid/models/link_profile_eligibility_check_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_profile_eligibility_check_user.rb b/lib/plaid/models/link_profile_eligibility_check_user.rb index 98c1b7504..a9d807ee6 100644 --- a/lib/plaid/models/link_profile_eligibility_check_user.rb +++ b/lib/plaid/models/link_profile_eligibility_check_user.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_session_bank_employment_result.rb b/lib/plaid/models/link_session_bank_employment_result.rb index d7a595f45..d865e5bf5 100644 --- a/lib/plaid/models/link_session_bank_employment_result.rb +++ b/lib/plaid/models/link_session_bank_employment_result.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_session_bank_income_result.rb b/lib/plaid/models/link_session_bank_income_result.rb index e43f95f5e..be555cd19 100644 --- a/lib/plaid/models/link_session_bank_income_result.rb +++ b/lib/plaid/models/link_session_bank_income_result.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_session_cra_item_add_result.rb b/lib/plaid/models/link_session_cra_item_add_result.rb new file mode 100644 index 000000000..aed2cb725 --- /dev/null +++ b/lib/plaid/models/link_session_cra_item_add_result.rb @@ -0,0 +1,253 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # The details of a Plaid Check Item add in Link. + class LinkSessionCraItemAddResult + # The Plaid Check Item ID. The `item_id` is always unique; linking the same account at the same institution twice will result in two Items with different `item_id` values. The `item_id` is case-sensitive. + attr_accessor :item_id + + # A list of accounts attached to the connected Item. If Account Select is enabled via the developer dashboard, `accounts` will only include selected accounts. + attr_accessor :accounts + + attr_accessor :institution + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'item_id' => :'item_id', + :'accounts' => :'accounts', + :'institution' => :'institution' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'item_id' => :'String', + :'accounts' => :'Array', + :'institution' => :'LinkSessionSuccessMetadataInstitution' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'institution' + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::LinkSessionCraItemAddResult` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::LinkSessionCraItemAddResult`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'item_id') + self.item_id = attributes[:'item_id'] + end + + if attributes.key?(:'accounts') + if (value = attributes[:'accounts']).is_a?(Array) + self.accounts = value + end + end + + if attributes.key?(:'institution') + self.institution = attributes[:'institution'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @item_id.nil? + invalid_properties.push('invalid value for "item_id", item_id cannot be nil.') + end + + if @accounts.nil? + invalid_properties.push('invalid value for "accounts", accounts cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @item_id.nil? + return false if @accounts.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + item_id == o.item_id && + accounts == o.accounts && + institution == o.institution + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [item_id, accounts, institution].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/link_session_exit.rb b/lib/plaid/models/link_session_exit.rb index a824713e4..331bb320a 100644 --- a/lib/plaid/models/link_session_exit.rb +++ b/lib/plaid/models/link_session_exit.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_session_exit_deprecated.rb b/lib/plaid/models/link_session_exit_deprecated.rb index 1f363d13c..4fe386b5a 100644 --- a/lib/plaid/models/link_session_exit_deprecated.rb +++ b/lib/plaid/models/link_session_exit_deprecated.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,7 +14,7 @@ require 'time' module Plaid - # An object representing an [onExit](https://plaid.com/docs/link/web/#onexit) callback from Link. + # An object representing an [onExit](https://plaid.com/docs/link/web/#onexit) callback from Link. This field has been deprecated in favor of [`exit`](https://plaid.com/docs/api/link/#link-token-get-response-link-sessions-exit), for improved naming consistency. class LinkSessionExitDeprecated attr_accessor :error diff --git a/lib/plaid/models/link_session_exit_metadata.rb b/lib/plaid/models/link_session_exit_metadata.rb index 53fc1be09..66e0d5ecb 100644 --- a/lib/plaid/models/link_session_exit_metadata.rb +++ b/lib/plaid/models/link_session_exit_metadata.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_session_exit_metadata_institution.rb b/lib/plaid/models/link_session_exit_metadata_institution.rb index f6e151c0a..16f071edf 100644 --- a/lib/plaid/models/link_session_exit_metadata_institution.rb +++ b/lib/plaid/models/link_session_exit_metadata_institution.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_session_finished_webhook.rb b/lib/plaid/models/link_session_finished_webhook.rb index 4724ce68f..1393bd415 100644 --- a/lib/plaid/models/link_session_finished_webhook.rb +++ b/lib/plaid/models/link_session_finished_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,7 +14,7 @@ require 'time' module Plaid - # Contains the state of a completed Link session, along with the public token if available. By default, the `SESSION_FINISHED` webhook is enabled only for clients that are enabled for Hosted Link. If you would like to receive this webhook and are not using Hosted Link, contact your Account Manager. + # Contains the state of a completed Link session, along with the public token(s) if available. By default, the `SESSION_FINISHED` webhook is enabled only for clients that are enabled for Hosted Link, or in sessions that are enabled for Multi-Item Link. If you would like to receive this webhook and are not using Hosted Link or Multi-Item Link, contact your Account Manager. class LinkSessionFinishedWebhook # `LINK` attr_accessor :webhook_type diff --git a/lib/plaid/models/link_session_item_add_result.rb b/lib/plaid/models/link_session_item_add_result.rb index b09dd33f7..41c89bf1e 100644 --- a/lib/plaid/models/link_session_item_add_result.rb +++ b/lib/plaid/models/link_session_item_add_result.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_session_payroll_income_result.rb b/lib/plaid/models/link_session_payroll_income_result.rb index a8b701cf2..a7df9fdd3 100644 --- a/lib/plaid/models/link_session_payroll_income_result.rb +++ b/lib/plaid/models/link_session_payroll_income_result.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_session_results.rb b/lib/plaid/models/link_session_results.rb index 2dda19f4b..56a9a5ce0 100644 --- a/lib/plaid/models/link_session_results.rb +++ b/lib/plaid/models/link_session_results.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -19,6 +19,9 @@ class LinkSessionResults # The set of Item adds for the Link session. attr_accessor :item_add_results + # The set of Plaid Check Item adds for the Link session. + attr_accessor :cra_item_add_results + # The set of bank income verifications for the Link session. attr_accessor :bank_income_results @@ -31,6 +34,7 @@ class LinkSessionResults def self.attribute_map { :'item_add_results' => :'item_add_results', + :'cra_item_add_results' => :'cra_item_add_results', :'bank_income_results' => :'bank_income_results', :'payroll_income_results' => :'payroll_income_results', :'document_income_results' => :'document_income_results' @@ -46,6 +50,7 @@ def self.acceptable_attributes def self.openapi_types { :'item_add_results' => :'Array', + :'cra_item_add_results' => :'Array', :'bank_income_results' => :'Array', :'payroll_income_results' => :'Array', :'document_income_results' => :'CreditSessionDocumentIncomeResult' @@ -80,6 +85,12 @@ def initialize(attributes = {}) end end + if attributes.key?(:'cra_item_add_results') + if (value = attributes[:'cra_item_add_results']).is_a?(Array) + self.cra_item_add_results = value + end + end + if attributes.key?(:'bank_income_results') if (value = attributes[:'bank_income_results']).is_a?(Array) self.bank_income_results = value @@ -116,6 +127,7 @@ def ==(o) return true if self.equal?(o) self.class == o.class && item_add_results == o.item_add_results && + cra_item_add_results == o.cra_item_add_results && bank_income_results == o.bank_income_results && payroll_income_results == o.payroll_income_results && document_income_results == o.document_income_results @@ -130,7 +142,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [item_add_results, bank_income_results, payroll_income_results, document_income_results].hash + [item_add_results, cra_item_add_results, bank_income_results, payroll_income_results, document_income_results].hash end # Builds the object from hash diff --git a/lib/plaid/models/link_session_success.rb b/lib/plaid/models/link_session_success.rb index 2cd16df7e..00c9d1ef1 100644 --- a/lib/plaid/models/link_session_success.rb +++ b/lib/plaid/models/link_session_success.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,7 +14,7 @@ require 'time' module Plaid - # An object representing an [onSuccess](https://plaid.com/docs/link/web/#onsuccess) callback from Link. + # An object representing an [onSuccess](https://plaid.com/docs/link/web/#onsuccess) callback from Link. This object has been deprecated in favor of the newer [`results.item_add_result`](https://plaid.com/docs/api/link/#link-token-get-response-link-sessions-results-item-add-results), which can support multiple public tokens in a single Link session. class LinkSessionSuccess # Displayed once a user has successfully linked their Item. attr_accessor :public_token diff --git a/lib/plaid/models/link_session_success_metadata.rb b/lib/plaid/models/link_session_success_metadata.rb index 064b40ad9..6dd6c6fdf 100644 --- a/lib/plaid/models/link_session_success_metadata.rb +++ b/lib/plaid/models/link_session_success_metadata.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_session_success_metadata_account.rb b/lib/plaid/models/link_session_success_metadata_account.rb index f3039163b..525d6f8b8 100644 --- a/lib/plaid/models/link_session_success_metadata_account.rb +++ b/lib/plaid/models/link_session_success_metadata_account.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_session_success_metadata_institution.rb b/lib/plaid/models/link_session_success_metadata_institution.rb index 61d1f4324..44dadd144 100644 --- a/lib/plaid/models/link_session_success_metadata_institution.rb +++ b/lib/plaid/models/link_session_success_metadata_institution.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_session_success_metadata_transfer_status.rb b/lib/plaid/models/link_session_success_metadata_transfer_status.rb index bc0b85a0f..e5a6d1363 100644 --- a/lib/plaid/models/link_session_success_metadata_transfer_status.rb +++ b/lib/plaid/models/link_session_success_metadata_transfer_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -17,6 +17,7 @@ module Plaid class LinkSessionSuccessMetadataTransferStatus COMPLETE = "COMPLETE".freeze INCOMPLETE = "INCOMPLETE".freeze + NULL = "null".freeze # Builds the enum from string # @param [String] The enum value in the form of the string diff --git a/lib/plaid/models/link_token_account_filters.rb b/lib/plaid/models/link_token_account_filters.rb index e1830dff3..9bb4f790d 100644 --- a/lib/plaid/models/link_token_account_filters.rb +++ b/lib/plaid/models/link_token_account_filters.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_card_switch.rb b/lib/plaid/models/link_token_create_card_switch.rb index 1bd975c64..d8be5426a 100644 --- a/lib/plaid/models/link_token_create_card_switch.rb +++ b/lib/plaid/models/link_token_create_card_switch.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_credit_filter.rb b/lib/plaid/models/link_token_create_credit_filter.rb index 3e73a96a5..4a5c8114b 100644 --- a/lib/plaid/models/link_token_create_credit_filter.rb +++ b/lib/plaid/models/link_token_create_credit_filter.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_depository_filter.rb b/lib/plaid/models/link_token_create_depository_filter.rb index f8be0d691..73ef0debb 100644 --- a/lib/plaid/models/link_token_create_depository_filter.rb +++ b/lib/plaid/models/link_token_create_depository_filter.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_hosted_link.rb b/lib/plaid/models/link_token_create_hosted_link.rb index 1dd6ff3de..afa692fd5 100644 --- a/lib/plaid/models/link_token_create_hosted_link.rb +++ b/lib/plaid/models/link_token_create_hosted_link.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -21,7 +21,7 @@ class LinkTokenCreateHostedLink # URI that Hosted Link will redirect to upon completion of the Link flow. This will only occur in Hosted Link sessions, not in other implementation methods. attr_accessor :completion_redirect_uri - # How many seconds the link will be valid for. Must be positive. Cannot be longer than 21 days. The default lifetime is 4 hours. + # How many seconds the link will be valid for. Must be positive. Cannot be longer than 21 days. The default lifetime is 7 days for links delivered by email, 1 day for links delivered via SMS, and 30 minutes for links not sent via Plaid Link delivery. This parameter will override the value of all three link types. attr_accessor :url_lifetime_seconds # This indicates whether the client is opening hosted Link in a mobile app in an out of process web view (OOPWV) (i.e., an `AsWebAuthenticationSession` / `SFSafariViewController` or Android Custom Tab). diff --git a/lib/plaid/models/link_token_create_identity.rb b/lib/plaid/models/link_token_create_identity.rb index c511b0afe..6374fa970 100644 --- a/lib/plaid/models/link_token_create_identity.rb +++ b/lib/plaid/models/link_token_create_identity.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_institution_data.rb b/lib/plaid/models/link_token_create_institution_data.rb index c6f84bff6..0bc36dd83 100644 --- a/lib/plaid/models/link_token_create_institution_data.rb +++ b/lib/plaid/models/link_token_create_institution_data.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_investment_filter.rb b/lib/plaid/models/link_token_create_investment_filter.rb index 94dc7662c..cba26f9f1 100644 --- a/lib/plaid/models/link_token_create_investment_filter.rb +++ b/lib/plaid/models/link_token_create_investment_filter.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_loan_filter.rb b/lib/plaid/models/link_token_create_loan_filter.rb index 2cc56aec5..1e8588ea3 100644 --- a/lib/plaid/models/link_token_create_loan_filter.rb +++ b/lib/plaid/models/link_token_create_loan_filter.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_request.rb b/lib/plaid/models/link_token_create_request.rb index 3f9cc99bc..3a92c98c8 100644 --- a/lib/plaid/models/link_token_create_request.rb +++ b/lib/plaid/models/link_token_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -33,7 +33,7 @@ class LinkTokenCreateRequest attr_accessor :user - # List of Plaid product(s) you wish to use. If launching Link in update mode, should be omitted (unless you are using update mode to add Income or Assets to an Item); required otherwise. `balance` is *not* a valid value, the Balance product does not require explicit initialization and will automatically be initialized when any other product is initialized. The products specified here will determine which institutions will be available to your users in Link. Only institutions that support *all* requested products can be selected; a if a user attempts to select an institution that does not support a listed product, a \"Connectivity not supported\" error message will appear in Link. To maximize the number of institutions available, initialize Link with the minimal product set required for your use case. Additional products can be included via the [`optional_products`](https://plaid.com/docs/api/tokens/#link-token-create-request-optional-products) or [`required_if_supported_products`](https://plaid.com/docs/api/tokens/#link-token-create-request-required-if-supported-products) fields, or can be initialized by calling the endpoint after obtaining an access token. For details and exceptions, see [Choosing when to initialize products](https://plaid.com/docs/link/initializing-products/). Note that, unless you have opted to disable Instant Match support, institutions that support Instant Match will also be shown in Link if `auth` is specified as a product, even though these institutions do not contain `auth` in their product array. In Production, you will be billed for each product that you specify when initializing Link. Note that a product cannot be removed from an Item once the Item has been initialized with that product. To stop billing on an Item for subscription-based products, such as Liabilities, Investments, and Transactions, remove the Item via `/item/remove`. + # List of Plaid product(s) you wish to use. If launching Link in update mode, should be omitted (unless you are using update mode to add Income or Assets to an Item); required otherwise. `balance` is *not* a valid value, the Balance product does not require explicit initialization and will automatically be initialized when any other product is initialized. The products specified here will determine which institutions will be available to your users in Link. Only institutions that support *all* requested products can be selected; a if a user attempts to select an institution that does not support a listed product, a \"Connectivity not supported\" error message will appear in Link. To maximize the number of institutions available, initialize Link with the minimal product set required for your use case. Additional products can be included via the [`optional_products`](https://plaid.com/docs/api/link/#link-token-create-request-optional-products) or [`required_if_supported_products`](https://plaid.com/docs/api/link/#link-token-create-request-required-if-supported-products) fields. Products can also be be initialized by calling the endpoint after obtaining an access token; this may require the product to be listed in the [`additional_consented_products`](https://plaid.com/docs/api/link/#link-token-create-request-additional-consented-products) array. For details, see [Choosing when to initialize products](https://plaid.com/docs/link/initializing-products/). Note that, unless you have opted to disable Instant Match support, institutions that support Instant Match will also be shown in Link if `auth` is specified as a product, even though these institutions do not contain `auth` in their product array. In Production, you will be billed for each product that you specify when initializing Link. Note that a product cannot be removed from an Item once the Item has been initialized with that product. To stop billing on an Item for subscription-based products, such as Liabilities, Investments, and Transactions, remove the Item via `/item/remove`. attr_accessor :products # List of Plaid product(s) you wish to use only if the institution and account(s) selected by the user support the product. Institutions that do not support these products will still be shown in Link. The products will only be extracted and billed if the user selects an institution and account type that supports them. There should be no overlap between this array and the `products`, `optional_products`, or `additional_consented_products` arrays. The `products` array must have at least one product. For more details on using this feature, see [Required if Supported Products](https://www.plaid.com/docs/link/initializing-products/#required-if-supported-products). @@ -57,7 +57,7 @@ class LinkTokenCreateRequest # The name of the Link customization from the Plaid Dashboard to be applied to Link. If not specified, the `default` customization will be used. When using a Link customization, the language in the customization must match the language selected via the `language` parameter, and the countries in the customization should match the country codes selected via `country_codes`. attr_accessor :link_customization_name - # A URI indicating the destination where a user should be forwarded after completing the Link flow; used to support OAuth authentication flows when launching Link in the browser or another app. The `redirect_uri` should not contain any query parameters. When used in Production, must be an https URI. To specify any subdomain, use `*` as a wildcard character, e.g. `https://*.example.com/oauth.html`. Note that any redirect URI must also be added to the Allowed redirect URIs list in the [developer dashboard](https://dashboard.plaid.com/team/api). If initializing on Android, `android_package_name` must be specified instead and `redirect_uri` should be left blank. If using Hosted Link, the `redirect_uri` must be set to `https://secure.plaid.com/oauth/redirect`. + # A URI indicating the destination where a user should be forwarded after completing the Link flow; used to support OAuth authentication flows when launching Link in the browser or another app. The `redirect_uri` should not contain any query parameters. When used in Production, must be an https URI. To specify any subdomain, use `*` as a wildcard character, e.g. `https://*.example.com/oauth.html`. Note that any redirect URI must also be added to the Allowed redirect URIs list in the [developer dashboard](https://dashboard.plaid.com/team/api). If initializing on Android, `android_package_name` must be specified instead and `redirect_uri` should be left blank. attr_accessor :redirect_uri # The name of your app's Android package. Required if using the `link_token` to initialize Link on Android. Any package name specified here must also be added to the Allowed Android package names setting on the [developer dashboard](https://dashboard.plaid.com/team/api). When creating a `link_token` for initializing Link on other platforms, `android_package_name` must be left blank and `redirect_uri` should be used instead. diff --git a/lib/plaid/models/link_token_create_request_account_subtypes.rb b/lib/plaid/models/link_token_create_request_account_subtypes.rb index 3503511dd..bedbe2040 100644 --- a/lib/plaid/models/link_token_create_request_account_subtypes.rb +++ b/lib/plaid/models/link_token_create_request_account_subtypes.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_request_auth.rb b/lib/plaid/models/link_token_create_request_auth.rb index 7eb3e1584..2d57a0595 100644 --- a/lib/plaid/models/link_token_create_request_auth.rb +++ b/lib/plaid/models/link_token_create_request_auth.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_request_base_report.rb b/lib/plaid/models/link_token_create_request_base_report.rb index 4f98e917b..c0f93546f 100644 --- a/lib/plaid/models/link_token_create_request_base_report.rb +++ b/lib/plaid/models/link_token_create_request_base_report.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_request_cra_options.rb b/lib/plaid/models/link_token_create_request_cra_options.rb index dba929c5a..f4016c394 100644 --- a/lib/plaid/models/link_token_create_request_cra_options.rb +++ b/lib/plaid/models/link_token_create_request_cra_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -16,19 +16,22 @@ module Plaid # Specifies options for initializing Link for use with Plaid Check products class LinkTokenCreateRequestCraOptions - # The maximum integer number of days of history to include in Plaid Check products + # The number of days of history to include in Plaid Check products. If requesting Income Insights, a minimum of 90 days is recommended in order to receive both historical and forecasted income. attr_accessor :days_requested attr_accessor :partner_insights attr_accessor :base_report + attr_accessor :cashflow_insights + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'days_requested' => :'days_requested', :'partner_insights' => :'partner_insights', - :'base_report' => :'base_report' + :'base_report' => :'base_report', + :'cashflow_insights' => :'cashflow_insights' } end @@ -42,7 +45,8 @@ def self.openapi_types { :'days_requested' => :'Integer', :'partner_insights' => :'LinkTokenCreateRequestCraOptionsPartnerInsights', - :'base_report' => :'LinkTokenCreateRequestCraOptionsBaseReport' + :'base_report' => :'LinkTokenCreateRequestCraOptionsBaseReport', + :'cashflow_insights' => :'LinkTokenCreateRequestCraOptionsCashflowInsights' } end @@ -78,6 +82,10 @@ def initialize(attributes = {}) if attributes.key?(:'base_report') self.base_report = attributes[:'base_report'] end + + if attributes.key?(:'cashflow_insights') + self.cashflow_insights = attributes[:'cashflow_insights'] + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -135,7 +143,8 @@ def ==(o) self.class == o.class && days_requested == o.days_requested && partner_insights == o.partner_insights && - base_report == o.base_report + base_report == o.base_report && + cashflow_insights == o.cashflow_insights end # @see the `==` method @@ -147,7 +156,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [days_requested, partner_insights, base_report].hash + [days_requested, partner_insights, base_report, cashflow_insights].hash end # Builds the object from hash diff --git a/lib/plaid/models/link_token_create_request_cra_options_base_report.rb b/lib/plaid/models/link_token_create_request_cra_options_base_report.rb index 35e1816f7..7660fe5c9 100644 --- a/lib/plaid/models/link_token_create_request_cra_options_base_report.rb +++ b/lib/plaid/models/link_token_create_request_cra_options_base_report.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_request_cra_options_cashflow_insights.rb b/lib/plaid/models/link_token_create_request_cra_options_cashflow_insights.rb new file mode 100644 index 000000000..7c21951ae --- /dev/null +++ b/lib/plaid/models/link_token_create_request_cra_options_cashflow_insights.rb @@ -0,0 +1,254 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Specifies options for initializing Link for use with the Cashflow Insights product. + class LinkTokenCreateRequestCraOptionsCashflowInsights + # The version of the Plaid Check score to return + attr_accessor :plaid_check_score_version + + attr_accessor :attributes_version + + class EnumAttributeValidator + attr_reader :datatype + attr_reader :allowable_values + + def initialize(datatype, allowable_values) + @allowable_values = allowable_values.map do |value| + case datatype.to_s + when /Integer/i + value.to_i + when /Float/i + value.to_f + else + value + end + end + end + + def valid?(value) + !value || allowable_values.include?(value) + end + end + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'plaid_check_score_version' => :'plaid_check_score_version', + :'attributes_version' => :'attributes_version' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'plaid_check_score_version' => :'String', + :'attributes_version' => :'CashflowAttributesVersion' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'plaid_check_score_version', + :'attributes_version' + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::LinkTokenCreateRequestCraOptionsCashflowInsights` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::LinkTokenCreateRequestCraOptionsCashflowInsights`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'plaid_check_score_version') + self.plaid_check_score_version = attributes[:'plaid_check_score_version'] + end + + if attributes.key?(:'attributes_version') + self.attributes_version = attributes[:'attributes_version'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + plaid_check_score_version == o.plaid_check_score_version && + attributes_version == o.attributes_version + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [plaid_check_score_version, attributes_version].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/link_token_create_request_cra_options_partner_insights.rb b/lib/plaid/models/link_token_create_request_cra_options_partner_insights.rb index e76da6862..a04455d28 100644 --- a/lib/plaid/models/link_token_create_request_cra_options_partner_insights.rb +++ b/lib/plaid/models/link_token_create_request_cra_options_partner_insights.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -19,10 +19,13 @@ class LinkTokenCreateRequestCraOptionsPartnerInsights # The specific Prism products to return. If none are passed in, then all products will be returned. attr_accessor :prism_products + attr_accessor :prism_versions + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { - :'prism_products' => :'prism_products' + :'prism_products' => :'prism_products', + :'prism_versions' => :'prism_versions' } end @@ -34,13 +37,15 @@ def self.acceptable_attributes # Attribute type mapping. def self.openapi_types { - :'prism_products' => :'Array' + :'prism_products' => :'Array', + :'prism_versions' => :'PrismVersions' } end # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'prism_versions' ]) end @@ -64,6 +69,10 @@ def initialize(attributes = {}) self.prism_products = value end end + + if attributes.key?(:'prism_versions') + self.prism_versions = attributes[:'prism_versions'] + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -84,7 +93,8 @@ def valid? def ==(o) return true if self.equal?(o) self.class == o.class && - prism_products == o.prism_products + prism_products == o.prism_products && + prism_versions == o.prism_versions end # @see the `==` method @@ -96,7 +106,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [prism_products].hash + [prism_products, prism_versions].hash end # Builds the object from hash diff --git a/lib/plaid/models/link_token_create_request_credit_partner_insights.rb b/lib/plaid/models/link_token_create_request_credit_partner_insights.rb index 0763f28f8..09d1524ea 100644 --- a/lib/plaid/models/link_token_create_request_credit_partner_insights.rb +++ b/lib/plaid/models/link_token_create_request_credit_partner_insights.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -16,7 +16,7 @@ module Plaid # Specifies options for initializing Link for use with the Credit Partner Insights product. class LinkTokenCreateRequestCreditPartnerInsights - # The maximum integer number of days of history to compute Crdit Partner Insights. Defaults to 180 if not specified + # The maximum integer number of days of history to compute Credit Partner Insights. Defaults to 180 if not specified attr_accessor :days_requested # The specific Prism products to return. If none are passed in, then all products will be returned. diff --git a/lib/plaid/models/link_token_create_request_deposit_switch.rb b/lib/plaid/models/link_token_create_request_deposit_switch.rb index 47fc38398..27835b618 100644 --- a/lib/plaid/models/link_token_create_request_deposit_switch.rb +++ b/lib/plaid/models/link_token_create_request_deposit_switch.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_request_employment.rb b/lib/plaid/models/link_token_create_request_employment.rb index 50b626f18..978d9a3d6 100644 --- a/lib/plaid/models/link_token_create_request_employment.rb +++ b/lib/plaid/models/link_token_create_request_employment.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_request_employment_bank_income.rb b/lib/plaid/models/link_token_create_request_employment_bank_income.rb index 27d59523e..b04268941 100644 --- a/lib/plaid/models/link_token_create_request_employment_bank_income.rb +++ b/lib/plaid/models/link_token_create_request_employment_bank_income.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_request_identity_verification.rb b/lib/plaid/models/link_token_create_request_identity_verification.rb index a2d1beb5d..84403ac57 100644 --- a/lib/plaid/models/link_token_create_request_identity_verification.rb +++ b/lib/plaid/models/link_token_create_request_identity_verification.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_request_income_verification.rb b/lib/plaid/models/link_token_create_request_income_verification.rb index eb70aa5cb..dccb7d0ab 100644 --- a/lib/plaid/models/link_token_create_request_income_verification.rb +++ b/lib/plaid/models/link_token_create_request_income_verification.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -16,7 +16,7 @@ module Plaid # Specifies options for initializing Link for use with the Income product. This field is required if `income_verification` is included in the `products` array. class LinkTokenCreateRequestIncomeVerification - # The `income_verification_id` of the verification instance, as provided by `/income/verification/create`. + # The `income_verification_id` of the verification instance, as provided by `/income/verification/create`. Replaced by the user token. attr_accessor :income_verification_id # The `asset_report_id` of an asset report associated with the user, as provided by `/asset_report/create`. Providing an `asset_report_id` is optional and can be used to verify the user through a streamlined flow. If provided, the bank linking flow will be skipped. diff --git a/lib/plaid/models/link_token_create_request_income_verification_bank_income.rb b/lib/plaid/models/link_token_create_request_income_verification_bank_income.rb index 4d9a81e1b..b9c7c112c 100644 --- a/lib/plaid/models/link_token_create_request_income_verification_bank_income.rb +++ b/lib/plaid/models/link_token_create_request_income_verification_bank_income.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -19,7 +19,7 @@ class LinkTokenCreateRequestIncomeVerificationBankIncome # The number of days of data to request for the Bank Income product attr_accessor :days_requested - # Whether to enable multiple Items to be added in the Link session + # Whether to enable multiple Items to be added in the Link session. This setting is deprecated and has been replaced by the more general `enable_multi_item_link` setting, which supports all products. attr_accessor :enable_multiple_items # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/plaid/models/link_token_create_request_income_verification_payroll_income.rb b/lib/plaid/models/link_token_create_request_income_verification_payroll_income.rb index 56f0a0828..9d16654da 100644 --- a/lib/plaid/models/link_token_create_request_income_verification_payroll_income.rb +++ b/lib/plaid/models/link_token_create_request_income_verification_payroll_income.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_request_payment_initiation.rb b/lib/plaid/models/link_token_create_request_payment_initiation.rb index 4c232ce32..fd3e23e12 100644 --- a/lib/plaid/models/link_token_create_request_payment_initiation.rb +++ b/lib/plaid/models/link_token_create_request_payment_initiation.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_request_statements.rb b/lib/plaid/models/link_token_create_request_statements.rb index e3d29fb90..a8969bfcc 100644 --- a/lib/plaid/models/link_token_create_request_statements.rb +++ b/lib/plaid/models/link_token_create_request_statements.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -16,10 +16,10 @@ module Plaid # Specifies options for initializing Link for use with the Statements product. This field is required for the statements product. class LinkTokenCreateRequestStatements - # The start date for statements, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) “YYYY-MM-DD” format, e.g. \"2020-10-30\". + # The start date for statements, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) \"YYYY-MM-DD\" format, e.g. \"2020-10-30\". attr_accessor :start_date - # The end date for statements, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) “YYYY-MM-DD” format, e.g. \"2020-10-30\". You can request up to two years of data. + # The end date for statements, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) \"YYYY-MM-DD\" format, e.g. \"2020-10-30\". You can request up to two years of data. attr_accessor :end_date # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/plaid/models/link_token_create_request_transfer.rb b/lib/plaid/models/link_token_create_request_transfer.rb index 6491e6b98..42e034184 100644 --- a/lib/plaid/models/link_token_create_request_transfer.rb +++ b/lib/plaid/models/link_token_create_request_transfer.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_request_update.rb b/lib/plaid/models/link_token_create_request_update.rb index e908e3923..4c247d87e 100644 --- a/lib/plaid/models/link_token_create_request_update.rb +++ b/lib/plaid/models/link_token_create_request_update.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -19,14 +19,22 @@ class LinkTokenCreateRequestUpdate # If `true`, enables [update mode with Account Select](https://plaid.com/docs/link/update-mode/#using-update-mode-to-request-new-accounts) for institutions in the US and Canada that do not use OAuth, or that use OAuth but do not have their own account selection flow. For institutions in the US that have an OAuth account selection flow (i.e. most OAuth-enabled institutions), update mode with Account Select will always be enabled, regardless of the value of this field. attr_accessor :account_selection_enabled + # By default, Plaid will enable the reauthorization flow during update mode for an Item enabled for [Data Transparency Messaging](https://plaid.com/docs/link/data-transparency-messaging-migration-guide/) if the Item expires within six months. During a reauthorization flow, an end user will review Plaid's end user privacy policy, use case and data scope consents, and account access consents; they may also be required to log in to their financial institution's OAuth flow. After the end user successfully completes the reauthorization flow, the Item's expiration date will be extended to 12 months from the time that the reauthorization took place. This field allows you to optionally override the default reauthorization scheduling logic to either forcibly enable or disable the reauthorization flow for a given update mode session. This field does not impact the flow for Items at institutions in the EU or UK. + attr_accessor :reauthorization_enabled + # If `true`, a `user_token` must also be provided, and Link will open in update mode for the given user. attr_accessor :user + # An array of `item_id`s associated with the user to be updated in update mode. If empty or `null`, this field will default to initializing update mode for the most recent unhealthy Item associated with the user. A `user_token` must also be provided to use this field. + attr_accessor :item_ids + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'account_selection_enabled' => :'account_selection_enabled', - :'user' => :'user' + :'reauthorization_enabled' => :'reauthorization_enabled', + :'user' => :'user', + :'item_ids' => :'item_ids' } end @@ -39,13 +47,16 @@ def self.acceptable_attributes def self.openapi_types { :'account_selection_enabled' => :'Boolean', - :'user' => :'Boolean' + :'reauthorization_enabled' => :'Boolean', + :'user' => :'Boolean', + :'item_ids' => :'Array' } end # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'item_ids' ]) end @@ -70,11 +81,21 @@ def initialize(attributes = {}) self.account_selection_enabled = false end + if attributes.key?(:'reauthorization_enabled') + self.reauthorization_enabled = attributes[:'reauthorization_enabled'] + end + if attributes.key?(:'user') self.user = attributes[:'user'] else self.user = false end + + if attributes.key?(:'item_ids') + if (value = attributes[:'item_ids']).is_a?(Array) + self.item_ids = value + end + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -96,7 +117,9 @@ def ==(o) return true if self.equal?(o) self.class == o.class && account_selection_enabled == o.account_selection_enabled && - user == o.user + reauthorization_enabled == o.reauthorization_enabled && + user == o.user && + item_ids == o.item_ids end # @see the `==` method @@ -108,7 +131,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [account_selection_enabled, user].hash + [account_selection_enabled, reauthorization_enabled, user, item_ids].hash end # Builds the object from hash diff --git a/lib/plaid/models/link_token_create_request_user.rb b/lib/plaid/models/link_token_create_request_user.rb index df277311a..23b389fd4 100644 --- a/lib/plaid/models/link_token_create_request_user.rb +++ b/lib/plaid/models/link_token_create_request_user.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_request_user_address.rb b/lib/plaid/models/link_token_create_request_user_address.rb index 4fccb1c4e..b6f90f6dd 100644 --- a/lib/plaid/models/link_token_create_request_user_address.rb +++ b/lib/plaid/models/link_token_create_request_user_address.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -18,7 +18,7 @@ class LinkTokenCreateRequestUserAddress # The primary street portion of an address. If an address is provided, this field will always be filled. A string with at least one non-whitespace alphabetical character, with a max length of 80 characters. attr_accessor :street - # Extra street information, like an apartment or suite number. If provided, a string with at least one non-whitespace character, with a max length of 20 characters. + # Extra street information, like an apartment or suite number. If provided, a string with at least one non-whitespace character, with a max length of 50 characters. attr_accessor :street2 # City from the end user's address. A string with at least one non-whitespace alphabetical character, with a max length of 100 characters.\" diff --git a/lib/plaid/models/link_token_create_request_user_id_number.rb b/lib/plaid/models/link_token_create_request_user_id_number.rb index 1dd50f346..df5506aef 100644 --- a/lib/plaid/models/link_token_create_request_user_id_number.rb +++ b/lib/plaid/models/link_token_create_request_user_id_number.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_request_user_name.rb b/lib/plaid/models/link_token_create_request_user_name.rb index 68f959877..b235e86c3 100644 --- a/lib/plaid/models/link_token_create_request_user_name.rb +++ b/lib/plaid/models/link_token_create_request_user_name.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_request_user_stated_income_source.rb b/lib/plaid/models/link_token_create_request_user_stated_income_source.rb index df1202717..8a364707b 100644 --- a/lib/plaid/models/link_token_create_request_user_stated_income_source.rb +++ b/lib/plaid/models/link_token_create_request_user_stated_income_source.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_response.rb b/lib/plaid/models/link_token_create_response.rb index c3da45148..59dc546c5 100644 --- a/lib/plaid/models/link_token_create_response.rb +++ b/lib/plaid/models/link_token_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_eu_config.rb b/lib/plaid/models/link_token_eu_config.rb index 4ac40b102..4c2324987 100644 --- a/lib/plaid/models/link_token_eu_config.rb +++ b/lib/plaid/models/link_token_eu_config.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_get_metadata_response.rb b/lib/plaid/models/link_token_get_metadata_response.rb index c92cccd72..31c0f0897 100644 --- a/lib/plaid/models/link_token_get_metadata_response.rb +++ b/lib/plaid/models/link_token_get_metadata_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_get_request.rb b/lib/plaid/models/link_token_get_request.rb index 0ebbd489a..ff627c96b 100644 --- a/lib/plaid/models/link_token_get_request.rb +++ b/lib/plaid/models/link_token_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_get_response.rb b/lib/plaid/models/link_token_get_response.rb index 83d32c341..9b52061e1 100644 --- a/lib/plaid/models/link_token_get_response.rb +++ b/lib/plaid/models/link_token_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_get_sessions_response.rb b/lib/plaid/models/link_token_get_sessions_response.rb index 4edf4ca9a..7d1a2a621 100644 --- a/lib/plaid/models/link_token_get_sessions_response.rb +++ b/lib/plaid/models/link_token_get_sessions_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_investments.rb b/lib/plaid/models/link_token_investments.rb index 863cad908..4a94c25b9 100644 --- a/lib/plaid/models/link_token_investments.rb +++ b/lib/plaid/models/link_token_investments.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_investments_auth.rb b/lib/plaid/models/link_token_investments_auth.rb index 41907f788..a21f03961 100644 --- a/lib/plaid/models/link_token_investments_auth.rb +++ b/lib/plaid/models/link_token_investments_auth.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -22,11 +22,15 @@ class LinkTokenInvestmentsAuth # If `true`, show institutions that use the masked number match fallback flow. attr_accessor :masked_number_match_enabled + # If `true`, show institutions that use the stated account number fallback flow. + attr_accessor :stated_account_number_enabled + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'manual_entry_enabled' => :'manual_entry_enabled', - :'masked_number_match_enabled' => :'masked_number_match_enabled' + :'masked_number_match_enabled' => :'masked_number_match_enabled', + :'stated_account_number_enabled' => :'stated_account_number_enabled' } end @@ -39,7 +43,8 @@ def self.acceptable_attributes def self.openapi_types { :'manual_entry_enabled' => :'Boolean', - :'masked_number_match_enabled' => :'Boolean' + :'masked_number_match_enabled' => :'Boolean', + :'stated_account_number_enabled' => :'Boolean' } end @@ -47,7 +52,8 @@ def self.openapi_types def self.openapi_nullable Set.new([ :'manual_entry_enabled', - :'masked_number_match_enabled' + :'masked_number_match_enabled', + :'stated_account_number_enabled' ]) end @@ -77,6 +83,12 @@ def initialize(attributes = {}) else self.masked_number_match_enabled = false end + + if attributes.key?(:'stated_account_number_enabled') + self.stated_account_number_enabled = attributes[:'stated_account_number_enabled'] + else + self.stated_account_number_enabled = false + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -98,7 +110,8 @@ def ==(o) return true if self.equal?(o) self.class == o.class && manual_entry_enabled == o.manual_entry_enabled && - masked_number_match_enabled == o.masked_number_match_enabled + masked_number_match_enabled == o.masked_number_match_enabled && + stated_account_number_enabled == o.stated_account_number_enabled end # @see the `==` method @@ -110,7 +123,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [manual_entry_enabled, masked_number_match_enabled].hash + [manual_entry_enabled, masked_number_match_enabled, stated_account_number_enabled].hash end # Builds the object from hash diff --git a/lib/plaid/models/link_token_transactions.rb b/lib/plaid/models/link_token_transactions.rb index e171d36f1..8d221722e 100644 --- a/lib/plaid/models/link_token_transactions.rb +++ b/lib/plaid/models/link_token_transactions.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -16,7 +16,7 @@ module Plaid # Configuration parameters for the Transactions product class LinkTokenTransactions - # The maximum number of days of transaction history to request for the Transactions product. For developer accounts created after December 3, 2023, if no value is specified, this will default to 90 days. For developer accounts created on December 3, 2023 or earlier, if no value is specified, this will default to 730 days until June 24, 2024, at which point it will default to 90 days. We strongly recommend that customers utilizing [Recurring Transactions](https://plaid.com/docs/api/products/transactions/#transactionsrecurringget) request at least 180 days of history for optimal results. + # The maximum number of days of transaction history to request for the Transactions product. The more transaction history is requested, the longer the historical update poll will take. The default value is 90 days. If a value under 30 is provided, a minimum of 30 days of history will be requested. Once Transactions has been added to an Item, this value cannot be updated. Customers using [Recurring Transactions](https://plaid.com/docs/api/products/transactions/#transactionsrecurringget) should request at least 180 days of history for optimal results. attr_accessor :days_requested # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/plaid/models/link_user_delivery_status_webhook.rb b/lib/plaid/models/link_user_delivery_status_webhook.rb index 769d38ac2..e28f7c851 100644 --- a/lib/plaid/models/link_user_delivery_status_webhook.rb +++ b/lib/plaid/models/link_user_delivery_status_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/loan.rb b/lib/plaid/models/loan.rb index 9dccca993..c93fb3787 100644 --- a/lib/plaid/models/loan.rb +++ b/lib/plaid/models/loan.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/loan_account_subtype.rb b/lib/plaid/models/loan_account_subtype.rb index 208255b42..fa7b2b07c 100644 --- a/lib/plaid/models/loan_account_subtype.rb +++ b/lib/plaid/models/loan_account_subtype.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/loan_filter.rb b/lib/plaid/models/loan_filter.rb index 321db9ef8..0369216f5 100644 --- a/lib/plaid/models/loan_filter.rb +++ b/lib/plaid/models/loan_filter.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/loan_identifier.rb b/lib/plaid/models/loan_identifier.rb index 3d0d92387..f9d9d488d 100644 --- a/lib/plaid/models/loan_identifier.rb +++ b/lib/plaid/models/loan_identifier.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/loan_identifier_type.rb b/lib/plaid/models/loan_identifier_type.rb index 6950ed369..6c1c9c5d1 100644 --- a/lib/plaid/models/loan_identifier_type.rb +++ b/lib/plaid/models/loan_identifier_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/loan_identifiers.rb b/lib/plaid/models/loan_identifiers.rb index f642f7729..530018b9c 100644 --- a/lib/plaid/models/loan_identifiers.rb +++ b/lib/plaid/models/loan_identifiers.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/loan_payments_counts.rb b/lib/plaid/models/loan_payments_counts.rb new file mode 100644 index 000000000..956cb9276 --- /dev/null +++ b/lib/plaid/models/loan_payments_counts.rb @@ -0,0 +1,241 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # An object representing the insights in the number of loan payments + class LoanPaymentsCounts + # The number of loan payments made in the 30 days before the subscription date + attr_accessor :baseline_count + + # The current number of loan payments made in the last 30 days + attr_accessor :current_count + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'baseline_count' => :'baseline_count', + :'current_count' => :'current_count' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'baseline_count' => :'Float', + :'current_count' => :'Float' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::LoanPaymentsCounts` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::LoanPaymentsCounts`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'baseline_count') + self.baseline_count = attributes[:'baseline_count'] + end + + if attributes.key?(:'current_count') + self.current_count = attributes[:'current_count'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @baseline_count.nil? + invalid_properties.push('invalid value for "baseline_count", baseline_count cannot be nil.') + end + + if @current_count.nil? + invalid_properties.push('invalid value for "current_count", current_count cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @baseline_count.nil? + return false if @current_count.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + baseline_count == o.baseline_count && + current_count == o.current_count + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [baseline_count, current_count].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/loan_payments_merchant_counts.rb b/lib/plaid/models/loan_payments_merchant_counts.rb new file mode 100644 index 000000000..e472dbc46 --- /dev/null +++ b/lib/plaid/models/loan_payments_merchant_counts.rb @@ -0,0 +1,241 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # An object representing the insights in the number of unique loan payment merchants + class LoanPaymentsMerchantCounts + # The number of unique loan payment merchants detected in the 30 days before the subscription date + attr_accessor :baseline_count + + # The current number of unique loan payment merchants detected in the last 30 days + attr_accessor :current_count + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'baseline_count' => :'baseline_count', + :'current_count' => :'current_count' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'baseline_count' => :'Float', + :'current_count' => :'Float' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::LoanPaymentsMerchantCounts` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::LoanPaymentsMerchantCounts`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'baseline_count') + self.baseline_count = attributes[:'baseline_count'] + end + + if attributes.key?(:'current_count') + self.current_count = attributes[:'current_count'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @baseline_count.nil? + invalid_properties.push('invalid value for "baseline_count", baseline_count cannot be nil.') + end + + if @current_count.nil? + invalid_properties.push('invalid value for "current_count", current_count cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @baseline_count.nil? + return false if @current_count.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + baseline_count == o.baseline_count && + current_count == o.current_count + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [baseline_count, current_count].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/loans.rb b/lib/plaid/models/loans.rb index 522efa964..7743cd8c7 100644 --- a/lib/plaid/models/loans.rb +++ b/lib/plaid/models/loans.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/location.rb b/lib/plaid/models/location.rb index 2d30d4474..4cbfbe2c7 100644 --- a/lib/plaid/models/location.rb +++ b/lib/plaid/models/location.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/match_summary.rb b/lib/plaid/models/match_summary.rb index 96279ec7c..1c40992a9 100644 --- a/lib/plaid/models/match_summary.rb +++ b/lib/plaid/models/match_summary.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/match_summary_code.rb b/lib/plaid/models/match_summary_code.rb index b92210c01..2aa4d1a80 100644 --- a/lib/plaid/models/match_summary_code.rb +++ b/lib/plaid/models/match_summary_code.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/merchant_insights.rb b/lib/plaid/models/merchant_insights.rb index 585ceb14b..e7954bb3f 100644 --- a/lib/plaid/models/merchant_insights.rb +++ b/lib/plaid/models/merchant_insights.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/meta.rb b/lib/plaid/models/meta.rb index 13a912470..f2a48d69a 100644 --- a/lib/plaid/models/meta.rb +++ b/lib/plaid/models/meta.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/mfa.rb b/lib/plaid/models/mfa.rb index bc7d5e8f3..838e07c1f 100644 --- a/lib/plaid/models/mfa.rb +++ b/lib/plaid/models/mfa.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/monitoring_income_insights.rb b/lib/plaid/models/monitoring_income_insights.rb new file mode 100644 index 000000000..fa1871eaa --- /dev/null +++ b/lib/plaid/models/monitoring_income_insights.rb @@ -0,0 +1,270 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # An object representing the income subcategory of the report + class MonitoringIncomeInsights + attr_accessor :total_monthly_income + + attr_accessor :income_sources_counts + + attr_accessor :forecasted_monthly_income + + # The income sources for this Item. Each entry in the array is a single income source + attr_accessor :income_sources + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'total_monthly_income' => :'total_monthly_income', + :'income_sources_counts' => :'income_sources_counts', + :'forecasted_monthly_income' => :'forecasted_monthly_income', + :'income_sources' => :'income_sources' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'total_monthly_income' => :'TotalMonthlyIncomeInsights', + :'income_sources_counts' => :'IncomeSourcesCounts', + :'forecasted_monthly_income' => :'ForecastedMonthlyIncome', + :'income_sources' => :'Array' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::MonitoringIncomeInsights` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::MonitoringIncomeInsights`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'total_monthly_income') + self.total_monthly_income = attributes[:'total_monthly_income'] + end + + if attributes.key?(:'income_sources_counts') + self.income_sources_counts = attributes[:'income_sources_counts'] + end + + if attributes.key?(:'forecasted_monthly_income') + self.forecasted_monthly_income = attributes[:'forecasted_monthly_income'] + end + + if attributes.key?(:'income_sources') + if (value = attributes[:'income_sources']).is_a?(Array) + self.income_sources = value + end + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @total_monthly_income.nil? + invalid_properties.push('invalid value for "total_monthly_income", total_monthly_income cannot be nil.') + end + + if @income_sources_counts.nil? + invalid_properties.push('invalid value for "income_sources_counts", income_sources_counts cannot be nil.') + end + + if @forecasted_monthly_income.nil? + invalid_properties.push('invalid value for "forecasted_monthly_income", forecasted_monthly_income cannot be nil.') + end + + if @income_sources.nil? + invalid_properties.push('invalid value for "income_sources", income_sources cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @total_monthly_income.nil? + return false if @income_sources_counts.nil? + return false if @forecasted_monthly_income.nil? + return false if @income_sources.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + total_monthly_income == o.total_monthly_income && + income_sources_counts == o.income_sources_counts && + forecasted_monthly_income == o.forecasted_monthly_income && + income_sources == o.income_sources + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [total_monthly_income, income_sources_counts, forecasted_monthly_income, income_sources].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/monitoring_income_source.rb b/lib/plaid/models/monitoring_income_source.rb new file mode 100644 index 000000000..fc70db517 --- /dev/null +++ b/lib/plaid/models/monitoring_income_source.rb @@ -0,0 +1,307 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # An object representing an income source + class MonitoringIncomeSource + # A unique identifier for an income source + attr_accessor :income_source_id + + # The most common name or original description for the underlying income transactions + attr_accessor :income_description + + attr_accessor :income_category + + # The last detected transaction date for this income source + attr_accessor :last_transaction_date + + # This represents if the income source is believed to be missing any recent income + attr_accessor :is_missing_income + + class EnumAttributeValidator + attr_reader :datatype + attr_reader :allowable_values + + def initialize(datatype, allowable_values) + @allowable_values = allowable_values.map do |value| + case datatype.to_s + when /Integer/i + value.to_i + when /Float/i + value.to_f + else + value + end + end + end + + def valid?(value) + !value || allowable_values.include?(value) + end + end + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'income_source_id' => :'income_source_id', + :'income_description' => :'income_description', + :'income_category' => :'income_category', + :'last_transaction_date' => :'last_transaction_date', + :'is_missing_income' => :'is_missing_income' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'income_source_id' => :'String', + :'income_description' => :'String', + :'income_category' => :'CreditBankIncomeCategory', + :'last_transaction_date' => :'Date', + :'is_missing_income' => :'Boolean' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::MonitoringIncomeSource` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::MonitoringIncomeSource`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'income_source_id') + self.income_source_id = attributes[:'income_source_id'] + end + + if attributes.key?(:'income_description') + self.income_description = attributes[:'income_description'] + end + + if attributes.key?(:'income_category') + self.income_category = attributes[:'income_category'] + end + + if attributes.key?(:'last_transaction_date') + self.last_transaction_date = attributes[:'last_transaction_date'] + end + + if attributes.key?(:'is_missing_income') + self.is_missing_income = attributes[:'is_missing_income'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @income_source_id.nil? + invalid_properties.push('invalid value for "income_source_id", income_source_id cannot be nil.') + end + + if @income_description.nil? + invalid_properties.push('invalid value for "income_description", income_description cannot be nil.') + end + + if @income_category.nil? + invalid_properties.push('invalid value for "income_category", income_category cannot be nil.') + end + + if @last_transaction_date.nil? + invalid_properties.push('invalid value for "last_transaction_date", last_transaction_date cannot be nil.') + end + + if @is_missing_income.nil? + invalid_properties.push('invalid value for "is_missing_income", is_missing_income cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @income_source_id.nil? + return false if @income_description.nil? + return false if @income_category.nil? + return false if @last_transaction_date.nil? + return false if @is_missing_income.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + income_source_id == o.income_source_id && + income_description == o.income_description && + income_category == o.income_category && + last_transaction_date == o.last_transaction_date && + is_missing_income == o.is_missing_income + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [income_source_id, income_description, income_category, last_transaction_date, is_missing_income].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/monitoring_insights.rb b/lib/plaid/models/monitoring_insights.rb new file mode 100644 index 000000000..dba108641 --- /dev/null +++ b/lib/plaid/models/monitoring_insights.rb @@ -0,0 +1,239 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # An object representing the Monitoring Insights for the given Item + class MonitoringInsights + attr_accessor :income + + attr_accessor :loans + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'income' => :'income', + :'loans' => :'loans' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'income' => :'MonitoringIncomeInsights', + :'loans' => :'MonitoringLoanInsights' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::MonitoringInsights` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::MonitoringInsights`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'income') + self.income = attributes[:'income'] + end + + if attributes.key?(:'loans') + self.loans = attributes[:'loans'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @income.nil? + invalid_properties.push('invalid value for "income", income cannot be nil.') + end + + if @loans.nil? + invalid_properties.push('invalid value for "loans", loans cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @income.nil? + return false if @loans.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + income == o.income && + loans == o.loans + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [income, loans].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/monitoring_insights_item_status.rb b/lib/plaid/models/monitoring_insights_item_status.rb new file mode 100644 index 000000000..b9c3ed7ef --- /dev/null +++ b/lib/plaid/models/monitoring_insights_item_status.rb @@ -0,0 +1,258 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # An object representing the status of the Monitoring Insights Item and potential reasons in case of non-available statuses + class MonitoringInsightsItemStatus + attr_accessor :status_code + + # A reason for why a Monitoring Insights Report is not available. This field will only be populated when the `status_code` is not `AVAILABLE` + attr_accessor :reason + + class EnumAttributeValidator + attr_reader :datatype + attr_reader :allowable_values + + def initialize(datatype, allowable_values) + @allowable_values = allowable_values.map do |value| + case datatype.to_s + when /Integer/i + value.to_i + when /Float/i + value.to_f + else + value + end + end + end + + def valid?(value) + !value || allowable_values.include?(value) + end + end + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'status_code' => :'status_code', + :'reason' => :'reason' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'status_code' => :'MonitoringItemStatusCode', + :'reason' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'reason' + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::MonitoringInsightsItemStatus` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::MonitoringInsightsItemStatus`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'status_code') + self.status_code = attributes[:'status_code'] + end + + if attributes.key?(:'reason') + self.reason = attributes[:'reason'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @status_code.nil? + invalid_properties.push('invalid value for "status_code", status_code cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @status_code.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + status_code == o.status_code && + reason == o.reason + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [status_code, reason].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/monitoring_insights_webhook.rb b/lib/plaid/models/monitoring_insights_webhook.rb new file mode 100644 index 000000000..8806a0ff7 --- /dev/null +++ b/lib/plaid/models/monitoring_insights_webhook.rb @@ -0,0 +1,303 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Every 14 days, the webhook will be fired per item enabled for Monitoring Insights. + class MonitoringInsightsWebhook + # `CRA_MONITORING` + attr_accessor :webhook_type + + # The status of the Monitoring Insights report generation. Possible Values: `AVAILABLE`, `PENDING`, `UNSUPPORTED`, `UNHEALTHY` + attr_accessor :webhook_code + + # The reason for why a report may not be `AVAILABLE` + attr_accessor :reason + + # The `user_id` that the report is associated with + attr_accessor :user_id + + attr_accessor :environment + + class EnumAttributeValidator + attr_reader :datatype + attr_reader :allowable_values + + def initialize(datatype, allowable_values) + @allowable_values = allowable_values.map do |value| + case datatype.to_s + when /Integer/i + value.to_i + when /Float/i + value.to_f + else + value + end + end + end + + def valid?(value) + !value || allowable_values.include?(value) + end + end + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'webhook_type' => :'webhook_type', + :'webhook_code' => :'webhook_code', + :'reason' => :'reason', + :'user_id' => :'user_id', + :'environment' => :'environment' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'webhook_type' => :'String', + :'webhook_code' => :'String', + :'reason' => :'String', + :'user_id' => :'String', + :'environment' => :'WebhookEnvironmentValues' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'reason', + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::MonitoringInsightsWebhook` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::MonitoringInsightsWebhook`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'webhook_type') + self.webhook_type = attributes[:'webhook_type'] + end + + if attributes.key?(:'webhook_code') + self.webhook_code = attributes[:'webhook_code'] + end + + if attributes.key?(:'reason') + self.reason = attributes[:'reason'] + end + + if attributes.key?(:'user_id') + self.user_id = attributes[:'user_id'] + end + + if attributes.key?(:'environment') + self.environment = attributes[:'environment'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @webhook_type.nil? + invalid_properties.push('invalid value for "webhook_type", webhook_type cannot be nil.') + end + + if @webhook_code.nil? + invalid_properties.push('invalid value for "webhook_code", webhook_code cannot be nil.') + end + + if @user_id.nil? + invalid_properties.push('invalid value for "user_id", user_id cannot be nil.') + end + + if @environment.nil? + invalid_properties.push('invalid value for "environment", environment cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @webhook_type.nil? + return false if @webhook_code.nil? + return false if @user_id.nil? + return false if @environment.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + webhook_type == o.webhook_type && + webhook_code == o.webhook_code && + reason == o.reason && + user_id == o.user_id && + environment == o.environment + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [webhook_type, webhook_code, reason, user_id, environment].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/monitoring_item_status_code.rb b/lib/plaid/models/monitoring_item_status_code.rb new file mode 100644 index 000000000..518221189 --- /dev/null +++ b/lib/plaid/models/monitoring_item_status_code.rb @@ -0,0 +1,41 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + class MonitoringItemStatusCode + AVAILABLE = "AVAILABLE".freeze + PENDING = "PENDING".freeze + ITEM_NOT_SUPPORTED = "ITEM_NOT_SUPPORTED".freeze + ITEM_LOGIN_REQUIRED = "ITEM_LOGIN_REQUIRED".freeze + + # Builds the enum from string + # @param [String] The enum value in the form of the string + # @return [String] The enum value + def self.build_from_hash(value) + new.build_from_hash(value) + end + + # Builds the enum from string + # @param [String] The enum value in the form of the string + # @return [String] The enum value + def build_from_hash(value) + # We do not validate that the value is one of the enums set in the OpenAPI + # file because we want to be able to add to our list of enums without + # breaking this client library. + value + end + end + +end diff --git a/lib/plaid/models/monitoring_loan_insights.rb b/lib/plaid/models/monitoring_loan_insights.rb new file mode 100644 index 000000000..14c82b39d --- /dev/null +++ b/lib/plaid/models/monitoring_loan_insights.rb @@ -0,0 +1,254 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # An object representing the loan exposure subcategory of the report + class MonitoringLoanInsights + attr_accessor :loan_payments_counts + + # The number of loan disbursements detected in the last 30 days + attr_accessor :loan_disbursements_count + + attr_accessor :loan_payment_merchants_counts + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'loan_payments_counts' => :'loan_payments_counts', + :'loan_disbursements_count' => :'loan_disbursements_count', + :'loan_payment_merchants_counts' => :'loan_payment_merchants_counts' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'loan_payments_counts' => :'LoanPaymentsCounts', + :'loan_disbursements_count' => :'Float', + :'loan_payment_merchants_counts' => :'LoanPaymentsMerchantCounts' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::MonitoringLoanInsights` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::MonitoringLoanInsights`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'loan_payments_counts') + self.loan_payments_counts = attributes[:'loan_payments_counts'] + end + + if attributes.key?(:'loan_disbursements_count') + self.loan_disbursements_count = attributes[:'loan_disbursements_count'] + end + + if attributes.key?(:'loan_payment_merchants_counts') + self.loan_payment_merchants_counts = attributes[:'loan_payment_merchants_counts'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @loan_payments_counts.nil? + invalid_properties.push('invalid value for "loan_payments_counts", loan_payments_counts cannot be nil.') + end + + if @loan_disbursements_count.nil? + invalid_properties.push('invalid value for "loan_disbursements_count", loan_disbursements_count cannot be nil.') + end + + if @loan_payment_merchants_counts.nil? + invalid_properties.push('invalid value for "loan_payment_merchants_counts", loan_payment_merchants_counts cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @loan_payments_counts.nil? + return false if @loan_disbursements_count.nil? + return false if @loan_payment_merchants_counts.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + loan_payments_counts == o.loan_payments_counts && + loan_disbursements_count == o.loan_disbursements_count && + loan_payment_merchants_counts == o.loan_payment_merchants_counts + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [loan_payments_counts, loan_disbursements_count, loan_payment_merchants_counts].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/mortgage_interest_rate.rb b/lib/plaid/models/mortgage_interest_rate.rb index 02f8aacf5..053170c56 100644 --- a/lib/plaid/models/mortgage_interest_rate.rb +++ b/lib/plaid/models/mortgage_interest_rate.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/mortgage_liability.rb b/lib/plaid/models/mortgage_liability.rb index c86a87dc6..3c3344d43 100644 --- a/lib/plaid/models/mortgage_liability.rb +++ b/lib/plaid/models/mortgage_liability.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/mortgage_property_address.rb b/lib/plaid/models/mortgage_property_address.rb index 90f5270f7..57bee9a7b 100644 --- a/lib/plaid/models/mortgage_property_address.rb +++ b/lib/plaid/models/mortgage_property_address.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/multi_document_risk_signal.rb b/lib/plaid/models/multi_document_risk_signal.rb index f51668c8f..0f1d16961 100644 --- a/lib/plaid/models/multi_document_risk_signal.rb +++ b/lib/plaid/models/multi_document_risk_signal.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/name_match_score.rb b/lib/plaid/models/name_match_score.rb index 2fe048c26..fb0f03b4e 100644 --- a/lib/plaid/models/name_match_score.rb +++ b/lib/plaid/models/name_match_score.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -25,7 +25,7 @@ class NameMatchScore # nickname matched, example Jennifer and Jenn. attr_accessor :is_nickname_match - # Is `true` if the name on either of the names that was matched for the score contained strings indicative of a business name, such as \"CORP\", \"LLC\", \"INC\", or \"LTD\". A `true` result generally indicates the entity is a business. However, a `false` result does not mean the entity is not a business, as some businesses do not use these strings in the names used for their financial institution accounts. + # Is `true` if the name on either of the names that was matched for the score contained strings indicative of a business name, such as \"CORP\", \"LLC\", \"INC\", or \"LTD\". A `true` result generally indicates that an account's name is a business name. However, a `false` result does not mean the account name is not a business name, as some businesses do not use these strings in the names used for their financial institution accounts. attr_accessor :is_business_name_detected # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/plaid/models/net_pay.rb b/lib/plaid/models/net_pay.rb index a58df96ef..6e905303d 100644 --- a/lib/plaid/models/net_pay.rb +++ b/lib/plaid/models/net_pay.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/network_insights_item.rb b/lib/plaid/models/network_insights_item.rb new file mode 100644 index 000000000..4b91cad05 --- /dev/null +++ b/lib/plaid/models/network_insights_item.rb @@ -0,0 +1,256 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Contains data about the connected Item. + class NetworkInsightsItem + # The ID for the institution the user linked. + attr_accessor :institution_id + + # The name of the institution the user linked. + attr_accessor :institution_name + + # The identifier for the Item. + attr_accessor :item_id + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'institution_id' => :'institution_id', + :'institution_name' => :'institution_name', + :'item_id' => :'item_id' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'institution_id' => :'String', + :'institution_name' => :'String', + :'item_id' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::NetworkInsightsItem` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::NetworkInsightsItem`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'institution_id') + self.institution_id = attributes[:'institution_id'] + end + + if attributes.key?(:'institution_name') + self.institution_name = attributes[:'institution_name'] + end + + if attributes.key?(:'item_id') + self.item_id = attributes[:'item_id'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @institution_id.nil? + invalid_properties.push('invalid value for "institution_id", institution_id cannot be nil.') + end + + if @institution_name.nil? + invalid_properties.push('invalid value for "institution_name", institution_name cannot be nil.') + end + + if @item_id.nil? + invalid_properties.push('invalid value for "item_id", item_id cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @institution_id.nil? + return false if @institution_name.nil? + return false if @item_id.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + institution_id == o.institution_id && + institution_name == o.institution_name && + item_id == o.item_id + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [institution_id, institution_name, item_id].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/network_insights_report.rb b/lib/plaid/models/network_insights_report.rb new file mode 100644 index 000000000..4313a2777 --- /dev/null +++ b/lib/plaid/models/network_insights_report.rb @@ -0,0 +1,273 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Contains data for the Network Insights Report. + class NetworkInsightsReport + # The unique identifier associated with the Network Insights report object. + attr_accessor :report_id + + # The time when the Network Insights Report was generated. + attr_accessor :generated_time + + # A map of network attributes, where the key is a string, and the value is a float, int, or boolean. + attr_accessor :network_attributes + + # A list of Items associated with the provided access_tokens. + attr_accessor :items + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'report_id' => :'report_id', + :'generated_time' => :'generated_time', + :'network_attributes' => :'network_attributes', + :'items' => :'items' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'report_id' => :'String', + :'generated_time' => :'Time', + :'network_attributes' => :'Object', + :'items' => :'Array' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::NetworkInsightsReport` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::NetworkInsightsReport`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'report_id') + self.report_id = attributes[:'report_id'] + end + + if attributes.key?(:'generated_time') + self.generated_time = attributes[:'generated_time'] + end + + if attributes.key?(:'network_attributes') + self.network_attributes = attributes[:'network_attributes'] + end + + if attributes.key?(:'items') + if (value = attributes[:'items']).is_a?(Array) + self.items = value + end + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @report_id.nil? + invalid_properties.push('invalid value for "report_id", report_id cannot be nil.') + end + + if @generated_time.nil? + invalid_properties.push('invalid value for "generated_time", generated_time cannot be nil.') + end + + if @network_attributes.nil? + invalid_properties.push('invalid value for "network_attributes", network_attributes cannot be nil.') + end + + if @items.nil? + invalid_properties.push('invalid value for "items", items cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @report_id.nil? + return false if @generated_time.nil? + return false if @network_attributes.nil? + return false if @items.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + report_id == o.report_id && + generated_time == o.generated_time && + network_attributes == o.network_attributes && + items == o.items + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [report_id, generated_time, network_attributes, items].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/network_insights_report_get_request.rb b/lib/plaid/models/network_insights_report_get_request.rb new file mode 100644 index 000000000..eeaf7211f --- /dev/null +++ b/lib/plaid/models/network_insights_report_get_request.rb @@ -0,0 +1,248 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # NetworkInsightsReportGetRequest defines the request schema for `/network_insights/report/get`. + class NetworkInsightsReportGetRequest + # Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body. + attr_accessor :client_id + + # Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body. + attr_accessor :secret + + # A list of access tokens that the Network Insights will be requested for. These correspond to previous Items a user has connected. + attr_accessor :access_tokens + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'client_id' => :'client_id', + :'secret' => :'secret', + :'access_tokens' => :'access_tokens' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'client_id' => :'String', + :'secret' => :'String', + :'access_tokens' => :'Array' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::NetworkInsightsReportGetRequest` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::NetworkInsightsReportGetRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'client_id') + self.client_id = attributes[:'client_id'] + end + + if attributes.key?(:'secret') + self.secret = attributes[:'secret'] + end + + if attributes.key?(:'access_tokens') + if (value = attributes[:'access_tokens']).is_a?(Array) + self.access_tokens = value + end + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @access_tokens.nil? + invalid_properties.push('invalid value for "access_tokens", access_tokens cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @access_tokens.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + client_id == o.client_id && + secret == o.secret && + access_tokens == o.access_tokens + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [client_id, secret, access_tokens].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/network_insights_report_get_response.rb b/lib/plaid/models/network_insights_report_get_response.rb new file mode 100644 index 000000000..dd70f48a1 --- /dev/null +++ b/lib/plaid/models/network_insights_report_get_response.rb @@ -0,0 +1,240 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # NetworkInsightsReportGetResponse defines the response schema for `/network_insights/report/get`. + class NetworkInsightsReportGetResponse + attr_accessor :report + + # A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive. + attr_accessor :request_id + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'report' => :'report', + :'request_id' => :'request_id' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'report' => :'NetworkInsightsReport', + :'request_id' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::NetworkInsightsReportGetResponse` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::NetworkInsightsReportGetResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'report') + self.report = attributes[:'report'] + end + + if attributes.key?(:'request_id') + self.request_id = attributes[:'request_id'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @report.nil? + invalid_properties.push('invalid value for "report", report cannot be nil.') + end + + if @request_id.nil? + invalid_properties.push('invalid value for "request_id", request_id cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @report.nil? + return false if @request_id.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + report == o.report && + request_id == o.request_id + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [report, request_id].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/new_accounts_available_webhook.rb b/lib/plaid/models/new_accounts_available_webhook.rb index 2745ea56d..8028d8a9b 100644 --- a/lib/plaid/models/new_accounts_available_webhook.rb +++ b/lib/plaid/models/new_accounts_available_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,7 +14,7 @@ require 'time' module Plaid - # Fired when Plaid detects a new account for Items created or updated with [Account Select v2](https://plaid.com/docs/link/customization/#account-select). Upon receiving this webhook, you can prompt your users to share new accounts with you through [Account Select v2 update mode](https://plaid.com/docs/link/update-mode/#using-update-mode-to-request-new-accounts) (US/CA only). For end user accounts in the EU and UK, upon receiving this webhook, you can prompt your user to re-link their account and then delete the old Item via `/item/remove`. + # Fired when Plaid detects a new account. Upon receiving this webhook, you can prompt your users to share new accounts with you through [update mode](https://plaid.com/docs/link/update-mode/#using-update-mode-to-request-new-accounts) (US/CA only). If the end user has opted not to share new accounts with Plaid via their institution's OAuth settings, Plaid will not detect new accounts and this webhook will not fire. For end user accounts in the EU and UK, upon receiving this webhook, you can prompt your user to re-link their account and then delete the old Item via `/item/remove`. class NewAccountsAvailableWebhook # `ITEM` attr_accessor :webhook_type diff --git a/lib/plaid/models/numbers.rb b/lib/plaid/models/numbers.rb index d97f4d39c..3cd3c5b20 100644 --- a/lib/plaid/models/numbers.rb +++ b/lib/plaid/models/numbers.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/numbers_acats.rb b/lib/plaid/models/numbers_acats.rb index e6a343e21..d2b1959ca 100644 --- a/lib/plaid/models/numbers_acats.rb +++ b/lib/plaid/models/numbers_acats.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/numbers_ach.rb b/lib/plaid/models/numbers_ach.rb index 4a366de68..c7b7a37bd 100644 --- a/lib/plaid/models/numbers_ach.rb +++ b/lib/plaid/models/numbers_ach.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -19,7 +19,7 @@ class NumbersACH # The Plaid account ID associated with the account numbers attr_accessor :account_id - # The ACH account number for the account. Note that when using OAuth with Chase Bank (`ins_56`), Chase will issue \"tokenized\" routing and account numbers, which are not the user's actual account and routing numbers. These tokenized account numbers (also known as TANs) should work identically to normal account and routing numbers. The digits returned in the `mask` field will continue to reflect the actual account number, rather than the tokenized account number; for this reason, when displaying account numbers to the user to help them identify their account in your UI, always use the `mask` rather than truncating the `account` number. If a user revokes their permissions to your app, the tokenized numbers will no longer work. + # The ACH account number for the account. Note that when using OAuth with Chase Bank (`ins_56`), Chase will issue \"tokenized\" routing and account numbers, which are not the user's actual account and routing numbers. These tokenized account numbers (also known as TANs) should work identically to normal account and routing numbers for ACH and RTP transfers, but are not compatible with wire transfers. The digits returned in the `mask` field will continue to reflect the actual account number, rather than the tokenized account number; for this reason, when displaying account numbers to the user to help them identify their account in your UI, always use the `mask` rather than truncating the `account` number. If a user revokes their permissions to your app, the tokenized numbers will no longer work. To be alerted when this occurs, listen for the [`USER_PERMISSION_REVOKED`](https://plaid.com/docs/api/items/#user_permission_revoked) and [`USER_ACCOUNT_REVOKED`](https://plaid.com/docs/api/items/#user_account_revoked) webhooks. attr_accessor :account # The ACH routing number for the account. If the institution is `ins_56`, this may be a tokenized routing number. For more information, see the description of the `account` field. diff --git a/lib/plaid/models/numbers_ach_nullable.rb b/lib/plaid/models/numbers_ach_nullable.rb index 05bf5aed0..ad6d8b7bb 100644 --- a/lib/plaid/models/numbers_ach_nullable.rb +++ b/lib/plaid/models/numbers_ach_nullable.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -19,7 +19,7 @@ class NumbersACHNullable # The Plaid account ID associated with the account numbers attr_accessor :account_id - # The ACH account number for the account. Note that when using OAuth with Chase Bank (`ins_56`), Chase will issue \"tokenized\" routing and account numbers, which are not the user's actual account and routing numbers. These tokenized account numbers (also known as TANs) should work identically to normal account and routing numbers. The digits returned in the `mask` field will continue to reflect the actual account number, rather than the tokenized account number; for this reason, when displaying account numbers to the user to help them identify their account in your UI, always use the `mask` rather than truncating the `account` number. If a user revokes their permissions to your app, the tokenized numbers will no longer work. + # The ACH account number for the account. Note that when using OAuth with Chase Bank (`ins_56`), Chase will issue \"tokenized\" routing and account numbers, which are not the user's actual account and routing numbers. These tokenized account numbers (also known as TANs) should work identically to normal account and routing numbers for ACH and RTP transfers, but are not compatible with wire transfers. The digits returned in the `mask` field will continue to reflect the actual account number, rather than the tokenized account number; for this reason, when displaying account numbers to the user to help them identify their account in your UI, always use the `mask` rather than truncating the `account` number. If a user revokes their permissions to your app, the tokenized numbers will no longer work. To be alerted when this occurs, listen for the [`USER_PERMISSION_REVOKED`](https://plaid.com/docs/api/items/#user_permission_revoked) and [`USER_ACCOUNT_REVOKED`](https://plaid.com/docs/api/items/#user_account_revoked) webhooks. attr_accessor :account # The ACH routing number for the account. If the institution is `ins_56`, this may be a tokenized routing number. For more information, see the description of the `account` field. diff --git a/lib/plaid/models/numbers_aton.rb b/lib/plaid/models/numbers_aton.rb index 48b230348..a20d7b049 100644 --- a/lib/plaid/models/numbers_aton.rb +++ b/lib/plaid/models/numbers_aton.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/numbers_bacs.rb b/lib/plaid/models/numbers_bacs.rb index 004d8c328..47d11bb53 100644 --- a/lib/plaid/models/numbers_bacs.rb +++ b/lib/plaid/models/numbers_bacs.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/numbers_bacs_nullable.rb b/lib/plaid/models/numbers_bacs_nullable.rb index 7336231a7..4bd023064 100644 --- a/lib/plaid/models/numbers_bacs_nullable.rb +++ b/lib/plaid/models/numbers_bacs_nullable.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/numbers_eft.rb b/lib/plaid/models/numbers_eft.rb index 2ffac8424..506965cf9 100644 --- a/lib/plaid/models/numbers_eft.rb +++ b/lib/plaid/models/numbers_eft.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/numbers_eft_nullable.rb b/lib/plaid/models/numbers_eft_nullable.rb index 21572d48d..b5561ad30 100644 --- a/lib/plaid/models/numbers_eft_nullable.rb +++ b/lib/plaid/models/numbers_eft_nullable.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/numbers_iban_nullable.rb b/lib/plaid/models/numbers_iban_nullable.rb index 9d2c5918d..8409c8b95 100644 --- a/lib/plaid/models/numbers_iban_nullable.rb +++ b/lib/plaid/models/numbers_iban_nullable.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/numbers_international.rb b/lib/plaid/models/numbers_international.rb index f97e9d016..b1b0cb841 100644 --- a/lib/plaid/models/numbers_international.rb +++ b/lib/plaid/models/numbers_international.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/numbers_international_iban.rb b/lib/plaid/models/numbers_international_iban.rb index ef79b77db..6eb6be40c 100644 --- a/lib/plaid/models/numbers_international_iban.rb +++ b/lib/plaid/models/numbers_international_iban.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/numbers_international_nullable.rb b/lib/plaid/models/numbers_international_nullable.rb index 69078e483..cb87e84eb 100644 --- a/lib/plaid/models/numbers_international_nullable.rb +++ b/lib/plaid/models/numbers_international_nullable.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/omittable_transfer_type.rb b/lib/plaid/models/omittable_transfer_type.rb index 678dabc26..2f8d5b847 100644 --- a/lib/plaid/models/omittable_transfer_type.rb +++ b/lib/plaid/models/omittable_transfer_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/option_contract.rb b/lib/plaid/models/option_contract.rb index 589b5e5b4..ddf24370c 100644 --- a/lib/plaid/models/option_contract.rb +++ b/lib/plaid/models/option_contract.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/originator.rb b/lib/plaid/models/originator.rb index 4aea0bc88..d74476c69 100644 --- a/lib/plaid/models/originator.rb +++ b/lib/plaid/models/originator.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/originator_expected_transfer_frequency.rb b/lib/plaid/models/originator_expected_transfer_frequency.rb index a9dafe07f..5d1a061ad 100644 --- a/lib/plaid/models/originator_expected_transfer_frequency.rb +++ b/lib/plaid/models/originator_expected_transfer_frequency.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/other_account_subtype.rb b/lib/plaid/models/other_account_subtype.rb index f1cbb731b..d17ac51c3 100644 --- a/lib/plaid/models/other_account_subtype.rb +++ b/lib/plaid/models/other_account_subtype.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/other_filter.rb b/lib/plaid/models/other_filter.rb index 5fc0fd884..bae33f5cb 100644 --- a/lib/plaid/models/other_filter.rb +++ b/lib/plaid/models/other_filter.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/override_account_type.rb b/lib/plaid/models/override_account_type.rb index b7b8e6b96..5d4c7b089 100644 --- a/lib/plaid/models/override_account_type.rb +++ b/lib/plaid/models/override_account_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/override_accounts.rb b/lib/plaid/models/override_accounts.rb index 650be6a42..8d86999c8 100644 --- a/lib/plaid/models/override_accounts.rb +++ b/lib/plaid/models/override_accounts.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/owner.rb b/lib/plaid/models/owner.rb index 2b3ef4e76..c9365382d 100644 --- a/lib/plaid/models/owner.rb +++ b/lib/plaid/models/owner.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/owner_override.rb b/lib/plaid/models/owner_override.rb index b6c1bc50a..2b5f7e712 100644 --- a/lib/plaid/models/owner_override.rb +++ b/lib/plaid/models/owner_override.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/ownership_type.rb b/lib/plaid/models/ownership_type.rb index 7074babe0..2e45b9a10 100644 --- a/lib/plaid/models/ownership_type.rb +++ b/lib/plaid/models/ownership_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/parties.rb b/lib/plaid/models/parties.rb index 2e94596c9..3e980a857 100644 --- a/lib/plaid/models/parties.rb +++ b/lib/plaid/models/parties.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_customer_create_request.rb b/lib/plaid/models/partner_customer_create_request.rb index 19e107949..12612d266 100644 --- a/lib/plaid/models/partner_customer_create_request.rb +++ b/lib/plaid/models/partner_customer_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_customer_create_response.rb b/lib/plaid/models/partner_customer_create_response.rb index 31707e3f1..1327fd92b 100644 --- a/lib/plaid/models/partner_customer_create_response.rb +++ b/lib/plaid/models/partner_customer_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_customer_enable_request.rb b/lib/plaid/models/partner_customer_enable_request.rb index 3f8e112fd..61105bc64 100644 --- a/lib/plaid/models/partner_customer_enable_request.rb +++ b/lib/plaid/models/partner_customer_enable_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_customer_enable_response.rb b/lib/plaid/models/partner_customer_enable_response.rb index ac90b3a7f..06311970b 100644 --- a/lib/plaid/models/partner_customer_enable_response.rb +++ b/lib/plaid/models/partner_customer_enable_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_customer_get_request.rb b/lib/plaid/models/partner_customer_get_request.rb index ed62a7623..003255bf6 100644 --- a/lib/plaid/models/partner_customer_get_request.rb +++ b/lib/plaid/models/partner_customer_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_customer_get_response.rb b/lib/plaid/models/partner_customer_get_response.rb index 877215794..f04e7409c 100644 --- a/lib/plaid/models/partner_customer_get_response.rb +++ b/lib/plaid/models/partner_customer_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_customer_o_auth_institutions_get_request.rb b/lib/plaid/models/partner_customer_o_auth_institutions_get_request.rb index f76e2e241..7f12dc846 100644 --- a/lib/plaid/models/partner_customer_o_auth_institutions_get_request.rb +++ b/lib/plaid/models/partner_customer_o_auth_institutions_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_customer_o_auth_institutions_get_response.rb b/lib/plaid/models/partner_customer_o_auth_institutions_get_response.rb index fc07a4e2f..265a1a582 100644 --- a/lib/plaid/models/partner_customer_o_auth_institutions_get_response.rb +++ b/lib/plaid/models/partner_customer_o_auth_institutions_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_customer_remove_request.rb b/lib/plaid/models/partner_customer_remove_request.rb index a9289e4fa..9a659a53c 100644 --- a/lib/plaid/models/partner_customer_remove_request.rb +++ b/lib/plaid/models/partner_customer_remove_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_customer_remove_response.rb b/lib/plaid/models/partner_customer_remove_response.rb index f63021ad4..d81b186a0 100644 --- a/lib/plaid/models/partner_customer_remove_response.rb +++ b/lib/plaid/models/partner_customer_remove_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_end_customer.rb b/lib/plaid/models/partner_end_customer.rb index f46fc4628..22a267134 100644 --- a/lib/plaid/models/partner_end_customer.rb +++ b/lib/plaid/models/partner_end_customer.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_end_customer_address.rb b/lib/plaid/models/partner_end_customer_address.rb index 936abc0d5..cf3ad12e5 100644 --- a/lib/plaid/models/partner_end_customer_address.rb +++ b/lib/plaid/models/partner_end_customer_address.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_end_customer_assets_under_management.rb b/lib/plaid/models/partner_end_customer_assets_under_management.rb index 4e811be8c..999ed27c4 100644 --- a/lib/plaid/models/partner_end_customer_assets_under_management.rb +++ b/lib/plaid/models/partner_end_customer_assets_under_management.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_end_customer_billing_contact.rb b/lib/plaid/models/partner_end_customer_billing_contact.rb index f56ef94ee..e021ae959 100644 --- a/lib/plaid/models/partner_end_customer_billing_contact.rb +++ b/lib/plaid/models/partner_end_customer_billing_contact.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_end_customer_customer_support_info.rb b/lib/plaid/models/partner_end_customer_customer_support_info.rb index d3a5e1150..866eb796d 100644 --- a/lib/plaid/models/partner_end_customer_customer_support_info.rb +++ b/lib/plaid/models/partner_end_customer_customer_support_info.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_end_customer_flowdown_status.rb b/lib/plaid/models/partner_end_customer_flowdown_status.rb index 45c2f78a5..456182bd8 100644 --- a/lib/plaid/models/partner_end_customer_flowdown_status.rb +++ b/lib/plaid/models/partner_end_customer_flowdown_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_end_customer_o_auth_institution.rb b/lib/plaid/models/partner_end_customer_o_auth_institution.rb index 91bff8311..b50f5c4a7 100644 --- a/lib/plaid/models/partner_end_customer_o_auth_institution.rb +++ b/lib/plaid/models/partner_end_customer_o_auth_institution.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_end_customer_o_auth_institution_application_status.rb b/lib/plaid/models/partner_end_customer_o_auth_institution_application_status.rb index e16b1de8a..d5c632074 100644 --- a/lib/plaid/models/partner_end_customer_o_auth_institution_application_status.rb +++ b/lib/plaid/models/partner_end_customer_o_auth_institution_application_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_end_customer_o_auth_institution_environments.rb b/lib/plaid/models/partner_end_customer_o_auth_institution_environments.rb index 40552630b..9f6b27e3c 100644 --- a/lib/plaid/models/partner_end_customer_o_auth_institution_environments.rb +++ b/lib/plaid/models/partner_end_customer_o_auth_institution_environments.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_end_customer_o_auth_status_updated_values.rb b/lib/plaid/models/partner_end_customer_o_auth_status_updated_values.rb index e0f009e4d..da605dac5 100644 --- a/lib/plaid/models/partner_end_customer_o_auth_status_updated_values.rb +++ b/lib/plaid/models/partner_end_customer_o_auth_status_updated_values.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_end_customer_o_auth_status_updated_webhook.rb b/lib/plaid/models/partner_end_customer_o_auth_status_updated_webhook.rb index 131a559a9..7e2ce0f96 100644 --- a/lib/plaid/models/partner_end_customer_o_auth_status_updated_webhook.rb +++ b/lib/plaid/models/partner_end_customer_o_auth_status_updated_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_end_customer_questionnaire_status.rb b/lib/plaid/models/partner_end_customer_questionnaire_status.rb index 7bbd59b7e..570e35c57 100644 --- a/lib/plaid/models/partner_end_customer_questionnaire_status.rb +++ b/lib/plaid/models/partner_end_customer_questionnaire_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_end_customer_secrets.rb b/lib/plaid/models/partner_end_customer_secrets.rb index 30222bf35..f41b1d408 100644 --- a/lib/plaid/models/partner_end_customer_secrets.rb +++ b/lib/plaid/models/partner_end_customer_secrets.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_end_customer_status.rb b/lib/plaid/models/partner_end_customer_status.rb index 55a333501..970279d92 100644 --- a/lib/plaid/models/partner_end_customer_status.rb +++ b/lib/plaid/models/partner_end_customer_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_end_customer_technical_contact.rb b/lib/plaid/models/partner_end_customer_technical_contact.rb index 48e43c064..50e1e4bed 100644 --- a/lib/plaid/models/partner_end_customer_technical_contact.rb +++ b/lib/plaid/models/partner_end_customer_technical_contact.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_end_customer_with_secrets.rb b/lib/plaid/models/partner_end_customer_with_secrets.rb index 042b423f3..305381f10 100644 --- a/lib/plaid/models/partner_end_customer_with_secrets.rb +++ b/lib/plaid/models/partner_end_customer_with_secrets.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_end_customer_with_secrets_all_of.rb b/lib/plaid/models/partner_end_customer_with_secrets_all_of.rb index 54b30f6a2..bbff6ac7a 100644 --- a/lib/plaid/models/partner_end_customer_with_secrets_all_of.rb +++ b/lib/plaid/models/partner_end_customer_with_secrets_all_of.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/party.rb b/lib/plaid/models/party.rb index f6784fda4..71ab47109 100644 --- a/lib/plaid/models/party.rb +++ b/lib/plaid/models/party.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/party_individual.rb b/lib/plaid/models/party_individual.rb index e2705c5ce..db502192a 100644 --- a/lib/plaid/models/party_individual.rb +++ b/lib/plaid/models/party_individual.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/party_role_type.rb b/lib/plaid/models/party_role_type.rb index b7c60016b..0133536e1 100644 --- a/lib/plaid/models/party_role_type.rb +++ b/lib/plaid/models/party_role_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/pay.rb b/lib/plaid/models/pay.rb index 8203ba97f..cca65fd87 100644 --- a/lib/plaid/models/pay.rb +++ b/lib/plaid/models/pay.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/pay_frequency.rb b/lib/plaid/models/pay_frequency.rb index 927cf18ee..ceecb0b10 100644 --- a/lib/plaid/models/pay_frequency.rb +++ b/lib/plaid/models/pay_frequency.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/pay_frequency_value.rb b/lib/plaid/models/pay_frequency_value.rb index 90fb24ddd..087d74091 100644 --- a/lib/plaid/models/pay_frequency_value.rb +++ b/lib/plaid/models/pay_frequency_value.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/pay_period_details.rb b/lib/plaid/models/pay_period_details.rb index 973a20f32..0dbb6694a 100644 --- a/lib/plaid/models/pay_period_details.rb +++ b/lib/plaid/models/pay_period_details.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/pay_period_details_pay_frequency.rb b/lib/plaid/models/pay_period_details_pay_frequency.rb index df3f63ad2..8a1cd1847 100644 --- a/lib/plaid/models/pay_period_details_pay_frequency.rb +++ b/lib/plaid/models/pay_period_details_pay_frequency.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/pay_stub_deductions_breakdown.rb b/lib/plaid/models/pay_stub_deductions_breakdown.rb index 22deb5e3a..54e5d19d6 100644 --- a/lib/plaid/models/pay_stub_deductions_breakdown.rb +++ b/lib/plaid/models/pay_stub_deductions_breakdown.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/pay_stub_deductions_total.rb b/lib/plaid/models/pay_stub_deductions_total.rb index 15a6b28f4..bb9b329fd 100644 --- a/lib/plaid/models/pay_stub_deductions_total.rb +++ b/lib/plaid/models/pay_stub_deductions_total.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/pay_stub_distribution_breakdown.rb b/lib/plaid/models/pay_stub_distribution_breakdown.rb index 3d5576013..e7140817c 100644 --- a/lib/plaid/models/pay_stub_distribution_breakdown.rb +++ b/lib/plaid/models/pay_stub_distribution_breakdown.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/pay_stub_earnings_breakdown.rb b/lib/plaid/models/pay_stub_earnings_breakdown.rb index 230dd6036..a5e2970b8 100644 --- a/lib/plaid/models/pay_stub_earnings_breakdown.rb +++ b/lib/plaid/models/pay_stub_earnings_breakdown.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/pay_stub_earnings_total.rb b/lib/plaid/models/pay_stub_earnings_total.rb index 89d489180..02f8e5b86 100644 --- a/lib/plaid/models/pay_stub_earnings_total.rb +++ b/lib/plaid/models/pay_stub_earnings_total.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/pay_stub_pay_period_details.rb b/lib/plaid/models/pay_stub_pay_period_details.rb index 425a38196..6f19a9858 100644 --- a/lib/plaid/models/pay_stub_pay_period_details.rb +++ b/lib/plaid/models/pay_stub_pay_period_details.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/pay_stub_taxpayer_id.rb b/lib/plaid/models/pay_stub_taxpayer_id.rb index 1e6ef0213..39456bb40 100644 --- a/lib/plaid/models/pay_stub_taxpayer_id.rb +++ b/lib/plaid/models/pay_stub_taxpayer_id.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_amount.rb b/lib/plaid/models/payment_amount.rb index 0bc04e9d8..8f59e4c72 100644 --- a/lib/plaid/models/payment_amount.rb +++ b/lib/plaid/models/payment_amount.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_amount_currency.rb b/lib/plaid/models/payment_amount_currency.rb index 6ee7d1acb..145415fe8 100644 --- a/lib/plaid/models/payment_amount_currency.rb +++ b/lib/plaid/models/payment_amount_currency.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_amount_nullable.rb b/lib/plaid/models/payment_amount_nullable.rb index bda184770..faa815c9d 100644 --- a/lib/plaid/models/payment_amount_nullable.rb +++ b/lib/plaid/models/payment_amount_nullable.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_amount_refunded.rb b/lib/plaid/models/payment_amount_refunded.rb index 56215cd3f..b10cd0e4c 100644 --- a/lib/plaid/models/payment_amount_refunded.rb +++ b/lib/plaid/models/payment_amount_refunded.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_amount_to_refund.rb b/lib/plaid/models/payment_amount_to_refund.rb index a0d179e75..171d1f250 100644 --- a/lib/plaid/models/payment_amount_to_refund.rb +++ b/lib/plaid/models/payment_amount_to_refund.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_channel.rb b/lib/plaid/models/payment_channel.rb index bed16fa07..5ea006132 100644 --- a/lib/plaid/models/payment_channel.rb +++ b/lib/plaid/models/payment_channel.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_consent_max_payment_amount.rb b/lib/plaid/models/payment_consent_max_payment_amount.rb index 2f995037f..a339db922 100644 --- a/lib/plaid/models/payment_consent_max_payment_amount.rb +++ b/lib/plaid/models/payment_consent_max_payment_amount.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_consent_periodic_alignment.rb b/lib/plaid/models/payment_consent_periodic_alignment.rb index 0446c4079..c8f767f9a 100644 --- a/lib/plaid/models/payment_consent_periodic_alignment.rb +++ b/lib/plaid/models/payment_consent_periodic_alignment.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_consent_periodic_amount.rb b/lib/plaid/models/payment_consent_periodic_amount.rb index 7a5663a01..06403f045 100644 --- a/lib/plaid/models/payment_consent_periodic_amount.rb +++ b/lib/plaid/models/payment_consent_periodic_amount.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_consent_periodic_amount_amount.rb b/lib/plaid/models/payment_consent_periodic_amount_amount.rb index b7907a8ea..9cd961482 100644 --- a/lib/plaid/models/payment_consent_periodic_amount_amount.rb +++ b/lib/plaid/models/payment_consent_periodic_amount_amount.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_consent_periodic_interval.rb b/lib/plaid/models/payment_consent_periodic_interval.rb index c34354024..f058f3bba 100644 --- a/lib/plaid/models/payment_consent_periodic_interval.rb +++ b/lib/plaid/models/payment_consent_periodic_interval.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_consent_valid_date_time.rb b/lib/plaid/models/payment_consent_valid_date_time.rb index 96b09ced5..dbef6271e 100644 --- a/lib/plaid/models/payment_consent_valid_date_time.rb +++ b/lib/plaid/models/payment_consent_valid_date_time.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_address.rb b/lib/plaid/models/payment_initiation_address.rb index ab602e948..e16e43498 100644 --- a/lib/plaid/models/payment_initiation_address.rb +++ b/lib/plaid/models/payment_initiation_address.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_consent.rb b/lib/plaid/models/payment_initiation_consent.rb index 5da2f0018..3a3d356a4 100644 --- a/lib/plaid/models/payment_initiation_consent.rb +++ b/lib/plaid/models/payment_initiation_consent.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_consent_constraints.rb b/lib/plaid/models/payment_initiation_consent_constraints.rb index ff87507e2..a89ddc90b 100644 --- a/lib/plaid/models/payment_initiation_consent_constraints.rb +++ b/lib/plaid/models/payment_initiation_consent_constraints.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_consent_create_request.rb b/lib/plaid/models/payment_initiation_consent_create_request.rb index 79dc8cedd..e26d30029 100644 --- a/lib/plaid/models/payment_initiation_consent_create_request.rb +++ b/lib/plaid/models/payment_initiation_consent_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_consent_create_response.rb b/lib/plaid/models/payment_initiation_consent_create_response.rb index 29d100d19..22e695f56 100644 --- a/lib/plaid/models/payment_initiation_consent_create_response.rb +++ b/lib/plaid/models/payment_initiation_consent_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_consent_get_request.rb b/lib/plaid/models/payment_initiation_consent_get_request.rb index 095353cee..34fdddcee 100644 --- a/lib/plaid/models/payment_initiation_consent_get_request.rb +++ b/lib/plaid/models/payment_initiation_consent_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_consent_get_response.rb b/lib/plaid/models/payment_initiation_consent_get_response.rb index 789d5ef70..135ffcb46 100644 --- a/lib/plaid/models/payment_initiation_consent_get_response.rb +++ b/lib/plaid/models/payment_initiation_consent_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_consent_payment_execute_request.rb b/lib/plaid/models/payment_initiation_consent_payment_execute_request.rb index 38cdb6e25..0f0ab93e7 100644 --- a/lib/plaid/models/payment_initiation_consent_payment_execute_request.rb +++ b/lib/plaid/models/payment_initiation_consent_payment_execute_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_consent_payment_execute_response.rb b/lib/plaid/models/payment_initiation_consent_payment_execute_response.rb index b52190d01..1abed7ff0 100644 --- a/lib/plaid/models/payment_initiation_consent_payment_execute_response.rb +++ b/lib/plaid/models/payment_initiation_consent_payment_execute_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_consent_revoke_request.rb b/lib/plaid/models/payment_initiation_consent_revoke_request.rb index d8babc06c..81e3365a0 100644 --- a/lib/plaid/models/payment_initiation_consent_revoke_request.rb +++ b/lib/plaid/models/payment_initiation_consent_revoke_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_consent_revoke_response.rb b/lib/plaid/models/payment_initiation_consent_revoke_response.rb index cea5abc29..e0d9152b9 100644 --- a/lib/plaid/models/payment_initiation_consent_revoke_response.rb +++ b/lib/plaid/models/payment_initiation_consent_revoke_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_consent_scope.rb b/lib/plaid/models/payment_initiation_consent_scope.rb index 24b59abe1..6ba241533 100644 --- a/lib/plaid/models/payment_initiation_consent_scope.rb +++ b/lib/plaid/models/payment_initiation_consent_scope.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_consent_status.rb b/lib/plaid/models/payment_initiation_consent_status.rb index 0ddfa90de..6da18f0a8 100644 --- a/lib/plaid/models/payment_initiation_consent_status.rb +++ b/lib/plaid/models/payment_initiation_consent_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_metadata.rb b/lib/plaid/models/payment_initiation_metadata.rb index ad87fd600..10e39927a 100644 --- a/lib/plaid/models/payment_initiation_metadata.rb +++ b/lib/plaid/models/payment_initiation_metadata.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_optional_restriction_bacs.rb b/lib/plaid/models/payment_initiation_optional_restriction_bacs.rb index b288e2ea3..fb7765883 100644 --- a/lib/plaid/models/payment_initiation_optional_restriction_bacs.rb +++ b/lib/plaid/models/payment_initiation_optional_restriction_bacs.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_payment.rb b/lib/plaid/models/payment_initiation_payment.rb index 00067c5f3..6bab33c72 100644 --- a/lib/plaid/models/payment_initiation_payment.rb +++ b/lib/plaid/models/payment_initiation_payment.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_payment_create_request.rb b/lib/plaid/models/payment_initiation_payment_create_request.rb index f4b40109c..d96cf877d 100644 --- a/lib/plaid/models/payment_initiation_payment_create_request.rb +++ b/lib/plaid/models/payment_initiation_payment_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_payment_create_response.rb b/lib/plaid/models/payment_initiation_payment_create_response.rb index abca0e1ec..21e224e96 100644 --- a/lib/plaid/models/payment_initiation_payment_create_response.rb +++ b/lib/plaid/models/payment_initiation_payment_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_payment_create_status.rb b/lib/plaid/models/payment_initiation_payment_create_status.rb index 58f601458..3ec28f282 100644 --- a/lib/plaid/models/payment_initiation_payment_create_status.rb +++ b/lib/plaid/models/payment_initiation_payment_create_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_payment_get_request.rb b/lib/plaid/models/payment_initiation_payment_get_request.rb index f37e39b56..9993ef7f3 100644 --- a/lib/plaid/models/payment_initiation_payment_get_request.rb +++ b/lib/plaid/models/payment_initiation_payment_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_payment_get_response.rb b/lib/plaid/models/payment_initiation_payment_get_response.rb index b3bb6e360..7a06f0614 100644 --- a/lib/plaid/models/payment_initiation_payment_get_response.rb +++ b/lib/plaid/models/payment_initiation_payment_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_payment_list_request.rb b/lib/plaid/models/payment_initiation_payment_list_request.rb index 81ed28fd7..a670a8049 100644 --- a/lib/plaid/models/payment_initiation_payment_list_request.rb +++ b/lib/plaid/models/payment_initiation_payment_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_payment_list_response.rb b/lib/plaid/models/payment_initiation_payment_list_response.rb index 09de995ab..36ba7c26f 100644 --- a/lib/plaid/models/payment_initiation_payment_list_response.rb +++ b/lib/plaid/models/payment_initiation_payment_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_payment_reverse_request.rb b/lib/plaid/models/payment_initiation_payment_reverse_request.rb index 9a8e77055..b7073ea4b 100644 --- a/lib/plaid/models/payment_initiation_payment_reverse_request.rb +++ b/lib/plaid/models/payment_initiation_payment_reverse_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_payment_reverse_response.rb b/lib/plaid/models/payment_initiation_payment_reverse_response.rb index 2586c52d4..abb7d7bec 100644 --- a/lib/plaid/models/payment_initiation_payment_reverse_response.rb +++ b/lib/plaid/models/payment_initiation_payment_reverse_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_payment_status.rb b/lib/plaid/models/payment_initiation_payment_status.rb index 673fd7f03..818d92dfb 100644 --- a/lib/plaid/models/payment_initiation_payment_status.rb +++ b/lib/plaid/models/payment_initiation_payment_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_payment_token_create_request.rb b/lib/plaid/models/payment_initiation_payment_token_create_request.rb index b6bac7285..8c9f6b26d 100644 --- a/lib/plaid/models/payment_initiation_payment_token_create_request.rb +++ b/lib/plaid/models/payment_initiation_payment_token_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_payment_token_create_response.rb b/lib/plaid/models/payment_initiation_payment_token_create_response.rb index 6da651cf6..5ce4c698c 100644 --- a/lib/plaid/models/payment_initiation_payment_token_create_response.rb +++ b/lib/plaid/models/payment_initiation_payment_token_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_recipient.rb b/lib/plaid/models/payment_initiation_recipient.rb index d405c1d7d..5ebade001 100644 --- a/lib/plaid/models/payment_initiation_recipient.rb +++ b/lib/plaid/models/payment_initiation_recipient.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_recipient_create_request.rb b/lib/plaid/models/payment_initiation_recipient_create_request.rb index b757beba2..2ad6e2f1c 100644 --- a/lib/plaid/models/payment_initiation_recipient_create_request.rb +++ b/lib/plaid/models/payment_initiation_recipient_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_recipient_create_response.rb b/lib/plaid/models/payment_initiation_recipient_create_response.rb index 406d9220b..86c2c2a54 100644 --- a/lib/plaid/models/payment_initiation_recipient_create_response.rb +++ b/lib/plaid/models/payment_initiation_recipient_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_recipient_get_request.rb b/lib/plaid/models/payment_initiation_recipient_get_request.rb index 695fec333..af8444b45 100644 --- a/lib/plaid/models/payment_initiation_recipient_get_request.rb +++ b/lib/plaid/models/payment_initiation_recipient_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_recipient_get_response.rb b/lib/plaid/models/payment_initiation_recipient_get_response.rb index d71004fdb..2b529ba0f 100644 --- a/lib/plaid/models/payment_initiation_recipient_get_response.rb +++ b/lib/plaid/models/payment_initiation_recipient_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_recipient_get_response_all_of.rb b/lib/plaid/models/payment_initiation_recipient_get_response_all_of.rb index 1a549ab80..a9fa0680d 100644 --- a/lib/plaid/models/payment_initiation_recipient_get_response_all_of.rb +++ b/lib/plaid/models/payment_initiation_recipient_get_response_all_of.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_recipient_list_request.rb b/lib/plaid/models/payment_initiation_recipient_list_request.rb index 3abddb796..f5cd4833c 100644 --- a/lib/plaid/models/payment_initiation_recipient_list_request.rb +++ b/lib/plaid/models/payment_initiation_recipient_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_recipient_list_response.rb b/lib/plaid/models/payment_initiation_recipient_list_response.rb index ee21a7ef9..3d9a16a82 100644 --- a/lib/plaid/models/payment_initiation_recipient_list_response.rb +++ b/lib/plaid/models/payment_initiation_recipient_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_standing_order_metadata.rb b/lib/plaid/models/payment_initiation_standing_order_metadata.rb index 590cbaa8d..5a3eb5ef5 100644 --- a/lib/plaid/models/payment_initiation_standing_order_metadata.rb +++ b/lib/plaid/models/payment_initiation_standing_order_metadata.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_meta.rb b/lib/plaid/models/payment_meta.rb index 87034cd16..cfc554818 100644 --- a/lib/plaid/models/payment_meta.rb +++ b/lib/plaid/models/payment_meta.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_profile_create_request.rb b/lib/plaid/models/payment_profile_create_request.rb index 58daaf943..d50fcee93 100644 --- a/lib/plaid/models/payment_profile_create_request.rb +++ b/lib/plaid/models/payment_profile_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_profile_create_response.rb b/lib/plaid/models/payment_profile_create_response.rb index 225a0c61d..4879fd9c0 100644 --- a/lib/plaid/models/payment_profile_create_response.rb +++ b/lib/plaid/models/payment_profile_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_profile_get_request.rb b/lib/plaid/models/payment_profile_get_request.rb index 713d32d05..355a9e9ae 100644 --- a/lib/plaid/models/payment_profile_get_request.rb +++ b/lib/plaid/models/payment_profile_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_profile_get_response.rb b/lib/plaid/models/payment_profile_get_response.rb index edc7e6525..7fda21495 100644 --- a/lib/plaid/models/payment_profile_get_response.rb +++ b/lib/plaid/models/payment_profile_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_profile_remove_request.rb b/lib/plaid/models/payment_profile_remove_request.rb index 13bdfe8d5..23a42ccc6 100644 --- a/lib/plaid/models/payment_profile_remove_request.rb +++ b/lib/plaid/models/payment_profile_remove_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_profile_remove_response.rb b/lib/plaid/models/payment_profile_remove_response.rb index e20b579ed..b73fe69ca 100644 --- a/lib/plaid/models/payment_profile_remove_response.rb +++ b/lib/plaid/models/payment_profile_remove_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_profile_status.rb b/lib/plaid/models/payment_profile_status.rb index a97d8ff38..3a3187874 100644 --- a/lib/plaid/models/payment_profile_status.rb +++ b/lib/plaid/models/payment_profile_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_schedule_interval.rb b/lib/plaid/models/payment_schedule_interval.rb index e97740dfc..1e53358fd 100644 --- a/lib/plaid/models/payment_schedule_interval.rb +++ b/lib/plaid/models/payment_schedule_interval.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_scheme.rb b/lib/plaid/models/payment_scheme.rb index f8d047040..0ce3eca9c 100644 --- a/lib/plaid/models/payment_scheme.rb +++ b/lib/plaid/models/payment_scheme.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_status_update_webhook.rb b/lib/plaid/models/payment_status_update_webhook.rb index dcf8cc4f5..68aa6eb41 100644 --- a/lib/plaid/models/payment_status_update_webhook.rb +++ b/lib/plaid/models/payment_status_update_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payroll_income_account_data.rb b/lib/plaid/models/payroll_income_account_data.rb index f7319df63..8c9435f3a 100644 --- a/lib/plaid/models/payroll_income_account_data.rb +++ b/lib/plaid/models/payroll_income_account_data.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payroll_income_object.rb b/lib/plaid/models/payroll_income_object.rb index eead67ffc..6a488a914 100644 --- a/lib/plaid/models/payroll_income_object.rb +++ b/lib/plaid/models/payroll_income_object.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payroll_income_rate_of_pay.rb b/lib/plaid/models/payroll_income_rate_of_pay.rb index 1e61c697f..a46d21794 100644 --- a/lib/plaid/models/payroll_income_rate_of_pay.rb +++ b/lib/plaid/models/payroll_income_rate_of_pay.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payroll_item.rb b/lib/plaid/models/payroll_item.rb index 6c2c5056c..9d98e92c2 100644 --- a/lib/plaid/models/payroll_item.rb +++ b/lib/plaid/models/payroll_item.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payroll_item_status.rb b/lib/plaid/models/payroll_item_status.rb index d0719accd..e368178a8 100644 --- a/lib/plaid/models/payroll_item_status.rb +++ b/lib/plaid/models/payroll_item_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payroll_risk_signals_item.rb b/lib/plaid/models/payroll_risk_signals_item.rb index a1643270b..94d7bb14c 100644 --- a/lib/plaid/models/payroll_risk_signals_item.rb +++ b/lib/plaid/models/payroll_risk_signals_item.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/paystub.rb b/lib/plaid/models/paystub.rb index d7e5cb553..b69128587 100644 --- a/lib/plaid/models/paystub.rb +++ b/lib/plaid/models/paystub.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/paystub_address.rb b/lib/plaid/models/paystub_address.rb index 7046539ff..887428e87 100644 --- a/lib/plaid/models/paystub_address.rb +++ b/lib/plaid/models/paystub_address.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/paystub_deduction.rb b/lib/plaid/models/paystub_deduction.rb index cb4de224e..1940d2c72 100644 --- a/lib/plaid/models/paystub_deduction.rb +++ b/lib/plaid/models/paystub_deduction.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/paystub_details.rb b/lib/plaid/models/paystub_details.rb index c6cccf672..5c539524f 100644 --- a/lib/plaid/models/paystub_details.rb +++ b/lib/plaid/models/paystub_details.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/paystub_employer.rb b/lib/plaid/models/paystub_employer.rb index 664cbbee2..2b5a634a3 100644 --- a/lib/plaid/models/paystub_employer.rb +++ b/lib/plaid/models/paystub_employer.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/paystub_override.rb b/lib/plaid/models/paystub_override.rb index 3ec2d0880..b97313948 100644 --- a/lib/plaid/models/paystub_override.rb +++ b/lib/plaid/models/paystub_override.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/paystub_override_deductions.rb b/lib/plaid/models/paystub_override_deductions.rb index 881d8aa03..e3d933c1c 100644 --- a/lib/plaid/models/paystub_override_deductions.rb +++ b/lib/plaid/models/paystub_override_deductions.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/paystub_override_deductions_breakdown.rb b/lib/plaid/models/paystub_override_deductions_breakdown.rb index 2abb60607..cf67ba334 100644 --- a/lib/plaid/models/paystub_override_deductions_breakdown.rb +++ b/lib/plaid/models/paystub_override_deductions_breakdown.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/paystub_override_deductions_total.rb b/lib/plaid/models/paystub_override_deductions_total.rb index 0b4be7a9d..49d605bba 100644 --- a/lib/plaid/models/paystub_override_deductions_total.rb +++ b/lib/plaid/models/paystub_override_deductions_total.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/paystub_override_distribution_breakdown.rb b/lib/plaid/models/paystub_override_distribution_breakdown.rb index c91cd3eca..ba9efcf84 100644 --- a/lib/plaid/models/paystub_override_distribution_breakdown.rb +++ b/lib/plaid/models/paystub_override_distribution_breakdown.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/paystub_override_earnings.rb b/lib/plaid/models/paystub_override_earnings.rb index 4ebf20af1..5e5319ae8 100644 --- a/lib/plaid/models/paystub_override_earnings.rb +++ b/lib/plaid/models/paystub_override_earnings.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/paystub_override_earnings_breakdown.rb b/lib/plaid/models/paystub_override_earnings_breakdown.rb index 57a101a3e..5978c3434 100644 --- a/lib/plaid/models/paystub_override_earnings_breakdown.rb +++ b/lib/plaid/models/paystub_override_earnings_breakdown.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/paystub_override_earnings_total.rb b/lib/plaid/models/paystub_override_earnings_total.rb index f691741ff..2c395d0a6 100644 --- a/lib/plaid/models/paystub_override_earnings_total.rb +++ b/lib/plaid/models/paystub_override_earnings_total.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -22,11 +22,15 @@ class PaystubOverrideEarningsTotal # The ISO-4217 currency code of the line item attr_accessor :currency + # The year-to-date amount for the total earnings + attr_accessor :ytd_amount + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'hours' => :'hours', - :'currency' => :'currency' + :'currency' => :'currency', + :'ytd_amount' => :'ytd_amount' } end @@ -39,7 +43,8 @@ def self.acceptable_attributes def self.openapi_types { :'hours' => :'Float', - :'currency' => :'String' + :'currency' => :'String', + :'ytd_amount' => :'Float' } end @@ -47,7 +52,8 @@ def self.openapi_types def self.openapi_nullable Set.new([ :'hours', - :'currency' + :'currency', + :'ytd_amount' ]) end @@ -73,6 +79,10 @@ def initialize(attributes = {}) if attributes.key?(:'currency') self.currency = attributes[:'currency'] end + + if attributes.key?(:'ytd_amount') + self.ytd_amount = attributes[:'ytd_amount'] + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -94,7 +104,8 @@ def ==(o) return true if self.equal?(o) self.class == o.class && hours == o.hours && - currency == o.currency + currency == o.currency && + ytd_amount == o.ytd_amount end # @see the `==` method @@ -106,7 +117,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [hours, currency].hash + [hours, currency, ytd_amount].hash end # Builds the object from hash diff --git a/lib/plaid/models/paystub_override_employee.rb b/lib/plaid/models/paystub_override_employee.rb index 883948a5c..4103f2aa7 100644 --- a/lib/plaid/models/paystub_override_employee.rb +++ b/lib/plaid/models/paystub_override_employee.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/paystub_override_employee_address.rb b/lib/plaid/models/paystub_override_employee_address.rb index ae998ea3c..4cd7ac7b4 100644 --- a/lib/plaid/models/paystub_override_employee_address.rb +++ b/lib/plaid/models/paystub_override_employee_address.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/paystub_override_employer.rb b/lib/plaid/models/paystub_override_employer.rb index 49a5301bb..618685d2f 100644 --- a/lib/plaid/models/paystub_override_employer.rb +++ b/lib/plaid/models/paystub_override_employer.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/paystub_override_employer_address.rb b/lib/plaid/models/paystub_override_employer_address.rb index 5a2f880c9..31562c37a 100644 --- a/lib/plaid/models/paystub_override_employer_address.rb +++ b/lib/plaid/models/paystub_override_employer_address.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/paystub_override_net_pay.rb b/lib/plaid/models/paystub_override_net_pay.rb index e51f77e9b..910729be9 100644 --- a/lib/plaid/models/paystub_override_net_pay.rb +++ b/lib/plaid/models/paystub_override_net_pay.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/paystub_override_pay_period_details.rb b/lib/plaid/models/paystub_override_pay_period_details.rb index fc3218ab7..314a45d3d 100644 --- a/lib/plaid/models/paystub_override_pay_period_details.rb +++ b/lib/plaid/models/paystub_override_pay_period_details.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/paystub_override_taxpayer_id.rb b/lib/plaid/models/paystub_override_taxpayer_id.rb index e0e02155a..c4331941c 100644 --- a/lib/plaid/models/paystub_override_taxpayer_id.rb +++ b/lib/plaid/models/paystub_override_taxpayer_id.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/paystub_pay_frequency.rb b/lib/plaid/models/paystub_pay_frequency.rb index b9e86d8b7..858ef9e54 100644 --- a/lib/plaid/models/paystub_pay_frequency.rb +++ b/lib/plaid/models/paystub_pay_frequency.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/paystub_ytd_details.rb b/lib/plaid/models/paystub_ytd_details.rb index 7b9b540a5..099b94c5c 100644 --- a/lib/plaid/models/paystub_ytd_details.rb +++ b/lib/plaid/models/paystub_ytd_details.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/pending_disconnect_webhook.rb b/lib/plaid/models/pending_disconnect_webhook.rb new file mode 100644 index 000000000..194c9bd5e --- /dev/null +++ b/lib/plaid/models/pending_disconnect_webhook.rb @@ -0,0 +1,306 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Fired when an Item is expected to be disconnected. This can be resolved by having the user go through Link’s update mode. + class PendingDisconnectWebhook + # `ITEM` + attr_accessor :webhook_type + + # `PENDING_DISCONNECT` + attr_accessor :webhook_code + + # The `item_id` of the Item associated with this webhook, warning, or error + attr_accessor :item_id + + attr_accessor :reason + + attr_accessor :environment + + class EnumAttributeValidator + attr_reader :datatype + attr_reader :allowable_values + + def initialize(datatype, allowable_values) + @allowable_values = allowable_values.map do |value| + case datatype.to_s + when /Integer/i + value.to_i + when /Float/i + value.to_f + else + value + end + end + end + + def valid?(value) + !value || allowable_values.include?(value) + end + end + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'webhook_type' => :'webhook_type', + :'webhook_code' => :'webhook_code', + :'item_id' => :'item_id', + :'reason' => :'reason', + :'environment' => :'environment' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'webhook_type' => :'String', + :'webhook_code' => :'String', + :'item_id' => :'String', + :'reason' => :'PendingDisconnectWebhookReason', + :'environment' => :'WebhookEnvironmentValues' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::PendingDisconnectWebhook` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::PendingDisconnectWebhook`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'webhook_type') + self.webhook_type = attributes[:'webhook_type'] + end + + if attributes.key?(:'webhook_code') + self.webhook_code = attributes[:'webhook_code'] + end + + if attributes.key?(:'item_id') + self.item_id = attributes[:'item_id'] + end + + if attributes.key?(:'reason') + self.reason = attributes[:'reason'] + end + + if attributes.key?(:'environment') + self.environment = attributes[:'environment'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @webhook_type.nil? + invalid_properties.push('invalid value for "webhook_type", webhook_type cannot be nil.') + end + + if @webhook_code.nil? + invalid_properties.push('invalid value for "webhook_code", webhook_code cannot be nil.') + end + + if @item_id.nil? + invalid_properties.push('invalid value for "item_id", item_id cannot be nil.') + end + + if @reason.nil? + invalid_properties.push('invalid value for "reason", reason cannot be nil.') + end + + if @environment.nil? + invalid_properties.push('invalid value for "environment", environment cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @webhook_type.nil? + return false if @webhook_code.nil? + return false if @item_id.nil? + return false if @reason.nil? + return false if @environment.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + webhook_type == o.webhook_type && + webhook_code == o.webhook_code && + item_id == o.item_id && + reason == o.reason && + environment == o.environment + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [webhook_type, webhook_code, item_id, reason, environment].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/pending_disconnect_webhook_reason.rb b/lib/plaid/models/pending_disconnect_webhook_reason.rb new file mode 100644 index 000000000..b3dada4d4 --- /dev/null +++ b/lib/plaid/models/pending_disconnect_webhook_reason.rb @@ -0,0 +1,38 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + class PendingDisconnectWebhookReason + INSTITUTION_MIGRATION = "INSTITUTION_MIGRATION".freeze + + # Builds the enum from string + # @param [String] The enum value in the form of the string + # @return [String] The enum value + def self.build_from_hash(value) + new.build_from_hash(value) + end + + # Builds the enum from string + # @param [String] The enum value in the form of the string + # @return [String] The enum value + def build_from_hash(value) + # We do not validate that the value is one of the enums set in the OpenAPI + # file because we want to be able to add to our list of enums without + # breaking this client library. + value + end + end + +end diff --git a/lib/plaid/models/pending_expiration_webhook.rb b/lib/plaid/models/pending_expiration_webhook.rb index 763db3df6..b5dc821c9 100644 --- a/lib/plaid/models/pending_expiration_webhook.rb +++ b/lib/plaid/models/pending_expiration_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/personal_finance_category.rb b/lib/plaid/models/personal_finance_category.rb index 1e1a81909..527d2ac42 100644 --- a/lib/plaid/models/personal_finance_category.rb +++ b/lib/plaid/models/personal_finance_category.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/phone_number.rb b/lib/plaid/models/phone_number.rb index 5abf17995..3c5e83260 100644 --- a/lib/plaid/models/phone_number.rb +++ b/lib/plaid/models/phone_number.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/phone_number_match_score.rb b/lib/plaid/models/phone_number_match_score.rb index 8e7f72fd5..0dd219930 100644 --- a/lib/plaid/models/phone_number_match_score.rb +++ b/lib/plaid/models/phone_number_match_score.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/phone_type.rb b/lib/plaid/models/phone_type.rb index c5b4deca2..1a0b73873 100644 --- a/lib/plaid/models/phone_type.rb +++ b/lib/plaid/models/phone_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/physical_document_category.rb b/lib/plaid/models/physical_document_category.rb index ec1058d09..baa8a6dfa 100644 --- a/lib/plaid/models/physical_document_category.rb +++ b/lib/plaid/models/physical_document_category.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/physical_document_extracted_data.rb b/lib/plaid/models/physical_document_extracted_data.rb index 8b392219a..6d89e3e44 100644 --- a/lib/plaid/models/physical_document_extracted_data.rb +++ b/lib/plaid/models/physical_document_extracted_data.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -35,6 +35,8 @@ class PhysicalDocumentExtractedData attr_accessor :address + attr_accessor :name + class EnumAttributeValidator attr_reader :datatype attr_reader :allowable_values @@ -66,7 +68,8 @@ def self.attribute_map :'issuing_country' => :'issuing_country', :'issuing_region' => :'issuing_region', :'date_of_birth' => :'date_of_birth', - :'address' => :'address' + :'address' => :'address', + :'name' => :'name' } end @@ -84,7 +87,8 @@ def self.openapi_types :'issuing_country' => :'String', :'issuing_region' => :'String', :'date_of_birth' => :'Date', - :'address' => :'IdentityVerificationDocumentAddressResponse' + :'address' => :'IdentityVerificationDocumentAddressResponse', + :'name' => :'IdentityVerificationDocumentNameResponse' } end @@ -95,7 +99,8 @@ def self.openapi_nullable :'expiration_date', :'issuing_region', :'date_of_birth', - :'address' + :'address', + :'name' ]) end @@ -141,6 +146,10 @@ def initialize(attributes = {}) if attributes.key?(:'address') self.address = attributes[:'address'] end + + if attributes.key?(:'name') + self.name = attributes[:'name'] + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -177,7 +186,8 @@ def ==(o) issuing_country == o.issuing_country && issuing_region == o.issuing_region && date_of_birth == o.date_of_birth && - address == o.address + address == o.address && + name == o.name end # @see the `==` method @@ -189,7 +199,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [id_number, category, expiration_date, issuing_country, issuing_region, date_of_birth, address].hash + [id_number, category, expiration_date, issuing_country, issuing_region, date_of_birth, address, name].hash end # Builds the object from hash diff --git a/lib/plaid/models/physical_document_extracted_data_analysis.rb b/lib/plaid/models/physical_document_extracted_data_analysis.rb index 0fe4cf625..0f9c5b2ae 100644 --- a/lib/plaid/models/physical_document_extracted_data_analysis.rb +++ b/lib/plaid/models/physical_document_extracted_data_analysis.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/physical_document_images.rb b/lib/plaid/models/physical_document_images.rb index b837c14fa..852e9ba4b 100644 --- a/lib/plaid/models/physical_document_images.rb +++ b/lib/plaid/models/physical_document_images.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/plaid_check_score.rb b/lib/plaid/models/plaid_check_score.rb new file mode 100644 index 000000000..c4461be76 --- /dev/null +++ b/lib/plaid/models/plaid_check_score.rb @@ -0,0 +1,233 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # The results of the Plaid Check score + class PlaidCheckScore + # The score returned by the Plaid Check Score model. + attr_accessor :score + + # The reasons for an individual having risk according to the Plaid Check score. + attr_accessor :reason_codes + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'score' => :'score', + :'reason_codes' => :'reason_codes' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'score' => :'Float', + :'reason_codes' => :'Array' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::PlaidCheckScore` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::PlaidCheckScore`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'score') + self.score = attributes[:'score'] + end + + if attributes.key?(:'reason_codes') + if (value = attributes[:'reason_codes']).is_a?(Array) + self.reason_codes = value + end + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + score == o.score && + reason_codes == o.reason_codes + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [score, reason_codes].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/plaid_error.rb b/lib/plaid/models/plaid_error.rb index 4cf9b70bc..fe1a4315e 100644 --- a/lib/plaid/models/plaid_error.rb +++ b/lib/plaid/models/plaid_error.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -21,6 +21,9 @@ class PlaidError # The particular error code. Safe for programmatic use. attr_accessor :error_code + # The specific reason for the error code. Currently, reasons are only supported OAuth-based item errors; `null` will be returned otherwise. Safe for programmatic use. Possible values: `OAUTH_INVALID_TOKEN`: The user’s OAuth connection to this institution has been invalidated. `OAUTH_CONSENT_EXPIRED`: The user's access consent for this OAuth connection to this institution has expired. `OAUTH_REVOKED_TOKEN`: The user’s OAuth connection to this institution is invalid because the user revoked their connection. + attr_accessor :error_code_reason + # A developer-friendly representation of the error code. This may change over time and is not safe for programmatic use. attr_accessor :error_message @@ -30,7 +33,7 @@ class PlaidError # A unique ID identifying the request, to be used for troubleshooting purposes. This field will be omitted in errors provided by webhooks. attr_accessor :request_id - # In the Assets product, a request can pertain to more than one Item. If an error is returned for such a request, `causes` will return an array of errors containing a breakdown of these errors on the individual Item level, if any can be identified. `causes` will only be provided for the `error_type` `ASSET_REPORT_ERROR`. `causes` will also not be populated inside an error nested within a `warning` object. + # In this product, a request can pertain to more than one Item. If an error is returned for such a request, `causes` will return an array of errors containing a breakdown of these errors on the individual Item level, if any can be identified. `causes` will only be provided for the `error_type` `ASSET_REPORT_ERROR`. `causes` will also not be populated inside an error nested within a `warning` object. attr_accessor :causes # The HTTP status code associated with the error. This will only be returned in the response body when the error information is provided via a webhook. @@ -69,6 +72,7 @@ def self.attribute_map { :'error_type' => :'error_type', :'error_code' => :'error_code', + :'error_code_reason' => :'error_code_reason', :'error_message' => :'error_message', :'display_message' => :'display_message', :'request_id' => :'request_id', @@ -89,6 +93,7 @@ def self.openapi_types { :'error_type' => :'PlaidErrorType', :'error_code' => :'String', + :'error_code_reason' => :'String', :'error_message' => :'String', :'display_message' => :'String', :'request_id' => :'String', @@ -102,6 +107,7 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'error_code_reason', :'display_message', :'status', :'suggested_action' @@ -131,6 +137,10 @@ def initialize(attributes = {}) self.error_code = attributes[:'error_code'] end + if attributes.key?(:'error_code_reason') + self.error_code_reason = attributes[:'error_code_reason'] + end + if attributes.key?(:'error_message') self.error_message = attributes[:'error_message'] end @@ -197,6 +207,7 @@ def ==(o) self.class == o.class && error_type == o.error_type && error_code == o.error_code && + error_code_reason == o.error_code_reason && error_message == o.error_message && display_message == o.display_message && request_id == o.request_id && @@ -215,7 +226,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [error_type, error_code, error_message, display_message, request_id, causes, status, documentation_url, suggested_action].hash + [error_type, error_code, error_code_reason, error_message, display_message, request_id, causes, status, documentation_url, suggested_action].hash end # Builds the object from hash diff --git a/lib/plaid/models/plaid_error_type.rb b/lib/plaid/models/plaid_error_type.rb index 02b02ee9f..f721282ab 100644 --- a/lib/plaid/models/plaid_error_type.rb +++ b/lib/plaid/models/plaid_error_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -29,6 +29,11 @@ class PlaidErrorType BANK_TRANSFER_ERROR = "BANK_TRANSFER_ERROR".freeze INCOME_VERIFICATION_ERROR = "INCOME_VERIFICATION_ERROR".freeze MICRODEPOSITS_ERROR = "MICRODEPOSITS_ERROR".freeze + SANDBOX_ERROR = "SANDBOX_ERROR".freeze + PARTNER_ERROR = "PARTNER_ERROR".freeze + TRANSACTIONS_ERROR = "TRANSACTIONS_ERROR".freeze + TRANSACTION_ERROR = "TRANSACTION_ERROR".freeze + TRANSFER_ERROR = "TRANSFER_ERROR".freeze # Builds the enum from string # @param [String] The enum value in the form of the string diff --git a/lib/plaid/models/platform_ids.rb b/lib/plaid/models/platform_ids.rb index 8813cb609..fff8f49f5 100644 --- a/lib/plaid/models/platform_ids.rb +++ b/lib/plaid/models/platform_ids.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/po_box_status.rb b/lib/plaid/models/po_box_status.rb index 8c619e748..e7925886b 100644 --- a/lib/plaid/models/po_box_status.rb +++ b/lib/plaid/models/po_box_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/prism_cash_score.rb b/lib/plaid/models/prism_cash_score.rb index 18636bbc6..c723537fc 100644 --- a/lib/plaid/models/prism_cash_score.rb +++ b/lib/plaid/models/prism_cash_score.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/prism_cash_score_metadata.rb b/lib/plaid/models/prism_cash_score_metadata.rb index 24a6d7837..f4cd6d0c4 100644 --- a/lib/plaid/models/prism_cash_score_metadata.rb +++ b/lib/plaid/models/prism_cash_score_metadata.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/prism_cash_score_version.rb b/lib/plaid/models/prism_cash_score_version.rb new file mode 100644 index 000000000..97389bb1b --- /dev/null +++ b/lib/plaid/models/prism_cash_score_version.rb @@ -0,0 +1,39 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + class PrismCashScoreVersion + N3 = "3".freeze + NULL = "null".freeze + + # Builds the enum from string + # @param [String] The enum value in the form of the string + # @return [String] The enum value + def self.build_from_hash(value) + new.build_from_hash(value) + end + + # Builds the enum from string + # @param [String] The enum value in the form of the string + # @return [String] The enum value + def build_from_hash(value) + # We do not validate that the value is one of the enums set in the OpenAPI + # file because we want to be able to add to our list of enums without + # breaking this client library. + value + end + end + +end diff --git a/lib/plaid/models/prism_first_detect.rb b/lib/plaid/models/prism_first_detect.rb index 336f1445b..380976b1d 100644 --- a/lib/plaid/models/prism_first_detect.rb +++ b/lib/plaid/models/prism_first_detect.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/prism_first_detect_version.rb b/lib/plaid/models/prism_first_detect_version.rb new file mode 100644 index 000000000..03cca3911 --- /dev/null +++ b/lib/plaid/models/prism_first_detect_version.rb @@ -0,0 +1,39 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + class PrismFirstDetectVersion + N3 = "3".freeze + NULL = "null".freeze + + # Builds the enum from string + # @param [String] The enum value in the form of the string + # @return [String] The enum value + def self.build_from_hash(value) + new.build_from_hash(value) + end + + # Builds the enum from string + # @param [String] The enum value in the form of the string + # @return [String] The enum value + def build_from_hash(value) + # We do not validate that the value is one of the enums set in the OpenAPI + # file because we want to be able to add to our list of enums without + # breaking this client library. + value + end + end + +end diff --git a/lib/plaid/models/prism_insights.rb b/lib/plaid/models/prism_insights.rb index 1d595f327..7536a0b54 100644 --- a/lib/plaid/models/prism_insights.rb +++ b/lib/plaid/models/prism_insights.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/prism_insights_version.rb b/lib/plaid/models/prism_insights_version.rb new file mode 100644 index 000000000..bb27b3bf1 --- /dev/null +++ b/lib/plaid/models/prism_insights_version.rb @@ -0,0 +1,39 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + class PrismInsightsVersion + N3 = "3".freeze + NULL = "null".freeze + + # Builds the enum from string + # @param [String] The enum value in the form of the string + # @return [String] The enum value + def self.build_from_hash(value) + new.build_from_hash(value) + end + + # Builds the enum from string + # @param [String] The enum value in the form of the string + # @return [String] The enum value + def build_from_hash(value) + # We do not validate that the value is one of the enums set in the OpenAPI + # file because we want to be able to add to our list of enums without + # breaking this client library. + value + end + end + +end diff --git a/lib/plaid/models/prism_product.rb b/lib/plaid/models/prism_product.rb index 6323870a4..134b5855a 100644 --- a/lib/plaid/models/prism_product.rb +++ b/lib/plaid/models/prism_product.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/prism_versions.rb b/lib/plaid/models/prism_versions.rb new file mode 100644 index 000000000..dcf200b46 --- /dev/null +++ b/lib/plaid/models/prism_versions.rb @@ -0,0 +1,263 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # The versions of Prism products to evaluate + class PrismVersions + attr_accessor :firstdetect + + attr_accessor :cashscore + + attr_accessor :insights + + class EnumAttributeValidator + attr_reader :datatype + attr_reader :allowable_values + + def initialize(datatype, allowable_values) + @allowable_values = allowable_values.map do |value| + case datatype.to_s + when /Integer/i + value.to_i + when /Float/i + value.to_f + else + value + end + end + end + + def valid?(value) + !value || allowable_values.include?(value) + end + end + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'firstdetect' => :'firstdetect', + :'cashscore' => :'cashscore', + :'insights' => :'insights' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'firstdetect' => :'PrismFirstDetectVersion', + :'cashscore' => :'PrismCashScoreVersion', + :'insights' => :'PrismInsightsVersion' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'firstdetect', + :'cashscore', + :'insights' + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::PrismVersions` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::PrismVersions`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'firstdetect') + self.firstdetect = attributes[:'firstdetect'] + end + + if attributes.key?(:'cashscore') + self.cashscore = attributes[:'cashscore'] + end + + if attributes.key?(:'insights') + self.insights = attributes[:'insights'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + firstdetect == o.firstdetect && + cashscore == o.cashscore && + insights == o.insights + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [firstdetect, cashscore, insights].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/processor_account_get_request.rb b/lib/plaid/models/processor_account_get_request.rb index 231376e38..3c2427554 100644 --- a/lib/plaid/models/processor_account_get_request.rb +++ b/lib/plaid/models/processor_account_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_account_get_response.rb b/lib/plaid/models/processor_account_get_response.rb index 698449c8e..1cd015af6 100644 --- a/lib/plaid/models/processor_account_get_response.rb +++ b/lib/plaid/models/processor_account_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_apex_processor_token_create_request.rb b/lib/plaid/models/processor_apex_processor_token_create_request.rb index 3a52d30d1..58cb87d3a 100644 --- a/lib/plaid/models/processor_apex_processor_token_create_request.rb +++ b/lib/plaid/models/processor_apex_processor_token_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_auth_get_request.rb b/lib/plaid/models/processor_auth_get_request.rb index 64c949498..a980fae45 100644 --- a/lib/plaid/models/processor_auth_get_request.rb +++ b/lib/plaid/models/processor_auth_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_auth_get_response.rb b/lib/plaid/models/processor_auth_get_response.rb index b6041c0b7..16947a2cd 100644 --- a/lib/plaid/models/processor_auth_get_response.rb +++ b/lib/plaid/models/processor_auth_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_balance_get_request.rb b/lib/plaid/models/processor_balance_get_request.rb index 9415d173c..bb5e43cbf 100644 --- a/lib/plaid/models/processor_balance_get_request.rb +++ b/lib/plaid/models/processor_balance_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_balance_get_request_options.rb b/lib/plaid/models/processor_balance_get_request_options.rb index 4f98d5e12..9fcbc86aa 100644 --- a/lib/plaid/models/processor_balance_get_request_options.rb +++ b/lib/plaid/models/processor_balance_get_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_balance_get_response.rb b/lib/plaid/models/processor_balance_get_response.rb index ec24b12e6..c3db761bc 100644 --- a/lib/plaid/models/processor_balance_get_response.rb +++ b/lib/plaid/models/processor_balance_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_bank_transfer_create_request.rb b/lib/plaid/models/processor_bank_transfer_create_request.rb index 088245e5e..174bb0f1a 100644 --- a/lib/plaid/models/processor_bank_transfer_create_request.rb +++ b/lib/plaid/models/processor_bank_transfer_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_bank_transfer_create_response.rb b/lib/plaid/models/processor_bank_transfer_create_response.rb index be07bc44c..4b5a16901 100644 --- a/lib/plaid/models/processor_bank_transfer_create_response.rb +++ b/lib/plaid/models/processor_bank_transfer_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_default_update_webhook.rb b/lib/plaid/models/processor_default_update_webhook.rb index 5f8f59e8e..01a2bc038 100644 --- a/lib/plaid/models/processor_default_update_webhook.rb +++ b/lib/plaid/models/processor_default_update_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_historical_update_webhook.rb b/lib/plaid/models/processor_historical_update_webhook.rb index b1d260c94..7bcbd99f8 100644 --- a/lib/plaid/models/processor_historical_update_webhook.rb +++ b/lib/plaid/models/processor_historical_update_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,7 +14,7 @@ require 'time' module Plaid - # This webhook is only sent to [Plaid processor partners](https://plaid.com/docs/auth/partnerships/). Fired when an Item's historical transaction pull is completed and Plaid has prepared as much historical transaction data as possible for the Item. Once this webhook has been fired, transaction data beyond the most recent 30 days can be fetched for the Item. If [Account Select v2](https://plaid.com/docs/link/customization/#account-select) is enabled, this webhook will also be fired if account selections for the Item are updated, with `new_transactions` set to the number of net new transactions pulled after the account selection update. This webhook is intended for use with `/processor/transactions/get`; if you are using the newer `/processor/transactions/sync` endpoint, this webhook will still be fired to maintain backwards compatibility, but it is recommended to listen for and respond to the `SYNC_UPDATES_AVAILABLE` webhook instead. + # This webhook is only sent to [Plaid processor partners](https://plaid.com/docs/auth/partnerships/). Fired when an Item's historical transaction pull is completed and Plaid has prepared as much historical transaction data as possible for the Item. Once this webhook has been fired, transaction data beyond the most recent 30 days can be fetched for the Item. This webhook will also be fired if account selections for the Item are updated, with `new_transactions` set to the number of net new transactions pulled after the account selection update. This webhook is intended for use with `/processor/transactions/get`; if you are using the newer `/processor/transactions/sync` endpoint, this webhook will still be fired to maintain backwards compatibility, but it is recommended to listen for and respond to the `SYNC_UPDATES_AVAILABLE` webhook instead. class ProcessorHistoricalUpdateWebhook # `TRANSACTIONS` attr_accessor :webhook_type @@ -24,7 +24,7 @@ class ProcessorHistoricalUpdateWebhook attr_accessor :error - # The number of new, unfetched transactions available + # The number of new transactions available attr_accessor :new_transactions # The ID of the account. diff --git a/lib/plaid/models/processor_identity_get_request.rb b/lib/plaid/models/processor_identity_get_request.rb index 42fe1603c..d3a15a0c7 100644 --- a/lib/plaid/models/processor_identity_get_request.rb +++ b/lib/plaid/models/processor_identity_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_identity_get_response.rb b/lib/plaid/models/processor_identity_get_response.rb index 2bd5cd7a3..669b5b218 100644 --- a/lib/plaid/models/processor_identity_get_response.rb +++ b/lib/plaid/models/processor_identity_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_identity_match_request.rb b/lib/plaid/models/processor_identity_match_request.rb index eb5e6d767..3f31065a3 100644 --- a/lib/plaid/models/processor_identity_match_request.rb +++ b/lib/plaid/models/processor_identity_match_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_identity_match_response.rb b/lib/plaid/models/processor_identity_match_response.rb index 33dfe83a9..fd12e3901 100644 --- a/lib/plaid/models/processor_identity_match_response.rb +++ b/lib/plaid/models/processor_identity_match_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_initial_update_webhook.rb b/lib/plaid/models/processor_initial_update_webhook.rb index 1da9ae7d4..fd85627f1 100644 --- a/lib/plaid/models/processor_initial_update_webhook.rb +++ b/lib/plaid/models/processor_initial_update_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,7 +14,7 @@ require 'time' module Plaid - # This webhook is only sent to [Plaid processor partners](https://plaid.com/docs/auth/partnerships/). Fired when an Item's initial transaction pull is completed. Once this webhook has been fired, transaction data for the most recent 30 days can be fetched for the Item. If [Account Select v2](https://plaid.com/docs/link/customization/#account-select) is enabled, this webhook will also be fired if account selections for the Item are updated, with `new_transactions` set to the number of net new transactions pulled after the account selection update. This webhook is intended for use with `/processor/transactions/get`; if you are using the newer `/processor/transactions/sync` endpoint, this webhook will still be fired to maintain backwards compatibility, but it is recommended to listen for and respond to the `SYNC_UPDATES_AVAILABLE` webhook instead. + # This webhook is only sent to [Plaid processor partners](https://plaid.com/docs/auth/partnerships/). Fired when an Item's initial transaction pull is completed. Once this webhook has been fired, transaction data for the most recent 30 days can be fetched for the Item. This webhook will also be fired if account selections for the Item are updated, with `new_transactions` set to the number of net new transactions pulled after the account selection update. This webhook is intended for use with `/processor/transactions/get`; if you are using the newer `/processor/transactions/sync` endpoint, this webhook will still be fired to maintain backwards compatibility, but it is recommended to listen for and respond to the `SYNC_UPDATES_AVAILABLE` webhook instead. class ProcessorInitialUpdateWebhook # `TRANSACTIONS` attr_accessor :webhook_type @@ -25,7 +25,7 @@ class ProcessorInitialUpdateWebhook # The error code associated with the webhook. attr_accessor :error - # The number of new, unfetched transactions available. + # The number of new transactions available. attr_accessor :new_transactions # The ID of the account. diff --git a/lib/plaid/models/processor_liabilities_get_request.rb b/lib/plaid/models/processor_liabilities_get_request.rb index 326b8fb26..16eff2da2 100644 --- a/lib/plaid/models/processor_liabilities_get_request.rb +++ b/lib/plaid/models/processor_liabilities_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_liabilities_get_response.rb b/lib/plaid/models/processor_liabilities_get_response.rb index 7fb514484..a0fa1637a 100644 --- a/lib/plaid/models/processor_liabilities_get_response.rb +++ b/lib/plaid/models/processor_liabilities_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_number.rb b/lib/plaid/models/processor_number.rb index e6c424dc1..f904058d5 100644 --- a/lib/plaid/models/processor_number.rb +++ b/lib/plaid/models/processor_number.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_recurring_transactions_update_webhook.rb b/lib/plaid/models/processor_recurring_transactions_update_webhook.rb index 5b3a3daf8..c62d32295 100644 --- a/lib/plaid/models/processor_recurring_transactions_update_webhook.rb +++ b/lib/plaid/models/processor_recurring_transactions_update_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_signal_decision_report_request.rb b/lib/plaid/models/processor_signal_decision_report_request.rb index 8f0724fa9..aef0ed7b7 100644 --- a/lib/plaid/models/processor_signal_decision_report_request.rb +++ b/lib/plaid/models/processor_signal_decision_report_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_signal_decision_report_response.rb b/lib/plaid/models/processor_signal_decision_report_response.rb index 8d49a1f8e..a268a1290 100644 --- a/lib/plaid/models/processor_signal_decision_report_response.rb +++ b/lib/plaid/models/processor_signal_decision_report_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_signal_evaluate_request.rb b/lib/plaid/models/processor_signal_evaluate_request.rb index 3f8c4a889..84be7e359 100644 --- a/lib/plaid/models/processor_signal_evaluate_request.rb +++ b/lib/plaid/models/processor_signal_evaluate_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -47,6 +47,9 @@ class ProcessorSignalEvaluateRequest attr_accessor :device + # The key of the Ruleset to use for this transaction. You can configure a Ruleset using the Signal dashboard located within the Plaid Dashboard. If not provided, no Ruleset will be used. This feature is currently in closed beta; to request access, contact your account manager. + attr_accessor :ruleset_key + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { @@ -60,7 +63,8 @@ def self.attribute_map :'is_recurring' => :'is_recurring', :'default_payment_method' => :'default_payment_method', :'user' => :'user', - :'device' => :'device' + :'device' => :'device', + :'ruleset_key' => :'ruleset_key' } end @@ -82,7 +86,8 @@ def self.openapi_types :'is_recurring' => :'Boolean', :'default_payment_method' => :'String', :'user' => :'SignalUser', - :'device' => :'SignalDevice' + :'device' => :'SignalDevice', + :'ruleset_key' => :'String' } end @@ -92,6 +97,7 @@ def self.openapi_nullable :'user_present', :'is_recurring', :'default_payment_method', + :'ruleset_key' ]) end @@ -153,6 +159,10 @@ def initialize(attributes = {}) if attributes.key?(:'device') self.device = attributes[:'device'] end + + if attributes.key?(:'ruleset_key') + self.ruleset_key = attributes[:'ruleset_key'] + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -228,7 +238,8 @@ def ==(o) is_recurring == o.is_recurring && default_payment_method == o.default_payment_method && user == o.user && - device == o.device + device == o.device && + ruleset_key == o.ruleset_key end # @see the `==` method @@ -240,7 +251,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [client_id, secret, processor_token, client_transaction_id, amount, user_present, client_user_id, is_recurring, default_payment_method, user, device].hash + [client_id, secret, processor_token, client_transaction_id, amount, user_present, client_user_id, is_recurring, default_payment_method, user, device, ruleset_key].hash end # Builds the object from hash diff --git a/lib/plaid/models/processor_signal_evaluate_response.rb b/lib/plaid/models/processor_signal_evaluate_response.rb index 629291660..e11eb4770 100644 --- a/lib/plaid/models/processor_signal_evaluate_response.rb +++ b/lib/plaid/models/processor_signal_evaluate_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -23,6 +23,8 @@ class ProcessorSignalEvaluateResponse attr_accessor :core_attributes + attr_accessor :ruleset + # If bank information was not available to be used in the Signal model, this array contains warnings describing why bank data is missing. If you want to receive an API error instead of Signal scores in the case of missing bank data, file a support ticket or contact your Plaid account manager. attr_accessor :warnings @@ -32,6 +34,7 @@ def self.attribute_map :'request_id' => :'request_id', :'scores' => :'scores', :'core_attributes' => :'core_attributes', + :'ruleset' => :'ruleset', :'warnings' => :'warnings' } end @@ -47,6 +50,7 @@ def self.openapi_types :'request_id' => :'String', :'scores' => :'SignalScores', :'core_attributes' => :'SignalEvaluateCoreAttributes', + :'ruleset' => :'Ruleset', :'warnings' => :'Array' } end @@ -54,6 +58,7 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'ruleset', ]) end @@ -84,6 +89,10 @@ def initialize(attributes = {}) self.core_attributes = attributes[:'core_attributes'] end + if attributes.key?(:'ruleset') + self.ruleset = attributes[:'ruleset'] + end + if attributes.key?(:'warnings') if (value = attributes[:'warnings']).is_a?(Array) self.warnings = value @@ -122,6 +131,7 @@ def ==(o) request_id == o.request_id && scores == o.scores && core_attributes == o.core_attributes && + ruleset == o.ruleset && warnings == o.warnings end @@ -134,7 +144,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [request_id, scores, core_attributes, warnings].hash + [request_id, scores, core_attributes, ruleset, warnings].hash end # Builds the object from hash diff --git a/lib/plaid/models/processor_signal_prepare_request.rb b/lib/plaid/models/processor_signal_prepare_request.rb index 339373faf..fa3ec400b 100644 --- a/lib/plaid/models/processor_signal_prepare_request.rb +++ b/lib/plaid/models/processor_signal_prepare_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_signal_prepare_response.rb b/lib/plaid/models/processor_signal_prepare_response.rb index 6f12bbc8e..6bc8de047 100644 --- a/lib/plaid/models/processor_signal_prepare_response.rb +++ b/lib/plaid/models/processor_signal_prepare_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_signal_return_report_request.rb b/lib/plaid/models/processor_signal_return_report_request.rb index 10dcf22b5..f35390527 100644 --- a/lib/plaid/models/processor_signal_return_report_request.rb +++ b/lib/plaid/models/processor_signal_return_report_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_signal_return_report_response.rb b/lib/plaid/models/processor_signal_return_report_response.rb index 9d294621e..f11702275 100644 --- a/lib/plaid/models/processor_signal_return_report_response.rb +++ b/lib/plaid/models/processor_signal_return_report_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_stripe_bank_account_token_create_request.rb b/lib/plaid/models/processor_stripe_bank_account_token_create_request.rb index bac98cf55..a0c150b41 100644 --- a/lib/plaid/models/processor_stripe_bank_account_token_create_request.rb +++ b/lib/plaid/models/processor_stripe_bank_account_token_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_stripe_bank_account_token_create_response.rb b/lib/plaid/models/processor_stripe_bank_account_token_create_response.rb index 481af4f66..d15f4150e 100644 --- a/lib/plaid/models/processor_stripe_bank_account_token_create_response.rb +++ b/lib/plaid/models/processor_stripe_bank_account_token_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_sync_updates_available_webhook.rb b/lib/plaid/models/processor_sync_updates_available_webhook.rb index 0b8a2c7c5..5dd3ec550 100644 --- a/lib/plaid/models/processor_sync_updates_available_webhook.rb +++ b/lib/plaid/models/processor_sync_updates_available_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_token_create_request.rb b/lib/plaid/models/processor_token_create_request.rb index d06dca598..ce8b3cf83 100644 --- a/lib/plaid/models/processor_token_create_request.rb +++ b/lib/plaid/models/processor_token_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -147,7 +147,7 @@ def valid? return false if @access_token.nil? return false if @account_id.nil? return false if @processor.nil? - processor_validator = EnumAttributeValidator.new('String', ["dwolla", "galileo", "modern_treasury", "ocrolus", "vesta", "drivewealth", "vopay", "achq", "check", "checkbook", "circle", "sila_money", "rize", "svb_api", "unit", "wyre", "lithic", "alpaca", "astra", "moov", "treasury_prime", "marqeta", "checkout", "solid", "highnote", "gemini", "apex_clearing", "gusto", "adyen", "atomic", "i2c", "wepay", "riskified", "utb", "adp_roll", "fortress_trust", "bond", "bakkt", "teal", "zero_hash", "taba_pay", "knot", "sardine", "alloy", "finix", "nuvei", "layer", "boom", "paynote"]) + processor_validator = EnumAttributeValidator.new('String', ["dwolla", "galileo", "modern_treasury", "ocrolus", "vesta", "drivewealth", "vopay", "achq", "check", "checkbook", "circle", "sila_money", "rize", "svb_api", "unit", "wyre", "lithic", "alpaca", "astra", "moov", "treasury_prime", "marqeta", "checkout", "solid", "highnote", "gemini", "apex_clearing", "gusto", "adyen", "atomic", "i2c", "wepay", "riskified", "utb", "adp_roll", "fortress_trust", "bond", "bakkt", "teal", "zero_hash", "taba_pay", "knot", "sardine", "alloy", "finix", "nuvei", "layer", "boom", "paynote", "stake", "wedbush", "esusu"]) return false unless processor_validator.valid?(@processor) true end @@ -155,7 +155,7 @@ def valid? # Custom attribute writer method checking allowed values (enum). # @param [Object] processor Object to be assigned def processor=(processor) - validator = EnumAttributeValidator.new('String', ["dwolla", "galileo", "modern_treasury", "ocrolus", "vesta", "drivewealth", "vopay", "achq", "check", "checkbook", "circle", "sila_money", "rize", "svb_api", "unit", "wyre", "lithic", "alpaca", "astra", "moov", "treasury_prime", "marqeta", "checkout", "solid", "highnote", "gemini", "apex_clearing", "gusto", "adyen", "atomic", "i2c", "wepay", "riskified", "utb", "adp_roll", "fortress_trust", "bond", "bakkt", "teal", "zero_hash", "taba_pay", "knot", "sardine", "alloy", "finix", "nuvei", "layer", "boom", "paynote"]) + validator = EnumAttributeValidator.new('String', ["dwolla", "galileo", "modern_treasury", "ocrolus", "vesta", "drivewealth", "vopay", "achq", "check", "checkbook", "circle", "sila_money", "rize", "svb_api", "unit", "wyre", "lithic", "alpaca", "astra", "moov", "treasury_prime", "marqeta", "checkout", "solid", "highnote", "gemini", "apex_clearing", "gusto", "adyen", "atomic", "i2c", "wepay", "riskified", "utb", "adp_roll", "fortress_trust", "bond", "bakkt", "teal", "zero_hash", "taba_pay", "knot", "sardine", "alloy", "finix", "nuvei", "layer", "boom", "paynote", "stake", "wedbush", "esusu"]) unless validator.valid?(processor) fail ArgumentError, "invalid value for \"processor\", must be one of #{validator.allowable_values}." end diff --git a/lib/plaid/models/processor_token_create_response.rb b/lib/plaid/models/processor_token_create_response.rb index 7f80961eb..c6f88e2d6 100644 --- a/lib/plaid/models/processor_token_create_response.rb +++ b/lib/plaid/models/processor_token_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_token_permissions_get_request.rb b/lib/plaid/models/processor_token_permissions_get_request.rb index 2fd0aeea0..aae16759d 100644 --- a/lib/plaid/models/processor_token_permissions_get_request.rb +++ b/lib/plaid/models/processor_token_permissions_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_token_permissions_get_response.rb b/lib/plaid/models/processor_token_permissions_get_response.rb index 06429c605..8aec3c5f1 100644 --- a/lib/plaid/models/processor_token_permissions_get_response.rb +++ b/lib/plaid/models/processor_token_permissions_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_token_permissions_set_request.rb b/lib/plaid/models/processor_token_permissions_set_request.rb index 5d59aea3d..6ce68227b 100644 --- a/lib/plaid/models/processor_token_permissions_set_request.rb +++ b/lib/plaid/models/processor_token_permissions_set_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_token_permissions_set_response.rb b/lib/plaid/models/processor_token_permissions_set_response.rb index dc6c3da44..36641e237 100644 --- a/lib/plaid/models/processor_token_permissions_set_response.rb +++ b/lib/plaid/models/processor_token_permissions_set_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_token_webhook_update.rb b/lib/plaid/models/processor_token_webhook_update.rb index f5fc94b33..0c4066cc1 100644 --- a/lib/plaid/models/processor_token_webhook_update.rb +++ b/lib/plaid/models/processor_token_webhook_update.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_token_webhook_update_request.rb b/lib/plaid/models/processor_token_webhook_update_request.rb index 09dd17430..1be483a69 100644 --- a/lib/plaid/models/processor_token_webhook_update_request.rb +++ b/lib/plaid/models/processor_token_webhook_update_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_token_webhook_update_response.rb b/lib/plaid/models/processor_token_webhook_update_response.rb index 83c8fdb70..563b08271 100644 --- a/lib/plaid/models/processor_token_webhook_update_response.rb +++ b/lib/plaid/models/processor_token_webhook_update_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_transactions_get_request.rb b/lib/plaid/models/processor_transactions_get_request.rb index d10d41c42..39b82cd7b 100644 --- a/lib/plaid/models/processor_transactions_get_request.rb +++ b/lib/plaid/models/processor_transactions_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_transactions_get_request_options.rb b/lib/plaid/models/processor_transactions_get_request_options.rb index c938f5af9..fc0835f94 100644 --- a/lib/plaid/models/processor_transactions_get_request_options.rb +++ b/lib/plaid/models/processor_transactions_get_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_transactions_get_response.rb b/lib/plaid/models/processor_transactions_get_response.rb index 7409bc43c..78c9741cc 100644 --- a/lib/plaid/models/processor_transactions_get_response.rb +++ b/lib/plaid/models/processor_transactions_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_transactions_recurring_get_request.rb b/lib/plaid/models/processor_transactions_recurring_get_request.rb index fa785d135..c407725c6 100644 --- a/lib/plaid/models/processor_transactions_recurring_get_request.rb +++ b/lib/plaid/models/processor_transactions_recurring_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_transactions_recurring_get_response.rb b/lib/plaid/models/processor_transactions_recurring_get_response.rb index 98f3ad260..229f3d9cc 100644 --- a/lib/plaid/models/processor_transactions_recurring_get_response.rb +++ b/lib/plaid/models/processor_transactions_recurring_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_transactions_refresh_request.rb b/lib/plaid/models/processor_transactions_refresh_request.rb index b56e7a78f..8279dddc7 100644 --- a/lib/plaid/models/processor_transactions_refresh_request.rb +++ b/lib/plaid/models/processor_transactions_refresh_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_transactions_refresh_response.rb b/lib/plaid/models/processor_transactions_refresh_response.rb index e125b2b01..650884028 100644 --- a/lib/plaid/models/processor_transactions_refresh_response.rb +++ b/lib/plaid/models/processor_transactions_refresh_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_transactions_removed_webhook.rb b/lib/plaid/models/processor_transactions_removed_webhook.rb index 23767fe81..8418be587 100644 --- a/lib/plaid/models/processor_transactions_removed_webhook.rb +++ b/lib/plaid/models/processor_transactions_removed_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_transactions_sync_request.rb b/lib/plaid/models/processor_transactions_sync_request.rb index 4d556599f..7486acb88 100644 --- a/lib/plaid/models/processor_transactions_sync_request.rb +++ b/lib/plaid/models/processor_transactions_sync_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_transactions_sync_response.rb b/lib/plaid/models/processor_transactions_sync_response.rb index 6b206a724..88466c6b3 100644 --- a/lib/plaid/models/processor_transactions_sync_response.rb +++ b/lib/plaid/models/processor_transactions_sync_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/product_access.rb b/lib/plaid/models/product_access.rb index 3c09a4cc6..dff6375a8 100644 --- a/lib/plaid/models/product_access.rb +++ b/lib/plaid/models/product_access.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/product_permissions_required_auth_webhook.rb b/lib/plaid/models/product_permissions_required_auth_webhook.rb index dabe0b68c..d1fd8f235 100644 --- a/lib/plaid/models/product_permissions_required_auth_webhook.rb +++ b/lib/plaid/models/product_permissions_required_auth_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/product_permissions_required_identity_webhook.rb b/lib/plaid/models/product_permissions_required_identity_webhook.rb index d641ebeb6..46857c8d0 100644 --- a/lib/plaid/models/product_permissions_required_identity_webhook.rb +++ b/lib/plaid/models/product_permissions_required_identity_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/product_status.rb b/lib/plaid/models/product_status.rb index 013be1f8e..fb433102c 100644 --- a/lib/plaid/models/product_status.rb +++ b/lib/plaid/models/product_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/product_status_breakdown.rb b/lib/plaid/models/product_status_breakdown.rb index d33d95c9e..73d140c02 100644 --- a/lib/plaid/models/product_status_breakdown.rb +++ b/lib/plaid/models/product_status_breakdown.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -25,7 +25,7 @@ class ProductStatusBreakdown # The percentage of logins that are failing due to an issue in the institution's system, expressed as a decimal. attr_accessor :error_institution - # The `refresh_interval` may be `DELAYED` or `STOPPED` even when the success rate is high. This value is only returned for Transactions status breakdowns. + # How frequently data for subscription products like Investments, Transactions, and Liabilities, is being refreshed, relative to the institution's normal scheduling. The `refresh_interval` may be `DELAYED` or `STOPPED` even when the success rate is high. attr_accessor :refresh_interval class EnumAttributeValidator diff --git a/lib/plaid/models/products.rb b/lib/plaid/models/products.rb index 4c1bb5a0b..cddb91e77 100644 --- a/lib/plaid/models/products.rb +++ b/lib/plaid/models/products.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -44,6 +44,7 @@ class Products CRA_BASE_REPORT = "cra_base_report".freeze CRA_INCOME_INSIGHTS = "cra_income_insights".freeze CRA_PARTNER_INSIGHTS = "cra_partner_insights".freeze + CRA_CASHFLOW_INSIGHTS = "cra_cashflow_insights".freeze LAYER = "layer".freeze # Builds the enum from string diff --git a/lib/plaid/models/profile_get_request.rb b/lib/plaid/models/profile_get_request.rb index bf5e81c8a..5d344ad14 100644 --- a/lib/plaid/models/profile_get_request.rb +++ b/lib/plaid/models/profile_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/profile_get_response.rb b/lib/plaid/models/profile_get_response.rb index a26d5c131..473055111 100644 --- a/lib/plaid/models/profile_get_response.rb +++ b/lib/plaid/models/profile_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/profile_identity.rb b/lib/plaid/models/profile_identity.rb index e9b6594fb..fb04f5c53 100644 --- a/lib/plaid/models/profile_identity.rb +++ b/lib/plaid/models/profile_identity.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/profile_identity_address.rb b/lib/plaid/models/profile_identity_address.rb index fb77ca5d0..038ff858a 100644 --- a/lib/plaid/models/profile_identity_address.rb +++ b/lib/plaid/models/profile_identity_address.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/profile_identity_name.rb b/lib/plaid/models/profile_identity_name.rb index 626058af0..9fd5df60c 100644 --- a/lib/plaid/models/profile_identity_name.rb +++ b/lib/plaid/models/profile_identity_name.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/profile_item.rb b/lib/plaid/models/profile_item.rb index e859c8a2f..c09f050bc 100644 --- a/lib/plaid/models/profile_item.rb +++ b/lib/plaid/models/profile_item.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/profile_network_status_get_network_status.rb b/lib/plaid/models/profile_network_status_get_network_status.rb new file mode 100644 index 000000000..313477f38 --- /dev/null +++ b/lib/plaid/models/profile_network_status_get_network_status.rb @@ -0,0 +1,39 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + class ProfileNetworkStatusGetNetworkStatus + UNKNOWN = "UNKNOWN".freeze + RETURNING_USER = "RETURNING_USER".freeze + + # Builds the enum from string + # @param [String] The enum value in the form of the string + # @return [String] The enum value + def self.build_from_hash(value) + new.build_from_hash(value) + end + + # Builds the enum from string + # @param [String] The enum value in the form of the string + # @return [String] The enum value + def build_from_hash(value) + # We do not validate that the value is one of the enums set in the OpenAPI + # file because we want to be able to add to our list of enums without + # breaking this client library. + value + end + end + +end diff --git a/lib/plaid/models/profile_network_status_get_request.rb b/lib/plaid/models/profile_network_status_get_request.rb new file mode 100644 index 000000000..61dfe1549 --- /dev/null +++ b/lib/plaid/models/profile_network_status_get_request.rb @@ -0,0 +1,245 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # ProfileNetworkStatusGetRequest defines the request schema for `/profile/network_status/get` + class ProfileNetworkStatusGetRequest + # Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body. + attr_accessor :client_id + + # Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body. + attr_accessor :secret + + attr_accessor :user + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'client_id' => :'client_id', + :'secret' => :'secret', + :'user' => :'user' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'client_id' => :'String', + :'secret' => :'String', + :'user' => :'ProfileNetworkStatusGetUser' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::ProfileNetworkStatusGetRequest` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::ProfileNetworkStatusGetRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'client_id') + self.client_id = attributes[:'client_id'] + end + + if attributes.key?(:'secret') + self.secret = attributes[:'secret'] + end + + if attributes.key?(:'user') + self.user = attributes[:'user'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @user.nil? + invalid_properties.push('invalid value for "user", user cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @user.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + client_id == o.client_id && + secret == o.secret && + user == o.user + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [client_id, secret, user].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/profile_network_status_get_response.rb b/lib/plaid/models/profile_network_status_get_response.rb new file mode 100644 index 000000000..3e99d63cc --- /dev/null +++ b/lib/plaid/models/profile_network_status_get_response.rb @@ -0,0 +1,262 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # ProfileNetworkStatusGetResponse defines the response schema for `/profile/network_status/get` + class ProfileNetworkStatusGetResponse + attr_accessor :network_status + + # A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive. + attr_accessor :request_id + + class EnumAttributeValidator + attr_reader :datatype + attr_reader :allowable_values + + def initialize(datatype, allowable_values) + @allowable_values = allowable_values.map do |value| + case datatype.to_s + when /Integer/i + value.to_i + when /Float/i + value.to_f + else + value + end + end + end + + def valid?(value) + !value || allowable_values.include?(value) + end + end + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'network_status' => :'network_status', + :'request_id' => :'request_id' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'network_status' => :'ProfileNetworkStatusGetNetworkStatus', + :'request_id' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::ProfileNetworkStatusGetResponse` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::ProfileNetworkStatusGetResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'network_status') + self.network_status = attributes[:'network_status'] + end + + if attributes.key?(:'request_id') + self.request_id = attributes[:'request_id'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @network_status.nil? + invalid_properties.push('invalid value for "network_status", network_status cannot be nil.') + end + + if @request_id.nil? + invalid_properties.push('invalid value for "request_id", request_id cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @network_status.nil? + return false if @request_id.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + network_status == o.network_status && + request_id == o.request_id + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [network_status, request_id].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/profile_network_status_get_user.rb b/lib/plaid/models/profile_network_status_get_user.rb new file mode 100644 index 000000000..5e534b1d5 --- /dev/null +++ b/lib/plaid/models/profile_network_status_get_user.rb @@ -0,0 +1,226 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # An object specifying information about the end user for the network status check + class ProfileNetworkStatusGetUser + # The user's phone number in [E.164](https://en.wikipedia.org/wiki/E.164) format + attr_accessor :phone_number + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'phone_number' => :'phone_number' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'phone_number' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::ProfileNetworkStatusGetUser` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::ProfileNetworkStatusGetUser`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'phone_number') + self.phone_number = attributes[:'phone_number'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @phone_number.nil? + invalid_properties.push('invalid value for "phone_number", phone_number cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @phone_number.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + phone_number == o.phone_number + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [phone_number].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/program_name_sensitivity.rb b/lib/plaid/models/program_name_sensitivity.rb index b298b61c6..2a4c80483 100644 --- a/lib/plaid/models/program_name_sensitivity.rb +++ b/lib/plaid/models/program_name_sensitivity.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/projected_income_summary_field_number.rb b/lib/plaid/models/projected_income_summary_field_number.rb index 3687edfb2..31fbc87ef 100644 --- a/lib/plaid/models/projected_income_summary_field_number.rb +++ b/lib/plaid/models/projected_income_summary_field_number.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/proxy_type.rb b/lib/plaid/models/proxy_type.rb index f4d203c66..a4e111734 100644 --- a/lib/plaid/models/proxy_type.rb +++ b/lib/plaid/models/proxy_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/pslf_status.rb b/lib/plaid/models/pslf_status.rb index 510fe2d5b..9ce68c666 100644 --- a/lib/plaid/models/pslf_status.rb +++ b/lib/plaid/models/pslf_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,7 +14,7 @@ require 'time' module Plaid - # Information about the student's eligibility in the Public Service Loan Forgiveness program. This is only returned if the institution is FedLoan (`ins_116527`). + # Information about the student's eligibility in the Public Service Loan Forgiveness program. This is only returned if the institution is FedLoan (`ins_116527`). Since FedLoan no longer services student loans, this field is no longer returned. class PSLFStatus # The estimated date borrower will have completed 120 qualifying monthly payments. Returned in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (YYYY-MM-DD). attr_accessor :estimated_eligibility_date diff --git a/lib/plaid/models/recaptcha_required_error.rb b/lib/plaid/models/recaptcha_required_error.rb index b9fa89932..8defc3b81 100644 --- a/lib/plaid/models/recaptcha_required_error.rb +++ b/lib/plaid/models/recaptcha_required_error.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/recipient_bacs.rb b/lib/plaid/models/recipient_bacs.rb index 305ced7ee..4335413bc 100644 --- a/lib/plaid/models/recipient_bacs.rb +++ b/lib/plaid/models/recipient_bacs.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/recipient_bacs_nullable.rb b/lib/plaid/models/recipient_bacs_nullable.rb index 7f87ff33f..67dace901 100644 --- a/lib/plaid/models/recipient_bacs_nullable.rb +++ b/lib/plaid/models/recipient_bacs_nullable.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/recurrence.rb b/lib/plaid/models/recurrence.rb index 61241d8d1..6a71ada55 100644 --- a/lib/plaid/models/recurrence.rb +++ b/lib/plaid/models/recurrence.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/recurring_cancelled_webhook.rb b/lib/plaid/models/recurring_cancelled_webhook.rb index e5c6d294f..63bedd613 100644 --- a/lib/plaid/models/recurring_cancelled_webhook.rb +++ b/lib/plaid/models/recurring_cancelled_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/recurring_frequency.rb b/lib/plaid/models/recurring_frequency.rb index b8c179a3f..a28ecc75e 100644 --- a/lib/plaid/models/recurring_frequency.rb +++ b/lib/plaid/models/recurring_frequency.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/recurring_insights_stream.rb b/lib/plaid/models/recurring_insights_stream.rb index 4af69c2a3..8f426671f 100644 --- a/lib/plaid/models/recurring_insights_stream.rb +++ b/lib/plaid/models/recurring_insights_stream.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/recurring_new_transfer_webhook.rb b/lib/plaid/models/recurring_new_transfer_webhook.rb index 4a1d1e952..9397440f6 100644 --- a/lib/plaid/models/recurring_new_transfer_webhook.rb +++ b/lib/plaid/models/recurring_new_transfer_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/recurring_transaction_frequency.rb b/lib/plaid/models/recurring_transaction_frequency.rb index 674e550bd..417315f6f 100644 --- a/lib/plaid/models/recurring_transaction_frequency.rb +++ b/lib/plaid/models/recurring_transaction_frequency.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/recurring_transactions.rb b/lib/plaid/models/recurring_transactions.rb index fac64b216..2fc327a94 100644 --- a/lib/plaid/models/recurring_transactions.rb +++ b/lib/plaid/models/recurring_transactions.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/recurring_transactions_update_webhook.rb b/lib/plaid/models/recurring_transactions_update_webhook.rb index 89ddabf9d..fcf1c0266 100644 --- a/lib/plaid/models/recurring_transactions_update_webhook.rb +++ b/lib/plaid/models/recurring_transactions_update_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/recurring_transfer.rb b/lib/plaid/models/recurring_transfer.rb index 04330c6a6..2d5828602 100644 --- a/lib/plaid/models/recurring_transfer.rb +++ b/lib/plaid/models/recurring_transfer.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/recurring_transfer_nullable.rb b/lib/plaid/models/recurring_transfer_nullable.rb index bbbfdf9e7..82e4685e9 100644 --- a/lib/plaid/models/recurring_transfer_nullable.rb +++ b/lib/plaid/models/recurring_transfer_nullable.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/recurring_transfer_skipped_webhook.rb b/lib/plaid/models/recurring_transfer_skipped_webhook.rb index f146c0656..cbe377845 100644 --- a/lib/plaid/models/recurring_transfer_skipped_webhook.rb +++ b/lib/plaid/models/recurring_transfer_skipped_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/removed_transaction.rb b/lib/plaid/models/removed_transaction.rb index 91cfad44a..46ebfb0cf 100644 --- a/lib/plaid/models/removed_transaction.rb +++ b/lib/plaid/models/removed_transaction.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/report_type.rb b/lib/plaid/models/report_type.rb index 2396c823b..50c7cc822 100644 --- a/lib/plaid/models/report_type.rb +++ b/lib/plaid/models/report_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/reporting_information.rb b/lib/plaid/models/reporting_information.rb index ee2261790..47642e06f 100644 --- a/lib/plaid/models/reporting_information.rb +++ b/lib/plaid/models/reporting_information.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/risk_check_behavior.rb b/lib/plaid/models/risk_check_behavior.rb index e979bb54d..3a9db8214 100644 --- a/lib/plaid/models/risk_check_behavior.rb +++ b/lib/plaid/models/risk_check_behavior.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/risk_check_behavior_bot_detected_label.rb b/lib/plaid/models/risk_check_behavior_bot_detected_label.rb index ad6c0c0ad..9ccb3405c 100644 --- a/lib/plaid/models/risk_check_behavior_bot_detected_label.rb +++ b/lib/plaid/models/risk_check_behavior_bot_detected_label.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/risk_check_behavior_fraud_ring_detected_label.rb b/lib/plaid/models/risk_check_behavior_fraud_ring_detected_label.rb index b05d97f7b..6989c0f1f 100644 --- a/lib/plaid/models/risk_check_behavior_fraud_ring_detected_label.rb +++ b/lib/plaid/models/risk_check_behavior_fraud_ring_detected_label.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/risk_check_behavior_user_interactions_label.rb b/lib/plaid/models/risk_check_behavior_user_interactions_label.rb index c7b308326..fafaa7170 100644 --- a/lib/plaid/models/risk_check_behavior_user_interactions_label.rb +++ b/lib/plaid/models/risk_check_behavior_user_interactions_label.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/risk_check_details.rb b/lib/plaid/models/risk_check_details.rb index 555e27804..41cad12e5 100644 --- a/lib/plaid/models/risk_check_details.rb +++ b/lib/plaid/models/risk_check_details.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/risk_check_device.rb b/lib/plaid/models/risk_check_device.rb index 6ee203d06..a196a7e8d 100644 --- a/lib/plaid/models/risk_check_device.rb +++ b/lib/plaid/models/risk_check_device.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/risk_check_email.rb b/lib/plaid/models/risk_check_email.rb index a56d8d4b2..b0efdd220 100644 --- a/lib/plaid/models/risk_check_email.rb +++ b/lib/plaid/models/risk_check_email.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/risk_check_email_domain_is_custom.rb b/lib/plaid/models/risk_check_email_domain_is_custom.rb index 88a9eb959..b31028265 100644 --- a/lib/plaid/models/risk_check_email_domain_is_custom.rb +++ b/lib/plaid/models/risk_check_email_domain_is_custom.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/risk_check_email_domain_is_disposable.rb b/lib/plaid/models/risk_check_email_domain_is_disposable.rb index 84f713a7b..306777d17 100644 --- a/lib/plaid/models/risk_check_email_domain_is_disposable.rb +++ b/lib/plaid/models/risk_check_email_domain_is_disposable.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/risk_check_email_domain_is_free_provider.rb b/lib/plaid/models/risk_check_email_domain_is_free_provider.rb index 08007cf3a..5cacb8d6c 100644 --- a/lib/plaid/models/risk_check_email_domain_is_free_provider.rb +++ b/lib/plaid/models/risk_check_email_domain_is_free_provider.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/risk_check_email_is_deliverable_status.rb b/lib/plaid/models/risk_check_email_is_deliverable_status.rb index 13b9913b9..658acd5ab 100644 --- a/lib/plaid/models/risk_check_email_is_deliverable_status.rb +++ b/lib/plaid/models/risk_check_email_is_deliverable_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/risk_check_email_top_level_domain_is_suspicious.rb b/lib/plaid/models/risk_check_email_top_level_domain_is_suspicious.rb index 1881b8e3b..14166a9a0 100644 --- a/lib/plaid/models/risk_check_email_top_level_domain_is_suspicious.rb +++ b/lib/plaid/models/risk_check_email_top_level_domain_is_suspicious.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/risk_check_identity_abuse_signals.rb b/lib/plaid/models/risk_check_identity_abuse_signals.rb index f8989f19b..aa9acca99 100644 --- a/lib/plaid/models/risk_check_identity_abuse_signals.rb +++ b/lib/plaid/models/risk_check_identity_abuse_signals.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/risk_check_linked_service.rb b/lib/plaid/models/risk_check_linked_service.rb index 1afd0593e..3a20c1ff9 100644 --- a/lib/plaid/models/risk_check_linked_service.rb +++ b/lib/plaid/models/risk_check_linked_service.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/risk_check_phone.rb b/lib/plaid/models/risk_check_phone.rb index 05328157f..7afe6660d 100644 --- a/lib/plaid/models/risk_check_phone.rb +++ b/lib/plaid/models/risk_check_phone.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/risk_check_stolen_identity.rb b/lib/plaid/models/risk_check_stolen_identity.rb index e384faeab..34aeaf865 100644 --- a/lib/plaid/models/risk_check_stolen_identity.rb +++ b/lib/plaid/models/risk_check_stolen_identity.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/risk_check_synthetic_identity.rb b/lib/plaid/models/risk_check_synthetic_identity.rb index dfbd372ce..da2ad8b25 100644 --- a/lib/plaid/models/risk_check_synthetic_identity.rb +++ b/lib/plaid/models/risk_check_synthetic_identity.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/risk_profile.rb b/lib/plaid/models/risk_profile.rb index 09ffb2a18..cd7578a13 100644 --- a/lib/plaid/models/risk_profile.rb +++ b/lib/plaid/models/risk_profile.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/risk_reason.rb b/lib/plaid/models/risk_reason.rb index 2b7b895f6..3d3affc47 100644 --- a/lib/plaid/models/risk_reason.rb +++ b/lib/plaid/models/risk_reason.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/risk_signal_document_reference.rb b/lib/plaid/models/risk_signal_document_reference.rb index 1afb1f7d5..774240c5a 100644 --- a/lib/plaid/models/risk_signal_document_reference.rb +++ b/lib/plaid/models/risk_signal_document_reference.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -26,6 +26,8 @@ class RiskSignalDocumentReference attr_accessor :document_type + attr_accessor :file_type + class EnumAttributeValidator attr_reader :datatype attr_reader :allowable_values @@ -54,7 +56,8 @@ def self.attribute_map :'document_id' => :'document_id', :'document_name' => :'document_name', :'status' => :'status', - :'document_type' => :'document_type' + :'document_type' => :'document_type', + :'file_type' => :'file_type' } end @@ -69,7 +72,8 @@ def self.openapi_types :'document_id' => :'String', :'document_name' => :'String', :'status' => :'RiskSignalDocumentStatus', - :'document_type' => :'RiskSignalDocumentType' + :'document_type' => :'RiskSignalDocumentType', + :'file_type' => :'RiskSignalFileType' } end @@ -77,7 +81,8 @@ def self.openapi_types def self.openapi_nullable Set.new([ :'document_id', - :'document_type' + :'document_type', + :'file_type' ]) end @@ -111,6 +116,10 @@ def initialize(attributes = {}) if attributes.key?(:'document_type') self.document_type = attributes[:'document_type'] end + + if attributes.key?(:'file_type') + self.file_type = attributes[:'file_type'] + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -134,7 +143,8 @@ def ==(o) document_id == o.document_id && document_name == o.document_name && status == o.status && - document_type == o.document_type + document_type == o.document_type && + file_type == o.file_type end # @see the `==` method @@ -146,7 +156,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [document_id, document_name, status, document_type].hash + [document_id, document_name, status, document_type, file_type].hash end # Builds the object from hash diff --git a/lib/plaid/models/risk_signal_document_status.rb b/lib/plaid/models/risk_signal_document_status.rb index 6cd8225c4..b21025588 100644 --- a/lib/plaid/models/risk_signal_document_status.rb +++ b/lib/plaid/models/risk_signal_document_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/risk_signal_document_type.rb b/lib/plaid/models/risk_signal_document_type.rb index 6ff24ba5b..43c28c94d 100644 --- a/lib/plaid/models/risk_signal_document_type.rb +++ b/lib/plaid/models/risk_signal_document_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/risk_signal_file_type.rb b/lib/plaid/models/risk_signal_file_type.rb new file mode 100644 index 000000000..fa64170b1 --- /dev/null +++ b/lib/plaid/models/risk_signal_file_type.rb @@ -0,0 +1,45 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + class RiskSignalFileType + UNKNOWN = "UNKNOWN".freeze + IMAGE_PDF = "IMAGE_PDF".freeze + SCAN_OCR = "SCAN_OCR".freeze + TRUE_PDF = "TRUE_PDF".freeze + IMAGE = "IMAGE".freeze + MIXED_PAGE_PDF = "MIXED_PAGE_PDF".freeze + EMPTY_PDF = "EMPTY_PDF".freeze + FLATTENED_PDF = "FLATTENED_PDF".freeze + + # Builds the enum from string + # @param [String] The enum value in the form of the string + # @return [String] The enum value + def self.build_from_hash(value) + new.build_from_hash(value) + end + + # Builds the enum from string + # @param [String] The enum value in the form of the string + # @return [String] The enum value + def build_from_hash(value) + # We do not validate that the value is one of the enums set in the OpenAPI + # file because we want to be able to add to our list of enums without + # breaking this client library. + value + end + end + +end diff --git a/lib/plaid/models/role.rb b/lib/plaid/models/role.rb index b93ae74d7..113497ec4 100644 --- a/lib/plaid/models/role.rb +++ b/lib/plaid/models/role.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/role_detail.rb b/lib/plaid/models/role_detail.rb index 4addf51cd..5c0974259 100644 --- a/lib/plaid/models/role_detail.rb +++ b/lib/plaid/models/role_detail.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/roles.rb b/lib/plaid/models/roles.rb index f3e10cc5b..1813a45f5 100644 --- a/lib/plaid/models/roles.rb +++ b/lib/plaid/models/roles.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/ruleset.rb b/lib/plaid/models/ruleset.rb index 31939bae6..463ebdc01 100644 --- a/lib/plaid/models/ruleset.rb +++ b/lib/plaid/models/ruleset.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_bank_income_fire_webhook_request.rb b/lib/plaid/models/sandbox_bank_income_fire_webhook_request.rb index c450d2fc9..05cb98839 100644 --- a/lib/plaid/models/sandbox_bank_income_fire_webhook_request.rb +++ b/lib/plaid/models/sandbox_bank_income_fire_webhook_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_bank_income_fire_webhook_response.rb b/lib/plaid/models/sandbox_bank_income_fire_webhook_response.rb index 06b83ada3..076ef8db8 100644 --- a/lib/plaid/models/sandbox_bank_income_fire_webhook_response.rb +++ b/lib/plaid/models/sandbox_bank_income_fire_webhook_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_bank_income_webhook_fire_request_webhook_code.rb b/lib/plaid/models/sandbox_bank_income_webhook_fire_request_webhook_code.rb index 14d173272..00771e7cb 100644 --- a/lib/plaid/models/sandbox_bank_income_webhook_fire_request_webhook_code.rb +++ b/lib/plaid/models/sandbox_bank_income_webhook_fire_request_webhook_code.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_bank_income_webhook_fire_request_webhook_fields.rb b/lib/plaid/models/sandbox_bank_income_webhook_fire_request_webhook_fields.rb index a5b966ff5..896ff4919 100644 --- a/lib/plaid/models/sandbox_bank_income_webhook_fire_request_webhook_fields.rb +++ b/lib/plaid/models/sandbox_bank_income_webhook_fire_request_webhook_fields.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_bank_transfer_fire_webhook_request.rb b/lib/plaid/models/sandbox_bank_transfer_fire_webhook_request.rb index 7459a50ce..5884221b1 100644 --- a/lib/plaid/models/sandbox_bank_transfer_fire_webhook_request.rb +++ b/lib/plaid/models/sandbox_bank_transfer_fire_webhook_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_bank_transfer_fire_webhook_response.rb b/lib/plaid/models/sandbox_bank_transfer_fire_webhook_response.rb index 39ffa6628..c7c044017 100644 --- a/lib/plaid/models/sandbox_bank_transfer_fire_webhook_response.rb +++ b/lib/plaid/models/sandbox_bank_transfer_fire_webhook_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_bank_transfer_simulate_request.rb b/lib/plaid/models/sandbox_bank_transfer_simulate_request.rb index 972f3fc1c..243121040 100644 --- a/lib/plaid/models/sandbox_bank_transfer_simulate_request.rb +++ b/lib/plaid/models/sandbox_bank_transfer_simulate_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_bank_transfer_simulate_response.rb b/lib/plaid/models/sandbox_bank_transfer_simulate_response.rb index 3fa939d3c..fac607ce0 100644 --- a/lib/plaid/models/sandbox_bank_transfer_simulate_response.rb +++ b/lib/plaid/models/sandbox_bank_transfer_simulate_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_income_fire_webhook_request.rb b/lib/plaid/models/sandbox_income_fire_webhook_request.rb index 5dbdd592a..6f0425e6b 100644 --- a/lib/plaid/models/sandbox_income_fire_webhook_request.rb +++ b/lib/plaid/models/sandbox_income_fire_webhook_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_income_fire_webhook_response.rb b/lib/plaid/models/sandbox_income_fire_webhook_response.rb index b1ed9eda9..4c181ff8d 100644 --- a/lib/plaid/models/sandbox_income_fire_webhook_response.rb +++ b/lib/plaid/models/sandbox_income_fire_webhook_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_income_webhook_fire_request_webhook_code.rb b/lib/plaid/models/sandbox_income_webhook_fire_request_webhook_code.rb index 1b12b5285..42a717535 100644 --- a/lib/plaid/models/sandbox_income_webhook_fire_request_webhook_code.rb +++ b/lib/plaid/models/sandbox_income_webhook_fire_request_webhook_code.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_item_fire_webhook_request.rb b/lib/plaid/models/sandbox_item_fire_webhook_request.rb index f0e55c019..cb71dcd20 100644 --- a/lib/plaid/models/sandbox_item_fire_webhook_request.rb +++ b/lib/plaid/models/sandbox_item_fire_webhook_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -141,7 +141,7 @@ def list_invalid_properties def valid? return false if @access_token.nil? return false if @webhook_code.nil? - webhook_code_validator = EnumAttributeValidator.new('String', ["DEFAULT_UPDATE", "NEW_ACCOUNTS_AVAILABLE", "SMS_MICRODEPOSITS_VERIFICATION", "AUTHORIZATION_GRANTED", "RECURRING_TRANSACTIONS_UPDATE", "SYNC_UPDATES_AVAILABLE", "PRODUCT_READY", "ERROR"]) + webhook_code_validator = EnumAttributeValidator.new('String', ["DEFAULT_UPDATE", "NEW_ACCOUNTS_AVAILABLE", "SMS_MICRODEPOSITS_VERIFICATION", "AUTHORIZATION_GRANTED", "RECURRING_TRANSACTIONS_UPDATE", "LOGIN_REPAIRED", "SYNC_UPDATES_AVAILABLE", "PRODUCT_READY", "ERROR"]) return false unless webhook_code_validator.valid?(@webhook_code) true end @@ -149,7 +149,7 @@ def valid? # Custom attribute writer method checking allowed values (enum). # @param [Object] webhook_code Object to be assigned def webhook_code=(webhook_code) - validator = EnumAttributeValidator.new('String', ["DEFAULT_UPDATE", "NEW_ACCOUNTS_AVAILABLE", "SMS_MICRODEPOSITS_VERIFICATION", "AUTHORIZATION_GRANTED", "RECURRING_TRANSACTIONS_UPDATE", "SYNC_UPDATES_AVAILABLE", "PRODUCT_READY", "ERROR"]) + validator = EnumAttributeValidator.new('String', ["DEFAULT_UPDATE", "NEW_ACCOUNTS_AVAILABLE", "SMS_MICRODEPOSITS_VERIFICATION", "AUTHORIZATION_GRANTED", "RECURRING_TRANSACTIONS_UPDATE", "LOGIN_REPAIRED", "SYNC_UPDATES_AVAILABLE", "PRODUCT_READY", "ERROR"]) unless validator.valid?(webhook_code) fail ArgumentError, "invalid value for \"webhook_code\", must be one of #{validator.allowable_values}." end diff --git a/lib/plaid/models/sandbox_item_fire_webhook_response.rb b/lib/plaid/models/sandbox_item_fire_webhook_response.rb index 7f3467943..a9db979be 100644 --- a/lib/plaid/models/sandbox_item_fire_webhook_response.rb +++ b/lib/plaid/models/sandbox_item_fire_webhook_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_item_reset_login_request.rb b/lib/plaid/models/sandbox_item_reset_login_request.rb index 4a134347f..e42155e1b 100644 --- a/lib/plaid/models/sandbox_item_reset_login_request.rb +++ b/lib/plaid/models/sandbox_item_reset_login_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_item_reset_login_response.rb b/lib/plaid/models/sandbox_item_reset_login_response.rb index 075985801..06277d8cb 100644 --- a/lib/plaid/models/sandbox_item_reset_login_response.rb +++ b/lib/plaid/models/sandbox_item_reset_login_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_item_set_verification_status_request.rb b/lib/plaid/models/sandbox_item_set_verification_status_request.rb index 937c0642a..9eda2e442 100644 --- a/lib/plaid/models/sandbox_item_set_verification_status_request.rb +++ b/lib/plaid/models/sandbox_item_set_verification_status_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_item_set_verification_status_response.rb b/lib/plaid/models/sandbox_item_set_verification_status_response.rb index 276ba4c01..54bd3ac25 100644 --- a/lib/plaid/models/sandbox_item_set_verification_status_response.rb +++ b/lib/plaid/models/sandbox_item_set_verification_status_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_oauth_select_accounts_request.rb b/lib/plaid/models/sandbox_oauth_select_accounts_request.rb index 12748541e..1fc41885c 100644 --- a/lib/plaid/models/sandbox_oauth_select_accounts_request.rb +++ b/lib/plaid/models/sandbox_oauth_select_accounts_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_payment_profile_reset_login_request.rb b/lib/plaid/models/sandbox_payment_profile_reset_login_request.rb index aa4be4f80..56496ab2e 100644 --- a/lib/plaid/models/sandbox_payment_profile_reset_login_request.rb +++ b/lib/plaid/models/sandbox_payment_profile_reset_login_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_payment_profile_reset_login_response.rb b/lib/plaid/models/sandbox_payment_profile_reset_login_response.rb index 508172f37..fc22e8192 100644 --- a/lib/plaid/models/sandbox_payment_profile_reset_login_response.rb +++ b/lib/plaid/models/sandbox_payment_profile_reset_login_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_processor_token_create_request.rb b/lib/plaid/models/sandbox_processor_token_create_request.rb index 8a6cd3bee..c68882bfd 100644 --- a/lib/plaid/models/sandbox_processor_token_create_request.rb +++ b/lib/plaid/models/sandbox_processor_token_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_processor_token_create_request_options.rb b/lib/plaid/models/sandbox_processor_token_create_request_options.rb index 2ffd43200..8eeec1e85 100644 --- a/lib/plaid/models/sandbox_processor_token_create_request_options.rb +++ b/lib/plaid/models/sandbox_processor_token_create_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_processor_token_create_response.rb b/lib/plaid/models/sandbox_processor_token_create_response.rb index 45f0f4ce7..c60abebc5 100644 --- a/lib/plaid/models/sandbox_processor_token_create_response.rb +++ b/lib/plaid/models/sandbox_processor_token_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_public_token_create_request.rb b/lib/plaid/models/sandbox_public_token_create_request.rb index 2d1aa0421..30b19af7d 100644 --- a/lib/plaid/models/sandbox_public_token_create_request.rb +++ b/lib/plaid/models/sandbox_public_token_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_public_token_create_request_income_verification_bank_income.rb b/lib/plaid/models/sandbox_public_token_create_request_income_verification_bank_income.rb index 6dc1db2a5..aab8a7cf4 100644 --- a/lib/plaid/models/sandbox_public_token_create_request_income_verification_bank_income.rb +++ b/lib/plaid/models/sandbox_public_token_create_request_income_verification_bank_income.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_public_token_create_request_options.rb b/lib/plaid/models/sandbox_public_token_create_request_options.rb index 981f73a3e..5ea861c1e 100644 --- a/lib/plaid/models/sandbox_public_token_create_request_options.rb +++ b/lib/plaid/models/sandbox_public_token_create_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_public_token_create_request_options_income_verification.rb b/lib/plaid/models/sandbox_public_token_create_request_options_income_verification.rb index 876d7f288..38739681b 100644 --- a/lib/plaid/models/sandbox_public_token_create_request_options_income_verification.rb +++ b/lib/plaid/models/sandbox_public_token_create_request_options_income_verification.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_public_token_create_request_options_statements.rb b/lib/plaid/models/sandbox_public_token_create_request_options_statements.rb index 28e7ba0fe..854086483 100644 --- a/lib/plaid/models/sandbox_public_token_create_request_options_statements.rb +++ b/lib/plaid/models/sandbox_public_token_create_request_options_statements.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_public_token_create_request_options_transactions.rb b/lib/plaid/models/sandbox_public_token_create_request_options_transactions.rb index 50748e9e8..2d3f725be 100644 --- a/lib/plaid/models/sandbox_public_token_create_request_options_transactions.rb +++ b/lib/plaid/models/sandbox_public_token_create_request_options_transactions.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_public_token_create_response.rb b/lib/plaid/models/sandbox_public_token_create_response.rb index bfcaf04fd..42c1bdfcc 100644 --- a/lib/plaid/models/sandbox_public_token_create_response.rb +++ b/lib/plaid/models/sandbox_public_token_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_transfer_fire_webhook_request.rb b/lib/plaid/models/sandbox_transfer_fire_webhook_request.rb index a607b3e84..9faadcfba 100644 --- a/lib/plaid/models/sandbox_transfer_fire_webhook_request.rb +++ b/lib/plaid/models/sandbox_transfer_fire_webhook_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_transfer_fire_webhook_response.rb b/lib/plaid/models/sandbox_transfer_fire_webhook_response.rb index 043980d82..378e1b3cb 100644 --- a/lib/plaid/models/sandbox_transfer_fire_webhook_response.rb +++ b/lib/plaid/models/sandbox_transfer_fire_webhook_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_transfer_ledger_deposit_simulate_request.rb b/lib/plaid/models/sandbox_transfer_ledger_deposit_simulate_request.rb index 51b8ec511..820f2d9a6 100644 --- a/lib/plaid/models/sandbox_transfer_ledger_deposit_simulate_request.rb +++ b/lib/plaid/models/sandbox_transfer_ledger_deposit_simulate_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_transfer_ledger_deposit_simulate_response.rb b/lib/plaid/models/sandbox_transfer_ledger_deposit_simulate_response.rb index 24a03afd2..46190c8a7 100644 --- a/lib/plaid/models/sandbox_transfer_ledger_deposit_simulate_response.rb +++ b/lib/plaid/models/sandbox_transfer_ledger_deposit_simulate_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_transfer_ledger_simulate_available_request.rb b/lib/plaid/models/sandbox_transfer_ledger_simulate_available_request.rb index 5ad7c577c..4ad04a7c9 100644 --- a/lib/plaid/models/sandbox_transfer_ledger_simulate_available_request.rb +++ b/lib/plaid/models/sandbox_transfer_ledger_simulate_available_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -22,6 +22,9 @@ class SandboxTransferLedgerSimulateAvailableRequest # Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body. attr_accessor :secret + # Specify which ledger balance to simulate converting pending balance to available balance. If this field is left blank, this will default to id of the default ledger balance. + attr_accessor :ledger_id + # Plaid’s unique identifier for a test clock. If provided, only the pending balance that is due before the `virtual_timestamp` on the test clock will be converted. attr_accessor :test_clock_id @@ -30,6 +33,7 @@ def self.attribute_map { :'client_id' => :'client_id', :'secret' => :'secret', + :'ledger_id' => :'ledger_id', :'test_clock_id' => :'test_clock_id' } end @@ -44,6 +48,7 @@ def self.openapi_types { :'client_id' => :'String', :'secret' => :'String', + :'ledger_id' => :'String', :'test_clock_id' => :'String' } end @@ -51,6 +56,7 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'ledger_id', :'test_clock_id' ]) end @@ -78,6 +84,10 @@ def initialize(attributes = {}) self.secret = attributes[:'secret'] end + if attributes.key?(:'ledger_id') + self.ledger_id = attributes[:'ledger_id'] + end + if attributes.key?(:'test_clock_id') self.test_clock_id = attributes[:'test_clock_id'] end @@ -103,6 +113,7 @@ def ==(o) self.class == o.class && client_id == o.client_id && secret == o.secret && + ledger_id == o.ledger_id && test_clock_id == o.test_clock_id end @@ -115,7 +126,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [client_id, secret, test_clock_id].hash + [client_id, secret, ledger_id, test_clock_id].hash end # Builds the object from hash diff --git a/lib/plaid/models/sandbox_transfer_ledger_simulate_available_response.rb b/lib/plaid/models/sandbox_transfer_ledger_simulate_available_response.rb index 891c2f049..765997169 100644 --- a/lib/plaid/models/sandbox_transfer_ledger_simulate_available_response.rb +++ b/lib/plaid/models/sandbox_transfer_ledger_simulate_available_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_transfer_ledger_withdraw_simulate_request.rb b/lib/plaid/models/sandbox_transfer_ledger_withdraw_simulate_request.rb index e208c976b..3d988cd21 100644 --- a/lib/plaid/models/sandbox_transfer_ledger_withdraw_simulate_request.rb +++ b/lib/plaid/models/sandbox_transfer_ledger_withdraw_simulate_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_transfer_ledger_withdraw_simulate_response.rb b/lib/plaid/models/sandbox_transfer_ledger_withdraw_simulate_response.rb index 5ede5c2f9..868bc063b 100644 --- a/lib/plaid/models/sandbox_transfer_ledger_withdraw_simulate_response.rb +++ b/lib/plaid/models/sandbox_transfer_ledger_withdraw_simulate_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_transfer_refund_simulate_request.rb b/lib/plaid/models/sandbox_transfer_refund_simulate_request.rb index 2a4dc78cd..ea64a11ae 100644 --- a/lib/plaid/models/sandbox_transfer_refund_simulate_request.rb +++ b/lib/plaid/models/sandbox_transfer_refund_simulate_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_transfer_refund_simulate_response.rb b/lib/plaid/models/sandbox_transfer_refund_simulate_response.rb index 3179bd817..485477037 100644 --- a/lib/plaid/models/sandbox_transfer_refund_simulate_response.rb +++ b/lib/plaid/models/sandbox_transfer_refund_simulate_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_transfer_repayment_simulate_request.rb b/lib/plaid/models/sandbox_transfer_repayment_simulate_request.rb index f1b46584d..1a89aec99 100644 --- a/lib/plaid/models/sandbox_transfer_repayment_simulate_request.rb +++ b/lib/plaid/models/sandbox_transfer_repayment_simulate_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_transfer_repayment_simulate_response.rb b/lib/plaid/models/sandbox_transfer_repayment_simulate_response.rb index 1f2a3176d..3c25ef9bd 100644 --- a/lib/plaid/models/sandbox_transfer_repayment_simulate_response.rb +++ b/lib/plaid/models/sandbox_transfer_repayment_simulate_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_transfer_simulate_request.rb b/lib/plaid/models/sandbox_transfer_simulate_request.rb index 1da2d8e5e..06bd46203 100644 --- a/lib/plaid/models/sandbox_transfer_simulate_request.rb +++ b/lib/plaid/models/sandbox_transfer_simulate_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_transfer_simulate_response.rb b/lib/plaid/models/sandbox_transfer_simulate_response.rb index 0906f8cdd..c9c9953bc 100644 --- a/lib/plaid/models/sandbox_transfer_simulate_response.rb +++ b/lib/plaid/models/sandbox_transfer_simulate_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_transfer_sweep_simulate_request.rb b/lib/plaid/models/sandbox_transfer_sweep_simulate_request.rb index 0a6a689c7..db272560a 100644 --- a/lib/plaid/models/sandbox_transfer_sweep_simulate_request.rb +++ b/lib/plaid/models/sandbox_transfer_sweep_simulate_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_transfer_sweep_simulate_response.rb b/lib/plaid/models/sandbox_transfer_sweep_simulate_response.rb index f6d110987..0fb42effb 100644 --- a/lib/plaid/models/sandbox_transfer_sweep_simulate_response.rb +++ b/lib/plaid/models/sandbox_transfer_sweep_simulate_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_transfer_test_clock_advance_request.rb b/lib/plaid/models/sandbox_transfer_test_clock_advance_request.rb index 37d23855c..ffe2fd232 100644 --- a/lib/plaid/models/sandbox_transfer_test_clock_advance_request.rb +++ b/lib/plaid/models/sandbox_transfer_test_clock_advance_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_transfer_test_clock_advance_response.rb b/lib/plaid/models/sandbox_transfer_test_clock_advance_response.rb index a9c662943..28093ade3 100644 --- a/lib/plaid/models/sandbox_transfer_test_clock_advance_response.rb +++ b/lib/plaid/models/sandbox_transfer_test_clock_advance_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_transfer_test_clock_create_request.rb b/lib/plaid/models/sandbox_transfer_test_clock_create_request.rb index 5d8dc5373..c8e641c99 100644 --- a/lib/plaid/models/sandbox_transfer_test_clock_create_request.rb +++ b/lib/plaid/models/sandbox_transfer_test_clock_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_transfer_test_clock_create_response.rb b/lib/plaid/models/sandbox_transfer_test_clock_create_response.rb index f9fa083dd..0c6030006 100644 --- a/lib/plaid/models/sandbox_transfer_test_clock_create_response.rb +++ b/lib/plaid/models/sandbox_transfer_test_clock_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_transfer_test_clock_get_request.rb b/lib/plaid/models/sandbox_transfer_test_clock_get_request.rb index 541685620..02b0e050a 100644 --- a/lib/plaid/models/sandbox_transfer_test_clock_get_request.rb +++ b/lib/plaid/models/sandbox_transfer_test_clock_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_transfer_test_clock_get_response.rb b/lib/plaid/models/sandbox_transfer_test_clock_get_response.rb index 3193bcbd3..e23cd05b4 100644 --- a/lib/plaid/models/sandbox_transfer_test_clock_get_response.rb +++ b/lib/plaid/models/sandbox_transfer_test_clock_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_transfer_test_clock_list_request.rb b/lib/plaid/models/sandbox_transfer_test_clock_list_request.rb index 53e28e3fa..2f7f3afae 100644 --- a/lib/plaid/models/sandbox_transfer_test_clock_list_request.rb +++ b/lib/plaid/models/sandbox_transfer_test_clock_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_transfer_test_clock_list_response.rb b/lib/plaid/models/sandbox_transfer_test_clock_list_response.rb index 7b8091ae7..07da36537 100644 --- a/lib/plaid/models/sandbox_transfer_test_clock_list_response.rb +++ b/lib/plaid/models/sandbox_transfer_test_clock_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_user_reset_login_request.rb b/lib/plaid/models/sandbox_user_reset_login_request.rb index f9b74140e..5432a3615 100644 --- a/lib/plaid/models/sandbox_user_reset_login_request.rb +++ b/lib/plaid/models/sandbox_user_reset_login_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_user_reset_login_response.rb b/lib/plaid/models/sandbox_user_reset_login_response.rb index cc9255cb7..f6fafabf1 100644 --- a/lib/plaid/models/sandbox_user_reset_login_response.rb +++ b/lib/plaid/models/sandbox_user_reset_login_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/scopes.rb b/lib/plaid/models/scopes.rb index 067ea66cb..b00fe4db9 100644 --- a/lib/plaid/models/scopes.rb +++ b/lib/plaid/models/scopes.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/scopes_context.rb b/lib/plaid/models/scopes_context.rb index 482e772db..139ecde8c 100644 --- a/lib/plaid/models/scopes_context.rb +++ b/lib/plaid/models/scopes_context.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/scopes_nullable.rb b/lib/plaid/models/scopes_nullable.rb index cdb1a621c..ea006489e 100644 --- a/lib/plaid/models/scopes_nullable.rb +++ b/lib/plaid/models/scopes_nullable.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/screening_hit_analysis.rb b/lib/plaid/models/screening_hit_analysis.rb index c1878a6ef..6c2ba04da 100644 --- a/lib/plaid/models/screening_hit_analysis.rb +++ b/lib/plaid/models/screening_hit_analysis.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/screening_hit_data.rb b/lib/plaid/models/screening_hit_data.rb index 997af422d..ab5d2b1d9 100644 --- a/lib/plaid/models/screening_hit_data.rb +++ b/lib/plaid/models/screening_hit_data.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/screening_hit_date_of_birth_item.rb b/lib/plaid/models/screening_hit_date_of_birth_item.rb index 3040c1b6d..f9ba6c7e5 100644 --- a/lib/plaid/models/screening_hit_date_of_birth_item.rb +++ b/lib/plaid/models/screening_hit_date_of_birth_item.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/screening_hit_documents_items.rb b/lib/plaid/models/screening_hit_documents_items.rb index 39f2faf48..2a5ae4374 100644 --- a/lib/plaid/models/screening_hit_documents_items.rb +++ b/lib/plaid/models/screening_hit_documents_items.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/screening_hit_names_items.rb b/lib/plaid/models/screening_hit_names_items.rb index 73b36345a..ced4336f2 100644 --- a/lib/plaid/models/screening_hit_names_items.rb +++ b/lib/plaid/models/screening_hit_names_items.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/screening_status_updated_webhook.rb b/lib/plaid/models/screening_status_updated_webhook.rb index bd9cc571f..05116a9dc 100644 --- a/lib/plaid/models/screening_status_updated_webhook.rb +++ b/lib/plaid/models/screening_status_updated_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/security.rb b/lib/plaid/models/security.rb index 0303be0b4..3479efe34 100644 --- a/lib/plaid/models/security.rb +++ b/lib/plaid/models/security.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -67,6 +67,12 @@ class Security # The ISO-10383 Market Identifier Code of the exchange or market in which the security is being traded. attr_accessor :market_identifier_code + # The sector classification of the security, such as Finance, Health Technology, etc. For a complete list of possible values, please refer to the [\"Sectors and Industries\" spreadsheet](https://docs.google.com/spreadsheets/d/1L7aXUdqLhxgM8qe7hK67qqKXiUdQqILpwZ0LpxvCVnc). + attr_accessor :sector + + # The industry classification of the security, such as Biotechnology, Airlines, etc. For a complete list of possible values, please refer to the [\"Sectors and Industries\" spreadsheet](https://docs.google.com/spreadsheets/d/1L7aXUdqLhxgM8qe7hK67qqKXiUdQqILpwZ0LpxvCVnc). + attr_accessor :industry + attr_accessor :option_contract # Attribute mapping from ruby-style variable name to JSON key. @@ -89,6 +95,8 @@ def self.attribute_map :'iso_currency_code' => :'iso_currency_code', :'unofficial_currency_code' => :'unofficial_currency_code', :'market_identifier_code' => :'market_identifier_code', + :'sector' => :'sector', + :'industry' => :'industry', :'option_contract' => :'option_contract' } end @@ -118,6 +126,8 @@ def self.openapi_types :'iso_currency_code' => :'String', :'unofficial_currency_code' => :'String', :'market_identifier_code' => :'String', + :'sector' => :'String', + :'industry' => :'String', :'option_contract' => :'OptionContract' } end @@ -141,6 +151,8 @@ def self.openapi_nullable :'iso_currency_code', :'unofficial_currency_code', :'market_identifier_code', + :'sector', + :'industry', :'option_contract' ]) end @@ -228,6 +240,14 @@ def initialize(attributes = {}) self.market_identifier_code = attributes[:'market_identifier_code'] end + if attributes.key?(:'sector') + self.sector = attributes[:'sector'] + end + + if attributes.key?(:'industry') + self.industry = attributes[:'industry'] + end + if attributes.key?(:'option_contract') self.option_contract = attributes[:'option_contract'] end @@ -273,6 +293,8 @@ def ==(o) iso_currency_code == o.iso_currency_code && unofficial_currency_code == o.unofficial_currency_code && market_identifier_code == o.market_identifier_code && + sector == o.sector && + industry == o.industry && option_contract == o.option_contract end @@ -285,7 +307,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [security_id, isin, cusip, sedol, institution_security_id, institution_id, proxy_security_id, name, ticker_symbol, is_cash_equivalent, type, close_price, close_price_as_of, update_datetime, iso_currency_code, unofficial_currency_code, market_identifier_code, option_contract].hash + [security_id, isin, cusip, sedol, institution_security_id, institution_id, proxy_security_id, name, ticker_symbol, is_cash_equivalent, type, close_price, close_price_as_of, update_datetime, iso_currency_code, unofficial_currency_code, market_identifier_code, sector, industry, option_contract].hash end # Builds the object from hash diff --git a/lib/plaid/models/security_override.rb b/lib/plaid/models/security_override.rb index f7fc69f44..553687cf5 100644 --- a/lib/plaid/models/security_override.rb +++ b/lib/plaid/models/security_override.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/selfie_analysis.rb b/lib/plaid/models/selfie_analysis.rb index 09e9a3a22..c50167c35 100644 --- a/lib/plaid/models/selfie_analysis.rb +++ b/lib/plaid/models/selfie_analysis.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/selfie_analysis_document_comparison.rb b/lib/plaid/models/selfie_analysis_document_comparison.rb index f72e2f940..bf77fa3bf 100644 --- a/lib/plaid/models/selfie_analysis_document_comparison.rb +++ b/lib/plaid/models/selfie_analysis_document_comparison.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/selfie_capture.rb b/lib/plaid/models/selfie_capture.rb index 62fdb179f..943b047b5 100644 --- a/lib/plaid/models/selfie_capture.rb +++ b/lib/plaid/models/selfie_capture.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/selfie_check.rb b/lib/plaid/models/selfie_check.rb index 3fd674162..4a8eb8edf 100644 --- a/lib/plaid/models/selfie_check.rb +++ b/lib/plaid/models/selfie_check.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/selfie_check_selfie.rb b/lib/plaid/models/selfie_check_selfie.rb index ee7ec0869..7322b5c02 100644 --- a/lib/plaid/models/selfie_check_selfie.rb +++ b/lib/plaid/models/selfie_check_selfie.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/selfie_check_status.rb b/lib/plaid/models/selfie_check_status.rb index 7171bb76b..6b25adabc 100644 --- a/lib/plaid/models/selfie_check_status.rb +++ b/lib/plaid/models/selfie_check_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/selfie_status.rb b/lib/plaid/models/selfie_status.rb index 622b23df6..dc5af27c1 100644 --- a/lib/plaid/models/selfie_status.rb +++ b/lib/plaid/models/selfie_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sender_bacs_nullable.rb b/lib/plaid/models/sender_bacs_nullable.rb index 13694fda8..0df28e6ba 100644 --- a/lib/plaid/models/sender_bacs_nullable.rb +++ b/lib/plaid/models/sender_bacs_nullable.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/service.rb b/lib/plaid/models/service.rb index 7a5349755..caf7e0aca 100644 --- a/lib/plaid/models/service.rb +++ b/lib/plaid/models/service.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/service_product_fulfillment.rb b/lib/plaid/models/service_product_fulfillment.rb index ba80cc708..c21a39956 100644 --- a/lib/plaid/models/service_product_fulfillment.rb +++ b/lib/plaid/models/service_product_fulfillment.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/service_product_fulfillment_detail.rb b/lib/plaid/models/service_product_fulfillment_detail.rb index 195004151..f54dc5fd2 100644 --- a/lib/plaid/models/service_product_fulfillment_detail.rb +++ b/lib/plaid/models/service_product_fulfillment_detail.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/service_product_fulfillment_identifier.rb b/lib/plaid/models/service_product_fulfillment_identifier.rb index 46dc62967..7142ec612 100644 --- a/lib/plaid/models/service_product_fulfillment_identifier.rb +++ b/lib/plaid/models/service_product_fulfillment_identifier.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/servicer_address_data.rb b/lib/plaid/models/servicer_address_data.rb index 94477d563..0c271f31a 100644 --- a/lib/plaid/models/servicer_address_data.rb +++ b/lib/plaid/models/servicer_address_data.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/services.rb b/lib/plaid/models/services.rb index b382b218c..092255764 100644 --- a/lib/plaid/models/services.rb +++ b/lib/plaid/models/services.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/signal_address_data.rb b/lib/plaid/models/signal_address_data.rb index 7a25dcf52..eb11680d6 100644 --- a/lib/plaid/models/signal_address_data.rb +++ b/lib/plaid/models/signal_address_data.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/signal_decision_outcome.rb b/lib/plaid/models/signal_decision_outcome.rb index 499316a2a..4fa6f52ae 100644 --- a/lib/plaid/models/signal_decision_outcome.rb +++ b/lib/plaid/models/signal_decision_outcome.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/signal_decision_report_request.rb b/lib/plaid/models/signal_decision_report_request.rb index 89279783c..cc2e0cde3 100644 --- a/lib/plaid/models/signal_decision_report_request.rb +++ b/lib/plaid/models/signal_decision_report_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/signal_decision_report_response.rb b/lib/plaid/models/signal_decision_report_response.rb index c01825a45..11a9d89cf 100644 --- a/lib/plaid/models/signal_decision_report_response.rb +++ b/lib/plaid/models/signal_decision_report_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/signal_device.rb b/lib/plaid/models/signal_device.rb index 440eb4c31..cc4a43e85 100644 --- a/lib/plaid/models/signal_device.rb +++ b/lib/plaid/models/signal_device.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/signal_evaluate_core_attributes.rb b/lib/plaid/models/signal_evaluate_core_attributes.rb index 09d4f535f..a4459e55a 100644 --- a/lib/plaid/models/signal_evaluate_core_attributes.rb +++ b/lib/plaid/models/signal_evaluate_core_attributes.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/signal_evaluate_request.rb b/lib/plaid/models/signal_evaluate_request.rb index 4a14fe8ed..a09ac72a5 100644 --- a/lib/plaid/models/signal_evaluate_request.rb +++ b/lib/plaid/models/signal_evaluate_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -213,24 +213,6 @@ def list_invalid_properties invalid_properties.push('invalid value for "amount", amount cannot be nil.') end - if !@risk_profile_key.nil? && @risk_profile_key.to_s.length > 64 - invalid_properties.push('invalid value for "risk_profile_key", the character length must be smaller than or equal to 64.') - end - - if !@risk_profile_key.nil? && @risk_profile_key.to_s.length < 1 - invalid_properties.push('invalid value for "risk_profile_key", the character length must be great than or equal to 1.') - end - - - if !@ruleset_key.nil? && @ruleset_key.to_s.length > 64 - invalid_properties.push('invalid value for "ruleset_key", the character length must be smaller than or equal to 64.') - end - - if !@ruleset_key.nil? && @ruleset_key.to_s.length < 1 - invalid_properties.push('invalid value for "ruleset_key", the character length must be great than or equal to 1.') - end - - invalid_properties end @@ -243,10 +225,6 @@ def valid? return false if @client_transaction_id.to_s.length > 36 return false if @client_transaction_id.to_s.length < 1 return false if @amount.nil? - return false if !@risk_profile_key.nil? && @risk_profile_key.to_s.length > 64 - return false if !@risk_profile_key.nil? && @risk_profile_key.to_s.length < 1 - return false if !@ruleset_key.nil? && @ruleset_key.to_s.length > 64 - return false if !@ruleset_key.nil? && @ruleset_key.to_s.length < 1 true end @@ -269,36 +247,6 @@ def client_transaction_id=(client_transaction_id) @client_transaction_id = client_transaction_id end - # Custom attribute writer method with validation - # @param [Object] risk_profile_key Value to be assigned - def risk_profile_key=(risk_profile_key) - if !risk_profile_key.nil? && risk_profile_key.to_s.length > 64 - fail ArgumentError, 'invalid value for "risk_profile_key", the character length must be smaller than or equal to 64.' - end - - if !risk_profile_key.nil? && risk_profile_key.to_s.length < 1 - fail ArgumentError, 'invalid value for "risk_profile_key", the character length must be great than or equal to 1.' - end - - - @risk_profile_key = risk_profile_key - end - - # Custom attribute writer method with validation - # @param [Object] ruleset_key Value to be assigned - def ruleset_key=(ruleset_key) - if !ruleset_key.nil? && ruleset_key.to_s.length > 64 - fail ArgumentError, 'invalid value for "ruleset_key", the character length must be smaller than or equal to 64.' - end - - if !ruleset_key.nil? && ruleset_key.to_s.length < 1 - fail ArgumentError, 'invalid value for "ruleset_key", the character length must be great than or equal to 1.' - end - - - @ruleset_key = ruleset_key - end - # Checks equality by comparing each attribute. # @param [Object] Object to be compared def ==(o) diff --git a/lib/plaid/models/signal_evaluate_response.rb b/lib/plaid/models/signal_evaluate_response.rb index b36fc1e83..8ebefc930 100644 --- a/lib/plaid/models/signal_evaluate_response.rb +++ b/lib/plaid/models/signal_evaluate_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/signal_payment_method.rb b/lib/plaid/models/signal_payment_method.rb index 38b7ba15f..5e26bc949 100644 --- a/lib/plaid/models/signal_payment_method.rb +++ b/lib/plaid/models/signal_payment_method.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/signal_person_name.rb b/lib/plaid/models/signal_person_name.rb index 439006c9b..1b4e7fd34 100644 --- a/lib/plaid/models/signal_person_name.rb +++ b/lib/plaid/models/signal_person_name.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/signal_prepare_request.rb b/lib/plaid/models/signal_prepare_request.rb index 24fc59de6..bd28f9387 100644 --- a/lib/plaid/models/signal_prepare_request.rb +++ b/lib/plaid/models/signal_prepare_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/signal_prepare_response.rb b/lib/plaid/models/signal_prepare_response.rb index dc319f6d7..98232adac 100644 --- a/lib/plaid/models/signal_prepare_response.rb +++ b/lib/plaid/models/signal_prepare_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/signal_return_report_request.rb b/lib/plaid/models/signal_return_report_request.rb index 161c95b06..aabb36496 100644 --- a/lib/plaid/models/signal_return_report_request.rb +++ b/lib/plaid/models/signal_return_report_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/signal_return_report_response.rb b/lib/plaid/models/signal_return_report_response.rb index 3a9e651e0..5f3d812e9 100644 --- a/lib/plaid/models/signal_return_report_response.rb +++ b/lib/plaid/models/signal_return_report_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/signal_scores.rb b/lib/plaid/models/signal_scores.rb index 3a4df773c..5bbc0fa7b 100644 --- a/lib/plaid/models/signal_scores.rb +++ b/lib/plaid/models/signal_scores.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/signal_user.rb b/lib/plaid/models/signal_user.rb index a63001802..7e36eeef8 100644 --- a/lib/plaid/models/signal_user.rb +++ b/lib/plaid/models/signal_user.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/signal_warning.rb b/lib/plaid/models/signal_warning.rb index 6ac7e764f..d9ec51864 100644 --- a/lib/plaid/models/signal_warning.rb +++ b/lib/plaid/models/signal_warning.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/simulated_transfer_sweep.rb b/lib/plaid/models/simulated_transfer_sweep.rb index 656fb4733..66347b2a6 100644 --- a/lib/plaid/models/simulated_transfer_sweep.rb +++ b/lib/plaid/models/simulated_transfer_sweep.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -22,6 +22,9 @@ class SimulatedTransferSweep # The id of the funding account to use, available in the Plaid Dashboard. This determines which of your business checking accounts will be credited or debited. attr_accessor :funding_account_id + # Plaid’s unique identifier for a Plaid Ledger Balance. + attr_accessor :ledger_id + # The datetime when the sweep occurred, in RFC 3339 format. attr_accessor :created @@ -71,6 +74,7 @@ def self.attribute_map { :'id' => :'id', :'funding_account_id' => :'funding_account_id', + :'ledger_id' => :'ledger_id', :'created' => :'created', :'amount' => :'amount', :'iso_currency_code' => :'iso_currency_code', @@ -92,6 +96,7 @@ def self.openapi_types { :'id' => :'String', :'funding_account_id' => :'String', + :'ledger_id' => :'String', :'created' => :'Time', :'amount' => :'String', :'iso_currency_code' => :'String', @@ -106,6 +111,7 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'ledger_id', :'settled', :'status', :'trigger', @@ -143,6 +149,10 @@ def initialize(attributes = {}) self.funding_account_id = attributes[:'funding_account_id'] end + if attributes.key?(:'ledger_id') + self.ledger_id = attributes[:'ledger_id'] + end + if attributes.key?(:'created') self.created = attributes[:'created'] end @@ -221,6 +231,7 @@ def ==(o) self.class == o.class && id == o.id && funding_account_id == o.funding_account_id && + ledger_id == o.ledger_id && created == o.created && amount == o.amount && iso_currency_code == o.iso_currency_code && @@ -240,7 +251,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [id, funding_account_id, created, amount, iso_currency_code, settled, status, trigger, description, network_trace_id].hash + [id, funding_account_id, ledger_id, created, amount, iso_currency_code, settled, status, trigger, description, network_trace_id].hash end # Builds the object from hash diff --git a/lib/plaid/models/single_document_risk_signal.rb b/lib/plaid/models/single_document_risk_signal.rb index 36e8290ad..1552cc96d 100644 --- a/lib/plaid/models/single_document_risk_signal.rb +++ b/lib/plaid/models/single_document_risk_signal.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/source.rb b/lib/plaid/models/source.rb index 16ebfec7b..1fdc3e0d6 100644 --- a/lib/plaid/models/source.rb +++ b/lib/plaid/models/source.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/standalone_account_type.rb b/lib/plaid/models/standalone_account_type.rb index 7c3f76c08..e5781e395 100644 --- a/lib/plaid/models/standalone_account_type.rb +++ b/lib/plaid/models/standalone_account_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -16,19 +16,19 @@ module Plaid # The schema below describes the various `types` and corresponding `subtypes` that Plaid recognizes and reports for financial institution accounts. class StandaloneAccountType - # An account type holding cash, in which funds are deposited. Supported products for `depository` accounts are: Auth (`checking` and `savings` types only), Transfer, Balance, Signal, Income, Transactions, Identity, Payment Initiation, Assets, and Investments (`cash management` type only). + # An account type holding cash, in which funds are deposited. Supported products for `depository` accounts are: Auth (`checking` and `savings` subtypes only), Transfer, Balance, Signal, Income, Transactions, Identity, Payment Initiation, Assets, and Investments (`cash management` subtype only). attr_accessor :depository # A credit card type account. Supported products for `credit` accounts are: Balance, Transactions, Identity, Assets, and Liabilities. attr_accessor :credit - # A loan type account. Supported products for `loan` accounts are: Balance, Liabilities, Assets, and Transactions. + # A loan type account. Supported products for `loan` accounts are: Balance, Liabilities (`student` and `mortgage` subtypes only), Identity. attr_accessor :loan - # An investment account. Supported products for `investment` accounts are: Balance, Assets, and Investments. In API versions 2018-05-22 and earlier, this type is called `brokerage`. + # An investment account. Supported products for `investment` accounts are: Balance, Assets, Investments, and Investment Transactions. In API versions 2018-05-22 and earlier, this type is called `brokerage`. attr_accessor :investment - # Other or unknown account type. Supported products for `other` accounts are: Balance, Transactions, Identity, and Assets. + # Other or unknown account type. Supported products for `other` accounts are: Balance, Identity. attr_accessor :other # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/plaid/models/standalone_currency_code_list.rb b/lib/plaid/models/standalone_currency_code_list.rb index f9bced832..61722734f 100644 --- a/lib/plaid/models/standalone_currency_code_list.rb +++ b/lib/plaid/models/standalone_currency_code_list.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/standalone_investment_transaction_type.rb b/lib/plaid/models/standalone_investment_transaction_type.rb index 41cfbac26..cc091842f 100644 --- a/lib/plaid/models/standalone_investment_transaction_type.rb +++ b/lib/plaid/models/standalone_investment_transaction_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/statements_account.rb b/lib/plaid/models/statements_account.rb index e1f88b1de..76272aac7 100644 --- a/lib/plaid/models/statements_account.rb +++ b/lib/plaid/models/statements_account.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/statements_download_request.rb b/lib/plaid/models/statements_download_request.rb index 03c32942d..31fb34ba1 100644 --- a/lib/plaid/models/statements_download_request.rb +++ b/lib/plaid/models/statements_download_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/statements_list_request.rb b/lib/plaid/models/statements_list_request.rb index 1b7cb8e25..8d601019e 100644 --- a/lib/plaid/models/statements_list_request.rb +++ b/lib/plaid/models/statements_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/statements_list_response.rb b/lib/plaid/models/statements_list_response.rb index 9c6a09e2e..5575c28d0 100644 --- a/lib/plaid/models/statements_list_response.rb +++ b/lib/plaid/models/statements_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/statements_refresh_complete_result.rb b/lib/plaid/models/statements_refresh_complete_result.rb index 009716198..8b5c93fd3 100644 --- a/lib/plaid/models/statements_refresh_complete_result.rb +++ b/lib/plaid/models/statements_refresh_complete_result.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/statements_refresh_complete_webhook.rb b/lib/plaid/models/statements_refresh_complete_webhook.rb index 0756aa312..385ea299a 100644 --- a/lib/plaid/models/statements_refresh_complete_webhook.rb +++ b/lib/plaid/models/statements_refresh_complete_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/statements_refresh_request.rb b/lib/plaid/models/statements_refresh_request.rb index 5ae43a4e8..2f5673b7d 100644 --- a/lib/plaid/models/statements_refresh_request.rb +++ b/lib/plaid/models/statements_refresh_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -25,10 +25,10 @@ class StatementsRefreshRequest # Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body. attr_accessor :secret - # The start date for statements, in “YYYY-MM-DD” format, e.g. \"2023-08-30\". To determine whether a statement falls within the specified date range, Plaid will use the statement posted date. The statement posted date is typically either the last day of the statement period, or the following day. + # The start date for statements, in \"YYYY-MM-DD\" format, e.g. \"2023-08-30\". To determine whether a statement falls within the specified date range, Plaid will use the statement posted date. The statement posted date is typically either the last day of the statement period, or the following day. attr_accessor :start_date - # The end date for statements, in “YYYY-MM-DD” format, e.g. \"2023-10-30\". You can request up to two years of data. To determine whether a statement falls within the specified date range, Plaid will use the statement posted date. The statement posted date is typically either the last day of the statement period, or the following day. + # The end date for statements, in \"YYYY-MM-DD\" format, e.g. \"2023-10-30\". You can request up to two years of data. To determine whether a statement falls within the specified date range, Plaid will use the statement posted date. The statement posted date is typically either the last day of the statement period, or the following day. attr_accessor :end_date # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/plaid/models/statements_refresh_response.rb b/lib/plaid/models/statements_refresh_response.rb index d1f6e4fa1..f6eb04ba8 100644 --- a/lib/plaid/models/statements_refresh_response.rb +++ b/lib/plaid/models/statements_refresh_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/statements_statement.rb b/lib/plaid/models/statements_statement.rb index 9c63b654a..3ddc2f6d6 100644 --- a/lib/plaid/models/statements_statement.rb +++ b/lib/plaid/models/statements_statement.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/status.rb b/lib/plaid/models/status.rb index a1db86944..f736b4bde 100644 --- a/lib/plaid/models/status.rb +++ b/lib/plaid/models/status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/statuses.rb b/lib/plaid/models/statuses.rb index fbabce0dd..f6cd133bf 100644 --- a/lib/plaid/models/statuses.rb +++ b/lib/plaid/models/statuses.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/strategy.rb b/lib/plaid/models/strategy.rb index ba05dd014..c5a95cb5c 100644 --- a/lib/plaid/models/strategy.rb +++ b/lib/plaid/models/strategy.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/student_loan.rb b/lib/plaid/models/student_loan.rb index 51dc0d6fd..a9d26f521 100644 --- a/lib/plaid/models/student_loan.rb +++ b/lib/plaid/models/student_loan.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -51,7 +51,7 @@ class StudentLoan attr_accessor :loan_status - # The minimum payment due for the next billing cycle. There are some exceptions: Some institutions require a minimum payment across all loans associated with an account number. Our API presents that same minimum payment amount on each loan. The institutions that do this are: Great Lakes ( `ins_116861`), Firstmark (`ins_116295`), Commonbond Firstmark Services (`ins_116950`), EdFinancial Services (`ins_116304`), Granite State (`ins_116308`), and Oklahoma Student Loan Authority (`ins_116945`). Firstmark (`ins_116295` ), EdFinancial Services (`ins_116304`), and Navient (`ins_116248`) will display as $0 if there is an autopay program in effect. + # The minimum payment due for the next billing cycle. There are some exceptions: Some institutions require a minimum payment across all loans associated with an account number. Our API presents that same minimum payment amount on each loan. The institutions that do this are: Great Lakes ( `ins_116861`), Firstmark (`ins_116295`), Commonbond Firstmark Services (`ins_116950`), Granite State (`ins_116308`), and Oklahoma Student Loan Authority (`ins_116945`). Firstmark (`ins_116295` ) and Navient (`ins_116248`) will display as $0 if there is an autopay program in effect. attr_accessor :minimum_payment_amount # The due date for the next payment. The due date is `null` if a payment is not expected. A payment is not expected if `loan_status.type` is `deferment`, `in_school`, `consolidated`, `paid in full`, or `transferred`. Dates are returned in an [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (YYYY-MM-DD). diff --git a/lib/plaid/models/student_loan_repayment_model.rb b/lib/plaid/models/student_loan_repayment_model.rb index 96b6572d2..6ac51e8d5 100644 --- a/lib/plaid/models/student_loan_repayment_model.rb +++ b/lib/plaid/models/student_loan_repayment_model.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/student_loan_status.rb b/lib/plaid/models/student_loan_status.rb index 1ccdac856..5e416e173 100644 --- a/lib/plaid/models/student_loan_status.rb +++ b/lib/plaid/models/student_loan_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/student_repayment_plan.rb b/lib/plaid/models/student_repayment_plan.rb index a394b129b..db806f785 100644 --- a/lib/plaid/models/student_repayment_plan.rb +++ b/lib/plaid/models/student_repayment_plan.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sweep_status.rb b/lib/plaid/models/sweep_status.rb index 8a2d7d309..7e41cf68b 100644 --- a/lib/plaid/models/sweep_status.rb +++ b/lib/plaid/models/sweep_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sweep_trigger.rb b/lib/plaid/models/sweep_trigger.rb index f2783ff03..31262134a 100644 --- a/lib/plaid/models/sweep_trigger.rb +++ b/lib/plaid/models/sweep_trigger.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sync_updates_available_webhook.rb b/lib/plaid/models/sync_updates_available_webhook.rb index 75142736e..a6cddd658 100644 --- a/lib/plaid/models/sync_updates_available_webhook.rb +++ b/lib/plaid/models/sync_updates_available_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/taxform.rb b/lib/plaid/models/taxform.rb index c5a78718d..3bf2eb84d 100644 --- a/lib/plaid/models/taxform.rb +++ b/lib/plaid/models/taxform.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/taxpayer_id.rb b/lib/plaid/models/taxpayer_id.rb index 167db81de..29b83467a 100644 --- a/lib/plaid/models/taxpayer_id.rb +++ b/lib/plaid/models/taxpayer_id.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/taxpayer_identifier.rb b/lib/plaid/models/taxpayer_identifier.rb index 742e07847..b3c16e3e9 100644 --- a/lib/plaid/models/taxpayer_identifier.rb +++ b/lib/plaid/models/taxpayer_identifier.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/taxpayer_identifier_type.rb b/lib/plaid/models/taxpayer_identifier_type.rb index 0f2480687..b67b28481 100644 --- a/lib/plaid/models/taxpayer_identifier_type.rb +++ b/lib/plaid/models/taxpayer_identifier_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/taxpayer_identifiers.rb b/lib/plaid/models/taxpayer_identifiers.rb index 3d26a9bcb..de282278e 100644 --- a/lib/plaid/models/taxpayer_identifiers.rb +++ b/lib/plaid/models/taxpayer_identifiers.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/total.rb b/lib/plaid/models/total.rb index 9e5a095a2..449a7fece 100644 --- a/lib/plaid/models/total.rb +++ b/lib/plaid/models/total.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/total_canonical_description.rb b/lib/plaid/models/total_canonical_description.rb index a95003068..dbd20942a 100644 --- a/lib/plaid/models/total_canonical_description.rb +++ b/lib/plaid/models/total_canonical_description.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/total_monthly_income_insights.rb b/lib/plaid/models/total_monthly_income_insights.rb new file mode 100644 index 000000000..fc3a4a737 --- /dev/null +++ b/lib/plaid/models/total_monthly_income_insights.rb @@ -0,0 +1,241 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # An object representing the insights about the total monthly income + class TotalMonthlyIncomeInsights + # The aggregated income for the 30 days prior to subscription date + attr_accessor :baseline_amount + + # The aggregated income of the last 30 days + attr_accessor :current_amount + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'baseline_amount' => :'baseline_amount', + :'current_amount' => :'current_amount' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'baseline_amount' => :'Float', + :'current_amount' => :'Float' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::TotalMonthlyIncomeInsights` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::TotalMonthlyIncomeInsights`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'baseline_amount') + self.baseline_amount = attributes[:'baseline_amount'] + end + + if attributes.key?(:'current_amount') + self.current_amount = attributes[:'current_amount'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @baseline_amount.nil? + invalid_properties.push('invalid value for "baseline_amount", baseline_amount cannot be nil.') + end + + if @current_amount.nil? + invalid_properties.push('invalid value for "current_amount", current_amount cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @baseline_amount.nil? + return false if @current_amount.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + baseline_amount == o.baseline_amount && + current_amount == o.current_amount + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [baseline_amount, current_amount].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/transaction.rb b/lib/plaid/models/transaction.rb index 0aa49492c..16cdbb697 100644 --- a/lib/plaid/models/transaction.rb +++ b/lib/plaid/models/transaction.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -19,7 +19,7 @@ class Transaction # The ID of the account in which this transaction occurred. attr_accessor :account_id - # The settled value of the transaction, denominated in the transactions's currency, as stated in `iso_currency_code` or `unofficial_currency_code`. Positive values when money moves out of the account; negative values when money moves in. For example, debit card purchases are positive; credit card payments, direct deposits, and refunds are negative. + # The settled value of the transaction, denominated in the transactions's currency, as stated in `iso_currency_code` or `unofficial_currency_code`. For all products except Income: Positive values when money moves out of the account; negative values when money moves in. For example, debit card purchases are positive; credit card payments, direct deposits, and refunds are negative. For Income endpoints, values are positive when representing income. attr_accessor :amount # The ISO-4217 currency code of the transaction. Always `null` if `unofficial_currency_code` is non-null. @@ -53,10 +53,10 @@ class Transaction attr_accessor :payment_meta - # When `true`, identifies the transaction as pending or unsettled. Pending transaction details (name, type, amount, category ID) may change before they are settled. + # When `true`, identifies the transaction as pending or unsettled. Pending transaction details (name, type, amount, category ID) may change before they are settled. Not all institutions provide pending transactions. attr_accessor :pending - # The ID of a posted transaction's associated pending transaction, where applicable. + # The ID of a posted transaction's associated pending transaction, where applicable. Not all institutions provide pending transactions. attr_accessor :pending_transaction_id # The name of the account owner. This field is not typically populated and only relevant when dealing with sub-accounts. diff --git a/lib/plaid/models/transaction_all_of.rb b/lib/plaid/models/transaction_all_of.rb index fdb108895..5ec2a2cc1 100644 --- a/lib/plaid/models/transaction_all_of.rb +++ b/lib/plaid/models/transaction_all_of.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transaction_base.rb b/lib/plaid/models/transaction_base.rb index 992e025aa..d61fbcffb 100644 --- a/lib/plaid/models/transaction_base.rb +++ b/lib/plaid/models/transaction_base.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -19,7 +19,7 @@ class TransactionBase # The ID of the account in which this transaction occurred. attr_accessor :account_id - # The settled value of the transaction, denominated in the transactions's currency, as stated in `iso_currency_code` or `unofficial_currency_code`. Positive values when money moves out of the account; negative values when money moves in. For example, debit card purchases are positive; credit card payments, direct deposits, and refunds are negative. + # The settled value of the transaction, denominated in the transactions's currency, as stated in `iso_currency_code` or `unofficial_currency_code`. For all products except Income: Positive values when money moves out of the account; negative values when money moves in. For example, debit card purchases are positive; credit card payments, direct deposits, and refunds are negative. For Income endpoints, values are positive when representing income. attr_accessor :amount # The ISO-4217 currency code of the transaction. Always `null` if `unofficial_currency_code` is non-null. @@ -53,10 +53,10 @@ class TransactionBase attr_accessor :payment_meta - # When `true`, identifies the transaction as pending or unsettled. Pending transaction details (name, type, amount, category ID) may change before they are settled. + # When `true`, identifies the transaction as pending or unsettled. Pending transaction details (name, type, amount, category ID) may change before they are settled. Not all institutions provide pending transactions. attr_accessor :pending - # The ID of a posted transaction's associated pending transaction, where applicable. + # The ID of a posted transaction's associated pending transaction, where applicable. Not all institutions provide pending transactions. attr_accessor :pending_transaction_id # The name of the account owner. This field is not typically populated and only relevant when dealing with sub-accounts. diff --git a/lib/plaid/models/transaction_code.rb b/lib/plaid/models/transaction_code.rb index 01925e958..af37f9e96 100644 --- a/lib/plaid/models/transaction_code.rb +++ b/lib/plaid/models/transaction_code.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transaction_counterparty.rb b/lib/plaid/models/transaction_counterparty.rb index 5590b76f3..0ddbea65a 100644 --- a/lib/plaid/models/transaction_counterparty.rb +++ b/lib/plaid/models/transaction_counterparty.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transaction_data.rb b/lib/plaid/models/transaction_data.rb index f6429ef65..f575f6dbe 100644 --- a/lib/plaid/models/transaction_data.rb +++ b/lib/plaid/models/transaction_data.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transaction_override.rb b/lib/plaid/models/transaction_override.rb index ca17d4f88..2c1acb2da 100644 --- a/lib/plaid/models/transaction_override.rb +++ b/lib/plaid/models/transaction_override.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transaction_stream.rb b/lib/plaid/models/transaction_stream.rb index f80de38ca..cfc56a1d1 100644 --- a/lib/plaid/models/transaction_stream.rb +++ b/lib/plaid/models/transaction_stream.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transaction_stream_amount.rb b/lib/plaid/models/transaction_stream_amount.rb index 82c2ea420..f339b0488 100644 --- a/lib/plaid/models/transaction_stream_amount.rb +++ b/lib/plaid/models/transaction_stream_amount.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transaction_stream_status.rb b/lib/plaid/models/transaction_stream_status.rb index 8eb04d207..0e3a0b473 100644 --- a/lib/plaid/models/transaction_stream_status.rb +++ b/lib/plaid/models/transaction_stream_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_category_rule.rb b/lib/plaid/models/transactions_category_rule.rb index ec599ce66..a99791302 100644 --- a/lib/plaid/models/transactions_category_rule.rb +++ b/lib/plaid/models/transactions_category_rule.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_enhance_get_request.rb b/lib/plaid/models/transactions_enhance_get_request.rb index 2c931fc56..372054bf8 100644 --- a/lib/plaid/models/transactions_enhance_get_request.rb +++ b/lib/plaid/models/transactions_enhance_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_enhance_get_response.rb b/lib/plaid/models/transactions_enhance_get_response.rb index 35efb0a35..ad2d5e384 100644 --- a/lib/plaid/models/transactions_enhance_get_response.rb +++ b/lib/plaid/models/transactions_enhance_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_enrich_request.rb b/lib/plaid/models/transactions_enrich_request.rb index 38b68ca62..15e016be7 100644 --- a/lib/plaid/models/transactions_enrich_request.rb +++ b/lib/plaid/models/transactions_enrich_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_enrich_request_options.rb b/lib/plaid/models/transactions_enrich_request_options.rb index 97aa72989..002a3d03f 100644 --- a/lib/plaid/models/transactions_enrich_request_options.rb +++ b/lib/plaid/models/transactions_enrich_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_enrich_response.rb b/lib/plaid/models/transactions_enrich_response.rb index 30d7cf9a3..6854e877d 100644 --- a/lib/plaid/models/transactions_enrich_response.rb +++ b/lib/plaid/models/transactions_enrich_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_get_request.rb b/lib/plaid/models/transactions_get_request.rb index 5e17ac214..ea3058a53 100644 --- a/lib/plaid/models/transactions_get_request.rb +++ b/lib/plaid/models/transactions_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_get_request_options.rb b/lib/plaid/models/transactions_get_request_options.rb index 83c4af5b5..ef1306d0c 100644 --- a/lib/plaid/models/transactions_get_request_options.rb +++ b/lib/plaid/models/transactions_get_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -37,7 +37,7 @@ class TransactionsGetRequestOptions # Counterparties and extra merchant fields are now returned by default. attr_accessor :include_logo_and_counterparty_beta - # This option only applies to calls for Items that were not initialized with Transactions during Link and are now adding the Transactions product to the Item for the first time. In these cases, this option controls the maximum number of days of transaction history that Plaid will request from the financial institution. For developer accounts created after December 3, 2023, if no value is specified, this will default to 90 days. For developer accounts created on December 3, 2023 or earlier, if no value is specified, this will default to 730 days until June 24, 2024, at which point it will default to 90 days. If Transactions has already been added to the Item prior to this call, this field will have no effect. We strongly recommend that customers utilizing [Recurring Transactions](https://plaid.com/docs/api/products/transactions/#transactionsrecurringget) request at least 180 days of history for optimal results. + # This field only applies to calls for Items where the Transactions product has not already been initialized (i.e. by specifying `transactions` in the `products`, `optional_products`, or `required_if_consented_products` array when calling `/link/token/create` or by making a previous call to `/transactions/sync` or `/transactions/get`). In those cases, the field controls the maximum number of days of transaction history that Plaid will request from the financial institution. The more transaction history is requested, the longer the historical update poll will take. If no value is specified, 90 days of history will be requested by default. If a value under 30 is provided, a minimum of 30 days of history will be requested. If you are initializing your Items with transactions during the `/link/token/create` call (e.g. by including `transactions` in the `/link/token/create` `products` array), you must use the [`transactions.days_requested`](https://plaid.com/docs/api/link/#link-token-create-request-transactions-days-requested) field in the `/link/token/create` request instead of in the `/transactions/get` request. If the Item has already been initialized with the Transactions product, this field will have no effect. The maximum amount of transaction history to request on an Item cannot be updated if Transactions has already been added to the Item. To request older transaction history on an Item where Transactions has already been added, you must delete the Item via `/item/remove` and send the user through Link to create a new Item. Customers using [Recurring Transactions](https://plaid.com/docs/api/products/transactions/#transactionsrecurringget) should request at least 180 days of history for optimal results. attr_accessor :days_requested # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/plaid/models/transactions_get_response.rb b/lib/plaid/models/transactions_get_response.rb index 676baa719..98fce3513 100644 --- a/lib/plaid/models/transactions_get_response.rb +++ b/lib/plaid/models/transactions_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_recurring_create_input.rb b/lib/plaid/models/transactions_recurring_create_input.rb index 85111aeb9..8961b8882 100644 --- a/lib/plaid/models/transactions_recurring_create_input.rb +++ b/lib/plaid/models/transactions_recurring_create_input.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_recurring_create_request.rb b/lib/plaid/models/transactions_recurring_create_request.rb index e1f796294..6506fc9a3 100644 --- a/lib/plaid/models/transactions_recurring_create_request.rb +++ b/lib/plaid/models/transactions_recurring_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_recurring_create_response.rb b/lib/plaid/models/transactions_recurring_create_response.rb index 5797234f4..ae8fd5d47 100644 --- a/lib/plaid/models/transactions_recurring_create_response.rb +++ b/lib/plaid/models/transactions_recurring_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_recurring_get_request.rb b/lib/plaid/models/transactions_recurring_get_request.rb index df8ce7426..f3953c5fc 100644 --- a/lib/plaid/models/transactions_recurring_get_request.rb +++ b/lib/plaid/models/transactions_recurring_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_recurring_get_request_options.rb b/lib/plaid/models/transactions_recurring_get_request_options.rb index 309527150..bdb6acb9b 100644 --- a/lib/plaid/models/transactions_recurring_get_request_options.rb +++ b/lib/plaid/models/transactions_recurring_get_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_recurring_get_response.rb b/lib/plaid/models/transactions_recurring_get_response.rb index a1d433672..0c4e18fd5 100644 --- a/lib/plaid/models/transactions_recurring_get_response.rb +++ b/lib/plaid/models/transactions_recurring_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_recurring_merge_input.rb b/lib/plaid/models/transactions_recurring_merge_input.rb index b92b3a27e..962319a1e 100644 --- a/lib/plaid/models/transactions_recurring_merge_input.rb +++ b/lib/plaid/models/transactions_recurring_merge_input.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_recurring_merge_request.rb b/lib/plaid/models/transactions_recurring_merge_request.rb index d647a5397..5b67a0a89 100644 --- a/lib/plaid/models/transactions_recurring_merge_request.rb +++ b/lib/plaid/models/transactions_recurring_merge_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_recurring_merge_response.rb b/lib/plaid/models/transactions_recurring_merge_response.rb index 61fe10366..48b5fd9a1 100644 --- a/lib/plaid/models/transactions_recurring_merge_response.rb +++ b/lib/plaid/models/transactions_recurring_merge_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_recurring_update_input.rb b/lib/plaid/models/transactions_recurring_update_input.rb index 6e6e2ee9a..1eeaad8f3 100644 --- a/lib/plaid/models/transactions_recurring_update_input.rb +++ b/lib/plaid/models/transactions_recurring_update_input.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_recurring_update_request.rb b/lib/plaid/models/transactions_recurring_update_request.rb index 2707ec9b8..e426edc78 100644 --- a/lib/plaid/models/transactions_recurring_update_request.rb +++ b/lib/plaid/models/transactions_recurring_update_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_recurring_update_response.rb b/lib/plaid/models/transactions_recurring_update_response.rb index bc52fe223..8f2441f25 100644 --- a/lib/plaid/models/transactions_recurring_update_response.rb +++ b/lib/plaid/models/transactions_recurring_update_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_refresh_request.rb b/lib/plaid/models/transactions_refresh_request.rb index c19bca497..fe534a4b0 100644 --- a/lib/plaid/models/transactions_refresh_request.rb +++ b/lib/plaid/models/transactions_refresh_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_refresh_response.rb b/lib/plaid/models/transactions_refresh_response.rb index 1546d7843..b57d2781b 100644 --- a/lib/plaid/models/transactions_refresh_response.rb +++ b/lib/plaid/models/transactions_refresh_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_removed_webhook.rb b/lib/plaid/models/transactions_removed_webhook.rb index 088333c93..f7858a716 100644 --- a/lib/plaid/models/transactions_removed_webhook.rb +++ b/lib/plaid/models/transactions_removed_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_rule_details.rb b/lib/plaid/models/transactions_rule_details.rb index 3d1ca9d7c..711cc24fc 100644 --- a/lib/plaid/models/transactions_rule_details.rb +++ b/lib/plaid/models/transactions_rule_details.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_rule_field.rb b/lib/plaid/models/transactions_rule_field.rb index 28a7963ad..da93722e1 100644 --- a/lib/plaid/models/transactions_rule_field.rb +++ b/lib/plaid/models/transactions_rule_field.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_rule_type.rb b/lib/plaid/models/transactions_rule_type.rb index 82a96ae51..dda1dabaa 100644 --- a/lib/plaid/models/transactions_rule_type.rb +++ b/lib/plaid/models/transactions_rule_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_rules_create_request.rb b/lib/plaid/models/transactions_rules_create_request.rb index f30d7572c..223a47a49 100644 --- a/lib/plaid/models/transactions_rules_create_request.rb +++ b/lib/plaid/models/transactions_rules_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_rules_create_response.rb b/lib/plaid/models/transactions_rules_create_response.rb index df0d6b6b0..087c957bc 100644 --- a/lib/plaid/models/transactions_rules_create_response.rb +++ b/lib/plaid/models/transactions_rules_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_rules_list_request.rb b/lib/plaid/models/transactions_rules_list_request.rb index 2dae6db9d..d1eeea296 100644 --- a/lib/plaid/models/transactions_rules_list_request.rb +++ b/lib/plaid/models/transactions_rules_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_rules_list_response.rb b/lib/plaid/models/transactions_rules_list_response.rb index 457f2f66f..c7ca564e9 100644 --- a/lib/plaid/models/transactions_rules_list_response.rb +++ b/lib/plaid/models/transactions_rules_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_rules_remove_request.rb b/lib/plaid/models/transactions_rules_remove_request.rb index 9989f1cad..826dce0d2 100644 --- a/lib/plaid/models/transactions_rules_remove_request.rb +++ b/lib/plaid/models/transactions_rules_remove_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_rules_remove_response.rb b/lib/plaid/models/transactions_rules_remove_response.rb index ead0ba4fd..204cd392a 100644 --- a/lib/plaid/models/transactions_rules_remove_response.rb +++ b/lib/plaid/models/transactions_rules_remove_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_sync_request.rb b/lib/plaid/models/transactions_sync_request.rb index 79c518369..c55deb8e8 100644 --- a/lib/plaid/models/transactions_sync_request.rb +++ b/lib/plaid/models/transactions_sync_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_sync_request_options.rb b/lib/plaid/models/transactions_sync_request_options.rb index 1a07afb33..f7344d784 100644 --- a/lib/plaid/models/transactions_sync_request_options.rb +++ b/lib/plaid/models/transactions_sync_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -25,7 +25,7 @@ class TransactionsSyncRequestOptions # Counterparties and extra merchant fields are now returned by default. attr_accessor :include_logo_and_counterparty_beta - # This option only applies to calls for Items that were not initialized with Transactions during Link and are now adding the Transactions product to the Item for the first time. In these cases, this option controls the maximum number of days of transaction history that Plaid will request from the financial institution. For developer accounts created after December 3, 2023, if no value is specified, this will default to 90 days. For developer accounts created on December 3, 2023 or earlier, if no value is specified, this will default to 730 days until June 24, 2024, at which point it will default to 90 days. If Transactions has already been added to the Item prior to this call, this field will have no effect. We strongly recommend that customers utilizing [Recurring Transactions](https://plaid.com/docs/api/products/transactions/#transactionsrecurringget) request at least 180 days of history for optimal results. + # This field only applies to calls for Items where the Transactions product has not already been initialized (i.e., by specifying `transactions` in the `products`, `required_if_supported_products`, or `optional_products` array when calling `/link/token/create` or by making a previous call to `/transactions/sync` or `/transactions/get`). In those cases, the field controls the maximum number of days of transaction history that Plaid will request from the financial institution. The more transaction history is requested, the longer the historical update poll will take. If no value is specified, 90 days of history will be requested by default. If you are initializing your Items with transactions during the `/link/token/create` call (e.g. by including `transactions` in the `/link/token/create` `products` array), you must use the [`transactions.days_requested`](https://plaid.com/docs/api/link/#link-token-create-request-transactions-days-requested) field in the `/link/token/create` request instead of in the `/transactions/sync` request. If the Item has already been initialized with the Transactions product, this field will have no effect. The maximum amount of transaction history to request on an Item cannot be updated if Transactions has already been added to the Item. To request older transaction history on an Item where Transactions has already been added, you must delete the Item via `/item/remove` and send the user through Link to create a new Item. Customers using [Recurring Transactions](https://plaid.com/docs/api/products/transactions/#transactionsrecurringget) should request at least 180 days of history for optimal results. attr_accessor :days_requested # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/plaid/models/transactions_sync_response.rb b/lib/plaid/models/transactions_sync_response.rb index 13cc14a1e..4d75f6f1e 100644 --- a/lib/plaid/models/transactions_sync_response.rb +++ b/lib/plaid/models/transactions_sync_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_update_status.rb b/lib/plaid/models/transactions_update_status.rb index 55ad8b873..b6a112602 100644 --- a/lib/plaid/models/transactions_update_status.rb +++ b/lib/plaid/models/transactions_update_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_user_insights_get_request.rb b/lib/plaid/models/transactions_user_insights_get_request.rb index 3f1077d1d..07daa60cd 100644 --- a/lib/plaid/models/transactions_user_insights_get_request.rb +++ b/lib/plaid/models/transactions_user_insights_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_user_insights_get_response.rb b/lib/plaid/models/transactions_user_insights_get_response.rb index e3b76362d..d4dca7723 100644 --- a/lib/plaid/models/transactions_user_insights_get_response.rb +++ b/lib/plaid/models/transactions_user_insights_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer.rb b/lib/plaid/models/transfer.rb index dc0086f30..909944eea 100644 --- a/lib/plaid/models/transfer.rb +++ b/lib/plaid/models/transfer.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -30,6 +30,9 @@ class Transfer # The id of the associated funding account, available in the Plaid Dashboard. If present, this indicates which of your business checking accounts will be credited or debited. attr_accessor :funding_account_id + # Plaid’s unique identifier for a Plaid Ledger Balance. + attr_accessor :ledger_id + attr_accessor :type attr_accessor :user @@ -128,6 +131,7 @@ def self.attribute_map :'ach_class' => :'ach_class', :'account_id' => :'account_id', :'funding_account_id' => :'funding_account_id', + :'ledger_id' => :'ledger_id', :'type' => :'type', :'user' => :'user', :'amount' => :'amount', @@ -170,6 +174,7 @@ def self.openapi_types :'ach_class' => :'ACHClass', :'account_id' => :'String', :'funding_account_id' => :'String', + :'ledger_id' => :'String', :'type' => :'TransferType', :'user' => :'TransferUserInResponse', :'amount' => :'String', @@ -203,6 +208,7 @@ def self.openapi_types def self.openapi_nullable Set.new([ :'funding_account_id', + :'ledger_id', :'sweep_status', :'wire_details', :'failure_reason', @@ -253,6 +259,10 @@ def initialize(attributes = {}) self.funding_account_id = attributes[:'funding_account_id'] end + if attributes.key?(:'ledger_id') + self.ledger_id = attributes[:'ledger_id'] + end + if attributes.key?(:'type') self.type = attributes[:'type'] end @@ -466,6 +476,7 @@ def ==(o) ach_class == o.ach_class && account_id == o.account_id && funding_account_id == o.funding_account_id && + ledger_id == o.ledger_id && type == o.type && user == o.user && amount == o.amount && @@ -503,7 +514,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [id, authorization_id, ach_class, account_id, funding_account_id, type, user, amount, description, created, status, sweep_status, network, wire_details, cancellable, failure_reason, metadata, origination_account_id, guarantee_decision, guarantee_decision_rationale, iso_currency_code, standard_return_window, unauthorized_return_window, expected_settlement_date, originator_client_id, refunds, recurring_transfer_id, expected_sweep_settlement_schedule, credit_funds_source, facilitator_fee, network_trace_id].hash + [id, authorization_id, ach_class, account_id, funding_account_id, ledger_id, type, user, amount, description, created, status, sweep_status, network, wire_details, cancellable, failure_reason, metadata, origination_account_id, guarantee_decision, guarantee_decision_rationale, iso_currency_code, standard_return_window, unauthorized_return_window, expected_settlement_date, originator_client_id, refunds, recurring_transfer_id, expected_sweep_settlement_schedule, credit_funds_source, facilitator_fee, network_trace_id].hash end # Builds the object from hash diff --git a/lib/plaid/models/transfer_ach_network.rb b/lib/plaid/models/transfer_ach_network.rb index 5ae11771c..6e16b68fd 100644 --- a/lib/plaid/models/transfer_ach_network.rb +++ b/lib/plaid/models/transfer_ach_network.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_authorization.rb b/lib/plaid/models/transfer_authorization.rb index 0eda3b629..774d8260d 100644 --- a/lib/plaid/models/transfer_authorization.rb +++ b/lib/plaid/models/transfer_authorization.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_authorization_cancel_request.rb b/lib/plaid/models/transfer_authorization_cancel_request.rb index db2377f60..e63652320 100644 --- a/lib/plaid/models/transfer_authorization_cancel_request.rb +++ b/lib/plaid/models/transfer_authorization_cancel_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_authorization_cancel_response.rb b/lib/plaid/models/transfer_authorization_cancel_response.rb index 63542efea..a515b9900 100644 --- a/lib/plaid/models/transfer_authorization_cancel_response.rb +++ b/lib/plaid/models/transfer_authorization_cancel_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_authorization_create_request.rb b/lib/plaid/models/transfer_authorization_create_request.rb index ab759561d..485f76f78 100644 --- a/lib/plaid/models/transfer_authorization_create_request.rb +++ b/lib/plaid/models/transfer_authorization_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -31,6 +31,9 @@ class TransferAuthorizationCreateRequest # Specify the account used to fund the transfer. Should be specified if using legacy funding methods only. If using Plaid Ledger, leave this field blank. Customers can find a list of `funding_account_id`s in the Accounts page of your Plaid Dashboard, under the \"Account ID\" column. If this field is left blank and you are using legacy funding methods, this will default to the default `funding_account_id` specified during onboarding. Otherwise, Plaid Ledger will be used. attr_accessor :funding_account_id + # Specify which ledger balance used to fund the transfer. Customers can find a list of `ledger_id`s in the Accounts page of your Plaid Dashboard. If this field is left blank, this will default to id of the default ledger balance. + attr_accessor :ledger_id + # The payment profile token associated with the Payment Profile that will be debited or credited. Required if not using `access_token`. attr_accessor :payment_profile_token @@ -55,7 +58,7 @@ class TransferAuthorizationCreateRequest # The currency of the transfer amount. The default value is \"USD\". attr_accessor :iso_currency_code - # A random key provided by the client, per unique authorization, which expires after 48 hours. Maximum of 50 characters. The API supports idempotency for safely retrying requests without accidentally performing the same operation twice. For example, if a request to create an authorization fails due to a network connection error, you can retry the request with the same idempotency key to guarantee that only a single authorization is created. This idempotency key expires after 48 hours, after which the same key can be reused. Failure to provide this key may result in duplicate charges. + # A random key provided by the client, per unique authorization, which expires after 48 hours. Maximum of 50 characters. The API supports idempotency for safely retrying requests without accidentally performing the same operation twice. For example, if a request to create an authorization fails due to a network connection error, you can retry the request with the same idempotency key to guarantee that only a single authorization is created. Idempotency does not apply to authorizations whose decisions are `user_action_required`. Therefore you may re-attempt the authorization after completing the required user action without changing `idempotency_key`. This idempotency key expires after 48 hours, after which the same key can be reused. Failure to provide this key may result in duplicate charges. attr_accessor :idempotency_key # If the end user is initiating the specific transfer themselves via an interactive UI, this should be `true`; for automatic recurring payments where the end user is not actually initiating each individual transfer, it should be `false`. This field is not currently used and is present to support planned future functionality. @@ -105,6 +108,7 @@ def self.attribute_map :'access_token' => :'access_token', :'account_id' => :'account_id', :'funding_account_id' => :'funding_account_id', + :'ledger_id' => :'ledger_id', :'payment_profile_token' => :'payment_profile_token', :'type' => :'type', :'network' => :'network', @@ -138,6 +142,7 @@ def self.openapi_types :'access_token' => :'String', :'account_id' => :'String', :'funding_account_id' => :'String', + :'ledger_id' => :'String', :'payment_profile_token' => :'String', :'type' => :'TransferType', :'network' => :'TransferNetwork', @@ -162,6 +167,7 @@ def self.openapi_types def self.openapi_nullable Set.new([ :'funding_account_id', + :'ledger_id', :'wire_details', :'idempotency_key', :'user_present', @@ -207,6 +213,10 @@ def initialize(attributes = {}) self.funding_account_id = attributes[:'funding_account_id'] end + if attributes.key?(:'ledger_id') + self.ledger_id = attributes[:'ledger_id'] + end + if attributes.key?(:'payment_profile_token') self.payment_profile_token = attributes[:'payment_profile_token'] end @@ -348,6 +358,7 @@ def ==(o) access_token == o.access_token && account_id == o.account_id && funding_account_id == o.funding_account_id && + ledger_id == o.ledger_id && payment_profile_token == o.payment_profile_token && type == o.type && network == o.network && @@ -376,7 +387,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [client_id, secret, access_token, account_id, funding_account_id, payment_profile_token, type, network, amount, ach_class, wire_details, user, device, origination_account_id, iso_currency_code, idempotency_key, user_present, with_guarantee, beacon_session_id, originator_client_id, credit_funds_source, test_clock_id].hash + [client_id, secret, access_token, account_id, funding_account_id, ledger_id, payment_profile_token, type, network, amount, ach_class, wire_details, user, device, origination_account_id, iso_currency_code, idempotency_key, user_present, with_guarantee, beacon_session_id, originator_client_id, credit_funds_source, test_clock_id].hash end # Builds the object from hash diff --git a/lib/plaid/models/transfer_authorization_create_response.rb b/lib/plaid/models/transfer_authorization_create_response.rb index 5ca812ec1..cf77e00a3 100644 --- a/lib/plaid/models/transfer_authorization_create_response.rb +++ b/lib/plaid/models/transfer_authorization_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_authorization_decision.rb b/lib/plaid/models/transfer_authorization_decision.rb index dba75dc59..d551f3bbc 100644 --- a/lib/plaid/models/transfer_authorization_decision.rb +++ b/lib/plaid/models/transfer_authorization_decision.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_authorization_decision_rationale.rb b/lib/plaid/models/transfer_authorization_decision_rationale.rb index 998a70566..e2b617955 100644 --- a/lib/plaid/models/transfer_authorization_decision_rationale.rb +++ b/lib/plaid/models/transfer_authorization_decision_rationale.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_authorization_decision_rationale_code.rb b/lib/plaid/models/transfer_authorization_decision_rationale_code.rb index 06f31e4d9..7831e009b 100644 --- a/lib/plaid/models/transfer_authorization_decision_rationale_code.rb +++ b/lib/plaid/models/transfer_authorization_decision_rationale_code.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_authorization_device.rb b/lib/plaid/models/transfer_authorization_device.rb index 37266a11c..21c067b78 100644 --- a/lib/plaid/models/transfer_authorization_device.rb +++ b/lib/plaid/models/transfer_authorization_device.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_authorization_guarantee_decision.rb b/lib/plaid/models/transfer_authorization_guarantee_decision.rb index 85f80d06f..75b645ae0 100644 --- a/lib/plaid/models/transfer_authorization_guarantee_decision.rb +++ b/lib/plaid/models/transfer_authorization_guarantee_decision.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_authorization_guarantee_decision_rationale.rb b/lib/plaid/models/transfer_authorization_guarantee_decision_rationale.rb index 347837dc5..c68b1cc47 100644 --- a/lib/plaid/models/transfer_authorization_guarantee_decision_rationale.rb +++ b/lib/plaid/models/transfer_authorization_guarantee_decision_rationale.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_authorization_guarantee_decision_rationale_code.rb b/lib/plaid/models/transfer_authorization_guarantee_decision_rationale_code.rb index c1f6d109c..1f6ce7e66 100644 --- a/lib/plaid/models/transfer_authorization_guarantee_decision_rationale_code.rb +++ b/lib/plaid/models/transfer_authorization_guarantee_decision_rationale_code.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_authorization_payment_risk.rb b/lib/plaid/models/transfer_authorization_payment_risk.rb index 1a70e04fe..2d846a309 100644 --- a/lib/plaid/models/transfer_authorization_payment_risk.rb +++ b/lib/plaid/models/transfer_authorization_payment_risk.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_authorization_proposed_transfer.rb b/lib/plaid/models/transfer_authorization_proposed_transfer.rb index 9353f2b56..5cb61da86 100644 --- a/lib/plaid/models/transfer_authorization_proposed_transfer.rb +++ b/lib/plaid/models/transfer_authorization_proposed_transfer.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -24,6 +24,9 @@ class TransferAuthorizationProposedTransfer # The id of the associated funding account, available in the Plaid Dashboard. If present, this indicates which of your business checking accounts will be credited or debited. attr_accessor :funding_account_id + # Plaid’s unique identifier for a Plaid Ledger Balance. + attr_accessor :ledger_id + attr_accessor :type attr_accessor :user @@ -75,6 +78,7 @@ def self.attribute_map :'ach_class' => :'ach_class', :'account_id' => :'account_id', :'funding_account_id' => :'funding_account_id', + :'ledger_id' => :'ledger_id', :'type' => :'type', :'user' => :'user', :'amount' => :'amount', @@ -98,6 +102,7 @@ def self.openapi_types :'ach_class' => :'ACHClass', :'account_id' => :'String', :'funding_account_id' => :'String', + :'ledger_id' => :'String', :'type' => :'TransferType', :'user' => :'TransferUserInResponse', :'amount' => :'String', @@ -114,6 +119,7 @@ def self.openapi_types def self.openapi_nullable Set.new([ :'funding_account_id', + :'ledger_id', :'wire_details', :'originator_client_id', ]) @@ -146,6 +152,10 @@ def initialize(attributes = {}) self.funding_account_id = attributes[:'funding_account_id'] end + if attributes.key?(:'ledger_id') + self.ledger_id = attributes[:'ledger_id'] + end + if attributes.key?(:'type') self.type = attributes[:'type'] end @@ -239,6 +249,7 @@ def ==(o) ach_class == o.ach_class && account_id == o.account_id && funding_account_id == o.funding_account_id && + ledger_id == o.ledger_id && type == o.type && user == o.user && amount == o.amount && @@ -259,7 +270,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [ach_class, account_id, funding_account_id, type, user, amount, network, wire_details, origination_account_id, iso_currency_code, originator_client_id, credit_funds_source].hash + [ach_class, account_id, funding_account_id, ledger_id, type, user, amount, network, wire_details, origination_account_id, iso_currency_code, originator_client_id, credit_funds_source].hash end # Builds the object from hash diff --git a/lib/plaid/models/transfer_authorization_risk_level.rb b/lib/plaid/models/transfer_authorization_risk_level.rb index 465e74367..d66201cd9 100644 --- a/lib/plaid/models/transfer_authorization_risk_level.rb +++ b/lib/plaid/models/transfer_authorization_risk_level.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_authorization_user_in_request.rb b/lib/plaid/models/transfer_authorization_user_in_request.rb index 83e476c97..9aeccd2c8 100644 --- a/lib/plaid/models/transfer_authorization_user_in_request.rb +++ b/lib/plaid/models/transfer_authorization_user_in_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_balance.rb b/lib/plaid/models/transfer_balance.rb index 43ce4ffe9..fce1add44 100644 --- a/lib/plaid/models/transfer_balance.rb +++ b/lib/plaid/models/transfer_balance.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_balance_get_request.rb b/lib/plaid/models/transfer_balance_get_request.rb index 12658fbe5..0b7c858c0 100644 --- a/lib/plaid/models/transfer_balance_get_request.rb +++ b/lib/plaid/models/transfer_balance_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_balance_get_response.rb b/lib/plaid/models/transfer_balance_get_response.rb index eebd98640..b9514570b 100644 --- a/lib/plaid/models/transfer_balance_get_response.rb +++ b/lib/plaid/models/transfer_balance_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_balance_type.rb b/lib/plaid/models/transfer_balance_type.rb index 0a29c8d48..5a3459e0e 100644 --- a/lib/plaid/models/transfer_balance_type.rb +++ b/lib/plaid/models/transfer_balance_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_cancel_request.rb b/lib/plaid/models/transfer_cancel_request.rb index 45664c7f1..ebf9550f3 100644 --- a/lib/plaid/models/transfer_cancel_request.rb +++ b/lib/plaid/models/transfer_cancel_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_cancel_response.rb b/lib/plaid/models/transfer_cancel_response.rb index f706f6d87..b0c60db0d 100644 --- a/lib/plaid/models/transfer_cancel_response.rb +++ b/lib/plaid/models/transfer_cancel_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_capabilities_get_request.rb b/lib/plaid/models/transfer_capabilities_get_request.rb index da51ac092..1f05cf476 100644 --- a/lib/plaid/models/transfer_capabilities_get_request.rb +++ b/lib/plaid/models/transfer_capabilities_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_capabilities_get_response.rb b/lib/plaid/models/transfer_capabilities_get_response.rb index 0ebab6c7f..0438d20d2 100644 --- a/lib/plaid/models/transfer_capabilities_get_response.rb +++ b/lib/plaid/models/transfer_capabilities_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_capabilities_get_rtp.rb b/lib/plaid/models/transfer_capabilities_get_rtp.rb index 550fe66b0..1507ad46d 100644 --- a/lib/plaid/models/transfer_capabilities_get_rtp.rb +++ b/lib/plaid/models/transfer_capabilities_get_rtp.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_configuration_get_request.rb b/lib/plaid/models/transfer_configuration_get_request.rb index 78c2a6993..1589c15c8 100644 --- a/lib/plaid/models/transfer_configuration_get_request.rb +++ b/lib/plaid/models/transfer_configuration_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_configuration_get_response.rb b/lib/plaid/models/transfer_configuration_get_response.rb index 9597d97b5..c2786dee9 100644 --- a/lib/plaid/models/transfer_configuration_get_response.rb +++ b/lib/plaid/models/transfer_configuration_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_create_request.rb b/lib/plaid/models/transfer_create_request.rb index c8abbf6bc..0806e7ca9 100644 --- a/lib/plaid/models/transfer_create_request.rb +++ b/lib/plaid/models/transfer_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_create_response.rb b/lib/plaid/models/transfer_create_response.rb index 3b58caf69..29c043ae4 100644 --- a/lib/plaid/models/transfer_create_response.rb +++ b/lib/plaid/models/transfer_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_credit_funds_source.rb b/lib/plaid/models/transfer_credit_funds_source.rb index a0510da28..07b699059 100644 --- a/lib/plaid/models/transfer_credit_funds_source.rb +++ b/lib/plaid/models/transfer_credit_funds_source.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_credit_usage_configuration.rb b/lib/plaid/models/transfer_credit_usage_configuration.rb index 6babb01dd..d76b2cc5b 100644 --- a/lib/plaid/models/transfer_credit_usage_configuration.rb +++ b/lib/plaid/models/transfer_credit_usage_configuration.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_debit_usage_configuration.rb b/lib/plaid/models/transfer_debit_usage_configuration.rb index 5a6932983..5511e7c98 100644 --- a/lib/plaid/models/transfer_debit_usage_configuration.rb +++ b/lib/plaid/models/transfer_debit_usage_configuration.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_device.rb b/lib/plaid/models/transfer_device.rb index 69d3c07be..c262c7619 100644 --- a/lib/plaid/models/transfer_device.rb +++ b/lib/plaid/models/transfer_device.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_diligence_document_upload_request.rb b/lib/plaid/models/transfer_diligence_document_upload_request.rb index 9a052b31e..fec956e87 100644 --- a/lib/plaid/models/transfer_diligence_document_upload_request.rb +++ b/lib/plaid/models/transfer_diligence_document_upload_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_diligence_document_upload_response.rb b/lib/plaid/models/transfer_diligence_document_upload_response.rb index 9d846e08f..97a1fdc89 100644 --- a/lib/plaid/models/transfer_diligence_document_upload_response.rb +++ b/lib/plaid/models/transfer_diligence_document_upload_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_diligence_status.rb b/lib/plaid/models/transfer_diligence_status.rb index 502a2e2b8..7261fd2bd 100644 --- a/lib/plaid/models/transfer_diligence_status.rb +++ b/lib/plaid/models/transfer_diligence_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_diligence_submit_request.rb b/lib/plaid/models/transfer_diligence_submit_request.rb index b5a6ca088..442f2ceb9 100644 --- a/lib/plaid/models/transfer_diligence_submit_request.rb +++ b/lib/plaid/models/transfer_diligence_submit_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_diligence_submit_response.rb b/lib/plaid/models/transfer_diligence_submit_response.rb index 93bdc6442..9d6003852 100644 --- a/lib/plaid/models/transfer_diligence_submit_response.rb +++ b/lib/plaid/models/transfer_diligence_submit_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_document_purpose.rb b/lib/plaid/models/transfer_document_purpose.rb index 276c95c9f..703caff13 100644 --- a/lib/plaid/models/transfer_document_purpose.rb +++ b/lib/plaid/models/transfer_document_purpose.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_event.rb b/lib/plaid/models/transfer_event.rb index b71d550d3..67c14884e 100644 --- a/lib/plaid/models/transfer_event.rb +++ b/lib/plaid/models/transfer_event.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -30,6 +30,9 @@ class TransferEvent # The id of the associated funding account, available in the Plaid Dashboard. If present, this indicates which of your business checking accounts will be credited or debited. attr_accessor :funding_account_id + # Plaid’s unique identifier for a Plaid Ledger Balance. + attr_accessor :ledger_id + # Plaid’s unique identifier for a transfer. This field is `null` for Plaid Ledger Sweep events. attr_accessor :transfer_id @@ -85,6 +88,7 @@ def self.attribute_map :'event_type' => :'event_type', :'account_id' => :'account_id', :'funding_account_id' => :'funding_account_id', + :'ledger_id' => :'ledger_id', :'transfer_id' => :'transfer_id', :'origination_account_id' => :'origination_account_id', :'transfer_type' => :'transfer_type', @@ -110,6 +114,7 @@ def self.openapi_types :'event_type' => :'TransferEventType', :'account_id' => :'String', :'funding_account_id' => :'String', + :'ledger_id' => :'String', :'transfer_id' => :'String', :'origination_account_id' => :'String', :'transfer_type' => :'OmittableTransferType', @@ -126,6 +131,7 @@ def self.openapi_types def self.openapi_nullable Set.new([ :'funding_account_id', + :'ledger_id', :'origination_account_id', :'failure_reason', :'sweep_id', @@ -170,6 +176,10 @@ def initialize(attributes = {}) self.funding_account_id = attributes[:'funding_account_id'] end + if attributes.key?(:'ledger_id') + self.ledger_id = attributes[:'ledger_id'] + end + if attributes.key?(:'transfer_id') self.transfer_id = attributes[:'transfer_id'] end @@ -271,6 +281,7 @@ def ==(o) event_type == o.event_type && account_id == o.account_id && funding_account_id == o.funding_account_id && + ledger_id == o.ledger_id && transfer_id == o.transfer_id && origination_account_id == o.origination_account_id && transfer_type == o.transfer_type && @@ -291,7 +302,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [event_id, timestamp, event_type, account_id, funding_account_id, transfer_id, origination_account_id, transfer_type, transfer_amount, failure_reason, sweep_id, sweep_amount, refund_id, originator_client_id].hash + [event_id, timestamp, event_type, account_id, funding_account_id, ledger_id, transfer_id, origination_account_id, transfer_type, transfer_amount, failure_reason, sweep_id, sweep_amount, refund_id, originator_client_id].hash end # Builds the object from hash diff --git a/lib/plaid/models/transfer_event_list_request.rb b/lib/plaid/models/transfer_event_list_request.rb index 4162ed6e1..094acc222 100644 --- a/lib/plaid/models/transfer_event_list_request.rb +++ b/lib/plaid/models/transfer_event_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_event_list_response.rb b/lib/plaid/models/transfer_event_list_response.rb index acf83fa1d..347d402b6 100644 --- a/lib/plaid/models/transfer_event_list_response.rb +++ b/lib/plaid/models/transfer_event_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_event_list_transfer_type.rb b/lib/plaid/models/transfer_event_list_transfer_type.rb index 4abccf40d..3c237810f 100644 --- a/lib/plaid/models/transfer_event_list_transfer_type.rb +++ b/lib/plaid/models/transfer_event_list_transfer_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_event_sync_request.rb b/lib/plaid/models/transfer_event_sync_request.rb index 63652ccc2..2a75c746c 100644 --- a/lib/plaid/models/transfer_event_sync_request.rb +++ b/lib/plaid/models/transfer_event_sync_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_event_sync_response.rb b/lib/plaid/models/transfer_event_sync_response.rb index ccab7fc2f..7510457db 100644 --- a/lib/plaid/models/transfer_event_sync_response.rb +++ b/lib/plaid/models/transfer_event_sync_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_event_type.rb b/lib/plaid/models/transfer_event_type.rb index 2e02d0724..5efd4cc97 100644 --- a/lib/plaid/models/transfer_event_type.rb +++ b/lib/plaid/models/transfer_event_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_events_update_webhook.rb b/lib/plaid/models/transfer_events_update_webhook.rb index 39a5dd847..7519865e1 100644 --- a/lib/plaid/models/transfer_events_update_webhook.rb +++ b/lib/plaid/models/transfer_events_update_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_expected_sweep_settlement_schedule_item.rb b/lib/plaid/models/transfer_expected_sweep_settlement_schedule_item.rb index 1b9352476..da6a87f9d 100644 --- a/lib/plaid/models/transfer_expected_sweep_settlement_schedule_item.rb +++ b/lib/plaid/models/transfer_expected_sweep_settlement_schedule_item.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_failure.rb b/lib/plaid/models/transfer_failure.rb index bcb7b10e3..d29458f43 100644 --- a/lib/plaid/models/transfer_failure.rb +++ b/lib/plaid/models/transfer_failure.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_funding_account.rb b/lib/plaid/models/transfer_funding_account.rb index e1269019f..6f421707a 100644 --- a/lib/plaid/models/transfer_funding_account.rb +++ b/lib/plaid/models/transfer_funding_account.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_get_request.rb b/lib/plaid/models/transfer_get_request.rb index 228e9d511..0003413dd 100644 --- a/lib/plaid/models/transfer_get_request.rb +++ b/lib/plaid/models/transfer_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_get_response.rb b/lib/plaid/models/transfer_get_response.rb index 96c0bc111..5bd72a1e1 100644 --- a/lib/plaid/models/transfer_get_response.rb +++ b/lib/plaid/models/transfer_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_intent_authorization_decision.rb b/lib/plaid/models/transfer_intent_authorization_decision.rb index de61eec50..91c36e18f 100644 --- a/lib/plaid/models/transfer_intent_authorization_decision.rb +++ b/lib/plaid/models/transfer_intent_authorization_decision.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_intent_create.rb b/lib/plaid/models/transfer_intent_create.rb index e4a650975..b9fb79abb 100644 --- a/lib/plaid/models/transfer_intent_create.rb +++ b/lib/plaid/models/transfer_intent_create.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_intent_create_mode.rb b/lib/plaid/models/transfer_intent_create_mode.rb index 701353a96..f8a74f8b9 100644 --- a/lib/plaid/models/transfer_intent_create_mode.rb +++ b/lib/plaid/models/transfer_intent_create_mode.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_intent_create_network.rb b/lib/plaid/models/transfer_intent_create_network.rb index a1102234e..c4e56d763 100644 --- a/lib/plaid/models/transfer_intent_create_network.rb +++ b/lib/plaid/models/transfer_intent_create_network.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_intent_create_request.rb b/lib/plaid/models/transfer_intent_create_request.rb index bcbf3962a..1a2a4b643 100644 --- a/lib/plaid/models/transfer_intent_create_request.rb +++ b/lib/plaid/models/transfer_intent_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_intent_create_response.rb b/lib/plaid/models/transfer_intent_create_response.rb index b3a633928..3cfd4500c 100644 --- a/lib/plaid/models/transfer_intent_create_response.rb +++ b/lib/plaid/models/transfer_intent_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_intent_get.rb b/lib/plaid/models/transfer_intent_get.rb index 1f3b1914d..b35659df7 100644 --- a/lib/plaid/models/transfer_intent_get.rb +++ b/lib/plaid/models/transfer_intent_get.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_intent_get_failure_reason.rb b/lib/plaid/models/transfer_intent_get_failure_reason.rb index 38ede95e2..799419dd1 100644 --- a/lib/plaid/models/transfer_intent_get_failure_reason.rb +++ b/lib/plaid/models/transfer_intent_get_failure_reason.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_intent_get_request.rb b/lib/plaid/models/transfer_intent_get_request.rb index 467227c42..f942aad15 100644 --- a/lib/plaid/models/transfer_intent_get_request.rb +++ b/lib/plaid/models/transfer_intent_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_intent_get_response.rb b/lib/plaid/models/transfer_intent_get_response.rb index 8111af559..93e810eb8 100644 --- a/lib/plaid/models/transfer_intent_get_response.rb +++ b/lib/plaid/models/transfer_intent_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_intent_status.rb b/lib/plaid/models/transfer_intent_status.rb index 9bccbce7a..5f7336ef0 100644 --- a/lib/plaid/models/transfer_intent_status.rb +++ b/lib/plaid/models/transfer_intent_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_ledger_balance.rb b/lib/plaid/models/transfer_ledger_balance.rb index 71137fed9..237c526dd 100644 --- a/lib/plaid/models/transfer_ledger_balance.rb +++ b/lib/plaid/models/transfer_ledger_balance.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_ledger_deposit_request.rb b/lib/plaid/models/transfer_ledger_deposit_request.rb index 4e1f3f0e3..effa2b1e5 100644 --- a/lib/plaid/models/transfer_ledger_deposit_request.rb +++ b/lib/plaid/models/transfer_ledger_deposit_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -28,6 +28,9 @@ class TransferLedgerDepositRequest # Specify which funding account linked to this Plaid Ledger to use. Customers can find a list of `funding_account_id`s in the Accounts page of your Plaid Dashboard, under the \"Account ID\" column. If this field is left blank, this will default to the default `funding_account_id` specified during onboarding. If an `originator_client_id` is specified, the `funding_account_id` must belong to the specified originator, and if `funding_account_id` is left blank, the originator's default `funding_account_id` will be used. attr_accessor :funding_account_id + # Specify which ledger balance to deposit to. Customers can find a list of `ledger_id`s in the Accounts page of your Plaid Dashboard. If this field is left blank, this will default to id of the default ledger balance. + attr_accessor :ledger_id + # A positive amount of how much will be deposited into ledger (decimal string with two digits of precision e.g. \"5.50\"). attr_accessor :amount @@ -68,6 +71,7 @@ def self.attribute_map :'secret' => :'secret', :'originator_client_id' => :'originator_client_id', :'funding_account_id' => :'funding_account_id', + :'ledger_id' => :'ledger_id', :'amount' => :'amount', :'description' => :'description', :'idempotency_key' => :'idempotency_key', @@ -87,6 +91,7 @@ def self.openapi_types :'secret' => :'String', :'originator_client_id' => :'String', :'funding_account_id' => :'String', + :'ledger_id' => :'String', :'amount' => :'String', :'description' => :'String', :'idempotency_key' => :'String', @@ -99,6 +104,7 @@ def self.openapi_nullable Set.new([ :'originator_client_id', :'funding_account_id', + :'ledger_id', :'description', ]) end @@ -134,6 +140,10 @@ def initialize(attributes = {}) self.funding_account_id = attributes[:'funding_account_id'] end + if attributes.key?(:'ledger_id') + self.ledger_id = attributes[:'ledger_id'] + end + if attributes.key?(:'amount') self.amount = attributes[:'amount'] end @@ -226,6 +236,7 @@ def ==(o) secret == o.secret && originator_client_id == o.originator_client_id && funding_account_id == o.funding_account_id && + ledger_id == o.ledger_id && amount == o.amount && description == o.description && idempotency_key == o.idempotency_key && @@ -241,7 +252,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [client_id, secret, originator_client_id, funding_account_id, amount, description, idempotency_key, network].hash + [client_id, secret, originator_client_id, funding_account_id, ledger_id, amount, description, idempotency_key, network].hash end # Builds the object from hash diff --git a/lib/plaid/models/transfer_ledger_deposit_response.rb b/lib/plaid/models/transfer_ledger_deposit_response.rb index 74f65264e..313809594 100644 --- a/lib/plaid/models/transfer_ledger_deposit_response.rb +++ b/lib/plaid/models/transfer_ledger_deposit_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_ledger_distribute_request.rb b/lib/plaid/models/transfer_ledger_distribute_request.rb index 081852e2b..0bda594ac 100644 --- a/lib/plaid/models/transfer_ledger_distribute_request.rb +++ b/lib/plaid/models/transfer_ledger_distribute_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_ledger_distribute_response.rb b/lib/plaid/models/transfer_ledger_distribute_response.rb index 6d1e1fc84..4f0b17bab 100644 --- a/lib/plaid/models/transfer_ledger_distribute_response.rb +++ b/lib/plaid/models/transfer_ledger_distribute_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_ledger_get_request.rb b/lib/plaid/models/transfer_ledger_get_request.rb index 830cef91f..4966983b1 100644 --- a/lib/plaid/models/transfer_ledger_get_request.rb +++ b/lib/plaid/models/transfer_ledger_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -22,6 +22,9 @@ class TransferLedgerGetRequest # Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body. attr_accessor :secret + # Specify which ledger balance to get. Customers can find a list of `ledger_id`s in the Accounts page of your Plaid Dashboard. If this field is left blank, this will default to id of the default ledger balance. + attr_accessor :ledger_id + # Client ID of the end customer. attr_accessor :originator_client_id @@ -30,6 +33,7 @@ def self.attribute_map { :'client_id' => :'client_id', :'secret' => :'secret', + :'ledger_id' => :'ledger_id', :'originator_client_id' => :'originator_client_id' } end @@ -44,6 +48,7 @@ def self.openapi_types { :'client_id' => :'String', :'secret' => :'String', + :'ledger_id' => :'String', :'originator_client_id' => :'String' } end @@ -51,6 +56,7 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'ledger_id', :'originator_client_id' ]) end @@ -78,6 +84,10 @@ def initialize(attributes = {}) self.secret = attributes[:'secret'] end + if attributes.key?(:'ledger_id') + self.ledger_id = attributes[:'ledger_id'] + end + if attributes.key?(:'originator_client_id') self.originator_client_id = attributes[:'originator_client_id'] end @@ -103,6 +113,7 @@ def ==(o) self.class == o.class && client_id == o.client_id && secret == o.secret && + ledger_id == o.ledger_id && originator_client_id == o.originator_client_id end @@ -115,7 +126,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [client_id, secret, originator_client_id].hash + [client_id, secret, ledger_id, originator_client_id].hash end # Builds the object from hash diff --git a/lib/plaid/models/transfer_ledger_get_response.rb b/lib/plaid/models/transfer_ledger_get_response.rb index 93025f011..4ef33525d 100644 --- a/lib/plaid/models/transfer_ledger_get_response.rb +++ b/lib/plaid/models/transfer_ledger_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_ledger_sweep_simulate_event_type.rb b/lib/plaid/models/transfer_ledger_sweep_simulate_event_type.rb index 86574b7a8..40d5a8cd5 100644 --- a/lib/plaid/models/transfer_ledger_sweep_simulate_event_type.rb +++ b/lib/plaid/models/transfer_ledger_sweep_simulate_event_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_ledger_withdraw_request.rb b/lib/plaid/models/transfer_ledger_withdraw_request.rb index c2d6d289b..e44b6036f 100644 --- a/lib/plaid/models/transfer_ledger_withdraw_request.rb +++ b/lib/plaid/models/transfer_ledger_withdraw_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -28,6 +28,9 @@ class TransferLedgerWithdrawRequest # Specify which funding account linked to this Plaid Ledger to use. Customers can find a list of `funding_account_id`s in the Accounts page of your Plaid Dashboard, under the \"Account ID\" column. If this field is left blank, this will default to the default `funding_account_id` specified during onboarding. If an `originator_client_id` is specified, the `funding_account_id` must belong to the specified originator, and if `funding_account_id` is left blank, the originator's default `funding_account_id` will be used. attr_accessor :funding_account_id + # Specify which ledger balance to withdraw from. Customers can find a list of `ledger_id`s in the Accounts page of your Plaid Dashboard. If this field is left blank, this will default to id of the default ledger balance. + attr_accessor :ledger_id + # A positive amount of how much will be withdrawn from the ledger balance (decimal string with two digits of precision e.g. \"5.50\"). attr_accessor :amount @@ -68,6 +71,7 @@ def self.attribute_map :'secret' => :'secret', :'originator_client_id' => :'originator_client_id', :'funding_account_id' => :'funding_account_id', + :'ledger_id' => :'ledger_id', :'amount' => :'amount', :'description' => :'description', :'idempotency_key' => :'idempotency_key', @@ -87,6 +91,7 @@ def self.openapi_types :'secret' => :'String', :'originator_client_id' => :'String', :'funding_account_id' => :'String', + :'ledger_id' => :'String', :'amount' => :'String', :'description' => :'String', :'idempotency_key' => :'String', @@ -99,6 +104,7 @@ def self.openapi_nullable Set.new([ :'originator_client_id', :'funding_account_id', + :'ledger_id', :'description', ]) end @@ -134,6 +140,10 @@ def initialize(attributes = {}) self.funding_account_id = attributes[:'funding_account_id'] end + if attributes.key?(:'ledger_id') + self.ledger_id = attributes[:'ledger_id'] + end + if attributes.key?(:'amount') self.amount = attributes[:'amount'] end @@ -226,6 +236,7 @@ def ==(o) secret == o.secret && originator_client_id == o.originator_client_id && funding_account_id == o.funding_account_id && + ledger_id == o.ledger_id && amount == o.amount && description == o.description && idempotency_key == o.idempotency_key && @@ -241,7 +252,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [client_id, secret, originator_client_id, funding_account_id, amount, description, idempotency_key, network].hash + [client_id, secret, originator_client_id, funding_account_id, ledger_id, amount, description, idempotency_key, network].hash end # Builds the object from hash diff --git a/lib/plaid/models/transfer_ledger_withdraw_response.rb b/lib/plaid/models/transfer_ledger_withdraw_response.rb index ba2ca7c45..2ab8be9ca 100644 --- a/lib/plaid/models/transfer_ledger_withdraw_response.rb +++ b/lib/plaid/models/transfer_ledger_withdraw_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_list_request.rb b/lib/plaid/models/transfer_list_request.rb index c8a151998..3c4c231e1 100644 --- a/lib/plaid/models/transfer_list_request.rb +++ b/lib/plaid/models/transfer_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_list_response.rb b/lib/plaid/models/transfer_list_response.rb index aecfd1928..8e34b7710 100644 --- a/lib/plaid/models/transfer_list_response.rb +++ b/lib/plaid/models/transfer_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_metrics_get_authorization_usage.rb b/lib/plaid/models/transfer_metrics_get_authorization_usage.rb new file mode 100644 index 000000000..f9f0a043d --- /dev/null +++ b/lib/plaid/models/transfer_metrics_get_authorization_usage.rb @@ -0,0 +1,251 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Details regarding authorization usage. + class TransferMetricsGetAuthorizationUsage + # The daily credit utilization formatted as a decimal. + attr_accessor :daily_credit_utilization + + # The daily debit utilization formatted as a decimal. + attr_accessor :daily_debit_utilization + + # The monthly credit utilization formatted as a decimal. + attr_accessor :monthly_credit_utilization + + # The monthly debit utilization formatted as a decimal. + attr_accessor :monthly_debit_utilization + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'daily_credit_utilization' => :'daily_credit_utilization', + :'daily_debit_utilization' => :'daily_debit_utilization', + :'monthly_credit_utilization' => :'monthly_credit_utilization', + :'monthly_debit_utilization' => :'monthly_debit_utilization' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'daily_credit_utilization' => :'String', + :'daily_debit_utilization' => :'String', + :'monthly_credit_utilization' => :'String', + :'monthly_debit_utilization' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::TransferMetricsGetAuthorizationUsage` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::TransferMetricsGetAuthorizationUsage`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'daily_credit_utilization') + self.daily_credit_utilization = attributes[:'daily_credit_utilization'] + end + + if attributes.key?(:'daily_debit_utilization') + self.daily_debit_utilization = attributes[:'daily_debit_utilization'] + end + + if attributes.key?(:'monthly_credit_utilization') + self.monthly_credit_utilization = attributes[:'monthly_credit_utilization'] + end + + if attributes.key?(:'monthly_debit_utilization') + self.monthly_debit_utilization = attributes[:'monthly_debit_utilization'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + daily_credit_utilization == o.daily_credit_utilization && + daily_debit_utilization == o.daily_debit_utilization && + monthly_credit_utilization == o.monthly_credit_utilization && + monthly_debit_utilization == o.monthly_debit_utilization + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [daily_credit_utilization, daily_debit_utilization, monthly_credit_utilization, monthly_debit_utilization].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/transfer_metrics_get_request.rb b/lib/plaid/models/transfer_metrics_get_request.rb index 6c51a9720..51900c2c3 100644 --- a/lib/plaid/models/transfer_metrics_get_request.rb +++ b/lib/plaid/models/transfer_metrics_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_metrics_get_response.rb b/lib/plaid/models/transfer_metrics_get_response.rb index a1e123bc8..9ad5e654e 100644 --- a/lib/plaid/models/transfer_metrics_get_response.rb +++ b/lib/plaid/models/transfer_metrics_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -39,6 +39,8 @@ class TransferMetricsGetResponse attr_accessor :return_rates + attr_accessor :authorization_usage + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { @@ -49,7 +51,8 @@ def self.attribute_map :'monthly_debit_transfer_volume' => :'monthly_debit_transfer_volume', :'monthly_credit_transfer_volume' => :'monthly_credit_transfer_volume', :'iso_currency_code' => :'iso_currency_code', - :'return_rates' => :'return_rates' + :'return_rates' => :'return_rates', + :'authorization_usage' => :'authorization_usage' } end @@ -68,14 +71,16 @@ def self.openapi_types :'monthly_debit_transfer_volume' => :'String', :'monthly_credit_transfer_volume' => :'String', :'iso_currency_code' => :'String', - :'return_rates' => :'TransferMetricsGetReturnRates' + :'return_rates' => :'TransferMetricsGetReturnRates', + :'authorization_usage' => :'TransferMetricsGetAuthorizationUsage' } end # List of attributes with nullable: true def self.openapi_nullable Set.new([ - :'return_rates' + :'return_rates', + :'authorization_usage' ]) end @@ -125,6 +130,10 @@ def initialize(attributes = {}) if attributes.key?(:'return_rates') self.return_rates = attributes[:'return_rates'] end + + if attributes.key?(:'authorization_usage') + self.authorization_usage = attributes[:'authorization_usage'] + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -187,7 +196,8 @@ def ==(o) monthly_debit_transfer_volume == o.monthly_debit_transfer_volume && monthly_credit_transfer_volume == o.monthly_credit_transfer_volume && iso_currency_code == o.iso_currency_code && - return_rates == o.return_rates + return_rates == o.return_rates && + authorization_usage == o.authorization_usage end # @see the `==` method @@ -199,7 +209,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [request_id, daily_debit_transfer_volume, daily_credit_transfer_volume, monthly_transfer_volume, monthly_debit_transfer_volume, monthly_credit_transfer_volume, iso_currency_code, return_rates].hash + [request_id, daily_debit_transfer_volume, daily_credit_transfer_volume, monthly_transfer_volume, monthly_debit_transfer_volume, monthly_credit_transfer_volume, iso_currency_code, return_rates, authorization_usage].hash end # Builds the object from hash diff --git a/lib/plaid/models/transfer_metrics_get_return_rates.rb b/lib/plaid/models/transfer_metrics_get_return_rates.rb index 954c440ee..622f4c721 100644 --- a/lib/plaid/models/transfer_metrics_get_return_rates.rb +++ b/lib/plaid/models/transfer_metrics_get_return_rates.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_metrics_get_return_rates_over_interval.rb b/lib/plaid/models/transfer_metrics_get_return_rates_over_interval.rb index f256c3dd2..163fd62e0 100644 --- a/lib/plaid/models/transfer_metrics_get_return_rates_over_interval.rb +++ b/lib/plaid/models/transfer_metrics_get_return_rates_over_interval.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_migrate_account_request.rb b/lib/plaid/models/transfer_migrate_account_request.rb index 95717deee..fdddc5716 100644 --- a/lib/plaid/models/transfer_migrate_account_request.rb +++ b/lib/plaid/models/transfer_migrate_account_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_migrate_account_response.rb b/lib/plaid/models/transfer_migrate_account_response.rb index b76fab398..680b8cbf2 100644 --- a/lib/plaid/models/transfer_migrate_account_response.rb +++ b/lib/plaid/models/transfer_migrate_account_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_network.rb b/lib/plaid/models/transfer_network.rb index b88bc92d0..cfc599cf2 100644 --- a/lib/plaid/models/transfer_network.rb +++ b/lib/plaid/models/transfer_network.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_originator_address.rb b/lib/plaid/models/transfer_originator_address.rb index 687fa99d0..765d73f20 100644 --- a/lib/plaid/models/transfer_originator_address.rb +++ b/lib/plaid/models/transfer_originator_address.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_originator_create_request.rb b/lib/plaid/models/transfer_originator_create_request.rb index 4091ba717..201d665a4 100644 --- a/lib/plaid/models/transfer_originator_create_request.rb +++ b/lib/plaid/models/transfer_originator_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_originator_create_response.rb b/lib/plaid/models/transfer_originator_create_response.rb index 28519e7cb..c4d848ecf 100644 --- a/lib/plaid/models/transfer_originator_create_response.rb +++ b/lib/plaid/models/transfer_originator_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_originator_diligence.rb b/lib/plaid/models/transfer_originator_diligence.rb index 3ebb80365..d272c07f5 100644 --- a/lib/plaid/models/transfer_originator_diligence.rb +++ b/lib/plaid/models/transfer_originator_diligence.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_originator_funding_account_update_request.rb b/lib/plaid/models/transfer_originator_funding_account_update_request.rb index ec29ce025..6330fe307 100644 --- a/lib/plaid/models/transfer_originator_funding_account_update_request.rb +++ b/lib/plaid/models/transfer_originator_funding_account_update_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_originator_funding_account_update_response.rb b/lib/plaid/models/transfer_originator_funding_account_update_response.rb index cc6e4f15c..715b80d91 100644 --- a/lib/plaid/models/transfer_originator_funding_account_update_response.rb +++ b/lib/plaid/models/transfer_originator_funding_account_update_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_originator_get_request.rb b/lib/plaid/models/transfer_originator_get_request.rb index 7e607a2cb..3dbd157a7 100644 --- a/lib/plaid/models/transfer_originator_get_request.rb +++ b/lib/plaid/models/transfer_originator_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_originator_get_response.rb b/lib/plaid/models/transfer_originator_get_response.rb index 0735db339..66c5ec8f0 100644 --- a/lib/plaid/models/transfer_originator_get_response.rb +++ b/lib/plaid/models/transfer_originator_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_originator_list_request.rb b/lib/plaid/models/transfer_originator_list_request.rb index 19587b7ba..9935c0321 100644 --- a/lib/plaid/models/transfer_originator_list_request.rb +++ b/lib/plaid/models/transfer_originator_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_originator_list_response.rb b/lib/plaid/models/transfer_originator_list_response.rb index 824e840c3..01bddc491 100644 --- a/lib/plaid/models/transfer_originator_list_response.rb +++ b/lib/plaid/models/transfer_originator_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_platform_originator_create_request.rb b/lib/plaid/models/transfer_platform_originator_create_request.rb new file mode 100644 index 000000000..b97bfdf8f --- /dev/null +++ b/lib/plaid/models/transfer_platform_originator_create_request.rb @@ -0,0 +1,275 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Defines the request schema for `/transfer/platform/originator/create` + class TransferPlatformOriginatorCreateRequest + # Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body. + attr_accessor :client_id + + # Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body. + attr_accessor :secret + + # The client ID of the originator + attr_accessor :originator_client_id + + attr_accessor :tos_acceptance_metadata + + # ISO8601 timestamp indicating the most recent time the platform collected onboarding data from the originator + attr_accessor :originator_reviewed_at + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'client_id' => :'client_id', + :'secret' => :'secret', + :'originator_client_id' => :'originator_client_id', + :'tos_acceptance_metadata' => :'tos_acceptance_metadata', + :'originator_reviewed_at' => :'originator_reviewed_at' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'client_id' => :'String', + :'secret' => :'String', + :'originator_client_id' => :'String', + :'tos_acceptance_metadata' => :'TransferPlatformTOSAcceptanceMetadata', + :'originator_reviewed_at' => :'Time' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::TransferPlatformOriginatorCreateRequest` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::TransferPlatformOriginatorCreateRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'client_id') + self.client_id = attributes[:'client_id'] + end + + if attributes.key?(:'secret') + self.secret = attributes[:'secret'] + end + + if attributes.key?(:'originator_client_id') + self.originator_client_id = attributes[:'originator_client_id'] + end + + if attributes.key?(:'tos_acceptance_metadata') + self.tos_acceptance_metadata = attributes[:'tos_acceptance_metadata'] + end + + if attributes.key?(:'originator_reviewed_at') + self.originator_reviewed_at = attributes[:'originator_reviewed_at'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @originator_client_id.nil? + invalid_properties.push('invalid value for "originator_client_id", originator_client_id cannot be nil.') + end + + if @tos_acceptance_metadata.nil? + invalid_properties.push('invalid value for "tos_acceptance_metadata", tos_acceptance_metadata cannot be nil.') + end + + if @originator_reviewed_at.nil? + invalid_properties.push('invalid value for "originator_reviewed_at", originator_reviewed_at cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @originator_client_id.nil? + return false if @tos_acceptance_metadata.nil? + return false if @originator_reviewed_at.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + client_id == o.client_id && + secret == o.secret && + originator_client_id == o.originator_client_id && + tos_acceptance_metadata == o.tos_acceptance_metadata && + originator_reviewed_at == o.originator_reviewed_at + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [client_id, secret, originator_client_id, tos_acceptance_metadata, originator_reviewed_at].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/transfer_platform_originator_create_response.rb b/lib/plaid/models/transfer_platform_originator_create_response.rb new file mode 100644 index 000000000..550f6b268 --- /dev/null +++ b/lib/plaid/models/transfer_platform_originator_create_response.rb @@ -0,0 +1,226 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Defines the response schema for `/transfer/platform/originator/create` + class TransferPlatformOriginatorCreateResponse + # A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive. + attr_accessor :request_id + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'request_id' => :'request_id' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'request_id' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::TransferPlatformOriginatorCreateResponse` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::TransferPlatformOriginatorCreateResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'request_id') + self.request_id = attributes[:'request_id'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @request_id.nil? + invalid_properties.push('invalid value for "request_id", request_id cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @request_id.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + request_id == o.request_id + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [request_id].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/transfer_platform_tos_acceptance_metadata.rb b/lib/plaid/models/transfer_platform_tos_acceptance_metadata.rb new file mode 100644 index 000000000..6df87d242 --- /dev/null +++ b/lib/plaid/models/transfer_platform_tos_acceptance_metadata.rb @@ -0,0 +1,256 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Metadata related to the acceptance of Terms of Service + class TransferPlatformTOSAcceptanceMetadata + # Indicates whether the TOS agreement was accepted + attr_accessor :agreement_accepted + + # The IP address of the originator when they accepted the TOS. Formatted as an IPv4 or IPv6 IP address + attr_accessor :originator_ip_address + + # ISO8601 timestamp indicating when the originator accepted the TOS + attr_accessor :agreement_accepted_at + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'agreement_accepted' => :'agreement_accepted', + :'originator_ip_address' => :'originator_ip_address', + :'agreement_accepted_at' => :'agreement_accepted_at' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'agreement_accepted' => :'Boolean', + :'originator_ip_address' => :'String', + :'agreement_accepted_at' => :'Time' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::TransferPlatformTOSAcceptanceMetadata` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::TransferPlatformTOSAcceptanceMetadata`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'agreement_accepted') + self.agreement_accepted = attributes[:'agreement_accepted'] + end + + if attributes.key?(:'originator_ip_address') + self.originator_ip_address = attributes[:'originator_ip_address'] + end + + if attributes.key?(:'agreement_accepted_at') + self.agreement_accepted_at = attributes[:'agreement_accepted_at'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @agreement_accepted.nil? + invalid_properties.push('invalid value for "agreement_accepted", agreement_accepted cannot be nil.') + end + + if @originator_ip_address.nil? + invalid_properties.push('invalid value for "originator_ip_address", originator_ip_address cannot be nil.') + end + + if @agreement_accepted_at.nil? + invalid_properties.push('invalid value for "agreement_accepted_at", agreement_accepted_at cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @agreement_accepted.nil? + return false if @originator_ip_address.nil? + return false if @agreement_accepted_at.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + agreement_accepted == o.agreement_accepted && + originator_ip_address == o.originator_ip_address && + agreement_accepted_at == o.agreement_accepted_at + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [agreement_accepted, originator_ip_address, agreement_accepted_at].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/transfer_questionnaire_create_request.rb b/lib/plaid/models/transfer_questionnaire_create_request.rb index 1f8b2e217..a27a199fa 100644 --- a/lib/plaid/models/transfer_questionnaire_create_request.rb +++ b/lib/plaid/models/transfer_questionnaire_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_questionnaire_create_response.rb b/lib/plaid/models/transfer_questionnaire_create_response.rb index fae2348c6..930ecb65b 100644 --- a/lib/plaid/models/transfer_questionnaire_create_response.rb +++ b/lib/plaid/models/transfer_questionnaire_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_recurring_cancel_request.rb b/lib/plaid/models/transfer_recurring_cancel_request.rb index c0eb17780..00647b40f 100644 --- a/lib/plaid/models/transfer_recurring_cancel_request.rb +++ b/lib/plaid/models/transfer_recurring_cancel_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_recurring_cancel_response.rb b/lib/plaid/models/transfer_recurring_cancel_response.rb index 6ee71455f..126ea7635 100644 --- a/lib/plaid/models/transfer_recurring_cancel_response.rb +++ b/lib/plaid/models/transfer_recurring_cancel_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_recurring_create_request.rb b/lib/plaid/models/transfer_recurring_create_request.rb index 076a031b3..dd852781f 100644 --- a/lib/plaid/models/transfer_recurring_create_request.rb +++ b/lib/plaid/models/transfer_recurring_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_recurring_create_response.rb b/lib/plaid/models/transfer_recurring_create_response.rb index 42a100c3d..055e646c0 100644 --- a/lib/plaid/models/transfer_recurring_create_response.rb +++ b/lib/plaid/models/transfer_recurring_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_recurring_get_request.rb b/lib/plaid/models/transfer_recurring_get_request.rb index 5a34c3ecd..d77068f2c 100644 --- a/lib/plaid/models/transfer_recurring_get_request.rb +++ b/lib/plaid/models/transfer_recurring_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_recurring_get_response.rb b/lib/plaid/models/transfer_recurring_get_response.rb index 241529428..7ba7f330e 100644 --- a/lib/plaid/models/transfer_recurring_get_response.rb +++ b/lib/plaid/models/transfer_recurring_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_recurring_list_request.rb b/lib/plaid/models/transfer_recurring_list_request.rb index 046a4cc7c..aefaff22d 100644 --- a/lib/plaid/models/transfer_recurring_list_request.rb +++ b/lib/plaid/models/transfer_recurring_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_recurring_list_response.rb b/lib/plaid/models/transfer_recurring_list_response.rb index 44836c8e0..73001af27 100644 --- a/lib/plaid/models/transfer_recurring_list_response.rb +++ b/lib/plaid/models/transfer_recurring_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_recurring_network.rb b/lib/plaid/models/transfer_recurring_network.rb index 97bbbaa3c..c2821ce21 100644 --- a/lib/plaid/models/transfer_recurring_network.rb +++ b/lib/plaid/models/transfer_recurring_network.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_recurring_schedule.rb b/lib/plaid/models/transfer_recurring_schedule.rb index eeb59defd..6076bb25f 100644 --- a/lib/plaid/models/transfer_recurring_schedule.rb +++ b/lib/plaid/models/transfer_recurring_schedule.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_recurring_status.rb b/lib/plaid/models/transfer_recurring_status.rb index 17d30838f..f2589fab5 100644 --- a/lib/plaid/models/transfer_recurring_status.rb +++ b/lib/plaid/models/transfer_recurring_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_refund.rb b/lib/plaid/models/transfer_refund.rb index e5d5f0e71..f38612ebf 100644 --- a/lib/plaid/models/transfer_refund.rb +++ b/lib/plaid/models/transfer_refund.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -29,6 +29,9 @@ class TransferRefund attr_accessor :failure_reason + # Plaid’s unique identifier for a Plaid Ledger Balance. + attr_accessor :ledger_id + # The datetime when this refund was created. This will be of the form `2006-01-02T15:04:05Z` attr_accessor :created @@ -65,6 +68,7 @@ def self.attribute_map :'amount' => :'amount', :'status' => :'status', :'failure_reason' => :'failure_reason', + :'ledger_id' => :'ledger_id', :'created' => :'created', :'network_trace_id' => :'network_trace_id' } @@ -83,6 +87,7 @@ def self.openapi_types :'amount' => :'String', :'status' => :'TransferRefundStatus', :'failure_reason' => :'TransferRefundFailure', + :'ledger_id' => :'String', :'created' => :'Time', :'network_trace_id' => :'String' } @@ -92,6 +97,7 @@ def self.openapi_types def self.openapi_nullable Set.new([ :'failure_reason', + :'ledger_id', :'network_trace_id' ]) end @@ -131,6 +137,10 @@ def initialize(attributes = {}) self.failure_reason = attributes[:'failure_reason'] end + if attributes.key?(:'ledger_id') + self.ledger_id = attributes[:'ledger_id'] + end + if attributes.key?(:'created') self.created = attributes[:'created'] end @@ -188,6 +198,7 @@ def ==(o) amount == o.amount && status == o.status && failure_reason == o.failure_reason && + ledger_id == o.ledger_id && created == o.created && network_trace_id == o.network_trace_id end @@ -201,7 +212,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [id, transfer_id, amount, status, failure_reason, created, network_trace_id].hash + [id, transfer_id, amount, status, failure_reason, ledger_id, created, network_trace_id].hash end # Builds the object from hash diff --git a/lib/plaid/models/transfer_refund_cancel_request.rb b/lib/plaid/models/transfer_refund_cancel_request.rb index bfba50f47..4f3b8a18a 100644 --- a/lib/plaid/models/transfer_refund_cancel_request.rb +++ b/lib/plaid/models/transfer_refund_cancel_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_refund_cancel_response.rb b/lib/plaid/models/transfer_refund_cancel_response.rb index a92352489..aa88cb19a 100644 --- a/lib/plaid/models/transfer_refund_cancel_response.rb +++ b/lib/plaid/models/transfer_refund_cancel_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_refund_create_request.rb b/lib/plaid/models/transfer_refund_create_request.rb index 6d928bcf3..cb7798e1b 100644 --- a/lib/plaid/models/transfer_refund_create_request.rb +++ b/lib/plaid/models/transfer_refund_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_refund_create_response.rb b/lib/plaid/models/transfer_refund_create_response.rb index c31507b9b..4d972b709 100644 --- a/lib/plaid/models/transfer_refund_create_response.rb +++ b/lib/plaid/models/transfer_refund_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_refund_failure.rb b/lib/plaid/models/transfer_refund_failure.rb index dbdb6444d..541f82d28 100644 --- a/lib/plaid/models/transfer_refund_failure.rb +++ b/lib/plaid/models/transfer_refund_failure.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_refund_get_request.rb b/lib/plaid/models/transfer_refund_get_request.rb index f260e6c7b..0501f186c 100644 --- a/lib/plaid/models/transfer_refund_get_request.rb +++ b/lib/plaid/models/transfer_refund_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_refund_get_response.rb b/lib/plaid/models/transfer_refund_get_response.rb index f0f9f6466..e96ed84ad 100644 --- a/lib/plaid/models/transfer_refund_get_response.rb +++ b/lib/plaid/models/transfer_refund_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_refund_status.rb b/lib/plaid/models/transfer_refund_status.rb index 9704a48ad..f5f34984b 100644 --- a/lib/plaid/models/transfer_refund_status.rb +++ b/lib/plaid/models/transfer_refund_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_repayment.rb b/lib/plaid/models/transfer_repayment.rb index 7c97b9011..874a42be6 100644 --- a/lib/plaid/models/transfer_repayment.rb +++ b/lib/plaid/models/transfer_repayment.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_repayment_list_request.rb b/lib/plaid/models/transfer_repayment_list_request.rb index 12b0b8ee3..51c5b4ef5 100644 --- a/lib/plaid/models/transfer_repayment_list_request.rb +++ b/lib/plaid/models/transfer_repayment_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_repayment_list_response.rb b/lib/plaid/models/transfer_repayment_list_response.rb index ba324b473..579d9c0bb 100644 --- a/lib/plaid/models/transfer_repayment_list_response.rb +++ b/lib/plaid/models/transfer_repayment_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_repayment_return.rb b/lib/plaid/models/transfer_repayment_return.rb index 3908b3fbd..5d3583fd3 100644 --- a/lib/plaid/models/transfer_repayment_return.rb +++ b/lib/plaid/models/transfer_repayment_return.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_repayment_return_list_request.rb b/lib/plaid/models/transfer_repayment_return_list_request.rb index a5e7245e0..5d3634722 100644 --- a/lib/plaid/models/transfer_repayment_return_list_request.rb +++ b/lib/plaid/models/transfer_repayment_return_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_repayment_return_list_response.rb b/lib/plaid/models/transfer_repayment_return_list_response.rb index 3364c0e09..a3d5d0a59 100644 --- a/lib/plaid/models/transfer_repayment_return_list_response.rb +++ b/lib/plaid/models/transfer_repayment_return_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_schedule_interval_unit.rb b/lib/plaid/models/transfer_schedule_interval_unit.rb index a6ed350a7..cdc455699 100644 --- a/lib/plaid/models/transfer_schedule_interval_unit.rb +++ b/lib/plaid/models/transfer_schedule_interval_unit.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_status.rb b/lib/plaid/models/transfer_status.rb index a60a0aed9..2eca9c487 100644 --- a/lib/plaid/models/transfer_status.rb +++ b/lib/plaid/models/transfer_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_sweep.rb b/lib/plaid/models/transfer_sweep.rb index 28ee137d4..4f59bcc33 100644 --- a/lib/plaid/models/transfer_sweep.rb +++ b/lib/plaid/models/transfer_sweep.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -22,6 +22,9 @@ class TransferSweep # The id of the funding account to use, available in the Plaid Dashboard. This determines which of your business checking accounts will be credited or debited. attr_accessor :funding_account_id + # Plaid’s unique identifier for a Plaid Ledger Balance. + attr_accessor :ledger_id + # The datetime when the sweep occurred, in RFC 3339 format. attr_accessor :created @@ -71,6 +74,7 @@ def self.attribute_map { :'id' => :'id', :'funding_account_id' => :'funding_account_id', + :'ledger_id' => :'ledger_id', :'created' => :'created', :'amount' => :'amount', :'iso_currency_code' => :'iso_currency_code', @@ -92,6 +96,7 @@ def self.openapi_types { :'id' => :'String', :'funding_account_id' => :'String', + :'ledger_id' => :'String', :'created' => :'Time', :'amount' => :'String', :'iso_currency_code' => :'String', @@ -106,6 +111,7 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'ledger_id', :'settled', :'status', :'trigger', @@ -136,6 +142,10 @@ def initialize(attributes = {}) self.funding_account_id = attributes[:'funding_account_id'] end + if attributes.key?(:'ledger_id') + self.ledger_id = attributes[:'ledger_id'] + end + if attributes.key?(:'created') self.created = attributes[:'created'] end @@ -214,6 +224,7 @@ def ==(o) self.class == o.class && id == o.id && funding_account_id == o.funding_account_id && + ledger_id == o.ledger_id && created == o.created && amount == o.amount && iso_currency_code == o.iso_currency_code && @@ -233,7 +244,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [id, funding_account_id, created, amount, iso_currency_code, settled, status, trigger, description, network_trace_id].hash + [id, funding_account_id, ledger_id, created, amount, iso_currency_code, settled, status, trigger, description, network_trace_id].hash end # Builds the object from hash diff --git a/lib/plaid/models/transfer_sweep_get_request.rb b/lib/plaid/models/transfer_sweep_get_request.rb index 3a8b65de7..b410df870 100644 --- a/lib/plaid/models/transfer_sweep_get_request.rb +++ b/lib/plaid/models/transfer_sweep_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_sweep_get_response.rb b/lib/plaid/models/transfer_sweep_get_response.rb index 77b29c7db..de15eabcf 100644 --- a/lib/plaid/models/transfer_sweep_get_response.rb +++ b/lib/plaid/models/transfer_sweep_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_sweep_list_request.rb b/lib/plaid/models/transfer_sweep_list_request.rb index 3259463b7..269f1a09e 100644 --- a/lib/plaid/models/transfer_sweep_list_request.rb +++ b/lib/plaid/models/transfer_sweep_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_sweep_list_response.rb b/lib/plaid/models/transfer_sweep_list_response.rb index c99a10de4..331d17e5a 100644 --- a/lib/plaid/models/transfer_sweep_list_response.rb +++ b/lib/plaid/models/transfer_sweep_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_sweep_status.rb b/lib/plaid/models/transfer_sweep_status.rb index 091efd577..bbc6d6e81 100644 --- a/lib/plaid/models/transfer_sweep_status.rb +++ b/lib/plaid/models/transfer_sweep_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_test_clock.rb b/lib/plaid/models/transfer_test_clock.rb index 493a20405..1e0350424 100644 --- a/lib/plaid/models/transfer_test_clock.rb +++ b/lib/plaid/models/transfer_test_clock.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_type.rb b/lib/plaid/models/transfer_type.rb index a57f47875..412338b86 100644 --- a/lib/plaid/models/transfer_type.rb +++ b/lib/plaid/models/transfer_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_user_address_in_request.rb b/lib/plaid/models/transfer_user_address_in_request.rb index 5bd452bd6..5b62cdfc7 100644 --- a/lib/plaid/models/transfer_user_address_in_request.rb +++ b/lib/plaid/models/transfer_user_address_in_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_user_address_in_response.rb b/lib/plaid/models/transfer_user_address_in_response.rb index 6b3ecc0a8..fd05cacdb 100644 --- a/lib/plaid/models/transfer_user_address_in_response.rb +++ b/lib/plaid/models/transfer_user_address_in_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_user_in_request.rb b/lib/plaid/models/transfer_user_in_request.rb index 88a07390d..c03b3f256 100644 --- a/lib/plaid/models/transfer_user_in_request.rb +++ b/lib/plaid/models/transfer_user_in_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_user_in_request_deprecated.rb b/lib/plaid/models/transfer_user_in_request_deprecated.rb index 22888c8b1..49bbef38c 100644 --- a/lib/plaid/models/transfer_user_in_request_deprecated.rb +++ b/lib/plaid/models/transfer_user_in_request_deprecated.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_user_in_response.rb b/lib/plaid/models/transfer_user_in_response.rb index d892571e5..d1d9118a3 100644 --- a/lib/plaid/models/transfer_user_in_response.rb +++ b/lib/plaid/models/transfer_user_in_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_wire_details.rb b/lib/plaid/models/transfer_wire_details.rb index d6ea0d879..cd7e67c00 100644 --- a/lib/plaid/models/transfer_wire_details.rb +++ b/lib/plaid/models/transfer_wire_details.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/update_entity_screening_request_search_terms.rb b/lib/plaid/models/update_entity_screening_request_search_terms.rb index 9208d2069..7c3d2724c 100644 --- a/lib/plaid/models/update_entity_screening_request_search_terms.rb +++ b/lib/plaid/models/update_entity_screening_request_search_terms.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -19,13 +19,13 @@ class UpdateEntityScreeningRequestSearchTerms # ID of the associated entity program. attr_accessor :entity_watchlist_program_id - # The name of the organization being screened. + # The name of the organization being screened. Must have at least one alphabetical character, have a maximum length of 100 characters, and not include leading or trailing spaces. attr_accessor :legal_name - # The numeric or alphanumeric identifier associated with this document. + # The numeric or alphanumeric identifier associated with this document. Must be between 4 and 32 characters long, and cannot have leading or trailing spaces. attr_accessor :document_number - # A valid email address. + # A valid email address. Must not have leading or trailing spaces. attr_accessor :email_address # Valid, capitalized, two-letter ISO code representing the country of this object. Must be in ISO 3166-1 alpha-2 form. diff --git a/lib/plaid/models/update_individual_screening_request_search_terms.rb b/lib/plaid/models/update_individual_screening_request_search_terms.rb index 449404910..254e00302 100644 --- a/lib/plaid/models/update_individual_screening_request_search_terms.rb +++ b/lib/plaid/models/update_individual_screening_request_search_terms.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -19,13 +19,13 @@ class UpdateIndividualScreeningRequestSearchTerms # ID of the associated program. attr_accessor :watchlist_program_id - # The legal name of the individual being screened. + # The legal name of the individual being screened. Must have at least one alphabetical character, have a maximum length of 100 characters, and not include leading or trailing spaces. attr_accessor :legal_name # A date in the format YYYY-MM-DD (RFC 3339 Section 5.6). attr_accessor :date_of_birth - # The numeric or alphanumeric identifier associated with this document. + # The numeric or alphanumeric identifier associated with this document. Must be between 4 and 32 characters long, and cannot have leading or trailing spaces. attr_accessor :document_number # Valid, capitalized, two-letter ISO code representing the country of this object. Must be in ISO 3166-1 alpha-2 form. diff --git a/lib/plaid/models/user_account_identity.rb b/lib/plaid/models/user_account_identity.rb index aed9a134c..608b78558 100644 --- a/lib/plaid/models/user_account_identity.rb +++ b/lib/plaid/models/user_account_identity.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_account_identity_address.rb b/lib/plaid/models/user_account_identity_address.rb index 66aad9095..b3fd05d65 100644 --- a/lib/plaid/models/user_account_identity_address.rb +++ b/lib/plaid/models/user_account_identity_address.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_account_identity_name.rb b/lib/plaid/models/user_account_identity_name.rb index d0a7dc964..bce9b1918 100644 --- a/lib/plaid/models/user_account_identity_name.rb +++ b/lib/plaid/models/user_account_identity_name.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_account_item.rb b/lib/plaid/models/user_account_item.rb index bde8dc394..502a0d711 100644 --- a/lib/plaid/models/user_account_item.rb +++ b/lib/plaid/models/user_account_item.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_account_revoked_webhook.rb b/lib/plaid/models/user_account_revoked_webhook.rb index 9036d5a09..dc2da8567 100644 --- a/lib/plaid/models/user_account_revoked_webhook.rb +++ b/lib/plaid/models/user_account_revoked_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_account_session_get_request.rb b/lib/plaid/models/user_account_session_get_request.rb index 5c785320c..8177c722c 100644 --- a/lib/plaid/models/user_account_session_get_request.rb +++ b/lib/plaid/models/user_account_session_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_account_session_get_response.rb b/lib/plaid/models/user_account_session_get_response.rb index f04bb0c15..e425fc5b6 100644 --- a/lib/plaid/models/user_account_session_get_response.rb +++ b/lib/plaid/models/user_account_session_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_address.rb b/lib/plaid/models/user_address.rb index adfe100f2..2a6652df1 100644 --- a/lib/plaid/models/user_address.rb +++ b/lib/plaid/models/user_address.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -19,7 +19,7 @@ class UserAddress # The primary street portion of an address. If an address is provided, this field will always be filled. A string with at least one non-whitespace alphabetical character, with a max length of 80 characters. attr_accessor :street - # Extra street information, like an apartment or suite number. If provided, a string with at least one non-whitespace character, with a max length of 20 characters. + # Extra street information, like an apartment or suite number. If provided, a string with at least one non-whitespace character, with a max length of 50 characters. attr_accessor :street2 # City from the end user's address. A string with at least one non-whitespace alphabetical character, with a max length of 100 characters.\" diff --git a/lib/plaid/models/user_create_request.rb b/lib/plaid/models/user_create_request.rb index 227fbbe02..ef60b2bc6 100644 --- a/lib/plaid/models/user_create_request.rb +++ b/lib/plaid/models/user_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_create_response.rb b/lib/plaid/models/user_create_response.rb index 40fddf717..f1ff4a5f6 100644 --- a/lib/plaid/models/user_create_response.rb +++ b/lib/plaid/models/user_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_custom_password.rb b/lib/plaid/models/user_custom_password.rb index aaaec86d3..08f5852e0 100644 --- a/lib/plaid/models/user_custom_password.rb +++ b/lib/plaid/models/user_custom_password.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_data_overview.rb b/lib/plaid/models/user_data_overview.rb index d7ead3ffa..30e17147c 100644 --- a/lib/plaid/models/user_data_overview.rb +++ b/lib/plaid/models/user_data_overview.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_id_number.rb b/lib/plaid/models/user_id_number.rb index 19b769069..96f653696 100644 --- a/lib/plaid/models/user_id_number.rb +++ b/lib/plaid/models/user_id_number.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_items_get_request.rb b/lib/plaid/models/user_items_get_request.rb index f04f0ad5b..1fa7e25a8 100644 --- a/lib/plaid/models/user_items_get_request.rb +++ b/lib/plaid/models/user_items_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_items_get_response.rb b/lib/plaid/models/user_items_get_response.rb index 50b908576..2d977acac 100644 --- a/lib/plaid/models/user_items_get_response.rb +++ b/lib/plaid/models/user_items_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_permission_revoked_webhook.rb b/lib/plaid/models/user_permission_revoked_webhook.rb index 2d556d227..1a37ba1db 100644 --- a/lib/plaid/models/user_permission_revoked_webhook.rb +++ b/lib/plaid/models/user_permission_revoked_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,7 +14,7 @@ require 'time' module Plaid - # The `USER_PERMISSION_REVOKED` webhook may be fired when an end user has used either the [my.plaid.com portal](https://my.plaid.com) or the financial institution’s OAuth consent portal to revoke the permission that they previously granted to access an Item. This webhook is not guaranteed to always be fired upon consent revocation, since some institutions’ consent portals do not trigger this webhook. Once access to an Item has been revoked, it cannot be restored. If the user subsequently returns to your application, a new Item must be created for the user. Upon receiving this webhook, it is recommended to call `/item/remove` to delete the underlying Item and to delete any stored data from Plaid associated with the Item. Note that when using ACH flows with Chase Items specifically, the account number provided by Plaid will no longer work for creating transfers once user permission has been revoked. If you receive this webhook for a Chase Item, you should not create any new ACH transfers for that Item, as they will be returned. + # The `USER_PERMISSION_REVOKED` webhook may be fired when an end user has revoked the permission that they previously granted to access an Item. If the end user revoked their permissions through Plaid (such as via the Plaid Portal or by contacting Plaid Support), the webhook will fire. If the end user revoked their permissions directly through the institution, this webhook may not always fire, since some institutions’ consent portals do not trigger this webhook. Once access to an Item has been revoked, it cannot be restored. If the user subsequently returns to your application, a new Item must be created for the user. Upon receiving this webhook, it is recommended to call `/item/remove` to delete the underlying Item and to delete any stored data from Plaid associated with the Item. Note that when using ACH flows with Chase Items specifically, the account number provided by Plaid will no longer work for creating transfers once user permission has been revoked. If you receive this webhook for a Chase Item, you should not create any new ACH transfers for that Item, as they will be returned. class UserPermissionRevokedWebhook # `ITEM` attr_accessor :webhook_type diff --git a/lib/plaid/models/user_remove_request.rb b/lib/plaid/models/user_remove_request.rb index 3d269ce9e..d806a64d2 100644 --- a/lib/plaid/models/user_remove_request.rb +++ b/lib/plaid/models/user_remove_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_remove_response.rb b/lib/plaid/models/user_remove_response.rb index 417f5113b..1803cc438 100644 --- a/lib/plaid/models/user_remove_response.rb +++ b/lib/plaid/models/user_remove_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_stated_income_source_category.rb b/lib/plaid/models/user_stated_income_source_category.rb index 9a1bcad4b..90b9fad4c 100644 --- a/lib/plaid/models/user_stated_income_source_category.rb +++ b/lib/plaid/models/user_stated_income_source_category.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_stated_income_source_frequency.rb b/lib/plaid/models/user_stated_income_source_frequency.rb index 96ce0a6bd..6f6602e09 100644 --- a/lib/plaid/models/user_stated_income_source_frequency.rb +++ b/lib/plaid/models/user_stated_income_source_frequency.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_stated_income_source_pay_type.rb b/lib/plaid/models/user_stated_income_source_pay_type.rb index 13efd5c21..04dd73935 100644 --- a/lib/plaid/models/user_stated_income_source_pay_type.rb +++ b/lib/plaid/models/user_stated_income_source_pay_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_update_request.rb b/lib/plaid/models/user_update_request.rb index 2c51ef1d3..e920dadcc 100644 --- a/lib/plaid/models/user_update_request.rb +++ b/lib/plaid/models/user_update_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_update_response.rb b/lib/plaid/models/user_update_response.rb index 8a286835d..5d4e67eee 100644 --- a/lib/plaid/models/user_update_response.rb +++ b/lib/plaid/models/user_update_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/validation_source.rb b/lib/plaid/models/validation_source.rb index a0db0e89e..4b701e623 100644 --- a/lib/plaid/models/validation_source.rb +++ b/lib/plaid/models/validation_source.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/validation_sources.rb b/lib/plaid/models/validation_sources.rb index 821ef20ff..638fc8606 100644 --- a/lib/plaid/models/validation_sources.rb +++ b/lib/plaid/models/validation_sources.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/verification_expired_webhook.rb b/lib/plaid/models/verification_expired_webhook.rb index 274e00905..175572755 100644 --- a/lib/plaid/models/verification_expired_webhook.rb +++ b/lib/plaid/models/verification_expired_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/verification_of_asset.rb b/lib/plaid/models/verification_of_asset.rb index 6b5a6f1f8..591abc21e 100644 --- a/lib/plaid/models/verification_of_asset.rb +++ b/lib/plaid/models/verification_of_asset.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/verification_of_asset_response.rb b/lib/plaid/models/verification_of_asset_response.rb index 21478d1ae..75f4a7ad2 100644 --- a/lib/plaid/models/verification_of_asset_response.rb +++ b/lib/plaid/models/verification_of_asset_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/verification_refresh_status.rb b/lib/plaid/models/verification_refresh_status.rb index 3b124e933..b5aad714b 100644 --- a/lib/plaid/models/verification_refresh_status.rb +++ b/lib/plaid/models/verification_refresh_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/verification_status.rb b/lib/plaid/models/verification_status.rb index 01c91ac84..03facb64a 100644 --- a/lib/plaid/models/verification_status.rb +++ b/lib/plaid/models/verification_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/w2.rb b/lib/plaid/models/w2.rb index e3086fbfa..119cf5197 100644 --- a/lib/plaid/models/w2.rb +++ b/lib/plaid/models/w2.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/w2_box12.rb b/lib/plaid/models/w2_box12.rb index be2136ee6..289318423 100644 --- a/lib/plaid/models/w2_box12.rb +++ b/lib/plaid/models/w2_box12.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/w2_box12_override.rb b/lib/plaid/models/w2_box12_override.rb index 8ae7c996a..8d8d31c38 100644 --- a/lib/plaid/models/w2_box12_override.rb +++ b/lib/plaid/models/w2_box12_override.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/w2_override.rb b/lib/plaid/models/w2_override.rb index 80e39208a..691cc290b 100644 --- a/lib/plaid/models/w2_override.rb +++ b/lib/plaid/models/w2_override.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -23,7 +23,7 @@ class W2Override # The tax year of the W2 document. attr_accessor :tax_year - # An employee identification number or EIN. + # An employer identification number or EIN. attr_accessor :employer_id_number # Wages from tips and other compensation. diff --git a/lib/plaid/models/w2_state_and_local_wages.rb b/lib/plaid/models/w2_state_and_local_wages.rb index 6eea6c58a..66e5cbf74 100644 --- a/lib/plaid/models/w2_state_and_local_wages.rb +++ b/lib/plaid/models/w2_state_and_local_wages.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/w2_state_and_local_wages_override.rb b/lib/plaid/models/w2_state_and_local_wages_override.rb index cae0bb022..4b03d6d40 100644 --- a/lib/plaid/models/w2_state_and_local_wages_override.rb +++ b/lib/plaid/models/w2_state_and_local_wages_override.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet.rb b/lib/plaid/models/wallet.rb index a168c9522..abb79727b 100644 --- a/lib/plaid/models/wallet.rb +++ b/lib/plaid/models/wallet.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet_balance.rb b/lib/plaid/models/wallet_balance.rb index 27a6b02df..d6f18f15e 100644 --- a/lib/plaid/models/wallet_balance.rb +++ b/lib/plaid/models/wallet_balance.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet_create_request.rb b/lib/plaid/models/wallet_create_request.rb index 1000d665d..6dc71d31b 100644 --- a/lib/plaid/models/wallet_create_request.rb +++ b/lib/plaid/models/wallet_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet_create_response.rb b/lib/plaid/models/wallet_create_response.rb index 6fcde96f2..a41d4e660 100644 --- a/lib/plaid/models/wallet_create_response.rb +++ b/lib/plaid/models/wallet_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet_get_request.rb b/lib/plaid/models/wallet_get_request.rb index c09160ca5..fb748d55a 100644 --- a/lib/plaid/models/wallet_get_request.rb +++ b/lib/plaid/models/wallet_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet_get_response.rb b/lib/plaid/models/wallet_get_response.rb index 4275107aa..6f19496c8 100644 --- a/lib/plaid/models/wallet_get_response.rb +++ b/lib/plaid/models/wallet_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet_iso_currency_code.rb b/lib/plaid/models/wallet_iso_currency_code.rb index 1fb6d75a4..e1c4c94ad 100644 --- a/lib/plaid/models/wallet_iso_currency_code.rb +++ b/lib/plaid/models/wallet_iso_currency_code.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet_list_request.rb b/lib/plaid/models/wallet_list_request.rb index 301ac41a5..8ab188438 100644 --- a/lib/plaid/models/wallet_list_request.rb +++ b/lib/plaid/models/wallet_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -127,8 +127,8 @@ def initialize(attributes = {}) # @return Array for valid properties with the reasons def list_invalid_properties invalid_properties = Array.new - if !@cursor.nil? && @cursor.to_s.length > 256 - invalid_properties.push('invalid value for "cursor", the character length must be smaller than or equal to 256.') + if !@cursor.nil? && @cursor.to_s.length > 1024 + invalid_properties.push('invalid value for "cursor", the character length must be smaller than or equal to 1024.') end @@ -147,7 +147,7 @@ def list_invalid_properties # Check to see if the all the properties in the model are valid # @return true if the model is valid def valid? - return false if !@cursor.nil? && @cursor.to_s.length > 256 + return false if !@cursor.nil? && @cursor.to_s.length > 1024 return false if !@count.nil? && @count > 20 return false if !@count.nil? && @count < 1 true @@ -156,8 +156,8 @@ def valid? # Custom attribute writer method with validation # @param [Object] cursor Value to be assigned def cursor=(cursor) - if !cursor.nil? && cursor.to_s.length > 256 - fail ArgumentError, 'invalid value for "cursor", the character length must be smaller than or equal to 256.' + if !cursor.nil? && cursor.to_s.length > 1024 + fail ArgumentError, 'invalid value for "cursor", the character length must be smaller than or equal to 1024.' end diff --git a/lib/plaid/models/wallet_list_response.rb b/lib/plaid/models/wallet_list_response.rb index a0e16ab11..6cc8dbdfa 100644 --- a/lib/plaid/models/wallet_list_response.rb +++ b/lib/plaid/models/wallet_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet_numbers.rb b/lib/plaid/models/wallet_numbers.rb index 6a00fa4a8..1a6a93868 100644 --- a/lib/plaid/models/wallet_numbers.rb +++ b/lib/plaid/models/wallet_numbers.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet_payment_scheme.rb b/lib/plaid/models/wallet_payment_scheme.rb index 3b04b5bb3..8c95710c8 100644 --- a/lib/plaid/models/wallet_payment_scheme.rb +++ b/lib/plaid/models/wallet_payment_scheme.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet_status.rb b/lib/plaid/models/wallet_status.rb index 3133632c3..119e0a3c3 100644 --- a/lib/plaid/models/wallet_status.rb +++ b/lib/plaid/models/wallet_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet_transaction.rb b/lib/plaid/models/wallet_transaction.rb index 2c55392d8..c26953ecf 100644 --- a/lib/plaid/models/wallet_transaction.rb +++ b/lib/plaid/models/wallet_transaction.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -47,6 +47,9 @@ class WalletTransaction attr_accessor :failure_reason + # A list of wallet transactions that this transaction is associated with, if any. + attr_accessor :related_transactions + class EnumAttributeValidator attr_reader :datatype attr_reader :allowable_values @@ -83,7 +86,8 @@ def self.attribute_map :'created_at' => :'created_at', :'last_status_update' => :'last_status_update', :'payment_id' => :'payment_id', - :'failure_reason' => :'failure_reason' + :'failure_reason' => :'failure_reason', + :'related_transactions' => :'related_transactions' } end @@ -106,7 +110,8 @@ def self.openapi_types :'created_at' => :'Time', :'last_status_update' => :'Time', :'payment_id' => :'String', - :'failure_reason' => :'WalletTransactionFailureReason' + :'failure_reason' => :'WalletTransactionFailureReason', + :'related_transactions' => :'Array' } end @@ -115,7 +120,7 @@ def self.openapi_nullable Set.new([ :'scheme', :'payment_id', - :'failure_reason' + :'failure_reason', ]) end @@ -181,6 +186,12 @@ def initialize(attributes = {}) if attributes.key?(:'failure_reason') self.failure_reason = attributes[:'failure_reason'] end + + if attributes.key?(:'related_transactions') + if (value = attributes[:'related_transactions']).is_a?(Array) + self.related_transactions = value + end + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -269,7 +280,8 @@ def ==(o) created_at == o.created_at && last_status_update == o.last_status_update && payment_id == o.payment_id && - failure_reason == o.failure_reason + failure_reason == o.failure_reason && + related_transactions == o.related_transactions end # @see the `==` method @@ -281,7 +293,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [transaction_id, wallet_id, reference, type, scheme, amount, counterparty, status, created_at, last_status_update, payment_id, failure_reason].hash + [transaction_id, wallet_id, reference, type, scheme, amount, counterparty, status, created_at, last_status_update, payment_id, failure_reason, related_transactions].hash end # Builds the object from hash diff --git a/lib/plaid/models/wallet_transaction_amount.rb b/lib/plaid/models/wallet_transaction_amount.rb index b055baa4a..000fefdd0 100644 --- a/lib/plaid/models/wallet_transaction_amount.rb +++ b/lib/plaid/models/wallet_transaction_amount.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet_transaction_counterparty.rb b/lib/plaid/models/wallet_transaction_counterparty.rb index d9350eccc..0c16825c9 100644 --- a/lib/plaid/models/wallet_transaction_counterparty.rb +++ b/lib/plaid/models/wallet_transaction_counterparty.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet_transaction_counterparty_bacs.rb b/lib/plaid/models/wallet_transaction_counterparty_bacs.rb index ddb9b5258..9e88f3653 100644 --- a/lib/plaid/models/wallet_transaction_counterparty_bacs.rb +++ b/lib/plaid/models/wallet_transaction_counterparty_bacs.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet_transaction_counterparty_international.rb b/lib/plaid/models/wallet_transaction_counterparty_international.rb index 90c3e07d1..e68f142e2 100644 --- a/lib/plaid/models/wallet_transaction_counterparty_international.rb +++ b/lib/plaid/models/wallet_transaction_counterparty_international.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet_transaction_counterparty_numbers.rb b/lib/plaid/models/wallet_transaction_counterparty_numbers.rb index a9be6ed2c..b3a8b3a5f 100644 --- a/lib/plaid/models/wallet_transaction_counterparty_numbers.rb +++ b/lib/plaid/models/wallet_transaction_counterparty_numbers.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet_transaction_execute_request.rb b/lib/plaid/models/wallet_transaction_execute_request.rb index f8a62536a..ba89156dd 100644 --- a/lib/plaid/models/wallet_transaction_execute_request.rb +++ b/lib/plaid/models/wallet_transaction_execute_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet_transaction_execute_response.rb b/lib/plaid/models/wallet_transaction_execute_response.rb index e25b7f24b..a73b69e7e 100644 --- a/lib/plaid/models/wallet_transaction_execute_response.rb +++ b/lib/plaid/models/wallet_transaction_execute_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet_transaction_failure_reason.rb b/lib/plaid/models/wallet_transaction_failure_reason.rb index 9e224bd0f..5e378e9a4 100644 --- a/lib/plaid/models/wallet_transaction_failure_reason.rb +++ b/lib/plaid/models/wallet_transaction_failure_reason.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet_transaction_get_request.rb b/lib/plaid/models/wallet_transaction_get_request.rb index 2fe45c237..c2a01fa42 100644 --- a/lib/plaid/models/wallet_transaction_get_request.rb +++ b/lib/plaid/models/wallet_transaction_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet_transaction_get_response.rb b/lib/plaid/models/wallet_transaction_get_response.rb index d9d6aea7c..e91f342b1 100644 --- a/lib/plaid/models/wallet_transaction_get_response.rb +++ b/lib/plaid/models/wallet_transaction_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -47,6 +47,9 @@ class WalletTransactionGetResponse attr_accessor :failure_reason + # A list of wallet transactions that this transaction is associated with, if any. + attr_accessor :related_transactions + # A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive. attr_accessor :request_id @@ -87,6 +90,7 @@ def self.attribute_map :'last_status_update' => :'last_status_update', :'payment_id' => :'payment_id', :'failure_reason' => :'failure_reason', + :'related_transactions' => :'related_transactions', :'request_id' => :'request_id' } end @@ -111,6 +115,7 @@ def self.openapi_types :'last_status_update' => :'Time', :'payment_id' => :'String', :'failure_reason' => :'WalletTransactionFailureReason', + :'related_transactions' => :'Array', :'request_id' => :'String' } end @@ -195,6 +200,12 @@ def initialize(attributes = {}) self.failure_reason = attributes[:'failure_reason'] end + if attributes.key?(:'related_transactions') + if (value = attributes[:'related_transactions']).is_a?(Array) + self.related_transactions = value + end + end + if attributes.key?(:'request_id') self.request_id = attributes[:'request_id'] end @@ -292,6 +303,7 @@ def ==(o) last_status_update == o.last_status_update && payment_id == o.payment_id && failure_reason == o.failure_reason && + related_transactions == o.related_transactions && request_id == o.request_id end @@ -304,7 +316,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [transaction_id, wallet_id, reference, type, scheme, amount, counterparty, status, created_at, last_status_update, payment_id, failure_reason, request_id].hash + [transaction_id, wallet_id, reference, type, scheme, amount, counterparty, status, created_at, last_status_update, payment_id, failure_reason, related_transactions, request_id].hash end # Builds the object from hash diff --git a/lib/plaid/models/wallet_transaction_list_request.rb b/lib/plaid/models/wallet_transaction_list_request.rb index b902d09bf..cc38566a9 100644 --- a/lib/plaid/models/wallet_transaction_list_request.rb +++ b/lib/plaid/models/wallet_transaction_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet_transaction_list_request_options.rb b/lib/plaid/models/wallet_transaction_list_request_options.rb index 70a04525f..d402941da 100644 --- a/lib/plaid/models/wallet_transaction_list_request_options.rb +++ b/lib/plaid/models/wallet_transaction_list_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet_transaction_list_response.rb b/lib/plaid/models/wallet_transaction_list_response.rb index f3bcc0886..bf6efd051 100644 --- a/lib/plaid/models/wallet_transaction_list_response.rb +++ b/lib/plaid/models/wallet_transaction_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet_transaction_relation.rb b/lib/plaid/models/wallet_transaction_relation.rb new file mode 100644 index 000000000..388488c0c --- /dev/null +++ b/lib/plaid/models/wallet_transaction_relation.rb @@ -0,0 +1,265 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.556.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Transactions are related when they have a logical connection. For example, a `PAYOUT` transaction can be returned by the sender, creating a `RETURN` transaction. Each `PAYOUT` transaction can have at most one corresponding `RETURN` transaction in case of reversal. These relationships are bi-directional, meaning that both entities have references to each other. For instance, when a transaction of type RETURN occurs, it is linked to the original transaction being returned. Likewise, the original transaction has a reference back to the RETURN transaction that represents the return. This field is only populated for transactions of type `RETURN`, `FUNDS_SWEEP`, `REFUND` and `PAYOUT`. The relationship between a `PIS_PAY_IN` payment and its corresponding `REFUND` transactions is only available through `refund_ids` property in the payment object. See[`/payment_initiation/payment/get`](https://plaid.com/docs/api/products/payment-initiation/#payment_initiation-payment-get-response-refund-ids). + class WalletTransactionRelation + # The ID of the related transaction. + attr_accessor :id + + # The type of the transaction. + attr_accessor :type + + class EnumAttributeValidator + attr_reader :datatype + attr_reader :allowable_values + + def initialize(datatype, allowable_values) + @allowable_values = allowable_values.map do |value| + case datatype.to_s + when /Integer/i + value.to_i + when /Float/i + value.to_f + else + value + end + end + end + + def valid?(value) + !value || allowable_values.include?(value) + end + end + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'id' => :'id', + :'type' => :'type' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'id' => :'String', + :'type' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::WalletTransactionRelation` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::WalletTransactionRelation`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'id') + self.id = attributes[:'id'] + end + + if attributes.key?(:'type') + self.type = attributes[:'type'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + type_validator = EnumAttributeValidator.new('String', ["PAYOUT", "RETURN", "REFUND", "FUNDS_SWEEP"]) + return false unless type_validator.valid?(@type) + true + end + + # Custom attribute writer method checking allowed values (enum). + # @param [Object] type Object to be assigned + def type=(type) + validator = EnumAttributeValidator.new('String', ["PAYOUT", "RETURN", "REFUND", "FUNDS_SWEEP"]) + unless validator.valid?(type) + fail ArgumentError, "invalid value for \"type\", must be one of #{validator.allowable_values}." + end + @type = type + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + id == o.id && + type == o.type + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [id, type].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/wallet_transaction_status.rb b/lib/plaid/models/wallet_transaction_status.rb index 599c23022..2fa6b05b2 100644 --- a/lib/plaid/models/wallet_transaction_status.rb +++ b/lib/plaid/models/wallet_transaction_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet_transaction_status_update_webhook.rb b/lib/plaid/models/wallet_transaction_status_update_webhook.rb index bb6baf9d8..a16d996fc 100644 --- a/lib/plaid/models/wallet_transaction_status_update_webhook.rb +++ b/lib/plaid/models/wallet_transaction_status_update_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet_transactions_list_request.rb b/lib/plaid/models/wallet_transactions_list_request.rb index ac1005b7d..44d98594f 100644 --- a/lib/plaid/models/wallet_transactions_list_request.rb +++ b/lib/plaid/models/wallet_transactions_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/warning.rb b/lib/plaid/models/warning.rb index f35ba531d..20e3a5e38 100644 --- a/lib/plaid/models/warning.rb +++ b/lib/plaid/models/warning.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_audit_trail.rb b/lib/plaid/models/watchlist_screening_audit_trail.rb index b4cfdfbde..2931083ae 100644 --- a/lib/plaid/models/watchlist_screening_audit_trail.rb +++ b/lib/plaid/models/watchlist_screening_audit_trail.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_document.rb b/lib/plaid/models/watchlist_screening_document.rb index f72f58139..39f0e2cd1 100644 --- a/lib/plaid/models/watchlist_screening_document.rb +++ b/lib/plaid/models/watchlist_screening_document.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -18,7 +18,7 @@ module Plaid class WatchlistScreeningDocument attr_accessor :type - # The numeric or alphanumeric identifier associated with this document. + # The numeric or alphanumeric identifier associated with this document. Must be between 4 and 32 characters long, and cannot have leading or trailing spaces. attr_accessor :number class EnumAttributeValidator diff --git a/lib/plaid/models/watchlist_screening_document_type.rb b/lib/plaid/models/watchlist_screening_document_type.rb index d8f93b656..6b0ed2f00 100644 --- a/lib/plaid/models/watchlist_screening_document_type.rb +++ b/lib/plaid/models/watchlist_screening_document_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_entity_create_request.rb b/lib/plaid/models/watchlist_screening_entity_create_request.rb index 8121a2445..5b5310551 100644 --- a/lib/plaid/models/watchlist_screening_entity_create_request.rb +++ b/lib/plaid/models/watchlist_screening_entity_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_entity_create_response.rb b/lib/plaid/models/watchlist_screening_entity_create_response.rb index 54ec634cc..9e3689701 100644 --- a/lib/plaid/models/watchlist_screening_entity_create_response.rb +++ b/lib/plaid/models/watchlist_screening_entity_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_entity_get_request.rb b/lib/plaid/models/watchlist_screening_entity_get_request.rb index 4c1648f0e..69617d836 100644 --- a/lib/plaid/models/watchlist_screening_entity_get_request.rb +++ b/lib/plaid/models/watchlist_screening_entity_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_entity_get_response.rb b/lib/plaid/models/watchlist_screening_entity_get_response.rb index cd7b41736..f84b9279c 100644 --- a/lib/plaid/models/watchlist_screening_entity_get_response.rb +++ b/lib/plaid/models/watchlist_screening_entity_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_entity_history_list_request.rb b/lib/plaid/models/watchlist_screening_entity_history_list_request.rb index 40dbe74cf..ba7c09c31 100644 --- a/lib/plaid/models/watchlist_screening_entity_history_list_request.rb +++ b/lib/plaid/models/watchlist_screening_entity_history_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_entity_history_list_response.rb b/lib/plaid/models/watchlist_screening_entity_history_list_response.rb index ea85e86e3..0a57e486a 100644 --- a/lib/plaid/models/watchlist_screening_entity_history_list_response.rb +++ b/lib/plaid/models/watchlist_screening_entity_history_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_entity_hit_list_request.rb b/lib/plaid/models/watchlist_screening_entity_hit_list_request.rb index bf49d0d0f..960dfa9c2 100644 --- a/lib/plaid/models/watchlist_screening_entity_hit_list_request.rb +++ b/lib/plaid/models/watchlist_screening_entity_hit_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_entity_hit_list_response.rb b/lib/plaid/models/watchlist_screening_entity_hit_list_response.rb index a052d44bf..8cbe1ab84 100644 --- a/lib/plaid/models/watchlist_screening_entity_hit_list_response.rb +++ b/lib/plaid/models/watchlist_screening_entity_hit_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_entity_list_request.rb b/lib/plaid/models/watchlist_screening_entity_list_request.rb index 07b3aec68..0ef97a740 100644 --- a/lib/plaid/models/watchlist_screening_entity_list_request.rb +++ b/lib/plaid/models/watchlist_screening_entity_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_entity_list_response.rb b/lib/plaid/models/watchlist_screening_entity_list_response.rb index e5bd78056..0118989f5 100644 --- a/lib/plaid/models/watchlist_screening_entity_list_response.rb +++ b/lib/plaid/models/watchlist_screening_entity_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_entity_program_get_request.rb b/lib/plaid/models/watchlist_screening_entity_program_get_request.rb index a9591a45e..4474294c4 100644 --- a/lib/plaid/models/watchlist_screening_entity_program_get_request.rb +++ b/lib/plaid/models/watchlist_screening_entity_program_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_entity_program_get_response.rb b/lib/plaid/models/watchlist_screening_entity_program_get_response.rb index 1b3fec351..a5d18a2da 100644 --- a/lib/plaid/models/watchlist_screening_entity_program_get_response.rb +++ b/lib/plaid/models/watchlist_screening_entity_program_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_entity_program_list_request.rb b/lib/plaid/models/watchlist_screening_entity_program_list_request.rb index 9d4c4d188..e036d465c 100644 --- a/lib/plaid/models/watchlist_screening_entity_program_list_request.rb +++ b/lib/plaid/models/watchlist_screening_entity_program_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_entity_program_list_response.rb b/lib/plaid/models/watchlist_screening_entity_program_list_response.rb index 796dd4639..974ce61ac 100644 --- a/lib/plaid/models/watchlist_screening_entity_program_list_response.rb +++ b/lib/plaid/models/watchlist_screening_entity_program_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_entity_review_create_request.rb b/lib/plaid/models/watchlist_screening_entity_review_create_request.rb index 04647a472..4b5e96f7a 100644 --- a/lib/plaid/models/watchlist_screening_entity_review_create_request.rb +++ b/lib/plaid/models/watchlist_screening_entity_review_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_entity_review_create_response.rb b/lib/plaid/models/watchlist_screening_entity_review_create_response.rb index 031c803e9..d2763b144 100644 --- a/lib/plaid/models/watchlist_screening_entity_review_create_response.rb +++ b/lib/plaid/models/watchlist_screening_entity_review_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_entity_review_list_request.rb b/lib/plaid/models/watchlist_screening_entity_review_list_request.rb index 126f9c486..43f21d71b 100644 --- a/lib/plaid/models/watchlist_screening_entity_review_list_request.rb +++ b/lib/plaid/models/watchlist_screening_entity_review_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_entity_review_list_response.rb b/lib/plaid/models/watchlist_screening_entity_review_list_response.rb index c5c57ffb3..4ce8cca0a 100644 --- a/lib/plaid/models/watchlist_screening_entity_review_list_response.rb +++ b/lib/plaid/models/watchlist_screening_entity_review_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_entity_update_request.rb b/lib/plaid/models/watchlist_screening_entity_update_request.rb index 8b3c3993d..f09f81197 100644 --- a/lib/plaid/models/watchlist_screening_entity_update_request.rb +++ b/lib/plaid/models/watchlist_screening_entity_update_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_entity_update_request_resettable_field.rb b/lib/plaid/models/watchlist_screening_entity_update_request_resettable_field.rb index d9dae074d..d1da13057 100644 --- a/lib/plaid/models/watchlist_screening_entity_update_request_resettable_field.rb +++ b/lib/plaid/models/watchlist_screening_entity_update_request_resettable_field.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_entity_update_response.rb b/lib/plaid/models/watchlist_screening_entity_update_response.rb index 95b827b56..c8740537b 100644 --- a/lib/plaid/models/watchlist_screening_entity_update_response.rb +++ b/lib/plaid/models/watchlist_screening_entity_update_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_hit.rb b/lib/plaid/models/watchlist_screening_hit.rb index a94455169..79dacb2ee 100644 --- a/lib/plaid/models/watchlist_screening_hit.rb +++ b/lib/plaid/models/watchlist_screening_hit.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_hit_locations.rb b/lib/plaid/models/watchlist_screening_hit_locations.rb index 2c8497ae7..7392b19c1 100644 --- a/lib/plaid/models/watchlist_screening_hit_locations.rb +++ b/lib/plaid/models/watchlist_screening_hit_locations.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_hit_status.rb b/lib/plaid/models/watchlist_screening_hit_status.rb index 1055788ed..6d64cbad8 100644 --- a/lib/plaid/models/watchlist_screening_hit_status.rb +++ b/lib/plaid/models/watchlist_screening_hit_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_individual.rb b/lib/plaid/models/watchlist_screening_individual.rb index d4e4d7c0a..5d5ff3690 100644 --- a/lib/plaid/models/watchlist_screening_individual.rb +++ b/lib/plaid/models/watchlist_screening_individual.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_individual_create_request.rb b/lib/plaid/models/watchlist_screening_individual_create_request.rb index 9ec4ef5b9..999c11d05 100644 --- a/lib/plaid/models/watchlist_screening_individual_create_request.rb +++ b/lib/plaid/models/watchlist_screening_individual_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_individual_create_response.rb b/lib/plaid/models/watchlist_screening_individual_create_response.rb index ded1eea4a..a1dda4981 100644 --- a/lib/plaid/models/watchlist_screening_individual_create_response.rb +++ b/lib/plaid/models/watchlist_screening_individual_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_individual_get_request.rb b/lib/plaid/models/watchlist_screening_individual_get_request.rb index 1d466509b..d34834e6d 100644 --- a/lib/plaid/models/watchlist_screening_individual_get_request.rb +++ b/lib/plaid/models/watchlist_screening_individual_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_individual_get_response.rb b/lib/plaid/models/watchlist_screening_individual_get_response.rb index 6fe3ba189..eca5af3dc 100644 --- a/lib/plaid/models/watchlist_screening_individual_get_response.rb +++ b/lib/plaid/models/watchlist_screening_individual_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_individual_history_list_request.rb b/lib/plaid/models/watchlist_screening_individual_history_list_request.rb index ff5426bb8..eac624c26 100644 --- a/lib/plaid/models/watchlist_screening_individual_history_list_request.rb +++ b/lib/plaid/models/watchlist_screening_individual_history_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_individual_history_list_response.rb b/lib/plaid/models/watchlist_screening_individual_history_list_response.rb index 5ccb6a45c..e9d08ff61 100644 --- a/lib/plaid/models/watchlist_screening_individual_history_list_response.rb +++ b/lib/plaid/models/watchlist_screening_individual_history_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_individual_hit_list_request.rb b/lib/plaid/models/watchlist_screening_individual_hit_list_request.rb index 77c6d8c99..78ec7f931 100644 --- a/lib/plaid/models/watchlist_screening_individual_hit_list_request.rb +++ b/lib/plaid/models/watchlist_screening_individual_hit_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_individual_hit_list_response.rb b/lib/plaid/models/watchlist_screening_individual_hit_list_response.rb index 75b1016d3..78010ad80 100644 --- a/lib/plaid/models/watchlist_screening_individual_hit_list_response.rb +++ b/lib/plaid/models/watchlist_screening_individual_hit_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_individual_list_request.rb b/lib/plaid/models/watchlist_screening_individual_list_request.rb index 2c1f1593b..4439cd1ab 100644 --- a/lib/plaid/models/watchlist_screening_individual_list_request.rb +++ b/lib/plaid/models/watchlist_screening_individual_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_individual_list_response.rb b/lib/plaid/models/watchlist_screening_individual_list_response.rb index f9c77e32d..acf7bb0aa 100644 --- a/lib/plaid/models/watchlist_screening_individual_list_response.rb +++ b/lib/plaid/models/watchlist_screening_individual_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_individual_program_get_request.rb b/lib/plaid/models/watchlist_screening_individual_program_get_request.rb index d12c05866..2795fc4fc 100644 --- a/lib/plaid/models/watchlist_screening_individual_program_get_request.rb +++ b/lib/plaid/models/watchlist_screening_individual_program_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_individual_program_get_response.rb b/lib/plaid/models/watchlist_screening_individual_program_get_response.rb index a50d3c275..ae6253fe0 100644 --- a/lib/plaid/models/watchlist_screening_individual_program_get_response.rb +++ b/lib/plaid/models/watchlist_screening_individual_program_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_individual_program_list_request.rb b/lib/plaid/models/watchlist_screening_individual_program_list_request.rb index 9a4b77b6e..b8309b729 100644 --- a/lib/plaid/models/watchlist_screening_individual_program_list_request.rb +++ b/lib/plaid/models/watchlist_screening_individual_program_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_individual_program_list_response.rb b/lib/plaid/models/watchlist_screening_individual_program_list_response.rb index db3dc0015..79ffb233c 100644 --- a/lib/plaid/models/watchlist_screening_individual_program_list_response.rb +++ b/lib/plaid/models/watchlist_screening_individual_program_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_individual_review_create_request.rb b/lib/plaid/models/watchlist_screening_individual_review_create_request.rb index 7245bca21..3c57809c5 100644 --- a/lib/plaid/models/watchlist_screening_individual_review_create_request.rb +++ b/lib/plaid/models/watchlist_screening_individual_review_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_individual_review_create_response.rb b/lib/plaid/models/watchlist_screening_individual_review_create_response.rb index 80a9e5366..f830d1b7c 100644 --- a/lib/plaid/models/watchlist_screening_individual_review_create_response.rb +++ b/lib/plaid/models/watchlist_screening_individual_review_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_individual_review_list_request.rb b/lib/plaid/models/watchlist_screening_individual_review_list_request.rb index fef5f82a2..59682d241 100644 --- a/lib/plaid/models/watchlist_screening_individual_review_list_request.rb +++ b/lib/plaid/models/watchlist_screening_individual_review_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_individual_review_list_response.rb b/lib/plaid/models/watchlist_screening_individual_review_list_response.rb index a74a5d8ba..520e24ef2 100644 --- a/lib/plaid/models/watchlist_screening_individual_review_list_response.rb +++ b/lib/plaid/models/watchlist_screening_individual_review_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_individual_update_request.rb b/lib/plaid/models/watchlist_screening_individual_update_request.rb index 39ad85548..93182e09c 100644 --- a/lib/plaid/models/watchlist_screening_individual_update_request.rb +++ b/lib/plaid/models/watchlist_screening_individual_update_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_individual_update_request_resettable_field.rb b/lib/plaid/models/watchlist_screening_individual_update_request_resettable_field.rb index 7c894e02f..cdc0f6e32 100644 --- a/lib/plaid/models/watchlist_screening_individual_update_request_resettable_field.rb +++ b/lib/plaid/models/watchlist_screening_individual_update_request_resettable_field.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_individual_update_response.rb b/lib/plaid/models/watchlist_screening_individual_update_response.rb index 05060e10a..1d1aebb9c 100644 --- a/lib/plaid/models/watchlist_screening_individual_update_response.rb +++ b/lib/plaid/models/watchlist_screening_individual_update_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_request_search_terms.rb b/lib/plaid/models/watchlist_screening_request_search_terms.rb index ef1639004..4ef18282f 100644 --- a/lib/plaid/models/watchlist_screening_request_search_terms.rb +++ b/lib/plaid/models/watchlist_screening_request_search_terms.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -19,13 +19,13 @@ class WatchlistScreeningRequestSearchTerms # ID of the associated program. attr_accessor :watchlist_program_id - # The legal name of the individual being screened. + # The legal name of the individual being screened. Must have at least one alphabetical character, have a maximum length of 100 characters, and not include leading or trailing spaces. attr_accessor :legal_name # A date in the format YYYY-MM-DD (RFC 3339 Section 5.6). attr_accessor :date_of_birth - # The numeric or alphanumeric identifier associated with this document. + # The numeric or alphanumeric identifier associated with this document. Must be between 4 and 32 characters long, and cannot have leading or trailing spaces. attr_accessor :document_number # Valid, capitalized, two-letter ISO code representing the country of this object. Must be in ISO 3166-1 alpha-2 form. diff --git a/lib/plaid/models/watchlist_screening_review.rb b/lib/plaid/models/watchlist_screening_review.rb index 5306061c8..dc4f5942f 100644 --- a/lib/plaid/models/watchlist_screening_review.rb +++ b/lib/plaid/models/watchlist_screening_review.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_search_terms.rb b/lib/plaid/models/watchlist_screening_search_terms.rb index be88c9bef..157161ab2 100644 --- a/lib/plaid/models/watchlist_screening_search_terms.rb +++ b/lib/plaid/models/watchlist_screening_search_terms.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -19,13 +19,13 @@ class WatchlistScreeningSearchTerms # ID of the associated program. attr_accessor :watchlist_program_id - # The legal name of the individual being screened. + # The legal name of the individual being screened. Must have at least one alphabetical character, have a maximum length of 100 characters, and not include leading or trailing spaces. attr_accessor :legal_name # A date in the format YYYY-MM-DD (RFC 3339 Section 5.6). attr_accessor :date_of_birth - # The numeric or alphanumeric identifier associated with this document. + # The numeric or alphanumeric identifier associated with this document. Must be between 4 and 32 characters long, and cannot have leading or trailing spaces. attr_accessor :document_number # Valid, capitalized, two-letter ISO code representing the country of this object. Must be in ISO 3166-1 alpha-2 form. diff --git a/lib/plaid/models/watchlist_screening_status.rb b/lib/plaid/models/watchlist_screening_status.rb index 2faa3ed43..abdd911fa 100644 --- a/lib/plaid/models/watchlist_screening_status.rb +++ b/lib/plaid/models/watchlist_screening_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/weak_alias_determination.rb b/lib/plaid/models/weak_alias_determination.rb index f8459387d..c89bf5adc 100644 --- a/lib/plaid/models/weak_alias_determination.rb +++ b/lib/plaid/models/weak_alias_determination.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/webhook_environment_values.rb b/lib/plaid/models/webhook_environment_values.rb index fe785bd21..9603517ac 100644 --- a/lib/plaid/models/webhook_environment_values.rb +++ b/lib/plaid/models/webhook_environment_values.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/webhook_type.rb b/lib/plaid/models/webhook_type.rb index f2d5759db..1827e8225 100644 --- a/lib/plaid/models/webhook_type.rb +++ b/lib/plaid/models/webhook_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/webhook_update_acknowledged_webhook.rb b/lib/plaid/models/webhook_update_acknowledged_webhook.rb index dc9c09c1a..b56f2f8a0 100644 --- a/lib/plaid/models/webhook_update_acknowledged_webhook.rb +++ b/lib/plaid/models/webhook_update_acknowledged_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/webhook_verification_key_get_request.rb b/lib/plaid/models/webhook_verification_key_get_request.rb index f0a8bee93..00db7344b 100644 --- a/lib/plaid/models/webhook_verification_key_get_request.rb +++ b/lib/plaid/models/webhook_verification_key_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/webhook_verification_key_get_response.rb b/lib/plaid/models/webhook_verification_key_get_response.rb index 2412777a1..adc646200 100644 --- a/lib/plaid/models/webhook_verification_key_get_response.rb +++ b/lib/plaid/models/webhook_verification_key_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/ytd_gross_income_summary_field_number.rb b/lib/plaid/models/ytd_gross_income_summary_field_number.rb index 898ffaa29..adda9d2cb 100644 --- a/lib/plaid/models/ytd_gross_income_summary_field_number.rb +++ b/lib/plaid/models/ytd_gross_income_summary_field_number.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/ytd_net_income_summary_field_number.rb b/lib/plaid/models/ytd_net_income_summary_field_number.rb index 4b19b2905..6a09fed58 100644 --- a/lib/plaid/models/ytd_net_income_summary_field_number.rb +++ b/lib/plaid/models/ytd_net_income_summary_field_number.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/version.rb b/lib/plaid/version.rb index 07451f1b4..926545082 100644 --- a/lib/plaid/version.rb +++ b/lib/plaid/version.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -11,5 +11,5 @@ =end module Plaid - VERSION = '30.0.0' + VERSION = '31.0.0' end diff --git a/plaid.gemspec b/plaid.gemspec index eee254076..d91a57970 100644 --- a/plaid.gemspec +++ b/plaid.gemspec @@ -5,7 +5,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.556.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0