plaid 14.1.0 → 14.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +17 -2
- data/Gemfile.lock +2 -2
- data/Makefile +1 -1
- data/PUBLISH.md +4 -3
- data/README.md +5 -5
- data/doc/rdoc/classes/Plaid/AccessToken/UpdateVersionResponse.html +118 -0
- data/doc/rdoc/classes/Plaid/AddToken/CreateResponse.html +118 -0
- data/doc/rdoc/classes/Plaid/AddToken.html +197 -0
- data/doc/rdoc/classes/Plaid/Models/Payment.html +0 -17
- data/doc/rdoc/classes/Plaid/PaymentGetResponse.html +0 -17
- data/doc/rdoc/classes/Plaid/PaymentInitiation.html +20 -23
- data/doc/rdoc/classes/Plaid.html +1 -1
- data/doc/rdoc/created.rid +28 -28
- data/doc/rdoc/files/LICENSE_txt.html +1 -1
- data/doc/rdoc/files/README_md.html +1 -1
- data/doc/rdoc/files/lib/plaid/client_rb.html +1 -1
- data/doc/rdoc/files/lib/plaid/errors_rb.html +1 -1
- data/doc/rdoc/files/lib/plaid/middleware_rb.html +1 -1
- data/doc/rdoc/files/lib/plaid/models_rb.html +1 -1
- data/doc/rdoc/files/lib/plaid/products/accounts_rb.html +1 -1
- data/doc/rdoc/files/lib/plaid/products/asset_report_rb.html +1 -1
- data/doc/rdoc/files/lib/plaid/products/auth_rb.html +1 -1
- data/doc/rdoc/files/lib/plaid/products/base_product_rb.html +1 -1
- data/doc/rdoc/files/lib/plaid/products/categories_rb.html +1 -1
- data/doc/rdoc/files/lib/plaid/products/credit_details_rb.html +1 -1
- data/doc/rdoc/files/lib/plaid/products/deposit_switch_rb.html +1 -1
- data/doc/rdoc/files/lib/plaid/products/identity_rb.html +1 -1
- data/doc/rdoc/files/lib/plaid/products/income_rb.html +1 -1
- data/doc/rdoc/files/lib/plaid/products/institutions_rb.html +1 -1
- data/doc/rdoc/files/lib/plaid/products/investments_rb.html +1 -1
- data/doc/rdoc/files/lib/plaid/products/item_rb.html +1 -1
- data/doc/rdoc/files/lib/plaid/products/liabilities_rb.html +1 -1
- data/doc/rdoc/files/lib/plaid/products/link_token_rb.html +1 -1
- data/doc/rdoc/files/lib/plaid/products/payment_initiation_rb.html +1 -1
- data/doc/rdoc/files/lib/plaid/products/processor_rb.html +1 -1
- data/doc/rdoc/files/lib/plaid/products/sandbox_rb.html +1 -1
- data/doc/rdoc/files/lib/plaid/products/transactions_rb.html +1 -1
- data/doc/rdoc/files/lib/plaid/products/webhooks_rb.html +1 -1
- data/doc/rdoc/files/lib/plaid/version_rb.html +1 -1
- data/doc/rdoc/files/lib/plaid_rb.html +1 -1
- data/doc/rdoc/js/navigation.js.gz +0 -0
- data/doc/rdoc/js/search_index.js +1 -1
- data/doc/rdoc/js/search_index.js.gz +0 -0
- data/doc/rdoc/js/searcher.js.gz +0 -0
- data/lib/plaid/api/plaid_api.rb +353 -28
- data/lib/plaid/api_client.rb +4 -4
- data/lib/plaid/api_error.rb +3 -3
- data/lib/plaid/configuration.rb +5 -4
- data/lib/plaid/models/account_access.rb +1 -1
- data/lib/plaid/models/account_assets.rb +1 -1
- data/lib/plaid/models/account_assets_all_of.rb +1 -1
- data/lib/plaid/models/account_balance.rb +3 -3
- data/lib/plaid/models/account_base.rb +1 -1
- data/lib/plaid/models/account_filter.rb +1 -1
- data/lib/plaid/models/account_filters_response.rb +1 -1
- data/lib/plaid/models/account_identity.rb +1 -1
- data/lib/plaid/models/account_identity_all_of.rb +1 -1
- data/lib/plaid/models/account_selection_cardinality.rb +5 -3
- data/lib/plaid/models/account_subtype.rb +6 -3
- data/lib/plaid/models/account_type.rb +5 -3
- data/lib/plaid/models/accounts_balance_get_request.rb +1 -1
- data/lib/plaid/models/accounts_balance_get_request_options.rb +1 -1
- data/lib/plaid/models/accounts_get_request.rb +1 -1
- data/lib/plaid/models/accounts_get_request_options.rb +1 -1
- data/lib/plaid/models/accounts_get_response.rb +1 -1
- data/lib/plaid/models/ach_class.rb +5 -3
- data/lib/plaid/models/address.rb +1 -1
- data/lib/plaid/models/address_data.rb +1 -1
- data/lib/plaid/models/address_data_nullable.rb +1 -1
- data/lib/plaid/models/address_nullable.rb +1 -1
- data/lib/plaid/models/application.rb +1 -1
- data/lib/plaid/models/application_get_request.rb +1 -1
- data/lib/plaid/models/application_get_response.rb +1 -1
- data/lib/plaid/models/apr.rb +1 -1
- data/lib/plaid/models/asset_report.rb +1 -1
- data/lib/plaid/models/asset_report_audit_copy_create_request.rb +1 -1
- data/lib/plaid/models/asset_report_audit_copy_create_response.rb +1 -1
- data/lib/plaid/models/asset_report_audit_copy_get_request.rb +1 -1
- data/lib/plaid/models/asset_report_audit_copy_remove_request.rb +1 -1
- data/lib/plaid/models/asset_report_audit_copy_remove_response.rb +1 -1
- data/lib/plaid/models/asset_report_create_request.rb +6 -6
- data/lib/plaid/models/asset_report_create_request_options.rb +3 -1
- data/lib/plaid/models/asset_report_create_response.rb +1 -1
- data/lib/plaid/models/asset_report_filter_request.rb +1 -1
- data/lib/plaid/models/asset_report_filter_response.rb +1 -1
- data/lib/plaid/models/asset_report_get_request.rb +1 -1
- data/lib/plaid/models/asset_report_get_response.rb +1 -1
- data/lib/plaid/models/asset_report_item.rb +1 -1
- data/lib/plaid/models/asset_report_pdf_get_request.rb +1 -1
- data/lib/plaid/models/asset_report_refresh_request.rb +7 -6
- data/lib/plaid/models/asset_report_refresh_request_options.rb +3 -1
- data/lib/plaid/models/asset_report_refresh_response.rb +1 -1
- data/lib/plaid/models/asset_report_remove_request.rb +1 -1
- data/lib/plaid/models/asset_report_remove_response.rb +1 -1
- data/lib/plaid/models/asset_report_transaction.rb +1 -1
- data/lib/plaid/models/asset_report_transaction_all_of.rb +1 -1
- data/lib/plaid/models/asset_report_user.rb +1 -1
- data/lib/plaid/models/assets_error_webhook.rb +1 -1
- data/lib/plaid/models/assets_product_ready_webhook.rb +1 -1
- data/lib/plaid/models/auth_get_numbers.rb +1 -1
- data/lib/plaid/models/auth_get_request.rb +1 -1
- data/lib/plaid/models/auth_get_request_options.rb +1 -1
- data/lib/plaid/models/auth_get_response.rb +1 -1
- data/lib/plaid/models/{income_verification_documents_download_response.rb → auth_metadata.rb} +13 -17
- data/lib/plaid/models/auth_supported_methods.rb +255 -0
- data/lib/plaid/models/automatically_verified_webhook.rb +1 -1
- data/lib/plaid/models/bank_initiated_return_risk.rb +1 -1
- data/lib/plaid/models/bank_transfer.rb +1 -1
- data/lib/plaid/models/bank_transfer_balance.rb +1 -1
- data/lib/plaid/models/bank_transfer_balance_get_request.rb +1 -1
- data/lib/plaid/models/bank_transfer_balance_get_response.rb +1 -1
- data/lib/plaid/models/bank_transfer_cancel_request.rb +1 -1
- data/lib/plaid/models/bank_transfer_cancel_response.rb +1 -1
- data/lib/plaid/models/bank_transfer_create_request.rb +1 -1
- data/lib/plaid/models/bank_transfer_create_response.rb +1 -1
- data/lib/plaid/models/bank_transfer_direction.rb +5 -3
- data/lib/plaid/models/bank_transfer_event.rb +1 -1
- data/lib/plaid/models/bank_transfer_event_list_request.rb +1 -1
- data/lib/plaid/models/bank_transfer_event_list_response.rb +1 -1
- data/lib/plaid/models/bank_transfer_event_sync_request.rb +1 -1
- data/lib/plaid/models/bank_transfer_event_sync_response.rb +1 -1
- data/lib/plaid/models/bank_transfer_event_type.rb +5 -3
- data/lib/plaid/models/bank_transfer_failure.rb +1 -1
- data/lib/plaid/models/bank_transfer_get_request.rb +1 -1
- data/lib/plaid/models/bank_transfer_get_response.rb +1 -1
- data/lib/plaid/models/bank_transfer_list_request.rb +1 -1
- data/lib/plaid/models/bank_transfer_list_response.rb +1 -1
- data/lib/plaid/models/bank_transfer_migrate_account_request.rb +1 -1
- data/lib/plaid/models/bank_transfer_migrate_account_response.rb +1 -1
- data/lib/plaid/models/bank_transfer_network.rb +5 -3
- data/lib/plaid/models/bank_transfer_receiver_details.rb +1 -1
- data/lib/plaid/models/bank_transfer_status.rb +5 -3
- data/lib/plaid/models/bank_transfer_sweep.rb +1 -1
- data/lib/plaid/models/bank_transfer_sweep_account.rb +1 -1
- data/lib/plaid/models/bank_transfer_sweep_get_request.rb +2 -2
- data/lib/plaid/models/bank_transfer_sweep_get_response.rb +1 -1
- data/lib/plaid/models/bank_transfer_sweep_list_request.rb +330 -0
- data/lib/plaid/models/bank_transfer_sweep_list_response.rb +241 -0
- data/lib/plaid/models/bank_transfer_type.rb +5 -3
- data/lib/plaid/models/bank_transfer_user.rb +1 -1
- data/lib/plaid/models/bank_transfers_events_update_webhook.rb +1 -1
- data/lib/plaid/models/categories_get_response.rb +1 -1
- data/lib/plaid/models/category.rb +1 -1
- data/lib/plaid/models/cause.rb +1 -1
- data/lib/plaid/models/connected_application.rb +1 -1
- data/lib/plaid/models/country_code.rb +5 -3
- data/lib/plaid/models/credit_card_liability.rb +17 -2
- data/lib/plaid/models/credit_filter.rb +1 -1
- data/lib/plaid/models/customer_initiated_return_risk.rb +1 -1
- data/lib/plaid/models/deductions.rb +1 -1
- data/lib/plaid/models/default_update_webhook.rb +1 -1
- data/lib/plaid/models/deposit_switch_address_data.rb +1 -1
- data/lib/plaid/models/deposit_switch_alt_create_request.rb +1 -1
- data/lib/plaid/models/deposit_switch_alt_create_response.rb +1 -1
- data/lib/plaid/models/deposit_switch_create_request.rb +1 -1
- data/lib/plaid/models/deposit_switch_create_request_options.rb +1 -1
- data/lib/plaid/models/deposit_switch_create_response.rb +1 -1
- data/lib/plaid/models/deposit_switch_get_request.rb +1 -1
- data/lib/plaid/models/deposit_switch_get_response.rb +1 -1
- data/lib/plaid/models/deposit_switch_state_update_webhook.rb +1 -1
- data/lib/plaid/models/deposit_switch_target_account.rb +1 -1
- data/lib/plaid/models/deposit_switch_target_user.rb +1 -1
- data/lib/plaid/models/deposit_switch_token_create_request.rb +1 -1
- data/lib/plaid/models/deposit_switch_token_create_response.rb +1 -1
- data/lib/plaid/models/depository_filter.rb +1 -1
- data/lib/plaid/models/distribution_details.rb +1 -1
- data/lib/plaid/models/document_metadata.rb +49 -5
- data/lib/plaid/models/earnings.rb +1 -1
- data/lib/plaid/models/earnings_total.rb +3 -3
- data/lib/plaid/models/email.rb +1 -1
- data/lib/plaid/models/employee.rb +1 -1
- data/lib/plaid/models/employee_income_summary_field_string.rb +1 -1
- data/lib/plaid/models/employer.rb +1 -1
- data/lib/plaid/models/employer_income_summary_field_string.rb +1 -1
- data/lib/plaid/models/employer_verification.rb +221 -0
- data/lib/plaid/models/employers_search_request.rb +1 -1
- data/lib/plaid/models/employers_search_response.rb +1 -1
- data/lib/plaid/models/employment_details.rb +1 -1
- data/lib/plaid/models/employment_verification.rb +306 -0
- data/lib/plaid/models/employment_verification_get_request.rb +245 -0
- data/lib/plaid/models/employment_verification_get_response.rb +252 -0
- data/lib/plaid/models/error.rb +1 -1
- data/lib/plaid/models/external_payment_options.rb +1 -1
- data/lib/plaid/models/external_payment_refund_details.rb +1 -1
- data/lib/plaid/models/external_payment_schedule_base.rb +1 -1
- data/lib/plaid/models/external_payment_schedule_get.rb +1 -1
- data/lib/plaid/models/external_payment_schedule_request.rb +1 -1
- data/lib/plaid/models/health_incident.rb +1 -1
- data/lib/plaid/models/historical_balance.rb +1 -1
- data/lib/plaid/models/historical_update_webhook.rb +2 -2
- data/lib/plaid/models/holding.rb +1 -1
- data/lib/plaid/models/holdings_default_update_webhook.rb +1 -1
- data/lib/plaid/models/holdings_override.rb +1 -1
- data/lib/plaid/models/identity_get_request.rb +1 -1
- data/lib/plaid/models/identity_get_request_options.rb +1 -1
- data/lib/plaid/models/identity_get_response.rb +1 -1
- data/lib/plaid/models/incident_update.rb +1 -1
- data/lib/plaid/models/income_breakdown.rb +2 -2
- data/lib/plaid/models/income_override.rb +222 -0
- data/lib/plaid/models/income_summary.rb +1 -1
- data/lib/plaid/models/income_summary_field_number.rb +1 -1
- data/lib/plaid/models/income_summary_field_string.rb +1 -1
- data/lib/plaid/models/income_verification_create_request.rb +15 -5
- data/lib/plaid/models/income_verification_create_response.rb +1 -1
- data/lib/plaid/models/income_verification_documents_download_request.rb +17 -6
- data/lib/plaid/models/income_verification_paystub_get_request.rb +1 -1
- data/lib/plaid/models/income_verification_paystub_get_response.rb +249 -0
- data/lib/plaid/models/income_verification_paystubs_get_request.rb +1 -1
- data/lib/plaid/models/income_verification_paystubs_get_response.rb +1 -1
- data/lib/plaid/models/income_verification_precheck_employer.rb +252 -0
- data/lib/plaid/models/income_verification_precheck_employer_address.rb +280 -0
- data/lib/plaid/models/{transfer_receiver_details.rb → income_verification_precheck_military_info.rb} +32 -22
- data/lib/plaid/models/income_verification_precheck_request.rb +271 -0
- data/lib/plaid/models/income_verification_precheck_response.rb +289 -0
- data/lib/plaid/models/income_verification_precheck_user.rb +252 -0
- data/lib/plaid/models/income_verification_refresh_request.rb +1 -1
- data/lib/plaid/models/income_verification_refresh_response.rb +1 -1
- data/lib/plaid/models/income_verification_status_webhook.rb +1 -1
- data/lib/plaid/models/income_verification_summary_get_request.rb +1 -1
- data/lib/plaid/models/income_verification_summary_get_response.rb +1 -1
- data/lib/plaid/models/income_verification_taxforms_get_request.rb +1 -1
- data/lib/plaid/models/income_verification_taxforms_get_response.rb +1 -1
- data/lib/plaid/models/income_verification_webhook_status.rb +1 -1
- data/lib/plaid/models/inflow_model.rb +1 -1
- data/lib/plaid/models/initial_update_webhook.rb +2 -2
- data/lib/plaid/models/institution.rb +16 -6
- data/lib/plaid/models/institution_status.rb +1 -1
- data/lib/plaid/models/institutions_get_by_id_request.rb +1 -1
- data/lib/plaid/models/institutions_get_by_id_request_options.rb +14 -2
- data/lib/plaid/models/institutions_get_by_id_response.rb +1 -1
- data/lib/plaid/models/institutions_get_request.rb +1 -1
- data/lib/plaid/models/institutions_get_request_options.rb +14 -2
- data/lib/plaid/models/institutions_get_response.rb +1 -1
- data/lib/plaid/models/institutions_search_account_filter.rb +1 -1
- data/lib/plaid/models/institutions_search_payment_initiation_options.rb +1 -1
- data/lib/plaid/models/institutions_search_request.rb +1 -1
- data/lib/plaid/models/institutions_search_request_options.rb +14 -2
- data/lib/plaid/models/institutions_search_response.rb +1 -1
- data/lib/plaid/models/investment_filter.rb +1 -1
- data/lib/plaid/models/investment_holdings_get_request_options.rb +1 -1
- data/lib/plaid/models/investment_transaction.rb +1 -1
- data/lib/plaid/models/investments_default_update_webhook.rb +1 -1
- data/lib/plaid/models/investments_holdings_get_request.rb +1 -1
- data/lib/plaid/models/investments_holdings_get_response.rb +1 -1
- data/lib/plaid/models/investments_transactions_get_request.rb +1 -1
- data/lib/plaid/models/investments_transactions_get_request_options.rb +1 -1
- data/lib/plaid/models/investments_transactions_get_response.rb +1 -1
- data/lib/plaid/models/investments_transactions_override.rb +1 -1
- data/lib/plaid/models/item.rb +1 -1
- data/lib/plaid/models/item_access_token_invalidate_request.rb +1 -1
- data/lib/plaid/models/item_access_token_invalidate_response.rb +1 -1
- data/lib/plaid/models/item_application_list_request.rb +1 -1
- data/lib/plaid/models/item_application_list_response.rb +1 -1
- data/lib/plaid/models/item_application_list_user_auth.rb +1 -1
- data/lib/plaid/models/item_application_scopes_update_request.rb +1 -1
- data/lib/plaid/models/item_application_scopes_update_response.rb +1 -1
- data/lib/plaid/models/item_error_webhook.rb +1 -1
- data/lib/plaid/models/item_get_request.rb +1 -1
- data/lib/plaid/models/item_get_response.rb +1 -1
- data/lib/plaid/models/item_import_request.rb +1 -1
- data/lib/plaid/models/item_import_request_options.rb +1 -1
- data/lib/plaid/models/item_import_request_user_auth.rb +1 -1
- data/lib/plaid/models/item_import_response.rb +1 -1
- data/lib/plaid/models/item_product_ready_webhook.rb +1 -1
- data/lib/plaid/models/item_public_token_create_request.rb +1 -1
- data/lib/plaid/models/item_public_token_create_response.rb +1 -1
- data/lib/plaid/models/item_public_token_exchange_request.rb +1 -1
- data/lib/plaid/models/item_public_token_exchange_response.rb +1 -1
- data/lib/plaid/models/item_remove_request.rb +1 -1
- data/lib/plaid/models/item_remove_response.rb +1 -1
- data/lib/plaid/models/item_status.rb +1 -1
- data/lib/plaid/models/item_status_investments.rb +1 -1
- data/lib/plaid/models/item_status_last_webhook.rb +1 -1
- data/lib/plaid/models/item_status_nullable.rb +1 -1
- data/lib/plaid/models/item_status_transactions.rb +1 -1
- data/lib/plaid/models/item_webhook_update_request.rb +1 -1
- data/lib/plaid/models/item_webhook_update_response.rb +1 -1
- data/lib/plaid/models/jwk_public_key.rb +1 -1
- data/lib/plaid/models/jwt_header.rb +1 -1
- data/lib/plaid/models/liabilities_default_update_webhook.rb +1 -1
- data/lib/plaid/models/liabilities_get_request.rb +1 -1
- data/lib/plaid/models/liabilities_get_request_options.rb +1 -1
- data/lib/plaid/models/liabilities_get_response.rb +1 -1
- data/lib/plaid/models/liabilities_object.rb +1 -1
- data/lib/plaid/models/liability_override.rb +1 -1
- data/lib/plaid/models/link_token_account_filters.rb +1 -1
- data/lib/plaid/models/link_token_create_request.rb +15 -6
- data/lib/plaid/models/link_token_create_request_account_subtypes.rb +1 -1
- data/lib/plaid/models/link_token_create_request_auth.rb +1 -1
- data/lib/plaid/models/link_token_create_request_deposit_switch.rb +1 -1
- data/lib/plaid/models/link_token_create_request_income_verification.rb +15 -10
- data/lib/plaid/models/link_token_create_request_payment_initiation.rb +1 -1
- data/lib/plaid/models/link_token_create_request_update.rb +222 -0
- data/lib/plaid/models/link_token_create_request_user.rb +2 -2
- data/lib/plaid/models/link_token_create_response.rb +1 -1
- data/lib/plaid/models/link_token_eu_config.rb +1 -1
- data/lib/plaid/models/link_token_get_metadata_response.rb +1 -1
- data/lib/plaid/models/link_token_get_request.rb +1 -1
- data/lib/plaid/models/link_token_get_response.rb +1 -1
- data/lib/plaid/models/loan_filter.rb +1 -1
- data/lib/plaid/models/location.rb +1 -1
- data/lib/plaid/models/meta.rb +1 -1
- data/lib/plaid/models/mfa.rb +1 -1
- data/lib/plaid/models/mortgage_interest_rate.rb +1 -1
- data/lib/plaid/models/mortgage_liability.rb +1 -1
- data/lib/plaid/models/mortgage_property_address.rb +1 -1
- data/lib/plaid/models/net_pay.rb +1 -1
- data/lib/plaid/models/new_accounts_available_webhook.rb +250 -0
- data/lib/plaid/models/numbers.rb +1 -1
- data/lib/plaid/models/numbers_ach.rb +1 -1
- data/lib/plaid/models/numbers_ach_nullable.rb +1 -1
- data/lib/plaid/models/numbers_bacs.rb +1 -1
- data/lib/plaid/models/numbers_bacs_nullable.rb +1 -1
- data/lib/plaid/models/numbers_eft.rb +1 -1
- data/lib/plaid/models/numbers_eft_nullable.rb +1 -1
- data/lib/plaid/models/numbers_international.rb +1 -1
- data/lib/plaid/models/numbers_international_nullable.rb +1 -1
- data/lib/plaid/models/override_account_type.rb +6 -3
- data/lib/plaid/models/override_accounts.rb +14 -5
- data/lib/plaid/models/owner.rb +1 -1
- data/lib/plaid/models/owner_override.rb +1 -1
- data/lib/plaid/models/pay.rb +1 -1
- data/lib/plaid/models/pay_frequency.rb +1 -1
- data/lib/plaid/models/pay_period_details.rb +1 -1
- data/lib/plaid/models/payment_amount.rb +1 -1
- data/lib/plaid/models/payment_initiation_address.rb +1 -1
- data/lib/plaid/models/payment_initiation_metadata.rb +1 -1
- data/lib/plaid/models/payment_initiation_optional_restriction_bacs.rb +1 -1
- data/lib/plaid/models/payment_initiation_payment.rb +14 -2
- data/lib/plaid/models/payment_initiation_payment_create_request.rb +1 -1
- data/lib/plaid/models/payment_initiation_payment_create_response.rb +1 -1
- data/lib/plaid/models/payment_initiation_payment_get_request.rb +1 -1
- data/lib/plaid/models/payment_initiation_payment_get_response.rb +14 -2
- data/lib/plaid/models/payment_initiation_payment_list_request.rb +1 -1
- data/lib/plaid/models/payment_initiation_payment_list_response.rb +1 -1
- data/lib/plaid/models/payment_initiation_payment_reverse_request.rb +266 -0
- data/lib/plaid/models/payment_initiation_payment_reverse_response.rb +289 -0
- data/lib/plaid/models/payment_initiation_payment_token_create_request.rb +1 -1
- data/lib/plaid/models/payment_initiation_payment_token_create_response.rb +1 -1
- data/lib/plaid/models/payment_initiation_recipient.rb +1 -1
- data/lib/plaid/models/payment_initiation_recipient_create_request.rb +1 -1
- data/lib/plaid/models/payment_initiation_recipient_create_response.rb +1 -1
- data/lib/plaid/models/payment_initiation_recipient_get_request.rb +1 -1
- data/lib/plaid/models/payment_initiation_recipient_get_response.rb +1 -1
- data/lib/plaid/models/payment_initiation_recipient_get_response_all_of.rb +1 -1
- data/lib/plaid/models/payment_initiation_recipient_list_request.rb +1 -1
- data/lib/plaid/models/payment_initiation_recipient_list_response.rb +1 -1
- data/lib/plaid/models/payment_initiation_refund.rb +303 -0
- data/lib/plaid/models/payment_initiation_standing_order_metadata.rb +1 -1
- data/lib/plaid/models/payment_meta.rb +1 -1
- data/lib/plaid/models/payment_schedule_interval.rb +5 -3
- data/lib/plaid/models/payment_status_update_webhook.rb +1 -1
- data/lib/plaid/models/paystub.rb +1 -1
- data/lib/plaid/models/paystub_address.rb +1 -1
- data/lib/plaid/models/paystub_deduction.rb +1 -1
- data/lib/plaid/models/paystub_details.rb +1 -1
- data/lib/plaid/models/paystub_employer.rb +1 -1
- data/lib/plaid/models/paystub_override.rb +248 -0
- data/lib/plaid/models/paystub_override_employee.rb +229 -0
- data/lib/plaid/models/paystub_override_employee_address.rb +260 -0
- data/lib/plaid/models/paystub_override_employer.rb +220 -0
- data/lib/plaid/models/paystub_ytd_details.rb +1 -1
- data/lib/plaid/models/pending_expiration_webhook.rb +1 -1
- data/lib/plaid/models/personal_finance_category.rb +240 -0
- data/lib/plaid/models/phone_number.rb +1 -1
- data/lib/plaid/models/platform_ids.rb +243 -0
- data/lib/plaid/models/processor_apex_processor_token_create_request.rb +1 -1
- data/lib/plaid/models/processor_auth_get_request.rb +1 -1
- data/lib/plaid/models/processor_auth_get_response.rb +1 -1
- data/lib/plaid/models/processor_balance_get_request.rb +1 -1
- data/lib/plaid/models/processor_balance_get_request_options.rb +1 -1
- data/lib/plaid/models/processor_balance_get_response.rb +1 -1
- data/lib/plaid/models/processor_bank_transfer_create_request.rb +1 -1
- data/lib/plaid/models/processor_bank_transfer_create_response.rb +1 -1
- data/lib/plaid/models/processor_identity_get_request.rb +1 -1
- data/lib/plaid/models/processor_identity_get_response.rb +1 -1
- data/lib/plaid/models/processor_number.rb +1 -1
- data/lib/plaid/models/processor_stripe_bank_account_token_create_request.rb +1 -1
- data/lib/plaid/models/processor_stripe_bank_account_token_create_response.rb +1 -1
- data/lib/plaid/models/processor_token_create_request.rb +3 -3
- data/lib/plaid/models/processor_token_create_response.rb +1 -1
- data/lib/plaid/models/product_access.rb +1 -1
- data/lib/plaid/models/product_status.rb +1 -1
- data/lib/plaid/models/product_status_breakdown.rb +1 -1
- data/lib/plaid/models/products.rb +6 -3
- data/lib/plaid/models/projected_income_summary_field_number.rb +1 -1
- data/lib/plaid/models/pslf_status.rb +1 -1
- data/lib/plaid/models/recaptcha_required_error.rb +1 -1
- data/lib/plaid/models/recipient_bacs.rb +1 -1
- data/lib/plaid/models/recipient_bacs_nullable.rb +1 -1
- data/lib/plaid/models/{transfer_direction.rb → recurring_transaction_frequency.rb} +11 -7
- data/lib/plaid/models/requested_scopes.rb +1 -1
- data/lib/plaid/models/sandbox_bank_transfer_fire_webhook_request.rb +1 -1
- data/lib/plaid/models/sandbox_bank_transfer_fire_webhook_response.rb +1 -1
- data/lib/plaid/models/sandbox_bank_transfer_simulate_request.rb +1 -1
- data/lib/plaid/models/sandbox_bank_transfer_simulate_response.rb +1 -1
- data/lib/plaid/models/sandbox_income_fire_webhook_request.rb +1 -1
- data/lib/plaid/models/sandbox_income_fire_webhook_response.rb +1 -1
- data/lib/plaid/models/sandbox_item_fire_webhook_request.rb +1 -1
- data/lib/plaid/models/sandbox_item_fire_webhook_response.rb +1 -1
- data/lib/plaid/models/sandbox_item_reset_login_request.rb +1 -1
- data/lib/plaid/models/sandbox_item_reset_login_response.rb +1 -1
- data/lib/plaid/models/sandbox_item_set_verification_status_request.rb +1 -1
- data/lib/plaid/models/sandbox_item_set_verification_status_response.rb +1 -1
- data/lib/plaid/models/sandbox_oauth_select_accounts_request.rb +1 -1
- data/lib/plaid/models/sandbox_processor_token_create_request.rb +1 -1
- data/lib/plaid/models/sandbox_processor_token_create_request_options.rb +1 -1
- data/lib/plaid/models/sandbox_processor_token_create_response.rb +1 -1
- data/lib/plaid/models/sandbox_public_token_create_request.rb +1 -1
- data/lib/plaid/models/sandbox_public_token_create_request_options.rb +1 -1
- data/lib/plaid/models/sandbox_public_token_create_request_options_transactions.rb +1 -1
- data/lib/plaid/models/sandbox_public_token_create_response.rb +1 -1
- data/lib/plaid/models/sandbox_transfer_simulate_request.rb +1 -1
- data/lib/plaid/models/sandbox_transfer_simulate_response.rb +1 -1
- data/lib/plaid/models/scopes.rb +1 -1
- data/lib/plaid/models/scopes_context.rb +5 -3
- data/lib/plaid/models/scopes_nullable.rb +1 -1
- data/lib/plaid/models/security.rb +1 -1
- data/lib/plaid/models/security_override.rb +1 -1
- data/lib/plaid/models/sender_bacs_nullable.rb +1 -1
- data/lib/plaid/models/servicer_address_data.rb +1 -1
- data/lib/plaid/models/signal_address_data.rb +1 -1
- data/lib/plaid/models/signal_decision_report_request.rb +2 -1
- data/lib/plaid/models/signal_decision_report_response.rb +2 -1
- data/lib/plaid/models/signal_device.rb +1 -1
- data/lib/plaid/models/signal_evaluate_core_attributes.rb +2 -2
- data/lib/plaid/models/signal_evaluate_request.rb +2 -1
- data/lib/plaid/models/signal_evaluate_response.rb +2 -6
- data/lib/plaid/models/signal_person_name.rb +1 -1
- data/lib/plaid/models/signal_return_report_request.rb +2 -1
- data/lib/plaid/models/signal_return_report_response.rb +2 -1
- data/lib/plaid/models/signal_scores.rb +2 -1
- data/lib/plaid/models/signal_user.rb +1 -1
- data/lib/plaid/models/standalone_account_type.rb +1 -1
- data/lib/plaid/models/standalone_currency_code_list.rb +1 -1
- data/lib/plaid/models/standalone_investment_transaction_type.rb +1 -1
- data/lib/plaid/models/student_loan.rb +1 -1
- data/lib/plaid/models/student_loan_repayment_model.rb +1 -1
- data/lib/plaid/models/student_loan_status.rb +1 -1
- data/lib/plaid/models/student_repayment_plan.rb +1 -1
- data/lib/plaid/models/taxform.rb +1 -1
- data/lib/plaid/models/taxpayer_id.rb +1 -1
- data/lib/plaid/models/total.rb +3 -3
- data/lib/plaid/models/transaction.rb +16 -6
- data/lib/plaid/models/transaction_all_of.rb +16 -6
- data/lib/plaid/models/transaction_base.rb +1 -1
- data/lib/plaid/models/transaction_code.rb +5 -3
- data/lib/plaid/models/transaction_data.rb +1 -1
- data/lib/plaid/models/transaction_override.rb +1 -1
- data/lib/plaid/models/transaction_stream.rb +377 -0
- data/lib/plaid/models/transaction_stream_amount.rb +242 -0
- data/lib/plaid/models/transactions_get_request.rb +1 -1
- data/lib/plaid/models/transactions_get_request_options.rb +18 -6
- data/lib/plaid/models/transactions_get_response.rb +1 -1
- data/lib/plaid/models/transactions_recurring_get_request.rb +252 -0
- data/lib/plaid/models/transactions_recurring_get_response.rb +254 -0
- data/lib/plaid/models/transactions_refresh_request.rb +1 -1
- data/lib/plaid/models/transactions_refresh_response.rb +1 -1
- data/lib/plaid/models/transactions_removed_webhook.rb +1 -1
- data/lib/plaid/models/transfer.rb +5 -41
- data/lib/plaid/models/transfer_authorization.rb +1 -1
- data/lib/plaid/models/transfer_authorization_create_request.rb +2 -53
- data/lib/plaid/models/transfer_authorization_create_response.rb +1 -1
- data/lib/plaid/models/transfer_authorization_decision_rationale.rb +1 -1
- data/lib/plaid/models/transfer_authorization_device.rb +1 -1
- data/lib/plaid/models/transfer_authorization_proposed_transfer.rb +2 -32
- data/lib/plaid/models/transfer_cancel_request.rb +1 -1
- data/lib/plaid/models/transfer_cancel_response.rb +1 -1
- data/lib/plaid/models/transfer_create_request.rb +7 -45
- data/lib/plaid/models/transfer_create_response.rb +1 -1
- data/lib/plaid/models/transfer_event.rb +6 -41
- data/lib/plaid/models/transfer_event_list_request.rb +6 -29
- data/lib/plaid/models/transfer_event_list_response.rb +1 -1
- data/lib/plaid/models/transfer_event_sync_request.rb +1 -1
- data/lib/plaid/models/transfer_event_sync_response.rb +1 -1
- data/lib/plaid/models/transfer_event_type.rb +5 -5
- data/lib/plaid/models/transfer_failure.rb +1 -1
- data/lib/plaid/models/transfer_get_request.rb +1 -1
- data/lib/plaid/models/transfer_get_response.rb +1 -1
- data/lib/plaid/models/transfer_list_request.rb +6 -16
- data/lib/plaid/models/transfer_list_response.rb +1 -1
- data/lib/plaid/models/transfer_network.rb +5 -3
- data/lib/plaid/models/transfer_status.rb +5 -3
- data/lib/plaid/models/transfer_type.rb +5 -3
- data/lib/plaid/models/transfer_user_address_in_request.rb +1 -1
- data/lib/plaid/models/transfer_user_address_in_response.rb +1 -1
- data/lib/plaid/models/transfer_user_in_request.rb +1 -1
- data/lib/plaid/models/transfer_user_in_response.rb +1 -1
- data/lib/plaid/models/user_custom_password.rb +1 -1
- data/lib/plaid/models/user_permission_revoked_webhook.rb +1 -1
- data/lib/plaid/models/verification_expired_webhook.rb +1 -1
- data/lib/plaid/models/verification_refresh_status.rb +5 -3
- data/lib/plaid/models/verification_status.rb +5 -3
- data/lib/plaid/models/w2.rb +1 -1
- data/lib/plaid/models/w2_box12.rb +1 -1
- data/lib/plaid/models/w2_state_and_local_wages.rb +1 -1
- data/lib/plaid/models/warning.rb +1 -1
- data/lib/plaid/models/webhook_update_acknowledged_webhook.rb +1 -1
- data/lib/plaid/models/webhook_verification_key_get_request.rb +1 -1
- data/lib/plaid/models/webhook_verification_key_get_response.rb +1 -1
- data/lib/plaid/models/ytd_gross_income_summary_field_number.rb +1 -1
- data/lib/plaid/models/ytd_net_income_summary_field_number.rb +1 -1
- data/lib/plaid/version.rb +2 -2
- data/lib/plaid.rb +33 -4
- data/pkg/plaid-10.0.0.gem +0 -0
- data/pkg/plaid-11.0.0.gem +0 -0
- data/pkg/plaid-12.0.0.gem +0 -0
- data/pkg/plaid-13.1.0.gem +0 -0
- data/pkg/plaid-14.3.0.gem +0 -0
- data/pkg/plaid-14.4.0.gem +0 -0
- data/pkg/plaid-8.5.0.gem +0 -0
- data/pkg/plaid-8.6.0.gem +0 -0
- data/pkg/plaid-8.7.0.gem +0 -0
- data/pkg/plaid-8.8.0.gem +0 -0
- data/pkg/plaid-9.0.0.gem +0 -0
- data/plaid.gemspec +1 -1
- data/templates/ruby/api_client.mustache +1 -2
- data/templates/ruby/api_client_faraday_partial.mustache +2 -1
- data/templates/ruby/api_error.mustache +49 -0
- data/templates/ruby/configuration.mustache +5 -3
- data/templates/ruby/partial_model_enum_class.mustache +22 -0
- data/test/test_accounts.rb +4 -8
- data/test/test_item.rb +0 -1
- metadata +61 -22
- data/doc/rdoc/.DS_Store +0 -0
- data/lib/plaid/.DS_Store +0 -0
- data/pkg/plaid-13.2.0.gem +0 -0
- data/pkg/plaid-14.0.0.beta.3.gem +0 -0
- data/pkg/plaid-14.0.0.beta.5.gem +0 -0
- data/pkg/plaid-14.0.0.gem +0 -0
- data/pkg/plaid-14.1.0.gem +0 -0
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Plaid REST API. Please see https://plaid.com/docs/api for more details.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2020-09-14_1.
|
6
|
+
The version of the OpenAPI document: 2020-09-14_1.37.4
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.1.0
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Plaid REST API. Please see https://plaid.com/docs/api for more details.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2020-09-14_1.
|
6
|
+
The version of the OpenAPI document: 2020-09-14_1.37.4
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.1.0
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Plaid REST API. Please see https://plaid.com/docs/api for more details.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2020-09-14_1.
|
6
|
+
The version of the OpenAPI document: 2020-09-14_1.37.4
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.1.0
|
data/lib/plaid/version.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Plaid REST API. Please see https://plaid.com/docs/api for more details.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2020-09-14_1.
|
6
|
+
The version of the OpenAPI document: 2020-09-14_1.37.4
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.1.0
|
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.1.0
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module Plaid
|
14
|
-
VERSION = '14.
|
14
|
+
VERSION = '14.5.0'
|
15
15
|
end
|
data/lib/plaid.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Plaid REST API. Please see https://plaid.com/docs/api for more details.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2020-09-14_1.
|
6
|
+
The version of the OpenAPI document: 2020-09-14_1.37.4
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.1.0
|
@@ -72,6 +72,8 @@ require 'plaid/models/auth_get_numbers'
|
|
72
72
|
require 'plaid/models/auth_get_request'
|
73
73
|
require 'plaid/models/auth_get_request_options'
|
74
74
|
require 'plaid/models/auth_get_response'
|
75
|
+
require 'plaid/models/auth_metadata'
|
76
|
+
require 'plaid/models/auth_supported_methods'
|
75
77
|
require 'plaid/models/automatically_verified_webhook'
|
76
78
|
require 'plaid/models/bank_initiated_return_risk'
|
77
79
|
require 'plaid/models/bank_transfer'
|
@@ -103,6 +105,8 @@ require 'plaid/models/bank_transfer_sweep'
|
|
103
105
|
require 'plaid/models/bank_transfer_sweep_account'
|
104
106
|
require 'plaid/models/bank_transfer_sweep_get_request'
|
105
107
|
require 'plaid/models/bank_transfer_sweep_get_response'
|
108
|
+
require 'plaid/models/bank_transfer_sweep_list_request'
|
109
|
+
require 'plaid/models/bank_transfer_sweep_list_response'
|
106
110
|
require 'plaid/models/bank_transfer_type'
|
107
111
|
require 'plaid/models/bank_transfer_user'
|
108
112
|
require 'plaid/models/bank_transfers_events_update_webhook'
|
@@ -139,9 +143,13 @@ require 'plaid/models/employee'
|
|
139
143
|
require 'plaid/models/employee_income_summary_field_string'
|
140
144
|
require 'plaid/models/employer'
|
141
145
|
require 'plaid/models/employer_income_summary_field_string'
|
146
|
+
require 'plaid/models/employer_verification'
|
142
147
|
require 'plaid/models/employers_search_request'
|
143
148
|
require 'plaid/models/employers_search_response'
|
144
149
|
require 'plaid/models/employment_details'
|
150
|
+
require 'plaid/models/employment_verification'
|
151
|
+
require 'plaid/models/employment_verification_get_request'
|
152
|
+
require 'plaid/models/employment_verification_get_response'
|
145
153
|
require 'plaid/models/error'
|
146
154
|
require 'plaid/models/external_payment_options'
|
147
155
|
require 'plaid/models/external_payment_refund_details'
|
@@ -159,16 +167,23 @@ require 'plaid/models/identity_get_request_options'
|
|
159
167
|
require 'plaid/models/identity_get_response'
|
160
168
|
require 'plaid/models/incident_update'
|
161
169
|
require 'plaid/models/income_breakdown'
|
170
|
+
require 'plaid/models/income_override'
|
162
171
|
require 'plaid/models/income_summary'
|
163
172
|
require 'plaid/models/income_summary_field_number'
|
164
173
|
require 'plaid/models/income_summary_field_string'
|
165
174
|
require 'plaid/models/income_verification_create_request'
|
166
175
|
require 'plaid/models/income_verification_create_response'
|
167
176
|
require 'plaid/models/income_verification_documents_download_request'
|
168
|
-
require 'plaid/models/income_verification_documents_download_response'
|
169
177
|
require 'plaid/models/income_verification_paystub_get_request'
|
178
|
+
require 'plaid/models/income_verification_paystub_get_response'
|
170
179
|
require 'plaid/models/income_verification_paystubs_get_request'
|
171
180
|
require 'plaid/models/income_verification_paystubs_get_response'
|
181
|
+
require 'plaid/models/income_verification_precheck_employer'
|
182
|
+
require 'plaid/models/income_verification_precheck_employer_address'
|
183
|
+
require 'plaid/models/income_verification_precheck_military_info'
|
184
|
+
require 'plaid/models/income_verification_precheck_request'
|
185
|
+
require 'plaid/models/income_verification_precheck_response'
|
186
|
+
require 'plaid/models/income_verification_precheck_user'
|
172
187
|
require 'plaid/models/income_verification_refresh_request'
|
173
188
|
require 'plaid/models/income_verification_refresh_response'
|
174
189
|
require 'plaid/models/income_verification_status_webhook'
|
@@ -246,6 +261,7 @@ require 'plaid/models/link_token_create_request_auth'
|
|
246
261
|
require 'plaid/models/link_token_create_request_deposit_switch'
|
247
262
|
require 'plaid/models/link_token_create_request_income_verification'
|
248
263
|
require 'plaid/models/link_token_create_request_payment_initiation'
|
264
|
+
require 'plaid/models/link_token_create_request_update'
|
249
265
|
require 'plaid/models/link_token_create_request_user'
|
250
266
|
require 'plaid/models/link_token_create_response'
|
251
267
|
require 'plaid/models/link_token_eu_config'
|
@@ -260,6 +276,7 @@ require 'plaid/models/mortgage_interest_rate'
|
|
260
276
|
require 'plaid/models/mortgage_liability'
|
261
277
|
require 'plaid/models/mortgage_property_address'
|
262
278
|
require 'plaid/models/net_pay'
|
279
|
+
require 'plaid/models/new_accounts_available_webhook'
|
263
280
|
require 'plaid/models/numbers'
|
264
281
|
require 'plaid/models/numbers_ach'
|
265
282
|
require 'plaid/models/numbers_ach_nullable'
|
@@ -288,6 +305,8 @@ require 'plaid/models/payment_initiation_payment_get_request'
|
|
288
305
|
require 'plaid/models/payment_initiation_payment_get_response'
|
289
306
|
require 'plaid/models/payment_initiation_payment_list_request'
|
290
307
|
require 'plaid/models/payment_initiation_payment_list_response'
|
308
|
+
require 'plaid/models/payment_initiation_payment_reverse_request'
|
309
|
+
require 'plaid/models/payment_initiation_payment_reverse_response'
|
291
310
|
require 'plaid/models/payment_initiation_payment_token_create_request'
|
292
311
|
require 'plaid/models/payment_initiation_payment_token_create_response'
|
293
312
|
require 'plaid/models/payment_initiation_recipient'
|
@@ -298,6 +317,7 @@ require 'plaid/models/payment_initiation_recipient_get_response'
|
|
298
317
|
require 'plaid/models/payment_initiation_recipient_get_response_all_of'
|
299
318
|
require 'plaid/models/payment_initiation_recipient_list_request'
|
300
319
|
require 'plaid/models/payment_initiation_recipient_list_response'
|
320
|
+
require 'plaid/models/payment_initiation_refund'
|
301
321
|
require 'plaid/models/payment_initiation_standing_order_metadata'
|
302
322
|
require 'plaid/models/payment_meta'
|
303
323
|
require 'plaid/models/payment_schedule_interval'
|
@@ -307,9 +327,15 @@ require 'plaid/models/paystub_address'
|
|
307
327
|
require 'plaid/models/paystub_deduction'
|
308
328
|
require 'plaid/models/paystub_details'
|
309
329
|
require 'plaid/models/paystub_employer'
|
330
|
+
require 'plaid/models/paystub_override'
|
331
|
+
require 'plaid/models/paystub_override_employee'
|
332
|
+
require 'plaid/models/paystub_override_employee_address'
|
333
|
+
require 'plaid/models/paystub_override_employer'
|
310
334
|
require 'plaid/models/paystub_ytd_details'
|
311
335
|
require 'plaid/models/pending_expiration_webhook'
|
336
|
+
require 'plaid/models/personal_finance_category'
|
312
337
|
require 'plaid/models/phone_number'
|
338
|
+
require 'plaid/models/platform_ids'
|
313
339
|
require 'plaid/models/processor_apex_processor_token_create_request'
|
314
340
|
require 'plaid/models/processor_auth_get_request'
|
315
341
|
require 'plaid/models/processor_auth_get_response'
|
@@ -333,6 +359,7 @@ require 'plaid/models/projected_income_summary_field_number'
|
|
333
359
|
require 'plaid/models/recaptcha_required_error'
|
334
360
|
require 'plaid/models/recipient_bacs'
|
335
361
|
require 'plaid/models/recipient_bacs_nullable'
|
362
|
+
require 'plaid/models/recurring_transaction_frequency'
|
336
363
|
require 'plaid/models/requested_scopes'
|
337
364
|
require 'plaid/models/sandbox_bank_transfer_fire_webhook_request'
|
338
365
|
require 'plaid/models/sandbox_bank_transfer_fire_webhook_response'
|
@@ -391,9 +418,13 @@ require 'plaid/models/transaction_base'
|
|
391
418
|
require 'plaid/models/transaction_code'
|
392
419
|
require 'plaid/models/transaction_data'
|
393
420
|
require 'plaid/models/transaction_override'
|
421
|
+
require 'plaid/models/transaction_stream'
|
422
|
+
require 'plaid/models/transaction_stream_amount'
|
394
423
|
require 'plaid/models/transactions_get_request'
|
395
424
|
require 'plaid/models/transactions_get_request_options'
|
396
425
|
require 'plaid/models/transactions_get_response'
|
426
|
+
require 'plaid/models/transactions_recurring_get_request'
|
427
|
+
require 'plaid/models/transactions_recurring_get_response'
|
397
428
|
require 'plaid/models/transactions_refresh_request'
|
398
429
|
require 'plaid/models/transactions_refresh_response'
|
399
430
|
require 'plaid/models/transactions_removed_webhook'
|
@@ -408,7 +439,6 @@ require 'plaid/models/transfer_cancel_request'
|
|
408
439
|
require 'plaid/models/transfer_cancel_response'
|
409
440
|
require 'plaid/models/transfer_create_request'
|
410
441
|
require 'plaid/models/transfer_create_response'
|
411
|
-
require 'plaid/models/transfer_direction'
|
412
442
|
require 'plaid/models/transfer_event'
|
413
443
|
require 'plaid/models/transfer_event_list_request'
|
414
444
|
require 'plaid/models/transfer_event_list_response'
|
@@ -421,7 +451,6 @@ require 'plaid/models/transfer_get_response'
|
|
421
451
|
require 'plaid/models/transfer_list_request'
|
422
452
|
require 'plaid/models/transfer_list_response'
|
423
453
|
require 'plaid/models/transfer_network'
|
424
|
-
require 'plaid/models/transfer_receiver_details'
|
425
454
|
require 'plaid/models/transfer_status'
|
426
455
|
require 'plaid/models/transfer_type'
|
427
456
|
require 'plaid/models/transfer_user_address_in_request'
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/pkg/plaid-8.5.0.gem
ADDED
Binary file
|
data/pkg/plaid-8.6.0.gem
ADDED
Binary file
|
data/pkg/plaid-8.7.0.gem
ADDED
Binary file
|
data/pkg/plaid-8.8.0.gem
ADDED
Binary file
|
data/pkg/plaid-9.0.0.gem
ADDED
Binary file
|
data/plaid.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
#The Plaid REST API. Please see https://plaid.com/docs/api for more details.
|
7
7
|
|
8
|
-
The version of the OpenAPI document: 2020-09-14_1.
|
8
|
+
The version of the OpenAPI document: 2020-09-14_1.37.4
|
9
9
|
|
10
10
|
Generated by: https://openapi-generator.tech
|
11
11
|
OpenAPI Generator version: 5.1.0
|
@@ -28,11 +28,10 @@ module {{moduleName}}
|
|
28
28
|
def initialize(config = Configuration.default)
|
29
29
|
@config = config
|
30
30
|
{{! Modified by plaid - adding default headers }}
|
31
|
-
@user_agent = "{{#httpUserAgent}}{{{.}}}{{/httpUserAgent}}{{^httpUserAgent}}Plaid Ruby v#{VERSION}{{/httpUserAgent}}"
|
31
|
+
@user_agent = "{{#httpUserAgent}}{{{.}}}{{/httpUserAgent}}{{^httpUserAgent}}Plaid Ruby v#{{VERSION}}{{/httpUserAgent}}"
|
32
32
|
@default_headers = {
|
33
33
|
'Content-Type' => 'application/json',
|
34
34
|
'User-Agent' => @user_agent,
|
35
|
-
'Plaid-Version' => '{{{plaidApiVersion}}}',
|
36
35
|
}
|
37
36
|
end
|
38
37
|
|
@@ -0,0 +1,49 @@
|
|
1
|
+
=begin
|
2
|
+
{{> api_info}}
|
3
|
+
=end
|
4
|
+
|
5
|
+
module {{moduleName}}
|
6
|
+
class ApiError < StandardError
|
7
|
+
attr_reader :code, :response_headers, :response_body, :data
|
8
|
+
|
9
|
+
# Usage examples:
|
10
|
+
# ApiError.new
|
11
|
+
# ApiError.new("message")
|
12
|
+
# ApiError.new(:code => 500, :response_headers => {}, :response_body => "")
|
13
|
+
# ApiError.new(:code => 404, :message => "Not Found")
|
14
|
+
def initialize(arg = nil)
|
15
|
+
if arg.is_a? Hash
|
16
|
+
if arg.key?(:message) || arg.key?('message')
|
17
|
+
super(arg[:message] || arg['message'])
|
18
|
+
else
|
19
|
+
super arg
|
20
|
+
end
|
21
|
+
|
22
|
+
arg.each do |k, v|
|
23
|
+
instance_variable_set "@#{k}", v
|
24
|
+
end
|
25
|
+
else
|
26
|
+
super arg
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
# Override to_s to display a friendly error message
|
31
|
+
def to_s
|
32
|
+
message
|
33
|
+
end
|
34
|
+
|
35
|
+
def message
|
36
|
+
if @message.nil?
|
37
|
+
msg = "Error message: the server returns an error"
|
38
|
+
else
|
39
|
+
msg = @message
|
40
|
+
end
|
41
|
+
|
42
|
+
msg += "\nHTTP status code: #{code}" if code
|
43
|
+
msg += "\nResponse headers: #{response_headers}" if response_headers
|
44
|
+
msg += "\nResponse body: #{response_body}" if response_body
|
45
|
+
|
46
|
+
msg
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
@@ -81,7 +81,6 @@ module {{moduleName}}
|
|
81
81
|
attr_accessor :temp_folder_path
|
82
82
|
|
83
83
|
# The time limit for HTTP request in seconds.
|
84
|
-
# Default to 0 (never times out).
|
85
84
|
attr_accessor :timeout
|
86
85
|
|
87
86
|
# Set this to false to skip client side validation in the operation.
|
@@ -114,9 +113,12 @@ module {{moduleName}}
|
|
114
113
|
@server_operation_index = {}
|
115
114
|
@server_variables = {}
|
116
115
|
@server_operation_variables = {}
|
117
|
-
@api_key = {
|
116
|
+
@api_key = {
|
117
|
+
'Plaid-Version' => '{{{plaidApiVersion}}}',
|
118
|
+
}
|
118
119
|
@api_key_prefix = {}
|
119
|
-
|
120
|
+
{{! Modified by Plaid - Changed from default timeout of 0 to default of 60 }}
|
121
|
+
@timeout = 60
|
120
122
|
@client_side_validation = true
|
121
123
|
{{#isFaraday}}
|
122
124
|
@ssl_verify = true
|
@@ -0,0 +1,22 @@
|
|
1
|
+
class {{classname}}{{#allowableValues}}{{#enumVars}}
|
2
|
+
{{{name}}} = {{{value}}}.freeze{{/enumVars}}
|
3
|
+
|
4
|
+
{{/allowableValues}}
|
5
|
+
# Builds the enum from string
|
6
|
+
# @param [String] The enum value in the form of the string
|
7
|
+
# @return [String] The enum value
|
8
|
+
def self.build_from_hash(value)
|
9
|
+
new.build_from_hash(value)
|
10
|
+
end
|
11
|
+
|
12
|
+
# Builds the enum from string
|
13
|
+
# @param [String] The enum value in the form of the string
|
14
|
+
# @return [String] The enum value
|
15
|
+
def build_from_hash(value)
|
16
|
+
{{! Modified by Plaid - allow for extensible enum values }}
|
17
|
+
# We do not validate that the value is one of the enums set in the OpenAPI
|
18
|
+
# file because we want to be able to add to our list of enums without
|
19
|
+
# breaking this client library.
|
20
|
+
value
|
21
|
+
end
|
22
|
+
end
|
data/test/test_accounts.rb
CHANGED
@@ -31,8 +31,7 @@ class PlaidAccountsTest < PlaidTest
|
|
31
31
|
begin
|
32
32
|
client.accounts_get(accounts_get_request)
|
33
33
|
rescue Plaid::ApiError => e
|
34
|
-
|
35
|
-
assert_equal(json_response["error_code"], "INVALID_ACCESS_TOKEN")
|
34
|
+
assert_equal(e.data["error_code"], "INVALID_ACCESS_TOKEN")
|
36
35
|
end
|
37
36
|
end
|
38
37
|
|
@@ -47,8 +46,7 @@ class PlaidAccountsTest < PlaidTest
|
|
47
46
|
begin
|
48
47
|
client.accounts_get(accounts_get_request)
|
49
48
|
rescue Plaid::ApiError => e
|
50
|
-
|
51
|
-
assert_equal(json_response["error_code"], "INVALID_FIELD")
|
49
|
+
assert_equal(e.data["error_code"], "INVALID_FIELD")
|
52
50
|
end
|
53
51
|
end
|
54
52
|
|
@@ -80,8 +78,7 @@ class PlaidAccountsTest < PlaidTest
|
|
80
78
|
begin
|
81
79
|
client.accounts_balance_get(accounts_balance_get_request)
|
82
80
|
rescue Plaid::ApiError => e
|
83
|
-
|
84
|
-
assert_equal(json_response["error_code"], "INVALID_ACCESS_TOKEN")
|
81
|
+
assert_equal(e.data["error_code"], "INVALID_ACCESS_TOKEN")
|
85
82
|
end
|
86
83
|
end
|
87
84
|
|
@@ -96,8 +93,7 @@ class PlaidAccountsTest < PlaidTest
|
|
96
93
|
begin
|
97
94
|
client.accounts_balance_get(accounts_balance_get_request)
|
98
95
|
rescue Plaid::ApiError => e
|
99
|
-
|
100
|
-
assert_equal(json_response["error_code"], "INVALID_FIELD")
|
96
|
+
assert_equal(e.data["error_code"], "INVALID_FIELD")
|
101
97
|
end
|
102
98
|
end
|
103
99
|
end
|
data/test/test_item.rb
CHANGED