diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 59dc4f30d..19272949e 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -113,6 +113,10 @@ docs/CountryCode.md docs/CreateEntityScreeningRequest.md docs/CreateEntityWatchlistScreeningReviewRequest.md docs/CreateIndividualWatchlistScreeningReviewRequest.md +docs/Credit1099.md +docs/Credit1099Filer.md +docs/Credit1099Payer.md +docs/Credit1099Recipient.md docs/CreditAccountSubtype.md docs/CreditAuditCopyTokenCreateRequest.md docs/CreditAuditCopyTokenCreateResponse.md @@ -129,6 +133,7 @@ docs/CreditBankIncomeGetRequestOptions.md docs/CreditBankIncomeGetResponse.md docs/CreditBankIncomeHistoricalSummary.md docs/CreditBankIncomeItem.md +docs/CreditBankIncomePDFGetRequest.md docs/CreditBankIncomePayFrequency.md docs/CreditBankIncomeRefreshRequest.md docs/CreditBankIncomeRefreshRequestOptions.md @@ -166,6 +171,11 @@ docs/CreditPayrollIncomeRiskSignalsGetResponse.md docs/CreditPlatformIds.md docs/CreditRelayCreateRequest.md docs/CreditRelayCreateResponse.md +docs/CreditRelayGetRequest.md +docs/CreditRelayRefreshRequest.md +docs/CreditRelayRefreshResponse.md +docs/CreditRelayRemoveRequest.md +docs/CreditRelayRemoveResponse.md docs/CreditW2.md docs/CustomerInitiatedReturnRisk.md docs/DashboardUser.md @@ -254,6 +264,7 @@ docs/ExternalPaymentRefundDetails.md docs/ExternalPaymentScheduleBase.md docs/ExternalPaymentScheduleGet.md docs/ExternalPaymentScheduleRequest.md +docs/Form1099Type.md docs/GenericScreeningHitLocationItems.md docs/GetDashboardUserRequest.md docs/GetEntityWatchlistScreeningRequest.md @@ -474,6 +485,9 @@ docs/PaginatedIndividualWatchlistProgramListResponse.md docs/PaginatedIndividualWatchlistScreeningHitListResponse.md docs/PaginatedIndividualWatchlistScreeningListResponse.md docs/PaginatedIndividualWatchlistScreeningReviewListResponse.md +docs/PartnerCustomersCreateRequest.md +docs/PartnerCustomersCreateResponse.md +docs/PartnerEndCustomerClient.md docs/Pay.md docs/PayFrequency.md docs/PayFrequencyValue.md @@ -599,9 +613,11 @@ docs/RecaptchaRequiredError.md docs/RecipientBACS.md docs/RecipientBACSNullable.md docs/RecurringTransactionFrequency.md +docs/RecurringTransactionsUpdateWebhook.md docs/RelayEvent.md docs/RemovedTransaction.md docs/ReportToken.md +docs/ReportType.md docs/RiskSignalDocumentReference.md docs/SandboxBankTransferFireWebhookRequest.md docs/SandboxBankTransferFireWebhookResponse.md @@ -719,6 +735,7 @@ docs/TransferAuthorizationGuaranteeDecision.md docs/TransferAuthorizationGuaranteeDecisionRationale.md docs/TransferAuthorizationGuaranteeDecisionRationaleCode.md docs/TransferAuthorizationProposedTransfer.md +docs/TransferAuthorizationUserInRequest.md docs/TransferCancelRequest.md docs/TransferCancelResponse.md docs/TransferCreateRequest.md @@ -955,6 +972,10 @@ lib/plaid/models/country_code.rb lib/plaid/models/create_entity_screening_request.rb lib/plaid/models/create_entity_watchlist_screening_review_request.rb lib/plaid/models/create_individual_watchlist_screening_review_request.rb +lib/plaid/models/credit1099.rb +lib/plaid/models/credit1099_filer.rb +lib/plaid/models/credit1099_payer.rb +lib/plaid/models/credit1099_recipient.rb lib/plaid/models/credit_account_subtype.rb lib/plaid/models/credit_audit_copy_token_create_request.rb lib/plaid/models/credit_audit_copy_token_create_response.rb @@ -972,6 +993,7 @@ lib/plaid/models/credit_bank_income_get_response.rb lib/plaid/models/credit_bank_income_historical_summary.rb lib/plaid/models/credit_bank_income_item.rb lib/plaid/models/credit_bank_income_pay_frequency.rb +lib/plaid/models/credit_bank_income_pdf_get_request.rb lib/plaid/models/credit_bank_income_refresh_request.rb lib/plaid/models/credit_bank_income_refresh_request_options.rb lib/plaid/models/credit_bank_income_refresh_response.rb @@ -1008,6 +1030,11 @@ lib/plaid/models/credit_payroll_income_risk_signals_get_response.rb lib/plaid/models/credit_platform_ids.rb lib/plaid/models/credit_relay_create_request.rb lib/plaid/models/credit_relay_create_response.rb +lib/plaid/models/credit_relay_get_request.rb +lib/plaid/models/credit_relay_refresh_request.rb +lib/plaid/models/credit_relay_refresh_response.rb +lib/plaid/models/credit_relay_remove_request.rb +lib/plaid/models/credit_relay_remove_response.rb lib/plaid/models/credit_w2.rb lib/plaid/models/customer_initiated_return_risk.rb lib/plaid/models/dashboard_user.rb @@ -1096,6 +1123,7 @@ lib/plaid/models/external_payment_refund_details.rb lib/plaid/models/external_payment_schedule_base.rb lib/plaid/models/external_payment_schedule_get.rb lib/plaid/models/external_payment_schedule_request.rb +lib/plaid/models/form1099_type.rb lib/plaid/models/generic_screening_hit_location_items.rb lib/plaid/models/get_dashboard_user_request.rb lib/plaid/models/get_entity_watchlist_screening_request.rb @@ -1314,6 +1342,9 @@ lib/plaid/models/paginated_individual_watchlist_program_list_response.rb lib/plaid/models/paginated_individual_watchlist_screening_hit_list_response.rb lib/plaid/models/paginated_individual_watchlist_screening_list_response.rb lib/plaid/models/paginated_individual_watchlist_screening_review_list_response.rb +lib/plaid/models/partner_customers_create_request.rb +lib/plaid/models/partner_customers_create_response.rb +lib/plaid/models/partner_end_customer_client.rb lib/plaid/models/pay.rb lib/plaid/models/pay_frequency.rb lib/plaid/models/pay_frequency_value.rb @@ -1440,9 +1471,11 @@ lib/plaid/models/recaptcha_required_error.rb lib/plaid/models/recipient_bacs.rb lib/plaid/models/recipient_bacs_nullable.rb lib/plaid/models/recurring_transaction_frequency.rb +lib/plaid/models/recurring_transactions_update_webhook.rb lib/plaid/models/relay_event.rb lib/plaid/models/removed_transaction.rb lib/plaid/models/report_token.rb +lib/plaid/models/report_type.rb lib/plaid/models/risk_signal_document_reference.rb lib/plaid/models/sandbox_bank_transfer_fire_webhook_request.rb lib/plaid/models/sandbox_bank_transfer_fire_webhook_response.rb @@ -1560,6 +1593,7 @@ lib/plaid/models/transfer_authorization_guarantee_decision.rb lib/plaid/models/transfer_authorization_guarantee_decision_rationale.rb lib/plaid/models/transfer_authorization_guarantee_decision_rationale_code.rb lib/plaid/models/transfer_authorization_proposed_transfer.rb +lib/plaid/models/transfer_authorization_user_in_request.rb lib/plaid/models/transfer_cancel_request.rb lib/plaid/models/transfer_cancel_response.rb lib/plaid/models/transfer_create_request.rb diff --git a/CHANGELOG.md b/CHANGELOG.md index 19f88b9f8..1fd8513e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,107 @@ See full changelog for the OpenAPI schema (OAS) [here](https://github.com/plaid/plaid-openapi/blob/master/CHANGELOG.md). +# 15.11.0 +- Updating to OAS 2020-09-14_1.161.5 + +## OpenAPI Schema Changes +### 2020-09-14_1.161.5 + +- Reverts the changes made in 2020-09-14_1.157.0 + +### 2020-09-14_1.161.4 + +- Update description for webhook `USER_PERMISSION_REVOKED` + +### 2020-09-14_1.161.3 + +- Bug fix: Put quotes around the '529' account type to prevent generated client libraries from treating it as an integer. +- Add `RECURRING_TRANSACTIONS_UPDATE` to description of sandbox webhook testing endpoint + +### 2020-09-14_1.161.2 + +- Change the Item schema to refer to `PlaidError` rather than `Error` to avoid namespace conflicts in client libraries. + +### 2020-09-14_1.161.1 + +- Add required fields back to AssetReport schema + +### 2020-09-14_1.161.0 +- Remove `access_token` request parameter from `/beta/partner/v1/customers/create` + +### 2020-09-14_1.160.0 + +- Add `user` fields to the `/link/token/create` `user` object. + +### 2020-09-14_1.159.0 + +- Add `RECURRING_TRANSACTIONS_UPDATE` webhook specification +- Fix typo in `/sandbox/item/fire_webhook` description + +### 2020-09-14_1.158.1 + +- Add x-plaid-validation for Credit Relay Tokens + +### 2020-09-14_1.158.0 + +- Add `address` and `id_number` fields to the `/link/token/create` `user` object. + +### 2020-09-14_1.157.0 + +- Update and add schemas referred by `AssetReportGetResponse` + +### 2020-09-14_1.156.0 + +- Add `payment_profile_id` to `/transfer/authorization/create` and `/transfer/create` +- Make `access_token` and `account_id` optional in `/transfer/authorization/create` and `/transfer/create` + +### 2020-09-14_1.155.0 + +- Add `payment_profile_id` as a field under `transfer` for `/link/token/create` + +### 2020-09-14_1.154.0 + +- Create `/credit/bank_income/pdf/get` to allow customers to retrieve the bank income product as a PDF + +### 2020-09-14_1.153.1 +-- Add `personal_finance_category_icon_url` to `/beta/transactions/v1/enhance` response + +### 2020-09-14_1.153.0 +-- Add new endpoint `/beta/partner/v1/customers/create` + +### 2020-09-14_1.152.0 +- Add `form1099s` as part of the `credit/payroll_income/get` response. +- Add `Credit1099` object and corresponding subtypes. + +### 2020-09-14_1.151.1 +- Update required fields list for guaranteed ACH customers + +### 2020-09-14_1.151.0 +- Mark `verification` field under `paystubs` object in `/credit/payroll_income/get` as deprecated + +### 2020-09-14_1.150.0 +- Make `user_present` under `/transfer/authorization/create` nullable + +### 2020-09-14_1.149.1 +- Update fields description for guaranteed ACH customers + +### 2020-09-14_1.149.0 + +- Add `gave_consent` as a field under `identity_verification` for `/link/token/create` +- Remove `identity_verification.consent`, which is deprecated, from documentation for `/link/token/create` + +### 2020-09-14_1.148.0 + +- Add `user_present` a an optional field under `/transfer/authorization/create`, update fields description for guaranteed ACH customers + +### 2020-09-14_1.147.1 + +- Remove deprecated `reversed` status from Transfer schema +- Remove deprecated `reverse_swept` status from Transfer Event schema + +### 2020-09-14_1.147.0 + +- Add new endpoints `/credit/relay/get`, `/credit/relay/refresh` and `/credit/relay/remove` + # 15.10.0 - Updating to OAS 2020-09-14_1.146.0 diff --git a/Makefile b/Makefile index 2e53dc888..e0e3a8d30 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=15.10.0 +RUBY_PACKAGE_VERSION=15.11.0 .PHONY: release release: diff --git a/lib/plaid.rb b/lib/plaid.rb index b70daaa39..34a05300b 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -132,6 +132,10 @@ require 'plaid/models/create_entity_screening_request' require 'plaid/models/create_entity_watchlist_screening_review_request' require 'plaid/models/create_individual_watchlist_screening_review_request' +require 'plaid/models/credit1099' +require 'plaid/models/credit1099_filer' +require 'plaid/models/credit1099_payer' +require 'plaid/models/credit1099_recipient' require 'plaid/models/credit_account_subtype' require 'plaid/models/credit_audit_copy_token_create_request' require 'plaid/models/credit_audit_copy_token_create_response' @@ -148,6 +152,7 @@ require 'plaid/models/credit_bank_income_get_response' require 'plaid/models/credit_bank_income_historical_summary' require 'plaid/models/credit_bank_income_item' +require 'plaid/models/credit_bank_income_pdf_get_request' require 'plaid/models/credit_bank_income_pay_frequency' require 'plaid/models/credit_bank_income_refresh_request' require 'plaid/models/credit_bank_income_refresh_request_options' @@ -185,6 +190,11 @@ require 'plaid/models/credit_platform_ids' require 'plaid/models/credit_relay_create_request' require 'plaid/models/credit_relay_create_response' +require 'plaid/models/credit_relay_get_request' +require 'plaid/models/credit_relay_refresh_request' +require 'plaid/models/credit_relay_refresh_response' +require 'plaid/models/credit_relay_remove_request' +require 'plaid/models/credit_relay_remove_response' require 'plaid/models/credit_w2' require 'plaid/models/customer_initiated_return_risk' require 'plaid/models/dashboard_user' @@ -273,6 +283,7 @@ require 'plaid/models/external_payment_schedule_base' require 'plaid/models/external_payment_schedule_get' require 'plaid/models/external_payment_schedule_request' +require 'plaid/models/form1099_type' require 'plaid/models/generic_screening_hit_location_items' require 'plaid/models/get_dashboard_user_request' require 'plaid/models/get_entity_watchlist_screening_request' @@ -493,6 +504,9 @@ require 'plaid/models/paginated_individual_watchlist_screening_hit_list_response' require 'plaid/models/paginated_individual_watchlist_screening_list_response' require 'plaid/models/paginated_individual_watchlist_screening_review_list_response' +require 'plaid/models/partner_customers_create_request' +require 'plaid/models/partner_customers_create_response' +require 'plaid/models/partner_end_customer_client' require 'plaid/models/pay' require 'plaid/models/pay_frequency' require 'plaid/models/pay_frequency_value' @@ -617,9 +631,11 @@ require 'plaid/models/recipient_bacs' require 'plaid/models/recipient_bacs_nullable' require 'plaid/models/recurring_transaction_frequency' +require 'plaid/models/recurring_transactions_update_webhook' require 'plaid/models/relay_event' require 'plaid/models/removed_transaction' require 'plaid/models/report_token' +require 'plaid/models/report_type' require 'plaid/models/risk_signal_document_reference' require 'plaid/models/sandbox_bank_transfer_fire_webhook_request' require 'plaid/models/sandbox_bank_transfer_fire_webhook_response' @@ -737,6 +753,7 @@ require 'plaid/models/transfer_authorization_guarantee_decision_rationale' require 'plaid/models/transfer_authorization_guarantee_decision_rationale_code' require 'plaid/models/transfer_authorization_proposed_transfer' +require 'plaid/models/transfer_authorization_user_in_request' require 'plaid/models/transfer_cancel_request' require 'plaid/models/transfer_cancel_response' require 'plaid/models/transfer_create_request' diff --git a/lib/plaid/api/plaid_api.rb b/lib/plaid/api/plaid_api.rb index 70a325c08..acf0e9823 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -2034,6 +2034,71 @@ def credit_bank_income_get_with_http_info(credit_bank_income_get_request, opts = return data, status_code, headers 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. + # @param credit_bank_income_pdf_get_request [CreditBankIncomePDFGetRequest] + # @param [Hash] opts the optional parameters + # @return [File] + def credit_bank_income_pdf_get(credit_bank_income_pdf_get_request, opts = {}) + data, _status_code, _headers = credit_bank_income_pdf_get_with_http_info(credit_bank_income_pdf_get_request, opts) + data + 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. + # @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 + def credit_bank_income_pdf_get_with_http_info(credit_bank_income_pdf_get_request, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: PlaidApi.credit_bank_income_pdf_get ...' + end + # verify the required parameter 'credit_bank_income_pdf_get_request' is set + if @api_client.config.client_side_validation && credit_bank_income_pdf_get_request.nil? + fail ArgumentError, "Missing the required parameter 'credit_bank_income_pdf_get_request' when calling PlaidApi.credit_bank_income_pdf_get" + end + # resource path + local_var_path = '/credit/bank_income/pdf/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/pdf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] || @api_client.object_to_http_body(credit_bank_income_pdf_get_request) + + # return_type + return_type = opts[:debug_return_type] || 'File' + + # auth_names + auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] + + new_options = opts.merge( + :operation => :"PlaidApi.credit_bank_income_pdf_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#credit_bank_income_pdf_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # Refresh a user's bank income information # `/credit/bank_income/refresh` refreshes the bank income report data for a specific user. # @param credit_bank_income_refresh_request [CreditBankIncomeRefreshRequest] @@ -2424,6 +2489,201 @@ def credit_relay_create_with_http_info(credit_relay_create_request, opts = {}) return data, status_code, headers end + # Retrieve the reports associated with a Relay token that was shared with you + # `/credit/relay/get` allows third parties to get a report that was shared with them, using an `relay_token` that was created by the report owner. + # @param credit_relay_get_request [CreditRelayGetRequest] + # @param [Hash] opts the optional parameters + # @return [AssetReportGetResponse] + def credit_relay_get(credit_relay_get_request, opts = {}) + data, _status_code, _headers = credit_relay_get_with_http_info(credit_relay_get_request, opts) + data + end + + # Retrieve the reports associated with a Relay token that was shared with you + # `/credit/relay/get` allows third parties to get a report that was shared with them, using an `relay_token` that was created by the report owner. + # @param credit_relay_get_request [CreditRelayGetRequest] + # @param [Hash] opts the optional parameters + # @return [Array<(AssetReportGetResponse, Integer, Hash)>] AssetReportGetResponse data, response status code and response headers + def credit_relay_get_with_http_info(credit_relay_get_request, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: PlaidApi.credit_relay_get ...' + end + # verify the required parameter 'credit_relay_get_request' is set + if @api_client.config.client_side_validation && credit_relay_get_request.nil? + fail ArgumentError, "Missing the required parameter 'credit_relay_get_request' when calling PlaidApi.credit_relay_get" + end + # resource path + local_var_path = '/credit/relay/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' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] || @api_client.object_to_http_body(credit_relay_get_request) + + # return_type + return_type = opts[:debug_return_type] || 'AssetReportGetResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] + + new_options = opts.merge( + :operation => :"PlaidApi.credit_relay_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#credit_relay_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # Refresh a report of a Relay Token + # The `/credit/relay/refresh` endpoint allows third parties to refresh an report that was relayed to them, using a `relay_token` that was created by the report owner. A new report will be created based on the old one, but with the most recent data available. + # @param credit_relay_refresh_request [CreditRelayRefreshRequest] + # @param [Hash] opts the optional parameters + # @return [CreditRelayRefreshResponse] + def credit_relay_refresh(credit_relay_refresh_request, opts = {}) + data, _status_code, _headers = credit_relay_refresh_with_http_info(credit_relay_refresh_request, opts) + data + end + + # Refresh a report of a Relay Token + # The `/credit/relay/refresh` endpoint allows third parties to refresh an report that was relayed to them, using a `relay_token` that was created by the report owner. A new report will be created based on the old one, but with the most recent data available. + # @param credit_relay_refresh_request [CreditRelayRefreshRequest] + # @param [Hash] opts the optional parameters + # @return [Array<(CreditRelayRefreshResponse, Integer, Hash)>] CreditRelayRefreshResponse data, response status code and response headers + def credit_relay_refresh_with_http_info(credit_relay_refresh_request, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: PlaidApi.credit_relay_refresh ...' + end + # verify the required parameter 'credit_relay_refresh_request' is set + if @api_client.config.client_side_validation && credit_relay_refresh_request.nil? + fail ArgumentError, "Missing the required parameter 'credit_relay_refresh_request' when calling PlaidApi.credit_relay_refresh" + end + # resource path + local_var_path = '/credit/relay/refresh' + + # query parameters + query_params = opts[:query_params] || {} + + # header parameters + header_params = opts[:header_params] || {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] || @api_client.object_to_http_body(credit_relay_refresh_request) + + # return_type + return_type = opts[:debug_return_type] || 'CreditRelayRefreshResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] + + new_options = opts.merge( + :operation => :"PlaidApi.credit_relay_refresh", + :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#credit_relay_refresh\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # Remove Credit Relay Token + # The `/credit/relay/remove` endpoint allows you to invalidate a `relay_token`, meaning the third party holding the token will no longer be able to use it to access the reports to which the `relay_token` gives access to. The report, items associated with it, and other Relay tokens that provide access to the same report are not affected and will remain accessible after removing the given `relay_token. + # @param credit_relay_remove_request [CreditRelayRemoveRequest] + # @param [Hash] opts the optional parameters + # @return [CreditRelayRemoveResponse] + def credit_relay_remove(credit_relay_remove_request, opts = {}) + data, _status_code, _headers = credit_relay_remove_with_http_info(credit_relay_remove_request, opts) + data + end + + # Remove Credit Relay Token + # The `/credit/relay/remove` endpoint allows you to invalidate a `relay_token`, meaning the third party holding the token will no longer be able to use it to access the reports to which the `relay_token` gives access to. The report, items associated with it, and other Relay tokens that provide access to the same report are not affected and will remain accessible after removing the given `relay_token. + # @param credit_relay_remove_request [CreditRelayRemoveRequest] + # @param [Hash] opts the optional parameters + # @return [Array<(CreditRelayRemoveResponse, Integer, Hash)>] CreditRelayRemoveResponse data, response status code and response headers + def credit_relay_remove_with_http_info(credit_relay_remove_request, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: PlaidApi.credit_relay_remove ...' + end + # verify the required parameter 'credit_relay_remove_request' is set + if @api_client.config.client_side_validation && credit_relay_remove_request.nil? + fail ArgumentError, "Missing the required parameter 'credit_relay_remove_request' when calling PlaidApi.credit_relay_remove" + end + # resource path + local_var_path = '/credit/relay/remove' + + # query parameters + query_params = opts[:query_params] || {} + + # header parameters + header_params = opts[:header_params] || {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] || @api_client.object_to_http_body(credit_relay_remove_request) + + # return_type + return_type = opts[:debug_return_type] || 'CreditRelayRemoveResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] + + new_options = opts.merge( + :operation => :"PlaidApi.credit_relay_remove", + :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#credit_relay_remove\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # Remove an Audit Copy token # The `/credit/audit_copy_token/remove` endpoint allows you to remove an Audit Copy. Removing an Audit Copy invalidates the `audit_copy_token` associated with it, meaning both you and any third parties holding the token will no longer be able to use it to access Report data. Items associated with the Report data and other Audit Copies of it are not affected and will remain accessible after removing the given Audit Copy. # @param credit_audit_copy_token_remove_request [CreditAuditCopyTokenRemoveRequest] @@ -4894,6 +5154,71 @@ def link_token_get_with_http_info(link_token_get_request, opts = {}) return data, status_code, headers end + # Creates a new client for a reseller partner end customer. + # The `/partner/v1/customers/create` endpoint is used by reseller partners to create an end customer client. + # @param partner_customers_create_request [PartnerCustomersCreateRequest] + # @param [Hash] opts the optional parameters + # @return [PartnerCustomersCreateResponse] + def partner_customers_create(partner_customers_create_request, opts = {}) + data, _status_code, _headers = partner_customers_create_with_http_info(partner_customers_create_request, opts) + data + end + + # Creates a new client for a reseller partner end customer. + # The `/partner/v1/customers/create` endpoint is used by reseller partners to create an end customer client. + # @param partner_customers_create_request [PartnerCustomersCreateRequest] + # @param [Hash] opts the optional parameters + # @return [Array<(PartnerCustomersCreateResponse, Integer, Hash)>] PartnerCustomersCreateResponse data, response status code and response headers + def partner_customers_create_with_http_info(partner_customers_create_request, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: PlaidApi.partner_customers_create ...' + end + # verify the required parameter 'partner_customers_create_request' is set + if @api_client.config.client_side_validation && partner_customers_create_request.nil? + fail ArgumentError, "Missing the required parameter 'partner_customers_create_request' when calling PlaidApi.partner_customers_create" + end + # resource path + local_var_path = '/beta/partner/v1/customers/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' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] || @api_client.object_to_http_body(partner_customers_create_request) + + # return_type + return_type = opts[:debug_return_type] || 'PartnerCustomersCreateResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] + + new_options = opts.merge( + :operation => :"PlaidApi.partner_customers_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#partner_customers_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # Create payment consent # The `/payment_initiation/consent/create` endpoint is used to create a payment consent, which can be used to initiate payments on behalf of the user. Payment consents are created with `UNAUTHORISED` status by default and must be authorised by the user before payments can be initiated. Consents can be limited in time and scope, and have constraints that describe limitations for payments. # @param payment_initiation_consent_create_request [PaymentInitiationConsentCreateRequest] @@ -6455,7 +6780,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`: Transactions update webhook to be fired for a given Sandbox Item. If the Item does not support Transactions, 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. `AUTH_DATA_UPDATE`: Webhook to be fired for a given Sandbox Item created with Auth as an enabled product. 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 or Development' + # The `/sandbox/item/fire_webhook` endpoint is used to test that code correctly handles webhooks. This endpoint can trigger the following webhooks: `DEFAULT_UPDATE`: Transactions update webhook to be fired for a given Sandbox Item. If the Item does not support Transactions, 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. `AUTH_DATA_UPDATE`: Webhook to be fired for a given Sandbox Item created with Auth as an enabled product. `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. 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 or Development. # @param sandbox_item_fire_webhook_request [SandboxItemFireWebhookRequest] # @param [Hash] opts the optional parameters # @return [SandboxItemFireWebhookResponse] @@ -6465,7 +6790,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`: Transactions update webhook to be fired for a given Sandbox Item. If the Item does not support Transactions, 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. `AUTH_DATA_UPDATE`: Webhook to be fired for a given Sandbox Item created with Auth as an enabled product. 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 or Development' + # The `/sandbox/item/fire_webhook` endpoint is used to test that code correctly handles webhooks. This endpoint can trigger the following webhooks: `DEFAULT_UPDATE`: Transactions update webhook to be fired for a given Sandbox Item. If the Item does not support Transactions, 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. `AUTH_DATA_UPDATE`: Webhook to be fired for a given Sandbox Item created with Auth as an enabled product. `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. 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 or Development. # @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 @@ -7820,7 +8145,7 @@ def transactions_rules_remove_with_http_info(transactions_rules_remove_request, end # Get incremental transaction updates on an Item - # This endpoint replaces `/transactions/get` and its associated webhooks for most common use-cases. The `/transactions/sync` endpoint allows developers to subscribe to all transactions associated with an Item and get updates synchronously in a stream-like manner, using a cursor to track which updates have already been seen. `/transactions/sync` provides the same functionality as `/transactions/get` and can be used instead of `/transactions/get` to simplify the process of tracking transactions updates. This endpoint provides user-authorized transaction data for `credit`, `depository`, and some loan-type accounts (only those with account subtype `student`; coverage may be limited). For transaction history from `investments` accounts, use `/investments/transactions/get` instead. Returned transactions data is grouped into three types of update, indicating whether the transaction was added, removed, or modified since the last call to the API. In the first call to `/transactions/sync` for an Item, the endpoint will return all historical transactions data associated with that Item up until the time of the API call (as \"adds\"), which then generates a `latest_cursor` for that Item. In subsequent calls, send the `latest_cursor` to receive only the changes that have occurred since the previous call. Due to the potentially large number of transactions associated with an Item, results are paginated. The `has_more` field specifies if additional calls are necessary to fetch all available transaction updates. Whenever new or updated transaction data becomes available, `/transactions/sync` will provide these updates. Plaid typically checks for new data multiple times a day, but these checks may occur less frequently, such as once a day, depending on the institution. An Item's `status.transactions.last_successful_update` field will show the timestamp of the most recent successful update. To force Plaid to check for new transactions, use the `/transactions/refresh` endpoint. Note that for newly created Items, data may not be immediately available to `/transactions/sync`. Plaid begins preparing transactions data when the Item is created, but the process can take anywhere from a few seconds to several minutes to complete, depending on the number of transactions available. To be alerted when new data is available, listen for the [`SYNC_UPDATES_AVAILABLE`](https://plaid.com/docs/api/products/transactions/#sync_updates_available) webhook. + # This endpoint replaces `/transactions/get` and its associated webhooks for most common use-cases. The `/transactions/sync` endpoint allows developers to subscribe to all transactions associated with an Item and get updates synchronously in a stream-like manner, using a cursor to track which updates have already been seen. `/transactions/sync` provides the same functionality as `/transactions/get` and can be used instead of `/transactions/get` to simplify the process of tracking transactions updates. This endpoint provides user-authorized transaction data for `credit`, `depository`, and some loan-type accounts (only those with account subtype `student`; coverage may be limited). For transaction history from `investments` accounts, use `/investments/transactions/get` instead. Returned transactions data is grouped into three types of update, indicating whether the transaction was added, removed, or modified since the last call to the API. In the first call to `/transactions/sync` for an Item, the endpoint will return all historical transactions data associated with that Item up until the time of the API call (as \"adds\"), which then generates a `next_cursor` for that Item. In subsequent calls, send the `next_cursor` to receive only the changes that have occurred since the previous call. Due to the potentially large number of transactions associated with an Item, results are paginated. The `has_more` field specifies if additional calls are necessary to fetch all available transaction updates. Whenever new or updated transaction data becomes available, `/transactions/sync` will provide these updates. Plaid typically checks for new data multiple times a day, but these checks may occur less frequently, such as once a day, depending on the institution. An Item's `status.transactions.last_successful_update` field will show the timestamp of the most recent successful update. To force Plaid to check for new transactions, use the `/transactions/refresh` endpoint. Note that for newly created Items, data may not be immediately available to `/transactions/sync`. Plaid begins preparing transactions data when the Item is created, but the process can take anywhere from a few seconds to several minutes to complete, depending on the number of transactions available. To be alerted when new data is available, listen for the [`SYNC_UPDATES_AVAILABLE`](https://plaid.com/docs/api/products/transactions/#sync_updates_available) webhook. # @param transactions_sync_request [TransactionsSyncRequest] # @param [Hash] opts the optional parameters # @return [TransactionsSyncResponse] @@ -7830,7 +8155,7 @@ def transactions_sync(transactions_sync_request, opts = {}) end # Get incremental transaction updates on an Item - # This endpoint replaces `/transactions/get` and its associated webhooks for most common use-cases. The `/transactions/sync` endpoint allows developers to subscribe to all transactions associated with an Item and get updates synchronously in a stream-like manner, using a cursor to track which updates have already been seen. `/transactions/sync` provides the same functionality as `/transactions/get` and can be used instead of `/transactions/get` to simplify the process of tracking transactions updates. This endpoint provides user-authorized transaction data for `credit`, `depository`, and some loan-type accounts (only those with account subtype `student`; coverage may be limited). For transaction history from `investments` accounts, use `/investments/transactions/get` instead. Returned transactions data is grouped into three types of update, indicating whether the transaction was added, removed, or modified since the last call to the API. In the first call to `/transactions/sync` for an Item, the endpoint will return all historical transactions data associated with that Item up until the time of the API call (as \"adds\"), which then generates a `latest_cursor` for that Item. In subsequent calls, send the `latest_cursor` to receive only the changes that have occurred since the previous call. Due to the potentially large number of transactions associated with an Item, results are paginated. The `has_more` field specifies if additional calls are necessary to fetch all available transaction updates. Whenever new or updated transaction data becomes available, `/transactions/sync` will provide these updates. Plaid typically checks for new data multiple times a day, but these checks may occur less frequently, such as once a day, depending on the institution. An Item's `status.transactions.last_successful_update` field will show the timestamp of the most recent successful update. To force Plaid to check for new transactions, use the `/transactions/refresh` endpoint. Note that for newly created Items, data may not be immediately available to `/transactions/sync`. Plaid begins preparing transactions data when the Item is created, but the process can take anywhere from a few seconds to several minutes to complete, depending on the number of transactions available. To be alerted when new data is available, listen for the [`SYNC_UPDATES_AVAILABLE`](https://plaid.com/docs/api/products/transactions/#sync_updates_available) webhook. + # This endpoint replaces `/transactions/get` and its associated webhooks for most common use-cases. The `/transactions/sync` endpoint allows developers to subscribe to all transactions associated with an Item and get updates synchronously in a stream-like manner, using a cursor to track which updates have already been seen. `/transactions/sync` provides the same functionality as `/transactions/get` and can be used instead of `/transactions/get` to simplify the process of tracking transactions updates. This endpoint provides user-authorized transaction data for `credit`, `depository`, and some loan-type accounts (only those with account subtype `student`; coverage may be limited). For transaction history from `investments` accounts, use `/investments/transactions/get` instead. Returned transactions data is grouped into three types of update, indicating whether the transaction was added, removed, or modified since the last call to the API. In the first call to `/transactions/sync` for an Item, the endpoint will return all historical transactions data associated with that Item up until the time of the API call (as \"adds\"), which then generates a `next_cursor` for that Item. In subsequent calls, send the `next_cursor` to receive only the changes that have occurred since the previous call. Due to the potentially large number of transactions associated with an Item, results are paginated. The `has_more` field specifies if additional calls are necessary to fetch all available transaction updates. Whenever new or updated transaction data becomes available, `/transactions/sync` will provide these updates. Plaid typically checks for new data multiple times a day, but these checks may occur less frequently, such as once a day, depending on the institution. An Item's `status.transactions.last_successful_update` field will show the timestamp of the most recent successful update. To force Plaid to check for new transactions, use the `/transactions/refresh` endpoint. Note that for newly created Items, data may not be immediately available to `/transactions/sync`. Plaid begins preparing transactions data when the Item is created, but the process can take anywhere from a few seconds to several minutes to complete, depending on the number of transactions available. To be alerted when new data is available, listen for the [`SYNC_UPDATES_AVAILABLE`](https://plaid.com/docs/api/products/transactions/#sync_updates_available) webhook. # @param transactions_sync_request [TransactionsSyncRequest] # @param [Hash] opts the optional parameters # @return [Array<(TransactionsSyncResponse, Integer, Hash)>] TransactionsSyncResponse data, response status code and response headers @@ -7885,7 +8210,7 @@ def transactions_sync_with_http_info(transactions_sync_request, opts = {}) end # Create a transfer authorization - # Use the `/transfer/authorization/create` endpoint to determine transfer failure risk. In Plaid's sandbox environment the decisions will be returned as follows: - To approve a transfer with null rationale code, make an authorization request with an `amount` less than the available balance in the account. - To approve a transfer with the rationale code `MANUALLY_VERIFIED_ITEM`, create an Item in Link through the [Same Day Micro-deposits flow](https://plaid.com/docs/auth/coverage/testing/#testing-same-day-micro-deposits). - To approve a transfer with the rationale code `LOGIN_REQUIRED`, [reset the login for an Item](https://plaid.com/docs/sandbox/#item_login_required). - To decline a transfer with the rationale code `NSF`, the available balance on the account must be less than the authorization `amount`. See [Create Sandbox test data](https://plaid.com/docs/sandbox/user-custom/) for details on how to customize data in Sandbox. - To decline a transfer with the rationale code `RISK`, the available balance on the account must be exactly $0. See [Create Sandbox test data](https://plaid.com/docs/sandbox/user-custom/) for details on how to customize data in Sandbox. + # Use the `/transfer/authorization/create` endpoint to determine transfer failure risk. In Plaid's sandbox environment the decisions will be returned as follows: - To approve a transfer with null rationale code, make an authorization request with an `amount` less than the available balance in the account. - To approve a transfer with the rationale code `MANUALLY_VERIFIED_ITEM`, create an Item in Link through the [Same Day Micro-deposits flow](https://plaid.com/docs/auth/coverage/testing/#testing-same-day-micro-deposits). - To approve a transfer with the rationale code `LOGIN_REQUIRED`, [reset the login for an Item](https://plaid.com/docs/sandbox/#item_login_required). - To decline a transfer with the rationale code `NSF`, the available balance on the account must be less than the authorization `amount`. See [Create Sandbox test data](https://plaid.com/docs/sandbox/user-custom/) for details on how to customize data in Sandbox. - To decline a transfer with the rationale code `RISK`, the available balance on the account must be exactly $0. See [Create Sandbox test data](https://plaid.com/docs/sandbox/user-custom/) for details on how to customize data in Sandbox. For guaranteed ACH customers, the following fields are required : `user.phone_number` (optional if `email_address` provided), `user.email_address` (optional if `phone_number` provided), `device.ip_address`, `device.user_agent`, and `user_present`. # @param transfer_authorization_create_request [TransferAuthorizationCreateRequest] # @param [Hash] opts the optional parameters # @return [TransferAuthorizationCreateResponse] @@ -7895,7 +8220,7 @@ def transfer_authorization_create(transfer_authorization_create_request, opts = end # Create a transfer authorization - # Use the `/transfer/authorization/create` endpoint to determine transfer failure risk. In Plaid's sandbox environment the decisions will be returned as follows: - To approve a transfer with null rationale code, make an authorization request with an `amount` less than the available balance in the account. - To approve a transfer with the rationale code `MANUALLY_VERIFIED_ITEM`, create an Item in Link through the [Same Day Micro-deposits flow](https://plaid.com/docs/auth/coverage/testing/#testing-same-day-micro-deposits). - To approve a transfer with the rationale code `LOGIN_REQUIRED`, [reset the login for an Item](https://plaid.com/docs/sandbox/#item_login_required). - To decline a transfer with the rationale code `NSF`, the available balance on the account must be less than the authorization `amount`. See [Create Sandbox test data](https://plaid.com/docs/sandbox/user-custom/) for details on how to customize data in Sandbox. - To decline a transfer with the rationale code `RISK`, the available balance on the account must be exactly $0. See [Create Sandbox test data](https://plaid.com/docs/sandbox/user-custom/) for details on how to customize data in Sandbox. + # Use the `/transfer/authorization/create` endpoint to determine transfer failure risk. In Plaid's sandbox environment the decisions will be returned as follows: - To approve a transfer with null rationale code, make an authorization request with an `amount` less than the available balance in the account. - To approve a transfer with the rationale code `MANUALLY_VERIFIED_ITEM`, create an Item in Link through the [Same Day Micro-deposits flow](https://plaid.com/docs/auth/coverage/testing/#testing-same-day-micro-deposits). - To approve a transfer with the rationale code `LOGIN_REQUIRED`, [reset the login for an Item](https://plaid.com/docs/sandbox/#item_login_required). - To decline a transfer with the rationale code `NSF`, the available balance on the account must be less than the authorization `amount`. See [Create Sandbox test data](https://plaid.com/docs/sandbox/user-custom/) for details on how to customize data in Sandbox. - To decline a transfer with the rationale code `RISK`, the available balance on the account must be exactly $0. See [Create Sandbox test data](https://plaid.com/docs/sandbox/user-custom/) for details on how to customize data in Sandbox. For guaranteed ACH customers, the following fields are required : `user.phone_number` (optional if `email_address` provided), `user.email_address` (optional if `phone_number` provided), `device.ip_address`, `device.user_agent`, and `user_present`. # @param transfer_authorization_create_request [TransferAuthorizationCreateRequest] # @param [Hash] opts the optional parameters # @return [Array<(TransferAuthorizationCreateResponse, Integer, Hash)>] TransferAuthorizationCreateResponse data, response status code and response headers diff --git a/lib/plaid/api_client.rb b/lib/plaid/api_client.rb index 21757b962..2044938bf 100644 --- a/lib/plaid/api_client.rb +++ b/lib/plaid/api_client.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -33,7 +33,7 @@ class ApiClient # @option config [Configuration] Configuration for initializing the object, default to Configuration.default def initialize(config = Configuration.default) @config = config - @user_agent = "Plaid Ruby v15.10.0" + @user_agent = "Plaid Ruby v15.11.0" @default_headers = { 'Content-Type' => 'application/json', 'User-Agent' => @user_agent, diff --git a/lib/plaid/api_error.rb b/lib/plaid/api_error.rb index 953db96e8..d4053a1f1 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/configuration.rb b/lib/plaid/configuration.rb index 6fdff2546..1b9922108 100644 --- a/lib/plaid/configuration.rb +++ b/lib/plaid/configuration.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/account_access.rb b/lib/plaid/models/account_access.rb index 67603cb64..ebe2c0fec 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/account_assets.rb b/lib/plaid/models/account_assets.rb index 12699712d..cfa6924e6 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/account_assets_all_of.rb b/lib/plaid/models/account_assets_all_of.rb index 879e1ba4f..623b60372 100644 --- a/lib/plaid/models/account_assets_all_of.rb +++ b/lib/plaid/models/account_assets_all_of.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -100,32 +100,12 @@ def initialize(attributes = {}) # @return Array for valid properties with the reasons def list_invalid_properties invalid_properties = Array.new - if @days_available.nil? - invalid_properties.push('invalid value for "days_available", days_available cannot be nil.') - end - - if @transactions.nil? - invalid_properties.push('invalid value for "transactions", transactions cannot be nil.') - end - - if @owners.nil? - invalid_properties.push('invalid value for "owners", owners cannot be nil.') - end - - if @historical_balances.nil? - invalid_properties.push('invalid value for "historical_balances", historical_balances 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 @days_available.nil? - return false if @transactions.nil? - return false if @owners.nil? - return false if @historical_balances.nil? true end diff --git a/lib/plaid/models/account_balance.rb b/lib/plaid/models/account_balance.rb index 34e2aa88c..c0f269398 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/account_base.rb b/lib/plaid/models/account_base.rb index ead8e6d8f..8c43d0435 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/account_filter.rb b/lib/plaid/models/account_filter.rb index 12c186aab..549101130 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/account_filters_response.rb b/lib/plaid/models/account_filters_response.rb index d718593eb..602639365 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/account_identity.rb b/lib/plaid/models/account_identity.rb index 0c9524921..bbf555b96 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/account_identity_all_of.rb b/lib/plaid/models/account_identity_all_of.rb index 303452447..7a07ae90b 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/account_product_access.rb b/lib/plaid/models/account_product_access.rb index 5dea83b1b..3bd6cf1ee 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/account_product_access_nullable.rb b/lib/plaid/models/account_product_access_nullable.rb index b6d28d960..60faa2323 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/account_selection_cardinality.rb b/lib/plaid/models/account_selection_cardinality.rb index 760db5103..f9faf646a 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/account_subtype.rb b/lib/plaid/models/account_subtype.rb index 589fdd749..528577172 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/account_type.rb b/lib/plaid/models/account_type.rb index f0b4f2169..09c622d54 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/accounts_balance_get_request.rb b/lib/plaid/models/accounts_balance_get_request.rb index b67fbc09d..5ba7fa2c9 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/accounts_balance_get_request_options.rb b/lib/plaid/models/accounts_balance_get_request_options.rb index f940794f8..937bc4d0f 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/accounts_get_request.rb b/lib/plaid/models/accounts_get_request.rb index 4ee83d1f9..e160d4ae3 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/accounts_get_request_options.rb b/lib/plaid/models/accounts_get_request_options.rb index 73b6781a9..473a3dfb1 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/accounts_get_response.rb b/lib/plaid/models/accounts_get_response.rb index b7e600e8b..118c5e97e 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/ach_class.rb b/lib/plaid/models/ach_class.rb index 51e4159cf..fc1337e19 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/address.rb b/lib/plaid/models/address.rb index 4903c5741..9a9cc8eb3 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/address_data.rb b/lib/plaid/models/address_data.rb index e70d89669..0862cd065 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/address_data_nullable.rb b/lib/plaid/models/address_data_nullable.rb index e6e8c8fa8..3cf9aac87 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/address_nullable.rb b/lib/plaid/models/address_nullable.rb index 50f4692ba..7857156cf 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/address_purpose_label.rb b/lib/plaid/models/address_purpose_label.rb index 6d39d45b8..0ac79bbfa 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/application.rb b/lib/plaid/models/application.rb index 999bc8488..8b37ebbdb 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/application_get_request.rb b/lib/plaid/models/application_get_request.rb index 1a946cfb0..b1a0b2e7d 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/application_get_response.rb b/lib/plaid/models/application_get_response.rb index 996eb3d2e..67e8c3d65 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/apr.rb b/lib/plaid/models/apr.rb index f6fdb275b..33e98b2f5 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_report.rb b/lib/plaid/models/asset_report.rb index ea2a24e20..a18860242 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_report_audit_copy_create_request.rb b/lib/plaid/models/asset_report_audit_copy_create_request.rb index edf981ece..2d92e2fc3 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 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 2a5502d7b..61cfc3713 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_report_audit_copy_get_request.rb b/lib/plaid/models/asset_report_audit_copy_get_request.rb index 31cff3da5..fd24946d5 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_report_audit_copy_remove_request.rb b/lib/plaid/models/asset_report_audit_copy_remove_request.rb index d76646e5b..30c6d5226 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_report_audit_copy_remove_response.rb b/lib/plaid/models/asset_report_audit_copy_remove_response.rb index b47d55150..eb2b69a6b 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_report_create_request.rb b/lib/plaid/models/asset_report_create_request.rb index 465bc818a..878bd410e 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_report_create_request_options.rb b/lib/plaid/models/asset_report_create_request_options.rb index 938067c4b..728c89880 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_report_create_response.rb b/lib/plaid/models/asset_report_create_response.rb index 036ec71ce..b798abc8d 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_report_filter_request.rb b/lib/plaid/models/asset_report_filter_request.rb index 1e71fb17b..d808ae115 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_report_filter_response.rb b/lib/plaid/models/asset_report_filter_response.rb index 1adb42588..aac25eaa0 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_report_get_request.rb b/lib/plaid/models/asset_report_get_request.rb index 73c4ff22a..93742575d 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_report_get_response.rb b/lib/plaid/models/asset_report_get_response.rb index 9192972f7..5eb973bab 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_report_item.rb b/lib/plaid/models/asset_report_item.rb index 0a3debfe2..d864fc6f3 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_report_pdf_get_request.rb b/lib/plaid/models/asset_report_pdf_get_request.rb index 68d1f9571..4ffd59f8a 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_report_refresh_request.rb b/lib/plaid/models/asset_report_refresh_request.rb index cffad9746..ea8eea2ed 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_report_refresh_request_options.rb b/lib/plaid/models/asset_report_refresh_request_options.rb index e916abd2c..7a624c506 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_report_refresh_response.rb b/lib/plaid/models/asset_report_refresh_response.rb index 44acac37c..9da00126f 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_report_relay_create_request.rb b/lib/plaid/models/asset_report_relay_create_request.rb index fee33a9c8..245a5a88b 100644 --- a/lib/plaid/models/asset_report_relay_create_request.rb +++ b/lib/plaid/models/asset_report_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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_report_relay_create_response.rb b/lib/plaid/models/asset_report_relay_create_response.rb index eedd5d535..991013c99 100644 --- a/lib/plaid/models/asset_report_relay_create_response.rb +++ b/lib/plaid/models/asset_report_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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_report_relay_get_request.rb b/lib/plaid/models/asset_report_relay_get_request.rb index bb7a679ed..6eeb4df7e 100644 --- a/lib/plaid/models/asset_report_relay_get_request.rb +++ b/lib/plaid/models/asset_report_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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_report_relay_refresh_request.rb b/lib/plaid/models/asset_report_relay_refresh_request.rb index 286a63811..20e07d9a7 100644 --- a/lib/plaid/models/asset_report_relay_refresh_request.rb +++ b/lib/plaid/models/asset_report_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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_report_relay_refresh_response.rb b/lib/plaid/models/asset_report_relay_refresh_response.rb index 8bf223c28..15950a3b5 100644 --- a/lib/plaid/models/asset_report_relay_refresh_response.rb +++ b/lib/plaid/models/asset_report_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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_report_relay_remove_request.rb b/lib/plaid/models/asset_report_relay_remove_request.rb index d9c4a32a2..f5ab4f58c 100644 --- a/lib/plaid/models/asset_report_relay_remove_request.rb +++ b/lib/plaid/models/asset_report_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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_report_relay_remove_response.rb b/lib/plaid/models/asset_report_relay_remove_response.rb index 81402a82c..7fa85cfda 100644 --- a/lib/plaid/models/asset_report_relay_remove_response.rb +++ b/lib/plaid/models/asset_report_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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_report_remove_request.rb b/lib/plaid/models/asset_report_remove_request.rb index 23829743f..7358219b1 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_report_remove_response.rb b/lib/plaid/models/asset_report_remove_response.rb index 51aa3ceab..e4f2815b1 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_report_transaction.rb b/lib/plaid/models/asset_report_transaction.rb index 675315754..08d09750c 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_report_transaction_all_of.rb b/lib/plaid/models/asset_report_transaction_all_of.rb index 67315e245..369577a91 100644 --- a/lib/plaid/models/asset_report_transaction_all_of.rb +++ b/lib/plaid/models/asset_report_transaction_all_of.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/asset_report_user.rb b/lib/plaid/models/asset_report_user.rb index 546b91c4c..0a0ac7515 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/assets_error_webhook.rb b/lib/plaid/models/assets_error_webhook.rb index 1a0ffe720..65a3082f8 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -55,6 +55,7 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'error', ]) end @@ -102,10 +103,6 @@ def list_invalid_properties invalid_properties.push('invalid value for "webhook_code", webhook_code cannot be nil.') end - if @error.nil? - invalid_properties.push('invalid value for "error", error cannot be nil.') - end - if @asset_report_id.nil? invalid_properties.push('invalid value for "asset_report_id", asset_report_id cannot be nil.') end @@ -118,7 +115,6 @@ def list_invalid_properties def valid? return false if @webhook_type.nil? return false if @webhook_code.nil? - return false if @error.nil? return false if @asset_report_id.nil? true end diff --git a/lib/plaid/models/assets_product_ready_webhook.rb b/lib/plaid/models/assets_product_ready_webhook.rb index d9c7f4887..4f5e09fb3 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/assets_relay_webhook.rb b/lib/plaid/models/assets_relay_webhook.rb index da14851b2..5b0e4be1d 100644 --- a/lib/plaid/models/assets_relay_webhook.rb +++ b/lib/plaid/models/assets_relay_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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/auth_get_numbers.rb b/lib/plaid/models/auth_get_numbers.rb index 86d656735..abcf03919 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/auth_get_request.rb b/lib/plaid/models/auth_get_request.rb index a2c915ae2..422fc4bf9 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/auth_get_request_options.rb b/lib/plaid/models/auth_get_request_options.rb index 339ae6e3c..b0d4b810b 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/auth_get_response.rb b/lib/plaid/models/auth_get_response.rb index e5d8a9229..a436821fe 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/auth_metadata.rb b/lib/plaid/models/auth_metadata.rb index 4bdca0f86..0847331ad 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/auth_supported_methods.rb b/lib/plaid/models/auth_supported_methods.rb index 0689ddc81..246b789b0 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/automatically_verified_webhook.rb b/lib/plaid/models/automatically_verified_webhook.rb index 2b79b554a..0400bb88c 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_initiated_return_risk.rb b/lib/plaid/models/bank_initiated_return_risk.rb index 52e4c29d2..e85e96819 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer.rb b/lib/plaid/models/bank_transfer.rb index 3c97b6c82..1f7ac47d8 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_balance.rb b/lib/plaid/models/bank_transfer_balance.rb index 0c4f4be39..b201173d8 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_balance_get_request.rb b/lib/plaid/models/bank_transfer_balance_get_request.rb index 9ca44cb43..64c1e4748 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_balance_get_response.rb b/lib/plaid/models/bank_transfer_balance_get_response.rb index 0534a2e6d..9b4275c37 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_cancel_request.rb b/lib/plaid/models/bank_transfer_cancel_request.rb index 651c80814..efa22a1ed 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_cancel_response.rb b/lib/plaid/models/bank_transfer_cancel_response.rb index 43afc5ae2..292cfa0c4 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_create_request.rb b/lib/plaid/models/bank_transfer_create_request.rb index bf0d1f387..c40fc08e9 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_create_response.rb b/lib/plaid/models/bank_transfer_create_response.rb index dfd90a586..984eedd5c 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_direction.rb b/lib/plaid/models/bank_transfer_direction.rb index e0208c464..bac321de8 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_event.rb b/lib/plaid/models/bank_transfer_event.rb index 0a3d0cdc7..c49669974 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_event_list_bank_transfer_type.rb b/lib/plaid/models/bank_transfer_event_list_bank_transfer_type.rb index 16ec35479..5a4c3bb81 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_event_list_direction.rb b/lib/plaid/models/bank_transfer_event_list_direction.rb index 760913e92..e190dc988 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_event_list_request.rb b/lib/plaid/models/bank_transfer_event_list_request.rb index 09fa52961..4ebc16322 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_event_list_response.rb b/lib/plaid/models/bank_transfer_event_list_response.rb index f5f2a270c..a76610129 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_event_sync_request.rb b/lib/plaid/models/bank_transfer_event_sync_request.rb index 0778caa59..c7baa6b75 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_event_sync_response.rb b/lib/plaid/models/bank_transfer_event_sync_response.rb index f9efac0ba..9f0f3352a 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_event_type.rb b/lib/plaid/models/bank_transfer_event_type.rb index d92b01c6e..e2439e255 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_failure.rb b/lib/plaid/models/bank_transfer_failure.rb index 0576f8779..73bb5cfb2 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_get_request.rb b/lib/plaid/models/bank_transfer_get_request.rb index 57e00dc16..23fbaf502 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_get_response.rb b/lib/plaid/models/bank_transfer_get_response.rb index 5ab8b07ed..69fa4fce9 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_list_request.rb b/lib/plaid/models/bank_transfer_list_request.rb index b973b77a8..91b3cbdeb 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_list_response.rb b/lib/plaid/models/bank_transfer_list_response.rb index 0b8aca290..6821a4579 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_migrate_account_request.rb b/lib/plaid/models/bank_transfer_migrate_account_request.rb index d66bf7879..0c426d83e 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_migrate_account_response.rb b/lib/plaid/models/bank_transfer_migrate_account_response.rb index e88d0374c..1daaa7394 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_network.rb b/lib/plaid/models/bank_transfer_network.rb index 5b096b3b5..52237fb31 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_status.rb b/lib/plaid/models/bank_transfer_status.rb index ca84905b7..1a4acded1 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_sweep.rb b/lib/plaid/models/bank_transfer_sweep.rb index 00014cfde..df7a536e8 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_sweep_get_request.rb b/lib/plaid/models/bank_transfer_sweep_get_request.rb index 8b0f72337..289b82d2d 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_sweep_get_response.rb b/lib/plaid/models/bank_transfer_sweep_get_response.rb index 26be57579..e6b48f254 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_sweep_list_request.rb b/lib/plaid/models/bank_transfer_sweep_list_request.rb index 3284382db..1c44cc6bf 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_sweep_list_response.rb b/lib/plaid/models/bank_transfer_sweep_list_response.rb index 27f3bb481..ddfb6370d 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_type.rb b/lib/plaid/models/bank_transfer_type.rb index ce0407c53..3d66cee89 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfer_user.rb b/lib/plaid/models/bank_transfer_user.rb index 59709bb22..57fbd676f 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/bank_transfers_events_update_webhook.rb b/lib/plaid/models/bank_transfers_events_update_webhook.rb index 12dc35081..153505138 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/categories_get_response.rb b/lib/plaid/models/categories_get_response.rb index 465197c50..3705d370f 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/category.rb b/lib/plaid/models/category.rb index 356e1d59d..fe90e46cd 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/cause.rb b/lib/plaid/models/cause.rb index 56cdd983e..ad331c3b1 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/cause_all_of.rb b/lib/plaid/models/cause_all_of.rb index 891ec0d1c..e005b9667 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/client_provided_enhanced_transaction.rb b/lib/plaid/models/client_provided_enhanced_transaction.rb index 65ef8a954..71b151b3e 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/client_provided_raw_transaction.rb b/lib/plaid/models/client_provided_raw_transaction.rb index 6591d8882..6a4005ef1 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/connected_application.rb b/lib/plaid/models/connected_application.rb index d7ff42541..cd32e130a 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/country_code.rb b/lib/plaid/models/country_code.rb index 9a3a173a3..5ba1cd5b5 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/create_entity_screening_request.rb b/lib/plaid/models/create_entity_screening_request.rb index 412541f0a..705daabae 100644 --- a/lib/plaid/models/create_entity_screening_request.rb +++ b/lib/plaid/models/create_entity_screening_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/create_entity_watchlist_screening_review_request.rb b/lib/plaid/models/create_entity_watchlist_screening_review_request.rb index 0f100c2e0..e65f51c9b 100644 --- a/lib/plaid/models/create_entity_watchlist_screening_review_request.rb +++ b/lib/plaid/models/create_entity_watchlist_screening_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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/create_individual_watchlist_screening_review_request.rb b/lib/plaid/models/create_individual_watchlist_screening_review_request.rb index 209507a50..218d69455 100644 --- a/lib/plaid/models/create_individual_watchlist_screening_review_request.rb +++ b/lib/plaid/models/create_individual_watchlist_screening_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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit1099.rb b/lib/plaid/models/credit1099.rb new file mode 100644 index 000000000..5b4596a14 --- /dev/null +++ b/lib/plaid/models/credit1099.rb @@ -0,0 +1,772 @@ +=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.161.5 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 5.1.1 + +=end + +require 'date' +require 'time' + +module Plaid + # An object representing an end user's 1099 tax form + class Credit1099 + # An identifier of the document referenced by the document metadata. + attr_accessor :document_id + + attr_accessor :document_metadata + + attr_accessor :form_1099_type + + attr_accessor :recipient + + attr_accessor :payer + + attr_accessor :filer + + # Tax year of the tax form. + attr_accessor :tax_year + + # Amount in rent by payer. + attr_accessor :rents + + # Amount in royalties by payer. + attr_accessor :royalties + + # Amount in other income by payer. + attr_accessor :other_income + + # Amount of federal income tax withheld from payer. + attr_accessor :federal_income_tax_withheld + + # Amount of fishing boat proceeds from payer. + attr_accessor :fishing_boat_proceeds + + # Amount of medical and healthcare payments from payer. + attr_accessor :medical_and_healthcare_payments + + # Amount of nonemployee compensation from payer. + attr_accessor :nonemployee_compensation + + # Amount of substitute payments made by payer. + attr_accessor :substitute_payments_in_lieu_of_dividends_or_interest + + # Whether or not payer made direct sales over $5000 of consumer products. + attr_accessor :payer_made_direct_sales_of_5000_or_more_of_consumer_products_to_buyer + + # Amount of crop insurance proceeds. + attr_accessor :crop_insurance_proceeds + + # Amount of golden parachute payments made by payer. + attr_accessor :excess_golden_parachute_payments + + # Amount of gross proceeds paid to an attorney by payer. + attr_accessor :gross_proceeds_paid_to_an_attorney + + # Amount of 409A deferrals earned by payer. + attr_accessor :section_409a_deferrals + + # Amount of 409A income earned by payer. + attr_accessor :section_409a_income + + # Amount of state tax withheld of payer for primary state. + attr_accessor :state_tax_withheld + + # Amount of state tax withheld of payer for secondary state. + attr_accessor :state_tax_withheld_lower + + # Primary state ID. + attr_accessor :payer_state_number + + # Secondary state ID. + attr_accessor :payer_state_number_lower + + # State income reported for primary state. + attr_accessor :state_income + + # State income reported for secondary state. + attr_accessor :state_income_lower + + # One of the values will be provided Payment card Third party network + attr_accessor :transactions_reported + + # Name of the PSE (Payment Settlement Entity). + attr_accessor :pse_name + + # Formatted (XXX) XXX-XXXX. Phone number of the PSE (Payment Settlement Entity). + attr_accessor :pse_telephone_number + + # Gross amount reported. + attr_accessor :gross_amount + + # Amount in card not present transactions. + attr_accessor :card_not_present_transaction + + # Merchant category of filer. + attr_accessor :merchant_category_code + + # Number of payment transactions made. + attr_accessor :number_of_payment_transactions + + # Amount reported for January. + attr_accessor :january_amount + + # Amount reported for February. + attr_accessor :february_amount + + # Amount reported for March. + attr_accessor :march_amount + + # Amount reported for April. + attr_accessor :april_amount + + # Amount reported for May. + attr_accessor :may_amount + + # Amount reported for June. + attr_accessor :june_amount + + # Amount reported for July. + attr_accessor :july_amount + + # Amount reported for August. + attr_accessor :august_amount + + # Amount reported for September. + attr_accessor :september_amount + + # Amount reported for October. + attr_accessor :october_amount + + # Amount reported for November. + attr_accessor :november_amount + + # Amount reported for December. + attr_accessor :december_amount + + # Primary state of business. + attr_accessor :primary_state + + # Secondary state of business. + attr_accessor :secondary_state + + # Primary state ID. + attr_accessor :primary_state_id + + # Secondary state ID. + attr_accessor :secondary_state_id + + # State income tax reported for primary state. + attr_accessor :primary_state_income_tax + + # State income tax reported for secondary state. + attr_accessor :secondary_state_income_tax + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'document_id' => :'document_id', + :'document_metadata' => :'document_metadata', + :'form_1099_type' => :'form_1099_type', + :'recipient' => :'recipient', + :'payer' => :'payer', + :'filer' => :'filer', + :'tax_year' => :'tax_year', + :'rents' => :'rents', + :'royalties' => :'royalties', + :'other_income' => :'other_income', + :'federal_income_tax_withheld' => :'federal_income_tax_withheld', + :'fishing_boat_proceeds' => :'fishing_boat_proceeds', + :'medical_and_healthcare_payments' => :'medical_and_healthcare_payments', + :'nonemployee_compensation' => :'nonemployee_compensation', + :'substitute_payments_in_lieu_of_dividends_or_interest' => :'substitute_payments_in_lieu_of_dividends_or_interest', + :'payer_made_direct_sales_of_5000_or_more_of_consumer_products_to_buyer' => :'payer_made_direct_sales_of_5000_or_more_of_consumer_products_to_buyer', + :'crop_insurance_proceeds' => :'crop_insurance_proceeds', + :'excess_golden_parachute_payments' => :'excess_golden_parachute_payments', + :'gross_proceeds_paid_to_an_attorney' => :'gross_proceeds_paid_to_an_attorney', + :'section_409a_deferrals' => :'section_409a_deferrals', + :'section_409a_income' => :'section_409a_income', + :'state_tax_withheld' => :'state_tax_withheld', + :'state_tax_withheld_lower' => :'state_tax_withheld_lower', + :'payer_state_number' => :'payer_state_number', + :'payer_state_number_lower' => :'payer_state_number_lower', + :'state_income' => :'state_income', + :'state_income_lower' => :'state_income_lower', + :'transactions_reported' => :'transactions_reported', + :'pse_name' => :'pse_name', + :'pse_telephone_number' => :'pse_telephone_number', + :'gross_amount' => :'gross_amount', + :'card_not_present_transaction' => :'card_not_present_transaction', + :'merchant_category_code' => :'merchant_category_code', + :'number_of_payment_transactions' => :'number_of_payment_transactions', + :'january_amount' => :'january_amount', + :'february_amount' => :'february_amount', + :'march_amount' => :'march_amount', + :'april_amount' => :'april_amount', + :'may_amount' => :'may_amount', + :'june_amount' => :'june_amount', + :'july_amount' => :'july_amount', + :'august_amount' => :'august_amount', + :'september_amount' => :'september_amount', + :'october_amount' => :'october_amount', + :'november_amount' => :'november_amount', + :'december_amount' => :'december_amount', + :'primary_state' => :'primary_state', + :'secondary_state' => :'secondary_state', + :'primary_state_id' => :'primary_state_id', + :'secondary_state_id' => :'secondary_state_id', + :'primary_state_income_tax' => :'primary_state_income_tax', + :'secondary_state_income_tax' => :'secondary_state_income_tax' + } + 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 + { + :'document_id' => :'String', + :'document_metadata' => :'CreditDocumentMetadata', + :'form_1099_type' => :'Form1099Type', + :'recipient' => :'Credit1099Recipient', + :'payer' => :'Credit1099Payer', + :'filer' => :'Credit1099Filer', + :'tax_year' => :'String', + :'rents' => :'Float', + :'royalties' => :'Float', + :'other_income' => :'Float', + :'federal_income_tax_withheld' => :'Float', + :'fishing_boat_proceeds' => :'Float', + :'medical_and_healthcare_payments' => :'Float', + :'nonemployee_compensation' => :'Float', + :'substitute_payments_in_lieu_of_dividends_or_interest' => :'Float', + :'payer_made_direct_sales_of_5000_or_more_of_consumer_products_to_buyer' => :'String', + :'crop_insurance_proceeds' => :'Float', + :'excess_golden_parachute_payments' => :'Float', + :'gross_proceeds_paid_to_an_attorney' => :'Float', + :'section_409a_deferrals' => :'Float', + :'section_409a_income' => :'Float', + :'state_tax_withheld' => :'Float', + :'state_tax_withheld_lower' => :'Float', + :'payer_state_number' => :'String', + :'payer_state_number_lower' => :'String', + :'state_income' => :'Float', + :'state_income_lower' => :'Float', + :'transactions_reported' => :'String', + :'pse_name' => :'String', + :'pse_telephone_number' => :'String', + :'gross_amount' => :'Float', + :'card_not_present_transaction' => :'Float', + :'merchant_category_code' => :'String', + :'number_of_payment_transactions' => :'String', + :'january_amount' => :'Float', + :'february_amount' => :'Float', + :'march_amount' => :'Float', + :'april_amount' => :'Float', + :'may_amount' => :'Float', + :'june_amount' => :'Float', + :'july_amount' => :'Float', + :'august_amount' => :'Float', + :'september_amount' => :'Float', + :'october_amount' => :'Float', + :'november_amount' => :'Float', + :'december_amount' => :'Float', + :'primary_state' => :'String', + :'secondary_state' => :'String', + :'primary_state_id' => :'String', + :'secondary_state_id' => :'String', + :'primary_state_income_tax' => :'Float', + :'secondary_state_income_tax' => :'Float' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'document_id', + :'tax_year', + :'rents', + :'royalties', + :'other_income', + :'federal_income_tax_withheld', + :'fishing_boat_proceeds', + :'medical_and_healthcare_payments', + :'nonemployee_compensation', + :'substitute_payments_in_lieu_of_dividends_or_interest', + :'payer_made_direct_sales_of_5000_or_more_of_consumer_products_to_buyer', + :'crop_insurance_proceeds', + :'excess_golden_parachute_payments', + :'gross_proceeds_paid_to_an_attorney', + :'section_409a_deferrals', + :'section_409a_income', + :'state_tax_withheld', + :'state_tax_withheld_lower', + :'payer_state_number', + :'payer_state_number_lower', + :'state_income', + :'state_income_lower', + :'transactions_reported', + :'pse_name', + :'pse_telephone_number', + :'gross_amount', + :'card_not_present_transaction', + :'merchant_category_code', + :'number_of_payment_transactions', + :'january_amount', + :'february_amount', + :'march_amount', + :'april_amount', + :'may_amount', + :'june_amount', + :'july_amount', + :'august_amount', + :'september_amount', + :'october_amount', + :'november_amount', + :'december_amount', + :'primary_state', + :'secondary_state', + :'primary_state_id', + :'secondary_state_id', + :'primary_state_income_tax', + :'secondary_state_income_tax' + ]) + 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::Credit1099` 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::Credit1099`. 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?(:'document_id') + self.document_id = attributes[:'document_id'] + end + + if attributes.key?(:'document_metadata') + self.document_metadata = attributes[:'document_metadata'] + end + + if attributes.key?(:'form_1099_type') + self.form_1099_type = attributes[:'form_1099_type'] + end + + if attributes.key?(:'recipient') + self.recipient = attributes[:'recipient'] + end + + if attributes.key?(:'payer') + self.payer = attributes[:'payer'] + end + + if attributes.key?(:'filer') + self.filer = attributes[:'filer'] + end + + if attributes.key?(:'tax_year') + self.tax_year = attributes[:'tax_year'] + end + + if attributes.key?(:'rents') + self.rents = attributes[:'rents'] + end + + if attributes.key?(:'royalties') + self.royalties = attributes[:'royalties'] + end + + if attributes.key?(:'other_income') + self.other_income = attributes[:'other_income'] + end + + if attributes.key?(:'federal_income_tax_withheld') + self.federal_income_tax_withheld = attributes[:'federal_income_tax_withheld'] + end + + if attributes.key?(:'fishing_boat_proceeds') + self.fishing_boat_proceeds = attributes[:'fishing_boat_proceeds'] + end + + if attributes.key?(:'medical_and_healthcare_payments') + self.medical_and_healthcare_payments = attributes[:'medical_and_healthcare_payments'] + end + + if attributes.key?(:'nonemployee_compensation') + self.nonemployee_compensation = attributes[:'nonemployee_compensation'] + end + + if attributes.key?(:'substitute_payments_in_lieu_of_dividends_or_interest') + self.substitute_payments_in_lieu_of_dividends_or_interest = attributes[:'substitute_payments_in_lieu_of_dividends_or_interest'] + end + + if attributes.key?(:'payer_made_direct_sales_of_5000_or_more_of_consumer_products_to_buyer') + self.payer_made_direct_sales_of_5000_or_more_of_consumer_products_to_buyer = attributes[:'payer_made_direct_sales_of_5000_or_more_of_consumer_products_to_buyer'] + end + + if attributes.key?(:'crop_insurance_proceeds') + self.crop_insurance_proceeds = attributes[:'crop_insurance_proceeds'] + end + + if attributes.key?(:'excess_golden_parachute_payments') + self.excess_golden_parachute_payments = attributes[:'excess_golden_parachute_payments'] + end + + if attributes.key?(:'gross_proceeds_paid_to_an_attorney') + self.gross_proceeds_paid_to_an_attorney = attributes[:'gross_proceeds_paid_to_an_attorney'] + end + + if attributes.key?(:'section_409a_deferrals') + self.section_409a_deferrals = attributes[:'section_409a_deferrals'] + end + + if attributes.key?(:'section_409a_income') + self.section_409a_income = attributes[:'section_409a_income'] + end + + if attributes.key?(:'state_tax_withheld') + self.state_tax_withheld = attributes[:'state_tax_withheld'] + end + + if attributes.key?(:'state_tax_withheld_lower') + self.state_tax_withheld_lower = attributes[:'state_tax_withheld_lower'] + end + + if attributes.key?(:'payer_state_number') + self.payer_state_number = attributes[:'payer_state_number'] + end + + if attributes.key?(:'payer_state_number_lower') + self.payer_state_number_lower = attributes[:'payer_state_number_lower'] + end + + if attributes.key?(:'state_income') + self.state_income = attributes[:'state_income'] + end + + if attributes.key?(:'state_income_lower') + self.state_income_lower = attributes[:'state_income_lower'] + end + + if attributes.key?(:'transactions_reported') + self.transactions_reported = attributes[:'transactions_reported'] + end + + if attributes.key?(:'pse_name') + self.pse_name = attributes[:'pse_name'] + end + + if attributes.key?(:'pse_telephone_number') + self.pse_telephone_number = attributes[:'pse_telephone_number'] + end + + if attributes.key?(:'gross_amount') + self.gross_amount = attributes[:'gross_amount'] + end + + if attributes.key?(:'card_not_present_transaction') + self.card_not_present_transaction = attributes[:'card_not_present_transaction'] + end + + if attributes.key?(:'merchant_category_code') + self.merchant_category_code = attributes[:'merchant_category_code'] + end + + if attributes.key?(:'number_of_payment_transactions') + self.number_of_payment_transactions = attributes[:'number_of_payment_transactions'] + end + + if attributes.key?(:'january_amount') + self.january_amount = attributes[:'january_amount'] + end + + if attributes.key?(:'february_amount') + self.february_amount = attributes[:'february_amount'] + end + + if attributes.key?(:'march_amount') + self.march_amount = attributes[:'march_amount'] + end + + if attributes.key?(:'april_amount') + self.april_amount = attributes[:'april_amount'] + end + + if attributes.key?(:'may_amount') + self.may_amount = attributes[:'may_amount'] + end + + if attributes.key?(:'june_amount') + self.june_amount = attributes[:'june_amount'] + end + + if attributes.key?(:'july_amount') + self.july_amount = attributes[:'july_amount'] + end + + if attributes.key?(:'august_amount') + self.august_amount = attributes[:'august_amount'] + end + + if attributes.key?(:'september_amount') + self.september_amount = attributes[:'september_amount'] + end + + if attributes.key?(:'october_amount') + self.october_amount = attributes[:'october_amount'] + end + + if attributes.key?(:'november_amount') + self.november_amount = attributes[:'november_amount'] + end + + if attributes.key?(:'december_amount') + self.december_amount = attributes[:'december_amount'] + end + + if attributes.key?(:'primary_state') + self.primary_state = attributes[:'primary_state'] + end + + if attributes.key?(:'secondary_state') + self.secondary_state = attributes[:'secondary_state'] + end + + if attributes.key?(:'primary_state_id') + self.primary_state_id = attributes[:'primary_state_id'] + end + + if attributes.key?(:'secondary_state_id') + self.secondary_state_id = attributes[:'secondary_state_id'] + end + + if attributes.key?(:'primary_state_income_tax') + self.primary_state_income_tax = attributes[:'primary_state_income_tax'] + end + + if attributes.key?(:'secondary_state_income_tax') + self.secondary_state_income_tax = attributes[:'secondary_state_income_tax'] + 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 && + document_id == o.document_id && + document_metadata == o.document_metadata && + form_1099_type == o.form_1099_type && + recipient == o.recipient && + payer == o.payer && + filer == o.filer && + tax_year == o.tax_year && + rents == o.rents && + royalties == o.royalties && + other_income == o.other_income && + federal_income_tax_withheld == o.federal_income_tax_withheld && + fishing_boat_proceeds == o.fishing_boat_proceeds && + medical_and_healthcare_payments == o.medical_and_healthcare_payments && + nonemployee_compensation == o.nonemployee_compensation && + substitute_payments_in_lieu_of_dividends_or_interest == o.substitute_payments_in_lieu_of_dividends_or_interest && + payer_made_direct_sales_of_5000_or_more_of_consumer_products_to_buyer == o.payer_made_direct_sales_of_5000_or_more_of_consumer_products_to_buyer && + crop_insurance_proceeds == o.crop_insurance_proceeds && + excess_golden_parachute_payments == o.excess_golden_parachute_payments && + gross_proceeds_paid_to_an_attorney == o.gross_proceeds_paid_to_an_attorney && + section_409a_deferrals == o.section_409a_deferrals && + section_409a_income == o.section_409a_income && + state_tax_withheld == o.state_tax_withheld && + state_tax_withheld_lower == o.state_tax_withheld_lower && + payer_state_number == o.payer_state_number && + payer_state_number_lower == o.payer_state_number_lower && + state_income == o.state_income && + state_income_lower == o.state_income_lower && + transactions_reported == o.transactions_reported && + pse_name == o.pse_name && + pse_telephone_number == o.pse_telephone_number && + gross_amount == o.gross_amount && + card_not_present_transaction == o.card_not_present_transaction && + merchant_category_code == o.merchant_category_code && + number_of_payment_transactions == o.number_of_payment_transactions && + january_amount == o.january_amount && + february_amount == o.february_amount && + march_amount == o.march_amount && + april_amount == o.april_amount && + may_amount == o.may_amount && + june_amount == o.june_amount && + july_amount == o.july_amount && + august_amount == o.august_amount && + september_amount == o.september_amount && + october_amount == o.october_amount && + november_amount == o.november_amount && + december_amount == o.december_amount && + primary_state == o.primary_state && + secondary_state == o.secondary_state && + primary_state_id == o.primary_state_id && + secondary_state_id == o.secondary_state_id && + primary_state_income_tax == o.primary_state_income_tax && + secondary_state_income_tax == o.secondary_state_income_tax + 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 + [document_id, document_metadata, form_1099_type, recipient, payer, filer, tax_year, rents, royalties, other_income, federal_income_tax_withheld, fishing_boat_proceeds, medical_and_healthcare_payments, nonemployee_compensation, substitute_payments_in_lieu_of_dividends_or_interest, payer_made_direct_sales_of_5000_or_more_of_consumer_products_to_buyer, crop_insurance_proceeds, excess_golden_parachute_payments, gross_proceeds_paid_to_an_attorney, section_409a_deferrals, section_409a_income, state_tax_withheld, state_tax_withheld_lower, payer_state_number, payer_state_number_lower, state_income, state_income_lower, transactions_reported, pse_name, pse_telephone_number, gross_amount, card_not_present_transaction, merchant_category_code, number_of_payment_transactions, january_amount, february_amount, march_amount, april_amount, may_amount, june_amount, july_amount, august_amount, september_amount, october_amount, november_amount, december_amount, primary_state, secondary_state, primary_state_id, secondary_state_id, primary_state_income_tax, secondary_state_income_tax].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/credit1099_filer.rb b/lib/plaid/models/credit1099_filer.rb new file mode 100644 index 000000000..23a45ff60 --- /dev/null +++ b/lib/plaid/models/credit1099_filer.rb @@ -0,0 +1,252 @@ +=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.161.5 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 5.1.1 + +=end + +require 'date' +require 'time' + +module Plaid + # An object representing a filer used by 1099-K tax documents. + class Credit1099Filer + attr_accessor :address + + # Name of filer. + attr_accessor :name + + # Tax identification number of filer. + attr_accessor :tin + + # One of the following values will be provided: Payment Settlement Entity (PSE), Electronic Payment Fecilitator (EPF), Other Third Party + attr_accessor :type + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'address' => :'address', + :'name' => :'name', + :'tin' => :'tin', + :'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 + { + :'address' => :'CreditPayStubAddress', + :'name' => :'String', + :'tin' => :'String', + :'type' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'name', + :'tin', + :'type' + ]) + 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::Credit1099Filer` 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::Credit1099Filer`. 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?(:'address') + self.address = attributes[:'address'] + end + + if attributes.key?(:'name') + self.name = attributes[:'name'] + end + + if attributes.key?(:'tin') + self.tin = attributes[:'tin'] + 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? + 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 && + address == o.address && + name == o.name && + tin == o.tin && + 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 + [address, name, tin, 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) + 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/credit1099_payer.rb b/lib/plaid/models/credit1099_payer.rb new file mode 100644 index 000000000..327cc4b51 --- /dev/null +++ b/lib/plaid/models/credit1099_payer.rb @@ -0,0 +1,252 @@ +=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.161.5 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 5.1.1 + +=end + +require 'date' +require 'time' + +module Plaid + # An object representing a payer used by 1099-MISC tax documents. + class Credit1099Payer + attr_accessor :address + + # Name of payer. + attr_accessor :name + + # Tax identification number of payer. + attr_accessor :tin + + # Telephone number of payer. + attr_accessor :telephone_number + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'address' => :'address', + :'name' => :'name', + :'tin' => :'tin', + :'telephone_number' => :'telephone_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 + { + :'address' => :'CreditPayStubAddress', + :'name' => :'String', + :'tin' => :'String', + :'telephone_number' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'name', + :'tin', + :'telephone_number' + ]) + 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::Credit1099Payer` 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::Credit1099Payer`. 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?(:'address') + self.address = attributes[:'address'] + end + + if attributes.key?(:'name') + self.name = attributes[:'name'] + end + + if attributes.key?(:'tin') + self.tin = attributes[:'tin'] + end + + if attributes.key?(:'telephone_number') + self.telephone_number = attributes[:'telephone_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 + 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 && + address == o.address && + name == o.name && + tin == o.tin && + telephone_number == o.telephone_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 + [address, name, tin, telephone_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) + 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/credit1099_recipient.rb b/lib/plaid/models/credit1099_recipient.rb new file mode 100644 index 000000000..c79d581d8 --- /dev/null +++ b/lib/plaid/models/credit1099_recipient.rb @@ -0,0 +1,274 @@ +=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.161.5 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 5.1.1 + +=end + +require 'date' +require 'time' + +module Plaid + # An object representing a recipient used in both 1099-K and 1099-MISC tax documents. + class Credit1099Recipient + attr_accessor :address + + # Name of recipient. + attr_accessor :name + + # Tax identification number of recipient. + attr_accessor :tin + + # Account number number of recipient. + attr_accessor :account_number + + # Checked if FACTA is a filing requirement. + attr_accessor :facta_filing_requirement + + # Checked if 2nd TIN exists. + attr_accessor :second_tin_exists + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'address' => :'address', + :'name' => :'name', + :'tin' => :'tin', + :'account_number' => :'account_number', + :'facta_filing_requirement' => :'facta_filing_requirement', + :'second_tin_exists' => :'second_tin_exists' + } + 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 + { + :'address' => :'CreditPayStubAddress', + :'name' => :'String', + :'tin' => :'String', + :'account_number' => :'String', + :'facta_filing_requirement' => :'String', + :'second_tin_exists' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'name', + :'tin', + :'account_number', + :'facta_filing_requirement', + :'second_tin_exists' + ]) + 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::Credit1099Recipient` 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::Credit1099Recipient`. 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?(:'address') + self.address = attributes[:'address'] + end + + if attributes.key?(:'name') + self.name = attributes[:'name'] + end + + if attributes.key?(:'tin') + self.tin = attributes[:'tin'] + end + + if attributes.key?(:'account_number') + self.account_number = attributes[:'account_number'] + end + + if attributes.key?(:'facta_filing_requirement') + self.facta_filing_requirement = attributes[:'facta_filing_requirement'] + end + + if attributes.key?(:'second_tin_exists') + self.second_tin_exists = attributes[:'second_tin_exists'] + 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 && + address == o.address && + name == o.name && + tin == o.tin && + account_number == o.account_number && + facta_filing_requirement == o.facta_filing_requirement && + second_tin_exists == o.second_tin_exists + 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 + [address, name, tin, account_number, facta_filing_requirement, second_tin_exists].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/credit_account_subtype.rb b/lib/plaid/models/credit_account_subtype.rb index 802a583f6..67902262f 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_audit_copy_token_create_request.rb b/lib/plaid/models/credit_audit_copy_token_create_request.rb index 2d36846b8..5eeb905e6 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 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 5c1f85ecf..ca5fbf6e9 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_audit_copy_token_remove_request.rb b/lib/plaid/models/credit_audit_copy_token_remove_request.rb index 922e66287..21a7ebc90 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_audit_copy_token_remove_response.rb b/lib/plaid/models/credit_audit_copy_token_remove_response.rb index 5d78451bd..5aca2ca12 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_bank_income.rb b/lib/plaid/models/credit_bank_income.rb index c399893fe..e0bce5665 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_bank_income_account.rb b/lib/plaid/models/credit_bank_income_account.rb index f95fa2dc4..aaa9f8ed6 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_bank_income_account_type.rb b/lib/plaid/models/credit_bank_income_account_type.rb index 68ad750a2..40c80b480 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_bank_income_category.rb b/lib/plaid/models/credit_bank_income_category.rb index be76a4287..19859c551 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_bank_income_cause.rb b/lib/plaid/models/credit_bank_income_cause.rb index 1e6e33cb9..397aa7402 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_bank_income_error_type.rb b/lib/plaid/models/credit_bank_income_error_type.rb index fe3d40296..2352e7714 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_bank_income_get_request.rb b/lib/plaid/models/credit_bank_income_get_request.rb index d42082a1a..799fbabb7 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_bank_income_get_request_options.rb b/lib/plaid/models/credit_bank_income_get_request_options.rb index e471570a2..059435524 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_bank_income_get_response.rb b/lib/plaid/models/credit_bank_income_get_response.rb index a4720bf13..cdb969933 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_bank_income_historical_summary.rb b/lib/plaid/models/credit_bank_income_historical_summary.rb index 97834cf93..3d6165f6d 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_bank_income_item.rb b/lib/plaid/models/credit_bank_income_item.rb index 8372362c5..b5800d1b9 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_bank_income_pay_frequency.rb b/lib/plaid/models/credit_bank_income_pay_frequency.rb index 34d7e8d83..3e594c2b6 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_bank_income_pdf_get_request.rb b/lib/plaid/models/credit_bank_income_pdf_get_request.rb new file mode 100644 index 000000000..266f10ade --- /dev/null +++ b/lib/plaid/models/credit_bank_income_pdf_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.161.5 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 5.1.1 + +=end + +require 'date' +require 'time' + +module Plaid + # CreditBankIncomePDFGetRequest defines the request schema for `/credit/bank_income/pdf/get` + class CreditBankIncomePDFGetRequest + # 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::CreditBankIncomePDFGetRequest` 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::CreditBankIncomePDFGetRequest`. 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) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/credit_bank_income_refresh_request.rb b/lib/plaid/models/credit_bank_income_refresh_request.rb index 27fd19a70..d72dda789 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_bank_income_refresh_request_options.rb b/lib/plaid/models/credit_bank_income_refresh_request_options.rb index 4fcc6e7d9..2d5448944 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_bank_income_refresh_response.rb b/lib/plaid/models/credit_bank_income_refresh_response.rb index 6243deb87..fa0b4b572 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_bank_income_source.rb b/lib/plaid/models/credit_bank_income_source.rb index 8d0f13d93..4f42bd672 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_bank_income_summary.rb b/lib/plaid/models/credit_bank_income_summary.rb index b46193072..96f5dbdd5 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_bank_income_transaction.rb b/lib/plaid/models/credit_bank_income_transaction.rb index 030070281..bb4dce540 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_bank_income_warning.rb b/lib/plaid/models/credit_bank_income_warning.rb index a00481afe..df56bab73 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_bank_income_warning_code.rb b/lib/plaid/models/credit_bank_income_warning_code.rb index 026a9eb60..451b2a7a5 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_bank_income_warning_type.rb b/lib/plaid/models/credit_bank_income_warning_type.rb index cd6e4c73c..b96678259 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_card_liability.rb b/lib/plaid/models/credit_card_liability.rb index 2cde446fa..5e31f533c 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_document_metadata.rb b/lib/plaid/models/credit_document_metadata.rb index 8ed0b39e6..4cdc8aa60 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_employer_verification.rb b/lib/plaid/models/credit_employer_verification.rb index 785e17de2..62187320e 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_employment_get_request.rb b/lib/plaid/models/credit_employment_get_request.rb index cc1cff386..9472419c1 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_employment_get_response.rb b/lib/plaid/models/credit_employment_get_response.rb index e3a0ee1d5..0356f12b5 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_employment_item.rb b/lib/plaid/models/credit_employment_item.rb index 335199e4b..93d515bc9 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_employment_verification.rb b/lib/plaid/models/credit_employment_verification.rb index 0c0a497d2..708d430c8 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_filter.rb b/lib/plaid/models/credit_filter.rb index 9114af4f5..6d4b60dbf 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_pay_stub.rb b/lib/plaid/models/credit_pay_stub.rb index 75d72d648..f5ffd3ab6 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_pay_stub_address.rb b/lib/plaid/models/credit_pay_stub_address.rb index 6d7e9565b..ed67e87b8 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_pay_stub_deductions.rb b/lib/plaid/models/credit_pay_stub_deductions.rb index 0a31b3b2f..3e606871d 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_pay_stub_earnings.rb b/lib/plaid/models/credit_pay_stub_earnings.rb index 6caf28c97..4226f76e8 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_pay_stub_employee.rb b/lib/plaid/models/credit_pay_stub_employee.rb index 613db7a63..45a62a39d 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_pay_stub_employer.rb b/lib/plaid/models/credit_pay_stub_employer.rb index 0a11a789d..45c14e20c 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_pay_stub_net_pay.rb b/lib/plaid/models/credit_pay_stub_net_pay.rb index dade3ae83..6de4875ed 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_pay_stub_verification.rb b/lib/plaid/models/credit_pay_stub_verification.rb index 352481362..cea9d2966 100644 --- a/lib/plaid/models/credit_pay_stub_verification.rb +++ b/lib/plaid/models/credit_pay_stub_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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -14,7 +14,7 @@ require 'time' module Plaid - # An object containing details on the paystub's verification status. This object will only be populated if the [`income_verification.access_tokens`](/docs/api/tokens/#link-token-create-request-income-verification-access-tokens) parameter was provided during the `/link/token/create` call or if a problem was detected with the information supplied by the user; otherwise it will be `null`. + # (To be deprecated) Verification info will be moved to a separate endpoint in the future. An object containing details on the paystub's verification status. This object will only be populated if the [`income_verification.access_tokens`](/docs/api/tokens/#link-token-create-request-income-verification-access-tokens) parameter was provided during the `/link/token/create` call or if a problem was detected with the information supplied by the user; otherwise it will be `null`. class CreditPayStubVerification # Derived verification status. attr_accessor :verification_status diff --git a/lib/plaid/models/credit_payroll_income_get_request.rb b/lib/plaid/models/credit_payroll_income_get_request.rb index d269b2f84..ff1aa2938 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_payroll_income_get_response.rb b/lib/plaid/models/credit_payroll_income_get_response.rb index cdb3d2d1f..54736a992 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -50,6 +50,7 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'error', ]) end diff --git a/lib/plaid/models/credit_payroll_income_precheck_request.rb b/lib/plaid/models/credit_payroll_income_precheck_request.rb index 016189f7e..05edaca9d 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_payroll_income_precheck_response.rb b/lib/plaid/models/credit_payroll_income_precheck_response.rb index b52bd5445..5cf7a86b4 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_payroll_income_refresh_request.rb b/lib/plaid/models/credit_payroll_income_refresh_request.rb index b3de5b41e..aca53abdd 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_payroll_income_refresh_response.rb b/lib/plaid/models/credit_payroll_income_refresh_response.rb index 75be8eeaa..51df2dea2 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_payroll_income_risk_signals_get_request.rb b/lib/plaid/models/credit_payroll_income_risk_signals_get_request.rb index e746e265d..14b6a24ee 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_payroll_income_risk_signals_get_response.rb b/lib/plaid/models/credit_payroll_income_risk_signals_get_response.rb index bb554a020..120d046d5 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -50,6 +50,7 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'error', ]) end diff --git a/lib/plaid/models/credit_platform_ids.rb b/lib/plaid/models/credit_platform_ids.rb index 735c205db..2e761fb06 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_relay_create_request.rb b/lib/plaid/models/credit_relay_create_request.rb index a1f02c091..7f8554cf9 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_relay_create_response.rb b/lib/plaid/models/credit_relay_create_response.rb index 617ff3605..732acfee5 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/credit_relay_get_request.rb b/lib/plaid/models/credit_relay_get_request.rb new file mode 100644 index 000000000..cf536d46c --- /dev/null +++ b/lib/plaid/models/credit_relay_get_request.rb @@ -0,0 +1,259 @@ +=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.161.5 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 5.1.1 + +=end + +require 'date' +require 'time' + +module Plaid + # CreditRelayGetRequest defines the request schema for `/credit/relay/get` + class CreditRelayGetRequest + # 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 `relay_token` granting access to the report you would like to get. + attr_accessor :relay_token + + attr_accessor :report_type + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'client_id' => :'client_id', + :'secret' => :'secret', + :'relay_token' => :'relay_token', + :'report_type' => :'report_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 + { + :'client_id' => :'String', + :'secret' => :'String', + :'relay_token' => :'String', + :'report_type' => :'ReportType' + } + 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::CreditRelayGetRequest` 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::CreditRelayGetRequest`. 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?(:'relay_token') + self.relay_token = attributes[:'relay_token'] + end + + if attributes.key?(:'report_type') + self.report_type = attributes[:'report_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 + if @relay_token.nil? + invalid_properties.push('invalid value for "relay_token", relay_token cannot be nil.') + end + + if @report_type.nil? + invalid_properties.push('invalid value for "report_type", report_type 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 @relay_token.nil? + return false if @report_type.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 && + relay_token == o.relay_token && + report_type == o.report_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 + [client_id, secret, relay_token, report_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) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/credit_relay_refresh_request.rb b/lib/plaid/models/credit_relay_refresh_request.rb new file mode 100644 index 000000000..033d450f3 --- /dev/null +++ b/lib/plaid/models/credit_relay_refresh_request.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.161.5 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 5.1.1 + +=end + +require 'date' +require 'time' + +module Plaid + # CreditRelayRefreshRequest defines the request schema for `/credit/relay/refresh` + class CreditRelayRefreshRequest + # 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 `relay_token` granting access to the report you would like to refresh. + attr_accessor :relay_token + + attr_accessor :report_type + + # The URL registered to receive webhooks when the report of a Relay Token has been refreshed. + attr_accessor :webhook + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'client_id' => :'client_id', + :'secret' => :'secret', + :'relay_token' => :'relay_token', + :'report_type' => :'report_type', + :'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', + :'relay_token' => :'String', + :'report_type' => :'ReportType', + :'webhook' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'webhook' + ]) + 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::CreditRelayRefreshRequest` 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::CreditRelayRefreshRequest`. 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?(:'relay_token') + self.relay_token = attributes[:'relay_token'] + end + + if attributes.key?(:'report_type') + self.report_type = attributes[:'report_type'] + 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 @relay_token.nil? + invalid_properties.push('invalid value for "relay_token", relay_token cannot be nil.') + end + + if @report_type.nil? + invalid_properties.push('invalid value for "report_type", report_type 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 @relay_token.nil? + return false if @report_type.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 && + relay_token == o.relay_token && + report_type == o.report_type && + 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, relay_token, report_type, 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) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/credit_relay_refresh_response.rb b/lib/plaid/models/credit_relay_refresh_response.rb new file mode 100644 index 000000000..2e9c1aa35 --- /dev/null +++ b/lib/plaid/models/credit_relay_refresh_response.rb @@ -0,0 +1,249 @@ +=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.161.5 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 5.1.1 + +=end + +require 'date' +require 'time' + +module Plaid + # CreditRelayRefreshResponse defines the response schema for `/credit/relay/refresh` + class CreditRelayRefreshResponse + attr_accessor :relay_token + + # A unique ID identifying an Asset Report. Like all Plaid identifiers, this ID is case sensitive. + attr_accessor :asset_report_id + + # 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 + { + :'relay_token' => :'relay_token', + :'asset_report_id' => :'asset_report_id', + :'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 + { + :'relay_token' => :'String', + :'asset_report_id' => :'String', + :'request_id' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::CreditRelayRefreshResponse` 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::CreditRelayRefreshResponse`. 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?(:'relay_token') + self.relay_token = attributes[:'relay_token'] + end + + if attributes.key?(:'asset_report_id') + self.asset_report_id = attributes[:'asset_report_id'] + 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 @relay_token.nil? + invalid_properties.push('invalid value for "relay_token", relay_token cannot be nil.') + end + + if @request_id.nil? + invalid_properties.push('invalid value for "request_id", request_id cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @relay_token.nil? + return false if @request_id.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + relay_token == o.relay_token && + asset_report_id == o.asset_report_id && + 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 + [relay_token, asset_report_id, request_id].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/credit_relay_remove_request.rb b/lib/plaid/models/credit_relay_remove_request.rb new file mode 100644 index 000000000..0779e66a7 --- /dev/null +++ b/lib/plaid/models/credit_relay_remove_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.161.5 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 5.1.1 + +=end + +require 'date' +require 'time' + +module Plaid + # CreditRelayRemoveRequest defines the request schema for `/credit/relay/remove` + class CreditRelayRemoveRequest + # 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 `relay_token` you would like to revoke. + attr_accessor :relay_token + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'client_id' => :'client_id', + :'secret' => :'secret', + :'relay_token' => :'relay_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', + :'relay_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::CreditRelayRemoveRequest` 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::CreditRelayRemoveRequest`. 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?(:'relay_token') + self.relay_token = attributes[:'relay_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 @relay_token.nil? + invalid_properties.push('invalid value for "relay_token", relay_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 @relay_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 && + relay_token == o.relay_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, relay_token].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/credit_relay_remove_response.rb b/lib/plaid/models/credit_relay_remove_response.rb new file mode 100644 index 000000000..f0b8a7112 --- /dev/null +++ b/lib/plaid/models/credit_relay_remove_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.161.5 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 5.1.1 + +=end + +require 'date' +require 'time' + +module Plaid + # CreditRelayRemoveResponse defines the response schema for `/credit/relay/remove` + class CreditRelayRemoveResponse + # `true` if the Relay token was successfully removed. + attr_accessor :removed + + # 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 + { + :'removed' => :'removed', + :'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 + { + :'removed' => :'Boolean', + :'request_id' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::CreditRelayRemoveResponse` 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::CreditRelayRemoveResponse`. 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?(:'removed') + self.removed = attributes[:'removed'] + 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 @removed.nil? + invalid_properties.push('invalid value for "removed", removed 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 @removed.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 && + removed == o.removed && + 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 + [removed, request_id].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/credit_w2.rb b/lib/plaid/models/credit_w2.rb index 852faa11e..d1125255b 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/customer_initiated_return_risk.rb b/lib/plaid/models/customer_initiated_return_risk.rb index 563e4bfcf..eee5b63ec 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/dashboard_user.rb b/lib/plaid/models/dashboard_user.rb index 8b6c3681c..f355b6591 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/dashboard_user_response.rb b/lib/plaid/models/dashboard_user_response.rb index 8156a40fa..2b325b73d 100644 --- a/lib/plaid/models/dashboard_user_response.rb +++ b/lib/plaid/models/dashboard_user_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/dashboard_user_status.rb b/lib/plaid/models/dashboard_user_status.rb index 2b7b934b0..e199f93c7 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/date_range.rb b/lib/plaid/models/date_range.rb index 6f67cfc02..13627209f 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/deductions.rb b/lib/plaid/models/deductions.rb index 8a237ee9a..ab0b809de 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/deductions_breakdown.rb b/lib/plaid/models/deductions_breakdown.rb index 6dbbcdbc8..61b8d4b9c 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/deductions_total.rb b/lib/plaid/models/deductions_total.rb index 9339c57ac..c5776da36 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/default_update_webhook.rb b/lib/plaid/models/default_update_webhook.rb index 4b6042ccb..26ea1fd77 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -60,6 +60,7 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'error', ]) end diff --git a/lib/plaid/models/deposit_switch_address_data.rb b/lib/plaid/models/deposit_switch_address_data.rb index fdc921f8a..839af6da8 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/deposit_switch_alt_create_request.rb b/lib/plaid/models/deposit_switch_alt_create_request.rb index 534b9579a..a3a079116 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/deposit_switch_alt_create_response.rb b/lib/plaid/models/deposit_switch_alt_create_response.rb index 9b31be47e..6f853e752 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/deposit_switch_create_request.rb b/lib/plaid/models/deposit_switch_create_request.rb index f50b49149..28df7d54b 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/deposit_switch_create_request_options.rb b/lib/plaid/models/deposit_switch_create_request_options.rb index 6823107a0..88103ad94 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/deposit_switch_create_response.rb b/lib/plaid/models/deposit_switch_create_response.rb index e2cecf55b..3c8fb6f49 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/deposit_switch_get_request.rb b/lib/plaid/models/deposit_switch_get_request.rb index 7299c11b9..7033f8f79 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/deposit_switch_get_response.rb b/lib/plaid/models/deposit_switch_get_response.rb index a92bf9262..d7db1e3df 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/deposit_switch_state_update_webhook.rb b/lib/plaid/models/deposit_switch_state_update_webhook.rb index ad856c8b2..a6170fab2 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/deposit_switch_target_account.rb b/lib/plaid/models/deposit_switch_target_account.rb index c58ac2ea0..d12b02aea 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/deposit_switch_target_user.rb b/lib/plaid/models/deposit_switch_target_user.rb index dd479acb8..7907f7a9a 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/deposit_switch_token_create_request.rb b/lib/plaid/models/deposit_switch_token_create_request.rb index 00dcdcbc3..c95793a0e 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/deposit_switch_token_create_response.rb b/lib/plaid/models/deposit_switch_token_create_response.rb index 9907922e0..f4e746d41 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/depository_account_subtype.rb b/lib/plaid/models/depository_account_subtype.rb index 862c7b250..671e28e92 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/depository_filter.rb b/lib/plaid/models/depository_filter.rb index 560d4987e..c59bc08df 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/distribution_breakdown.rb b/lib/plaid/models/distribution_breakdown.rb index 90fe4b83d..2f73028a5 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/doc_type.rb b/lib/plaid/models/doc_type.rb index 178d4867d..add853ae7 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -25,6 +25,7 @@ class DocType DOCUMENT_TYPE_GIG = "DOCUMENT_TYPE_GIG".freeze DOCUMENT_TYPE_NONE = "DOCUMENT_TYPE_NONE".freeze DOCUMENT_TYPE_US_TAX_1099_MISC = "DOCUMENT_TYPE_US_TAX_1099_MISC".freeze + DOCUMENT_TYPE_US_TAX_1099_K = "DOCUMENT_TYPE_US_TAX_1099_K".freeze # Builds the enum from string # @param [String] The enum value in the form of the string diff --git a/lib/plaid/models/document_analysis.rb b/lib/plaid/models/document_analysis.rb index e73296812..6e1bae8bc 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/document_authenticity_match_code.rb b/lib/plaid/models/document_authenticity_match_code.rb index 9a7ec0aec..106f43ba6 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/document_date_of_birth_match_code.rb b/lib/plaid/models/document_date_of_birth_match_code.rb index 907745c2b..0b868dbe6 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/document_metadata.rb b/lib/plaid/models/document_metadata.rb index 36ee6cd3a..1f48bb45f 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/document_name_match_code.rb b/lib/plaid/models/document_name_match_code.rb index 1faf28d7f..09de674de 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/document_risk_signal.rb b/lib/plaid/models/document_risk_signal.rb index b757f1096..c64cb5819 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/document_risk_signal_institution_metadata.rb b/lib/plaid/models/document_risk_signal_institution_metadata.rb index 026e1caf5..1b8ffaa62 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/document_risk_signals_object.rb b/lib/plaid/models/document_risk_signals_object.rb index f1939dd05..191050e29 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/document_status.rb b/lib/plaid/models/document_status.rb index 795c78b9f..6e6d43353 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/documentary_verification.rb b/lib/plaid/models/documentary_verification.rb index f41bced65..93196d9df 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/documentary_verification_document.rb b/lib/plaid/models/documentary_verification_document.rb index 705044827..34f1e284e 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/earnings.rb b/lib/plaid/models/earnings.rb index a1009230f..679902fc4 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/earnings_breakdown.rb b/lib/plaid/models/earnings_breakdown.rb index 2e4d701fe..1e5d3ca95 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/earnings_breakdown_canonical_description.rb b/lib/plaid/models/earnings_breakdown_canonical_description.rb index 2b3a5ed18..a69e16cf2 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/earnings_total.rb b/lib/plaid/models/earnings_total.rb index 71ad1f352..0b4e55fec 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/email.rb b/lib/plaid/models/email.rb index 6520b1737..502aebb3b 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/employee.rb b/lib/plaid/models/employee.rb index 184c15422..41d0b990a 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/employee_income_summary_field_string.rb b/lib/plaid/models/employee_income_summary_field_string.rb index 7647650b8..de7b2fa89 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/employer.rb b/lib/plaid/models/employer.rb index 313428de2..3c813bec5 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/employer_income_summary_field_string.rb b/lib/plaid/models/employer_income_summary_field_string.rb index 16b648f7f..9d4192dfe 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/employer_verification.rb b/lib/plaid/models/employer_verification.rb index a5bc0565b..f366d561c 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/employers_search_request.rb b/lib/plaid/models/employers_search_request.rb index c8ff9152f..5fa04c066 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/employers_search_response.rb b/lib/plaid/models/employers_search_response.rb index 8a8359975..3624f00ac 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/employment_details.rb b/lib/plaid/models/employment_details.rb index b65edd608..a5b57af26 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/employment_verification.rb b/lib/plaid/models/employment_verification.rb index ae0ad3a57..af48cd7e0 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/employment_verification_get_request.rb b/lib/plaid/models/employment_verification_get_request.rb index 273778d06..ebaf3b883 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/employment_verification_get_response.rb b/lib/plaid/models/employment_verification_get_response.rb index 45e166d61..4684aa3e6 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/employment_verification_status.rb b/lib/plaid/models/employment_verification_status.rb index 7b936969c..7f369f877 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/enhancements.rb b/lib/plaid/models/enhancements.rb index c7ac05b1a..8f04f75ce 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -40,6 +40,9 @@ class Enhancements attr_accessor :personal_finance_category + # A link to the icon associated with the primary personal finance category. The logo will always be 100x100 resolution. + attr_accessor :personal_finance_category_icon_url + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { @@ -51,7 +54,8 @@ def self.attribute_map :'category_id' => :'category_id', :'category' => :'category', :'location' => :'location', - :'personal_finance_category' => :'personal_finance_category' + :'personal_finance_category' => :'personal_finance_category', + :'personal_finance_category_icon_url' => :'personal_finance_category_icon_url' } end @@ -71,7 +75,8 @@ def self.openapi_types :'category_id' => :'String', :'category' => :'Array', :'location' => :'Location', - :'personal_finance_category' => :'PersonalFinanceCategory' + :'personal_finance_category' => :'PersonalFinanceCategory', + :'personal_finance_category_icon_url' => :'String' } end @@ -83,7 +88,7 @@ def self.openapi_nullable :'logo_url', :'check_number', :'category_id', - :'personal_finance_category' + :'personal_finance_category', ]) end @@ -139,6 +144,10 @@ def initialize(attributes = {}) if attributes.key?(:'personal_finance_category') self.personal_finance_category = attributes[:'personal_finance_category'] end + + if attributes.key?(:'personal_finance_category_icon_url') + self.personal_finance_category_icon_url = attributes[:'personal_finance_category_icon_url'] + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -182,7 +191,8 @@ def ==(o) category_id == o.category_id && category == o.category && location == o.location && - personal_finance_category == o.personal_finance_category + personal_finance_category == o.personal_finance_category && + personal_finance_category_icon_url == o.personal_finance_category_icon_url end # @see the `==` method @@ -194,7 +204,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [merchant_name, website, logo_url, check_number, payment_channel, category_id, category, location, personal_finance_category].hash + [merchant_name, website, logo_url, check_number, payment_channel, category_id, category, location, personal_finance_category, personal_finance_category_icon_url].hash end # Builds the object from hash diff --git a/lib/plaid/models/entity_document.rb b/lib/plaid/models/entity_document.rb index b33724e26..b8d0fb797 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/entity_document_type.rb b/lib/plaid/models/entity_document_type.rb index 069f79e14..e618e1f7a 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/entity_screening_hit_analysis.rb b/lib/plaid/models/entity_screening_hit_analysis.rb index 1c82c8a70..cff697b95 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/entity_screening_hit_data.rb b/lib/plaid/models/entity_screening_hit_data.rb index 13672f619..4d6b6c060 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/entity_screening_hit_documents_items.rb b/lib/plaid/models/entity_screening_hit_documents_items.rb index c1ac08c68..e45994a42 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/entity_screening_hit_emails.rb b/lib/plaid/models/entity_screening_hit_emails.rb index 5d097f809..ed161d10e 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/entity_screening_hit_emails_items.rb b/lib/plaid/models/entity_screening_hit_emails_items.rb index cd9db1565..69a2d2ab5 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/entity_screening_hit_names.rb b/lib/plaid/models/entity_screening_hit_names.rb index b566fea7f..66964d511 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/entity_screening_hit_names_items.rb b/lib/plaid/models/entity_screening_hit_names_items.rb index 109c2931f..c95460442 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/entity_screening_hit_phone_numbers.rb b/lib/plaid/models/entity_screening_hit_phone_numbers.rb index c73c21251..245dfd017 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/entity_screening_hit_urls.rb b/lib/plaid/models/entity_screening_hit_urls.rb index 83c5fc945..6919364a8 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/entity_screening_hit_urls_items.rb b/lib/plaid/models/entity_screening_hit_urls_items.rb index c9ade0301..c68f877d1 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/entity_screening_hits_phone_number_items.rb b/lib/plaid/models/entity_screening_hits_phone_number_items.rb index 51a49a807..4ecda96d3 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/entity_screening_status_updated_webhook.rb b/lib/plaid/models/entity_screening_status_updated_webhook.rb index 0388c1610..1da60c13b 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/entity_watchlist_code.rb b/lib/plaid/models/entity_watchlist_code.rb index f27cb78a5..b13359b32 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/entity_watchlist_program.rb b/lib/plaid/models/entity_watchlist_program.rb index 54076d978..3bd70a9d6 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/entity_watchlist_program_response.rb b/lib/plaid/models/entity_watchlist_program_response.rb index 72742bee8..b68e2c1fe 100644 --- a/lib/plaid/models/entity_watchlist_program_response.rb +++ b/lib/plaid/models/entity_watchlist_program_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/entity_watchlist_screening.rb b/lib/plaid/models/entity_watchlist_screening.rb index e2112b140..8c4c5325a 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/entity_watchlist_screening_hit.rb b/lib/plaid/models/entity_watchlist_screening_hit.rb index 9b146c8de..d4e00a544 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/entity_watchlist_screening_response.rb b/lib/plaid/models/entity_watchlist_screening_response.rb index 100a3e852..faa226f64 100644 --- a/lib/plaid/models/entity_watchlist_screening_response.rb +++ b/lib/plaid/models/entity_watchlist_screening_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/entity_watchlist_screening_review.rb b/lib/plaid/models/entity_watchlist_screening_review.rb index fc72d7ba9..c7a011772 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/entity_watchlist_screening_review_response.rb b/lib/plaid/models/entity_watchlist_screening_review_response.rb index b2622f39c..2b9f8d264 100644 --- a/lib/plaid/models/entity_watchlist_screening_review_response.rb +++ b/lib/plaid/models/entity_watchlist_screening_review_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/entity_watchlist_screening_search_terms.rb b/lib/plaid/models/entity_watchlist_screening_search_terms.rb index 55688fa7f..73d7ecf9a 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/entity_watchlist_search_terms.rb b/lib/plaid/models/entity_watchlist_search_terms.rb index 84a6742bd..b7448454c 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/error.rb b/lib/plaid/models/error.rb index 9fc0af4d3..8b2321ace 100644 --- a/lib/plaid/models/error.rb +++ b/lib/plaid/models/error.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/expiration_date.rb b/lib/plaid/models/expiration_date.rb index 7899006b1..4d56d7c0b 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/external_payment_initiation_consent_options.rb b/lib/plaid/models/external_payment_initiation_consent_options.rb index fcd5b6b74..154d34b23 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/external_payment_options.rb b/lib/plaid/models/external_payment_options.rb index 7707df97a..712feb7e2 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/external_payment_refund_details.rb b/lib/plaid/models/external_payment_refund_details.rb index 8d6a1e8eb..aa4fca2b9 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/external_payment_schedule_base.rb b/lib/plaid/models/external_payment_schedule_base.rb index 43a7bb00e..a3e7f27ae 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/external_payment_schedule_get.rb b/lib/plaid/models/external_payment_schedule_get.rb index 6e9fca9c6..aaa6da08c 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/external_payment_schedule_request.rb b/lib/plaid/models/external_payment_schedule_request.rb index 321d11859..3b5c12cd0 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/form1099_type.rb b/lib/plaid/models/form1099_type.rb new file mode 100644 index 000000000..1428689f8 --- /dev/null +++ b/lib/plaid/models/form1099_type.rb @@ -0,0 +1,40 @@ +=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.161.5 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 5.1.1 + +=end + +require 'date' +require 'time' + +module Plaid + class Form1099Type + UNKNOWN = "FORM_1099_TYPE_UNKNOWN".freeze + MISC = "FORM_1099_TYPE_MISC".freeze + K = "FORM_1099_TYPE_K".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/generic_screening_hit_location_items.rb b/lib/plaid/models/generic_screening_hit_location_items.rb index e6fbfec1b..66492245e 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/get_dashboard_user_request.rb b/lib/plaid/models/get_dashboard_user_request.rb index c2f399f64..73d073b43 100644 --- a/lib/plaid/models/get_dashboard_user_request.rb +++ b/lib/plaid/models/get_dashboard_user_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/get_entity_watchlist_screening_request.rb b/lib/plaid/models/get_entity_watchlist_screening_request.rb index 84e3d9fcb..f21b0ce31 100644 --- a/lib/plaid/models/get_entity_watchlist_screening_request.rb +++ b/lib/plaid/models/get_entity_watchlist_screening_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/get_identity_verification_request.rb b/lib/plaid/models/get_identity_verification_request.rb index 1264575e3..f32e14379 100644 --- a/lib/plaid/models/get_identity_verification_request.rb +++ b/lib/plaid/models/get_identity_verification_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/get_individual_watchlist_screening_request.rb b/lib/plaid/models/get_individual_watchlist_screening_request.rb index 64644396a..0604f4190 100644 --- a/lib/plaid/models/get_individual_watchlist_screening_request.rb +++ b/lib/plaid/models/get_individual_watchlist_screening_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/get_watchlist_screening_entity_program_request.rb b/lib/plaid/models/get_watchlist_screening_entity_program_request.rb index 4ee310fdc..df28cc7d1 100644 --- a/lib/plaid/models/get_watchlist_screening_entity_program_request.rb +++ b/lib/plaid/models/get_watchlist_screening_entity_program_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/get_watchlist_screening_individual_program_request.rb b/lib/plaid/models/get_watchlist_screening_individual_program_request.rb index 18ef8c876..8607faa3a 100644 --- a/lib/plaid/models/get_watchlist_screening_individual_program_request.rb +++ b/lib/plaid/models/get_watchlist_screening_individual_program_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/health_incident.rb b/lib/plaid/models/health_incident.rb index 7b92344d9..14c8e6fbc 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/historical_balance.rb b/lib/plaid/models/historical_balance.rb index e70b4828b..ec27eb9ec 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/historical_update_webhook.rb b/lib/plaid/models/historical_update_webhook.rb index 8382221af..6f04e8e26 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -60,6 +60,7 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'error', ]) end diff --git a/lib/plaid/models/holding.rb b/lib/plaid/models/holding.rb index ea8c1abd0..c72f1568b 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/holdings_default_update_webhook.rb b/lib/plaid/models/holdings_default_update_webhook.rb index fc8f08fab..30fb8d0fe 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -65,6 +65,7 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'error', ]) end diff --git a/lib/plaid/models/holdings_override.rb b/lib/plaid/models/holdings_override.rb index a4ef893f1..a2ec14309 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/id_number_type.rb b/lib/plaid/models/id_number_type.rb index d587ccd67..6922a8f1b 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/identity_default_update_webhook.rb b/lib/plaid/models/identity_default_update_webhook.rb index 6979abf86..bb8bcccb1 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -60,6 +60,7 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'error' ]) end @@ -121,10 +122,6 @@ def list_invalid_properties invalid_properties.push('invalid value for "account_ids_with_updated_identity", account_ids_with_updated_identity cannot be nil.') end - if @error.nil? - invalid_properties.push('invalid value for "error", error cannot be nil.') - end - invalid_properties end @@ -135,7 +132,6 @@ def valid? return false if @webhook_code.nil? return false if @item_id.nil? return false if @account_ids_with_updated_identity.nil? - return false if @error.nil? true end diff --git a/lib/plaid/models/identity_get_request.rb b/lib/plaid/models/identity_get_request.rb index d0a204c94..54ce9663e 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/identity_get_request_options.rb b/lib/plaid/models/identity_get_request_options.rb index 511f20c2d..472f380b1 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/identity_get_response.rb b/lib/plaid/models/identity_get_response.rb index b5d41c498..549eadc73 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/identity_match_request.rb b/lib/plaid/models/identity_match_request.rb index 83c124c93..b59c15404 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/identity_match_request_options.rb b/lib/plaid/models/identity_match_request_options.rb index 8510d81a5..6f81f8078 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/identity_match_response.rb b/lib/plaid/models/identity_match_response.rb index 913ecec35..7762398ce 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/identity_match_user.rb b/lib/plaid/models/identity_match_user.rb index 213fbc992..c620e6bb7 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/identity_update_types.rb b/lib/plaid/models/identity_update_types.rb index 9f0a861b0..624f21cdb 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/identity_verification.rb b/lib/plaid/models/identity_verification.rb index dc00aeeb1..e07cda026 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/identity_verification_create_request.rb b/lib/plaid/models/identity_verification_create_request.rb index ea16b1dbc..0f5e3f17a 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/identity_verification_request_user.rb b/lib/plaid/models/identity_verification_request_user.rb index 5e811b0c5..6a3baa4de 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/identity_verification_response.rb b/lib/plaid/models/identity_verification_response.rb index 9e253a3c0..556b47d5f 100644 --- a/lib/plaid/models/identity_verification_response.rb +++ b/lib/plaid/models/identity_verification_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/identity_verification_retried_webhook.rb b/lib/plaid/models/identity_verification_retried_webhook.rb index fb07ce001..bbf74084e 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/identity_verification_retry_request.rb b/lib/plaid/models/identity_verification_retry_request.rb index 1437a6f69..83e801980 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/identity_verification_retry_request_steps_object.rb b/lib/plaid/models/identity_verification_retry_request_steps_object.rb index 181ccac62..ebc0c70a8 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/identity_verification_status.rb b/lib/plaid/models/identity_verification_status.rb index ed0474af8..682ebf043 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/identity_verification_status_updated_webhook.rb b/lib/plaid/models/identity_verification_status_updated_webhook.rb index 2b008910a..b8d4a132c 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/identity_verification_step_status.rb b/lib/plaid/models/identity_verification_step_status.rb index 245bedb63..f26d5bd8c 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/identity_verification_step_summary.rb b/lib/plaid/models/identity_verification_step_summary.rb index d0df65cb9..cc164fe93 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/identity_verification_step_updated_webhook.rb b/lib/plaid/models/identity_verification_step_updated_webhook.rb index bfa49c555..318b90f18 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/identity_verification_template_reference.rb b/lib/plaid/models/identity_verification_template_reference.rb index 259ab669d..831e717e3 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/identity_verification_user_address.rb b/lib/plaid/models/identity_verification_user_address.rb index 68c818169..717ce2c94 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/identity_verification_user_data.rb b/lib/plaid/models/identity_verification_user_data.rb index 96eef1ff7..de5ecd03a 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/image_quality.rb b/lib/plaid/models/image_quality.rb index ceab7626d..d11436fd6 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/incident_update.rb b/lib/plaid/models/incident_update.rb index 471bffe20..04d601441 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/income_breakdown.rb b/lib/plaid/models/income_breakdown.rb index 51e651197..18a4470e2 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/income_breakdown_type.rb b/lib/plaid/models/income_breakdown_type.rb index 8da14361d..d208c4dc4 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/income_override.rb b/lib/plaid/models/income_override.rb index bb7523f39..24aee2fcd 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/income_summary.rb b/lib/plaid/models/income_summary.rb index e810af9e3..b062f1da1 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/income_summary_field_number.rb b/lib/plaid/models/income_summary_field_number.rb index 7875b10c3..7e1e354c3 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/income_summary_field_string.rb b/lib/plaid/models/income_summary_field_string.rb index 6e35dfaf9..da5f7e9aa 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/income_verification_create_request.rb b/lib/plaid/models/income_verification_create_request.rb index 0a42d1564..dac436d51 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/income_verification_create_request_options.rb b/lib/plaid/models/income_verification_create_request_options.rb index f43dcb103..820f2f7e9 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/income_verification_create_response.rb b/lib/plaid/models/income_verification_create_response.rb index f69d7547d..772672ccb 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/income_verification_documents_download_request.rb b/lib/plaid/models/income_verification_documents_download_request.rb index e2ca98009..bc8bb65d4 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/income_verification_payroll_flow_type.rb b/lib/plaid/models/income_verification_payroll_flow_type.rb index a9ccfa2e3..2a9a90ef0 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/income_verification_paystubs_get_request.rb b/lib/plaid/models/income_verification_paystubs_get_request.rb index 848a05de4..0e7a20802 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/income_verification_paystubs_get_response.rb b/lib/plaid/models/income_verification_paystubs_get_response.rb index 2f6f257b5..c60695806 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -54,6 +54,7 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'error', ]) end diff --git a/lib/plaid/models/income_verification_precheck_confidence.rb b/lib/plaid/models/income_verification_precheck_confidence.rb index 1d491cb42..410546ccb 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/income_verification_precheck_employer.rb b/lib/plaid/models/income_verification_precheck_employer.rb index 132612911..fa720fcdc 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/income_verification_precheck_employer_address.rb b/lib/plaid/models/income_verification_precheck_employer_address.rb index 85dd5c7ee..78cc340c0 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/income_verification_precheck_employer_address_data.rb b/lib/plaid/models/income_verification_precheck_employer_address_data.rb index d6e8aeafc..333e26770 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/income_verification_precheck_military_info.rb b/lib/plaid/models/income_verification_precheck_military_info.rb index f03b1d1d3..45ddb00b9 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/income_verification_precheck_request.rb b/lib/plaid/models/income_verification_precheck_request.rb index 46fd93162..1a9722187 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/income_verification_precheck_response.rb b/lib/plaid/models/income_verification_precheck_response.rb index 324f2f709..c14e01c2d 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/income_verification_precheck_user.rb b/lib/plaid/models/income_verification_precheck_user.rb index 44dadd4f0..efeb5a5e5 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/income_verification_refresh_request.rb b/lib/plaid/models/income_verification_refresh_request.rb index 196e74b62..f7b714ac8 100644 --- a/lib/plaid/models/income_verification_refresh_request.rb +++ b/lib/plaid/models/income_verification_refresh_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/income_verification_refresh_response.rb b/lib/plaid/models/income_verification_refresh_response.rb index 3156b9585..f8a61c193 100644 --- a/lib/plaid/models/income_verification_refresh_response.rb +++ b/lib/plaid/models/income_verification_refresh_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/income_verification_source_type.rb b/lib/plaid/models/income_verification_source_type.rb index 8d40be2d9..d510c85a9 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/income_verification_status_webhook.rb b/lib/plaid/models/income_verification_status_webhook.rb index 612db5b37..0174e626f 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/income_verification_taxforms_get_request.rb b/lib/plaid/models/income_verification_taxforms_get_request.rb index bf5b23713..8471a14b6 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/income_verification_taxforms_get_response.rb b/lib/plaid/models/income_verification_taxforms_get_response.rb index 8e6c85497..c517288c7 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -54,6 +54,7 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'error' ]) end diff --git a/lib/plaid/models/income_verification_webhook_status.rb b/lib/plaid/models/income_verification_webhook_status.rb index 09113b4d0..d25b68255 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/individual_screening_hit_names.rb b/lib/plaid/models/individual_screening_hit_names.rb index c11bab643..30bf237e5 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/individual_watchlist_code.rb b/lib/plaid/models/individual_watchlist_code.rb index f6b0d30f1..a47ae04cc 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/individual_watchlist_program.rb b/lib/plaid/models/individual_watchlist_program.rb index 4feb93655..eb59965f2 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/individual_watchlist_program_response.rb b/lib/plaid/models/individual_watchlist_program_response.rb index 25d7d1545..4b72b6c4f 100644 --- a/lib/plaid/models/individual_watchlist_program_response.rb +++ b/lib/plaid/models/individual_watchlist_program_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/inflow_model.rb b/lib/plaid/models/inflow_model.rb index 9bfbf9d48..60f663ef8 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/initial_update_webhook.rb b/lib/plaid/models/initial_update_webhook.rb index ebb57def6..d75b58fa7 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/institution.rb b/lib/plaid/models/institution.rb index 36384d987..6fff59fa7 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/institution_status.rb b/lib/plaid/models/institution_status.rb index 44fa4e650..412bbc879 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/institutions_get_by_id_request.rb b/lib/plaid/models/institutions_get_by_id_request.rb index 17031638b..3044ebbcd 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/institutions_get_by_id_request_options.rb b/lib/plaid/models/institutions_get_by_id_request_options.rb index 034c6577d..75e100112 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/institutions_get_by_id_response.rb b/lib/plaid/models/institutions_get_by_id_response.rb index 1fe1b2063..254cb55fc 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/institutions_get_request.rb b/lib/plaid/models/institutions_get_request.rb index 5e40a735c..495d4a7be 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/institutions_get_request_options.rb b/lib/plaid/models/institutions_get_request_options.rb index 1355edfc8..66d91f172 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/institutions_get_response.rb b/lib/plaid/models/institutions_get_response.rb index 0a4415e21..a3a2151d5 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/institutions_search_account_filter.rb b/lib/plaid/models/institutions_search_account_filter.rb index c78259106..066a2af83 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/institutions_search_payment_initiation_options.rb b/lib/plaid/models/institutions_search_payment_initiation_options.rb index a50b6a114..d89d1476d 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/institutions_search_request.rb b/lib/plaid/models/institutions_search_request.rb index 0a94c5080..8a6c8a969 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/institutions_search_request_options.rb b/lib/plaid/models/institutions_search_request_options.rb index 7d522cc25..534cbabf9 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/institutions_search_response.rb b/lib/plaid/models/institutions_search_response.rb index 5eb4778fb..927044947 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/investment_account_subtype.rb b/lib/plaid/models/investment_account_subtype.rb index f541ff98d..63a4cabe7 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/investment_filter.rb b/lib/plaid/models/investment_filter.rb index 01d413bb2..12973b2f8 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/investment_holdings_get_request_options.rb b/lib/plaid/models/investment_holdings_get_request_options.rb index 98b7c21c3..f9accc8a1 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/investment_transaction.rb b/lib/plaid/models/investment_transaction.rb index 1a166afeb..1a2a4f999 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/investment_transaction_subtype.rb b/lib/plaid/models/investment_transaction_subtype.rb index 6904ecbd2..d723893dd 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/investment_transaction_type.rb b/lib/plaid/models/investment_transaction_type.rb index aecad498a..9e626e0c4 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/investments_default_update_webhook.rb b/lib/plaid/models/investments_default_update_webhook.rb index f40a9985f..cf0043528 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -65,6 +65,7 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'error', ]) end diff --git a/lib/plaid/models/investments_holdings_get_request.rb b/lib/plaid/models/investments_holdings_get_request.rb index 0656dd1f9..3a81291ab 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/investments_holdings_get_response.rb b/lib/plaid/models/investments_holdings_get_response.rb index 50edbfd6c..4bb41a76e 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/investments_transactions_get_request.rb b/lib/plaid/models/investments_transactions_get_request.rb index 8863c1b60..255343af4 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/investments_transactions_get_request_options.rb b/lib/plaid/models/investments_transactions_get_request_options.rb index b64aeead2..53ae6862e 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/investments_transactions_get_response.rb b/lib/plaid/models/investments_transactions_get_response.rb index dcb4509ae..420c19df6 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/investments_transactions_override.rb b/lib/plaid/models/investments_transactions_override.rb index 8476af3a0..9c9fb4b06 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/issuing_country.rb b/lib/plaid/models/issuing_country.rb index 66a8de906..9ecb55008 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item.rb b/lib/plaid/models/item.rb index 008e5144d..bd8d49b7c 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -94,7 +94,7 @@ def self.openapi_types :'item_id' => :'String', :'institution_id' => :'String', :'webhook' => :'String', - :'error' => :'Error', + :'error' => :'PlaidError', :'available_products' => :'Array', :'billed_products' => :'Array', :'products' => :'Array', diff --git a/lib/plaid/models/item_access_token_invalidate_request.rb b/lib/plaid/models/item_access_token_invalidate_request.rb index d8b35aed3..692fcde77 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item_access_token_invalidate_response.rb b/lib/plaid/models/item_access_token_invalidate_response.rb index 096732142..58789c778 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item_application_list_request.rb b/lib/plaid/models/item_application_list_request.rb index f351bfea6..7564c288b 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item_application_list_response.rb b/lib/plaid/models/item_application_list_response.rb index 8f6ac299c..309e8f26c 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item_application_list_user_auth.rb b/lib/plaid/models/item_application_list_user_auth.rb index 8e9705418..54f64d5de 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item_application_scopes_update_request.rb b/lib/plaid/models/item_application_scopes_update_request.rb index 97f56afa6..0eb035f2f 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item_application_scopes_update_response.rb b/lib/plaid/models/item_application_scopes_update_response.rb index 5889c3550..02fa79802 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item_error_webhook.rb b/lib/plaid/models/item_error_webhook.rb index 0d4c4565e..4ef61a535 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -55,6 +55,7 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'error' ]) end @@ -106,10 +107,6 @@ def list_invalid_properties invalid_properties.push('invalid value for "item_id", item_id cannot be nil.') end - if @error.nil? - invalid_properties.push('invalid value for "error", error cannot be nil.') - end - invalid_properties end @@ -119,7 +116,6 @@ def valid? return false if @webhook_type.nil? return false if @webhook_code.nil? return false if @item_id.nil? - return false if @error.nil? true end diff --git a/lib/plaid/models/item_get_request.rb b/lib/plaid/models/item_get_request.rb index 34b8eb5fd..ec2a8193d 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item_get_response.rb b/lib/plaid/models/item_get_response.rb index 862518549..26cc02d4e 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item_import_request.rb b/lib/plaid/models/item_import_request.rb index 1802e991f..68caaba30 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item_import_request_options.rb b/lib/plaid/models/item_import_request_options.rb index 8b60d4a0d..274c5038a 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item_import_request_user_auth.rb b/lib/plaid/models/item_import_request_user_auth.rb index ceea160bd..60a7f05eb 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item_import_response.rb b/lib/plaid/models/item_import_response.rb index 4a74ab6a1..89c35066e 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item_product_ready_webhook.rb b/lib/plaid/models/item_product_ready_webhook.rb index 028c1dcdb..17cc5755b 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -55,6 +55,7 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'error' ]) end diff --git a/lib/plaid/models/item_public_token_create_request.rb b/lib/plaid/models/item_public_token_create_request.rb index 5fc3efa55..2658aa3b1 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item_public_token_create_response.rb b/lib/plaid/models/item_public_token_create_response.rb index 06e88f121..8fddb6609 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item_public_token_exchange_request.rb b/lib/plaid/models/item_public_token_exchange_request.rb index c0b2e2848..d9cbdbf84 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item_public_token_exchange_response.rb b/lib/plaid/models/item_public_token_exchange_response.rb index 7b27b683b..ee29b1b4a 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item_remove_request.rb b/lib/plaid/models/item_remove_request.rb index 7a5bd0617..13169be2d 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item_remove_response.rb b/lib/plaid/models/item_remove_response.rb index 49cd48f3d..f67ecc042 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item_status.rb b/lib/plaid/models/item_status.rb index 40b7d534f..a578c5653 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item_status_investments.rb b/lib/plaid/models/item_status_investments.rb index dbb2e9ffe..18dfaedf9 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item_status_last_webhook.rb b/lib/plaid/models/item_status_last_webhook.rb index 4d1197467..7de59a5ae 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item_status_nullable.rb b/lib/plaid/models/item_status_nullable.rb index 5ceca5ce8..cec1c7843 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item_status_transactions.rb b/lib/plaid/models/item_status_transactions.rb index b67649a52..1fb4608de 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item_webhook_update_request.rb b/lib/plaid/models/item_webhook_update_request.rb index 95a8d1926..ef7131828 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/item_webhook_update_response.rb b/lib/plaid/models/item_webhook_update_response.rb index e5e0116b7..f445b1643 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/jwk_public_key.rb b/lib/plaid/models/jwk_public_key.rb index 23427d8c9..6b59692f3 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/jwt_header.rb b/lib/plaid/models/jwt_header.rb index 074b6a797..d0509332f 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/kyc_check_address_summary.rb b/lib/plaid/models/kyc_check_address_summary.rb index 3bec189df..56006a2bd 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/kyc_check_date_of_birth_summary.rb b/lib/plaid/models/kyc_check_date_of_birth_summary.rb index c3322cc28..595d6e513 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/kyc_check_details.rb b/lib/plaid/models/kyc_check_details.rb index 4bdfbbade..c17c1b1ee 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/kyc_check_id_number_summary.rb b/lib/plaid/models/kyc_check_id_number_summary.rb index b283aed19..89848e9e1 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/kyc_check_name_summary.rb b/lib/plaid/models/kyc_check_name_summary.rb index ffcf5be75..cb7c80bbd 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/kyc_check_phone_summary.rb b/lib/plaid/models/kyc_check_phone_summary.rb index 227c13709..88caedaea 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/liabilities_default_update_webhook.rb b/lib/plaid/models/liabilities_default_update_webhook.rb index 7c9ff92e0..28f140f02 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -65,6 +65,7 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'error', ]) end @@ -128,10 +129,6 @@ def list_invalid_properties invalid_properties.push('invalid value for "item_id", item_id cannot be nil.') end - if @error.nil? - invalid_properties.push('invalid value for "error", error cannot be nil.') - end - if @account_ids_with_new_liabilities.nil? invalid_properties.push('invalid value for "account_ids_with_new_liabilities", account_ids_with_new_liabilities cannot be nil.') end @@ -149,7 +146,6 @@ def valid? return false if @webhook_type.nil? return false if @webhook_code.nil? return false if @item_id.nil? - return false if @error.nil? return false if @account_ids_with_new_liabilities.nil? return false if @account_ids_with_updated_liabilities.nil? true diff --git a/lib/plaid/models/liabilities_get_request.rb b/lib/plaid/models/liabilities_get_request.rb index 65e4a7062..b26de7347 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/liabilities_get_request_options.rb b/lib/plaid/models/liabilities_get_request_options.rb index 49b458a2a..1f31916f7 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/liabilities_get_response.rb b/lib/plaid/models/liabilities_get_response.rb index 42ac7ccee..42f73058e 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/liabilities_object.rb b/lib/plaid/models/liabilities_object.rb index e8d306bca..aab7ced2f 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/liability_override.rb b/lib/plaid/models/liability_override.rb index a69898b5a..202eb4634 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/link_token_account_filters.rb b/lib/plaid/models/link_token_account_filters.rb index 5e522fd7a..a94280ebb 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/link_token_create_credit_filter.rb b/lib/plaid/models/link_token_create_credit_filter.rb index b47e60b39..702923e1c 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/link_token_create_depository_filter.rb b/lib/plaid/models/link_token_create_depository_filter.rb index aef70791c..c2760425a 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/link_token_create_institution_data.rb b/lib/plaid/models/link_token_create_institution_data.rb index 207597f95..7f3d21045 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/link_token_create_investment_filter.rb b/lib/plaid/models/link_token_create_investment_filter.rb index f086253d8..eda59b24c 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/link_token_create_loan_filter.rb b/lib/plaid/models/link_token_create_loan_filter.rb index bf957329d..f342fac9d 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/link_token_create_request.rb b/lib/plaid/models/link_token_create_request.rb index 17566e746..40f297dd8 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 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 a1f15e2b7..da8c593cb 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/link_token_create_request_auth.rb b/lib/plaid/models/link_token_create_request_auth.rb index 55ad0e0e1..d1fb575f2 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 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 b70d8494f..e6a2bb9b0 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/link_token_create_request_identity_verification.rb b/lib/plaid/models/link_token_create_request_identity_verification.rb index 0ffbd7695..3a2349639 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -19,14 +19,17 @@ class LinkTokenCreateRequestIdentityVerification # ID of the associated Identity Verification template. attr_accessor :template_id - # A flag specifying whether the end user has already agreed to a privacy policy specifying that their data will be shared with Plaid for verification purposes. If `gave_consent` is set to `true`, the `accept_tos` step will be marked as `skipped` and the end user's session will start at the next step requirement. attr_accessor :consent + # A flag specifying whether the end user has already agreed to a privacy policy specifying that their data will be shared with Plaid for verification purposes. If `gave_consent` is set to `true`, the `accept_tos` step will be marked as `skipped` and the end user's session will start at the next step requirement. + attr_accessor :gave_consent + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'template_id' => :'template_id', - :'consent' => :'consent' + :'consent' => :'consent', + :'gave_consent' => :'gave_consent' } end @@ -39,7 +42,8 @@ def self.acceptable_attributes def self.openapi_types { :'template_id' => :'String', - :'consent' => :'Boolean' + :'consent' => :'Boolean', + :'gave_consent' => :'Boolean' } end @@ -70,8 +74,12 @@ def initialize(attributes = {}) if attributes.key?(:'consent') self.consent = attributes[:'consent'] + end + + if attributes.key?(:'gave_consent') + self.gave_consent = attributes[:'gave_consent'] else - self.consent = false + self.gave_consent = false end end @@ -99,7 +107,8 @@ def ==(o) return true if self.equal?(o) self.class == o.class && template_id == o.template_id && - consent == o.consent + consent == o.consent && + gave_consent == o.gave_consent end # @see the `==` method @@ -111,7 +120,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [template_id, consent].hash + [template_id, consent, gave_consent].hash end # Builds the object from hash 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 318da006d..ca70c7722 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/link_token_create_request_income_verification_bank_income.rb b/lib/plaid/models/link_token_create_request_income_verification_bank_income.rb index 24cb9575e..770a36419 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/link_token_create_request_income_verification_payroll_income.rb b/lib/plaid/models/link_token_create_request_income_verification_payroll_income.rb index 24728864e..6efb5a358 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/link_token_create_request_payment_initiation.rb b/lib/plaid/models/link_token_create_request_payment_initiation.rb index f92b13ab5..085e33cb9 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/link_token_create_request_transfer.rb b/lib/plaid/models/link_token_create_request_transfer.rb index 0fc27a0dc..616893a28 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -19,10 +19,14 @@ class LinkTokenCreateRequestTransfer # The `id` returned by the `/transfer/intent/create` endpoint. attr_accessor :intent_id + # The `payment_profile_id` returned by the `/payment_profile/create` endpoint. + attr_accessor :payment_profile_id + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { - :'intent_id' => :'intent_id' + :'intent_id' => :'intent_id', + :'payment_profile_id' => :'payment_profile_id' } end @@ -34,7 +38,8 @@ def self.acceptable_attributes # Attribute type mapping. def self.openapi_types { - :'intent_id' => :'String' + :'intent_id' => :'String', + :'payment_profile_id' => :'String' } end @@ -62,6 +67,10 @@ def initialize(attributes = {}) if attributes.key?(:'intent_id') self.intent_id = attributes[:'intent_id'] end + + if attributes.key?(:'payment_profile_id') + self.payment_profile_id = attributes[:'payment_profile_id'] + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -82,7 +91,8 @@ def valid? def ==(o) return true if self.equal?(o) self.class == o.class && - intent_id == o.intent_id + intent_id == o.intent_id && + payment_profile_id == o.payment_profile_id end # @see the `==` method @@ -94,7 +104,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [intent_id].hash + [intent_id, payment_profile_id].hash end # Builds the object from hash diff --git a/lib/plaid/models/link_token_create_request_update.rb b/lib/plaid/models/link_token_create_request_update.rb index 13af8b6b0..f74603cf8 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/link_token_create_request_user.rb b/lib/plaid/models/link_token_create_request_user.rb index 6c6ebd937..07bee99a6 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -19,9 +19,12 @@ class LinkTokenCreateRequestUser # A unique ID representing the end user. Typically this will be a user ID number from your application. Personally identifiable information, such as an email address or phone number, should not be used in the `client_user_id`. It is currently used as a means of searching logs for the given user in the Plaid Dashboard. attr_accessor :client_user_id - # The user's full legal name. This is an optional field used in the [returning user experience](https://plaid.com/docs/link/returning-user) to associate Items to the user. + # The user's full legal name. Currently used only to support certain legacy flows. attr_accessor :legal_name + # The user's full name. Optional if using the [Identity Verification](https://plaid.com/docs/api/products/identity-verification) product; if not using Identity Verification, this field is not allowed. Users will not be asked for their name when this field is provided. + attr_accessor :name + # The user's phone number in [E.164](https://en.wikipedia.org/wiki/E.164) format. This field is optional, but required to enable the [returning user experience](https://plaid.com/docs/link/returning-user). attr_accessor :phone_number @@ -34,23 +37,30 @@ class LinkTokenCreateRequestUser # The date and time the email address was verified in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDThh:mm:ssZ`). This is an optional field used in the [returning user experience](https://plaid.com/docs/link/returning-user). Only pass a verification time for an email address that you have verified. If you have performed verification but don’t have the time, you may supply a signal value of the start of the UNIX epoch. Example: `2020-01-01T00:00:00Z` attr_accessor :email_address_verified_time - # To be provided in the format \"ddd-dd-dddd\". This field is optional and will support not-yet-implemented functionality for new products. + # To be provided in the format \"ddd-dd-dddd\". Not currently used. attr_accessor :ssn - # To be provided in the format \"yyyy-mm-dd\". This field is optional and will support not-yet-implemented functionality for new products. + # To be provided in the format \"yyyy-mm-dd\". Not currently used. attr_accessor :date_of_birth + attr_accessor :address + + attr_accessor :id_number + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'client_user_id' => :'client_user_id', :'legal_name' => :'legal_name', + :'name' => :'name', :'phone_number' => :'phone_number', :'phone_number_verified_time' => :'phone_number_verified_time', :'email_address' => :'email_address', :'email_address_verified_time' => :'email_address_verified_time', :'ssn' => :'ssn', - :'date_of_birth' => :'date_of_birth' + :'date_of_birth' => :'date_of_birth', + :'address' => :'address', + :'id_number' => :'id_number' } end @@ -64,18 +74,23 @@ def self.openapi_types { :'client_user_id' => :'String', :'legal_name' => :'String', + :'name' => :'UserName', :'phone_number' => :'String', :'phone_number_verified_time' => :'Time', :'email_address' => :'String', :'email_address_verified_time' => :'Time', :'ssn' => :'String', - :'date_of_birth' => :'Date' + :'date_of_birth' => :'Date', + :'address' => :'UserAddress', + :'id_number' => :'UserIDNumber' } end # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'address', + :'id_number' ]) end @@ -102,6 +117,10 @@ def initialize(attributes = {}) self.legal_name = attributes[:'legal_name'] end + if attributes.key?(:'name') + self.name = attributes[:'name'] + end + if attributes.key?(:'phone_number') self.phone_number = attributes[:'phone_number'] end @@ -125,6 +144,14 @@ def initialize(attributes = {}) if attributes.key?(:'date_of_birth') self.date_of_birth = attributes[:'date_of_birth'] end + + if attributes.key?(:'address') + self.address = attributes[:'address'] + end + + if attributes.key?(:'id_number') + self.id_number = attributes[:'id_number'] + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -152,12 +179,15 @@ def ==(o) self.class == o.class && client_user_id == o.client_user_id && legal_name == o.legal_name && + name == o.name && phone_number == o.phone_number && phone_number_verified_time == o.phone_number_verified_time && email_address == o.email_address && email_address_verified_time == o.email_address_verified_time && ssn == o.ssn && - date_of_birth == o.date_of_birth + date_of_birth == o.date_of_birth && + address == o.address && + id_number == o.id_number end # @see the `==` method @@ -169,7 +199,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [client_user_id, legal_name, phone_number, phone_number_verified_time, email_address, email_address_verified_time, ssn, date_of_birth].hash + [client_user_id, legal_name, name, phone_number, phone_number_verified_time, email_address, email_address_verified_time, ssn, date_of_birth, address, id_number].hash end # Builds the object from hash 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 d66a2367c..fafdb7cd3 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/link_token_create_response.rb b/lib/plaid/models/link_token_create_response.rb index 466751597..c5b257551 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/link_token_eu_config.rb b/lib/plaid/models/link_token_eu_config.rb index fccd26338..6112268f3 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/link_token_get_metadata_response.rb b/lib/plaid/models/link_token_get_metadata_response.rb index 1bb1d93e3..2b32c4faf 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/link_token_get_request.rb b/lib/plaid/models/link_token_get_request.rb index af63800f0..5aa49672c 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/link_token_get_response.rb b/lib/plaid/models/link_token_get_response.rb index d991358e4..8b4a54e90 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/list_dashboard_user_request.rb b/lib/plaid/models/list_dashboard_user_request.rb index 27d9abfe8..eabe3e877 100644 --- a/lib/plaid/models/list_dashboard_user_request.rb +++ b/lib/plaid/models/list_dashboard_user_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/list_entity_watchlist_screening_request.rb b/lib/plaid/models/list_entity_watchlist_screening_request.rb index 9d4cd580e..1d6773206 100644 --- a/lib/plaid/models/list_entity_watchlist_screening_request.rb +++ b/lib/plaid/models/list_entity_watchlist_screening_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/list_identity_verification_request.rb b/lib/plaid/models/list_identity_verification_request.rb index 43ed0ed8c..362692836 100644 --- a/lib/plaid/models/list_identity_verification_request.rb +++ b/lib/plaid/models/list_identity_verification_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/list_individual_watchlist_screening_request.rb b/lib/plaid/models/list_individual_watchlist_screening_request.rb index f7f15a263..fe2aaeb92 100644 --- a/lib/plaid/models/list_individual_watchlist_screening_request.rb +++ b/lib/plaid/models/list_individual_watchlist_screening_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/list_watchlist_screening_entity_history_request.rb b/lib/plaid/models/list_watchlist_screening_entity_history_request.rb index c3fdb4307..f67c05ffe 100644 --- a/lib/plaid/models/list_watchlist_screening_entity_history_request.rb +++ b/lib/plaid/models/list_watchlist_screening_entity_history_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/list_watchlist_screening_entity_hit_request.rb b/lib/plaid/models/list_watchlist_screening_entity_hit_request.rb index 2cf17a2ff..d3233e1db 100644 --- a/lib/plaid/models/list_watchlist_screening_entity_hit_request.rb +++ b/lib/plaid/models/list_watchlist_screening_entity_hit_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/list_watchlist_screening_entity_programs_request.rb b/lib/plaid/models/list_watchlist_screening_entity_programs_request.rb index e481ee7c4..c5017f2a5 100644 --- a/lib/plaid/models/list_watchlist_screening_entity_programs_request.rb +++ b/lib/plaid/models/list_watchlist_screening_entity_programs_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/list_watchlist_screening_entity_reviews_request.rb b/lib/plaid/models/list_watchlist_screening_entity_reviews_request.rb index 48a1860ba..3addf8ca3 100644 --- a/lib/plaid/models/list_watchlist_screening_entity_reviews_request.rb +++ b/lib/plaid/models/list_watchlist_screening_entity_reviews_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/list_watchlist_screening_individual_history_request.rb b/lib/plaid/models/list_watchlist_screening_individual_history_request.rb index cf5001cfa..815f5cfba 100644 --- a/lib/plaid/models/list_watchlist_screening_individual_history_request.rb +++ b/lib/plaid/models/list_watchlist_screening_individual_history_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/list_watchlist_screening_individual_hit_request.rb b/lib/plaid/models/list_watchlist_screening_individual_hit_request.rb index 60d048f79..2d5759da1 100644 --- a/lib/plaid/models/list_watchlist_screening_individual_hit_request.rb +++ b/lib/plaid/models/list_watchlist_screening_individual_hit_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/list_watchlist_screening_individual_programs_request.rb b/lib/plaid/models/list_watchlist_screening_individual_programs_request.rb index c2b211895..7739d99a0 100644 --- a/lib/plaid/models/list_watchlist_screening_individual_programs_request.rb +++ b/lib/plaid/models/list_watchlist_screening_individual_programs_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/list_watchlist_screening_individual_reviews_request.rb b/lib/plaid/models/list_watchlist_screening_individual_reviews_request.rb index 180edd72d..6f55bbb6b 100644 --- a/lib/plaid/models/list_watchlist_screening_individual_reviews_request.rb +++ b/lib/plaid/models/list_watchlist_screening_individual_reviews_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/loan_account_subtype.rb b/lib/plaid/models/loan_account_subtype.rb index 1b06afa45..98249cf47 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/loan_filter.rb b/lib/plaid/models/loan_filter.rb index a5fba548d..108005501 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/location.rb b/lib/plaid/models/location.rb index b78564321..cd1a41b8f 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/match_summary.rb b/lib/plaid/models/match_summary.rb index c584b2de7..8627a39ba 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/match_summary_code.rb b/lib/plaid/models/match_summary_code.rb index 3345526c5..96bd34f48 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/meta.rb b/lib/plaid/models/meta.rb index 5902298eb..8709edbcc 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/mfa.rb b/lib/plaid/models/mfa.rb index a7d0ff0b4..dfca85804 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/mortgage_interest_rate.rb b/lib/plaid/models/mortgage_interest_rate.rb index 0932318cc..18e4096ac 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/mortgage_liability.rb b/lib/plaid/models/mortgage_liability.rb index dc3bf28fd..89c829b10 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/mortgage_property_address.rb b/lib/plaid/models/mortgage_property_address.rb index 9169310d5..4aa2ad279 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/multi_document_risk_signal.rb b/lib/plaid/models/multi_document_risk_signal.rb index 4872f2947..f370869f9 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/net_pay.rb b/lib/plaid/models/net_pay.rb index 65cef4a6d..5ca91f0c4 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/new_accounts_available_webhook.rb b/lib/plaid/models/new_accounts_available_webhook.rb index 8427d31d9..a7969858a 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -55,6 +55,7 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'error' ]) end diff --git a/lib/plaid/models/numbers.rb b/lib/plaid/models/numbers.rb index ec99e4360..c41757720 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/numbers_ach.rb b/lib/plaid/models/numbers_ach.rb index 6c90b1d56..105f43420 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/numbers_ach_nullable.rb b/lib/plaid/models/numbers_ach_nullable.rb index b09cab92e..4e28176cc 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/numbers_bacs.rb b/lib/plaid/models/numbers_bacs.rb index 31b5a7016..afd0e6b9c 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/numbers_bacs_nullable.rb b/lib/plaid/models/numbers_bacs_nullable.rb index 6f64957d4..468f80176 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/numbers_eft.rb b/lib/plaid/models/numbers_eft.rb index 75a7d86c9..d3f472ed0 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/numbers_eft_nullable.rb b/lib/plaid/models/numbers_eft_nullable.rb index 54a681594..ace824c6e 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/numbers_iban_nullable.rb b/lib/plaid/models/numbers_iban_nullable.rb index c9b65ef7d..c813d7c0b 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/numbers_international.rb b/lib/plaid/models/numbers_international.rb index 10c2de2ff..4e1be0ce9 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/numbers_international_iban.rb b/lib/plaid/models/numbers_international_iban.rb index 6a2e95931..01a3dc403 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/numbers_international_nullable.rb b/lib/plaid/models/numbers_international_nullable.rb index 37522607a..8890b9e59 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/override_account_type.rb b/lib/plaid/models/override_account_type.rb index 55aaf999a..fe4378c85 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/override_accounts.rb b/lib/plaid/models/override_accounts.rb index ff76df98c..02acf0e9f 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/owner.rb b/lib/plaid/models/owner.rb index d9a15aeb8..8db2684a8 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/owner_override.rb b/lib/plaid/models/owner_override.rb index 32a8f7d3b..4d0004593 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/paginated_dashboard_user_list_response.rb b/lib/plaid/models/paginated_dashboard_user_list_response.rb index e57ca79d6..4ed81aa7d 100644 --- a/lib/plaid/models/paginated_dashboard_user_list_response.rb +++ b/lib/plaid/models/paginated_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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/paginated_entity_watchlist_program_list_response.rb b/lib/plaid/models/paginated_entity_watchlist_program_list_response.rb index 3dfb7c302..6f716ecf8 100644 --- a/lib/plaid/models/paginated_entity_watchlist_program_list_response.rb +++ b/lib/plaid/models/paginated_entity_watchlist_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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/paginated_entity_watchlist_screening_hit_list_response.rb b/lib/plaid/models/paginated_entity_watchlist_screening_hit_list_response.rb index 19055145d..58841b2b2 100644 --- a/lib/plaid/models/paginated_entity_watchlist_screening_hit_list_response.rb +++ b/lib/plaid/models/paginated_entity_watchlist_screening_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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/paginated_entity_watchlist_screening_list_response.rb b/lib/plaid/models/paginated_entity_watchlist_screening_list_response.rb index 6a42c0ef5..7ca8f882b 100644 --- a/lib/plaid/models/paginated_entity_watchlist_screening_list_response.rb +++ b/lib/plaid/models/paginated_entity_watchlist_screening_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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/paginated_entity_watchlist_screening_review_list_response.rb b/lib/plaid/models/paginated_entity_watchlist_screening_review_list_response.rb index db31f351b..812341a4f 100644 --- a/lib/plaid/models/paginated_entity_watchlist_screening_review_list_response.rb +++ b/lib/plaid/models/paginated_entity_watchlist_screening_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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/paginated_identity_verification_list_response.rb b/lib/plaid/models/paginated_identity_verification_list_response.rb index 3d155554c..8c9c05bf6 100644 --- a/lib/plaid/models/paginated_identity_verification_list_response.rb +++ b/lib/plaid/models/paginated_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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/paginated_individual_watchlist_program_list_response.rb b/lib/plaid/models/paginated_individual_watchlist_program_list_response.rb index 5d004a03e..83a18645b 100644 --- a/lib/plaid/models/paginated_individual_watchlist_program_list_response.rb +++ b/lib/plaid/models/paginated_individual_watchlist_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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/paginated_individual_watchlist_screening_hit_list_response.rb b/lib/plaid/models/paginated_individual_watchlist_screening_hit_list_response.rb index 886378412..7a2152191 100644 --- a/lib/plaid/models/paginated_individual_watchlist_screening_hit_list_response.rb +++ b/lib/plaid/models/paginated_individual_watchlist_screening_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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/paginated_individual_watchlist_screening_list_response.rb b/lib/plaid/models/paginated_individual_watchlist_screening_list_response.rb index cde79cd13..f0e7884dd 100644 --- a/lib/plaid/models/paginated_individual_watchlist_screening_list_response.rb +++ b/lib/plaid/models/paginated_individual_watchlist_screening_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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/paginated_individual_watchlist_screening_review_list_response.rb b/lib/plaid/models/paginated_individual_watchlist_screening_review_list_response.rb index 63576cb6e..f8e3503e4 100644 --- a/lib/plaid/models/paginated_individual_watchlist_screening_review_list_response.rb +++ b/lib/plaid/models/paginated_individual_watchlist_screening_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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/partner_customers_create_request.rb b/lib/plaid/models/partner_customers_create_request.rb new file mode 100644 index 000000000..e6514be15 --- /dev/null +++ b/lib/plaid/models/partner_customers_create_request.rb @@ -0,0 +1,287 @@ +=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.161.5 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 5.1.1 + +=end + +require 'date' +require 'time' + +module Plaid + # Request schema for `/partner/v1/customers/create`. + class PartnerCustomersCreateRequest + # 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 company name of the end customer being created. + attr_accessor :company_name + + # Denotes whether or not the partner has completed attestation of diligence for the end customer to be created. + attr_accessor :is_diligence_attested + + # The products to be enabled on for the end customer. + attr_accessor :products + + # If true, sets end customer's link customization to match partner's link customization. + attr_accessor :create_link_customization + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'client_id' => :'client_id', + :'secret' => :'secret', + :'company_name' => :'company_name', + :'is_diligence_attested' => :'is_diligence_attested', + :'products' => :'products', + :'create_link_customization' => :'create_link_customization' + } + 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', + :'company_name' => :'String', + :'is_diligence_attested' => :'Boolean', + :'products' => :'Array', + :'create_link_customization' => :'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::PartnerCustomersCreateRequest` 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::PartnerCustomersCreateRequest`. 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?(:'company_name') + self.company_name = attributes[:'company_name'] + end + + if attributes.key?(:'is_diligence_attested') + self.is_diligence_attested = attributes[:'is_diligence_attested'] + end + + if attributes.key?(:'products') + if (value = attributes[:'products']).is_a?(Array) + self.products = value + end + end + + if attributes.key?(:'create_link_customization') + self.create_link_customization = attributes[:'create_link_customization'] + 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 @company_name.nil? + invalid_properties.push('invalid value for "company_name", company_name cannot be nil.') + end + + if @is_diligence_attested.nil? + invalid_properties.push('invalid value for "is_diligence_attested", is_diligence_attested cannot be nil.') + end + + if @products.nil? + invalid_properties.push('invalid value for "products", products 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 @company_name.nil? + return false if @is_diligence_attested.nil? + return false if @products.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 && + company_name == o.company_name && + is_diligence_attested == o.is_diligence_attested && + products == o.products && + create_link_customization == o.create_link_customization + 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, company_name, is_diligence_attested, products, create_link_customization].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/partner_customers_create_response.rb b/lib/plaid/models/partner_customers_create_response.rb new file mode 100644 index 000000000..fa21c8331 --- /dev/null +++ b/lib/plaid/models/partner_customers_create_response.rb @@ -0,0 +1,238 @@ +=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.161.5 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 5.1.1 + +=end + +require 'date' +require 'time' + +module Plaid + # Response schema for `/partner/v1/customers/create`. + class PartnerCustomersCreateResponse + attr_accessor :end_customer + + attr_accessor :production_secret + + # A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive. + attr_accessor :request_id + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'end_customer' => :'end_customer', + :'production_secret' => :'production_secret', + :'request_id' => :'request_id' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'end_customer' => :'PartnerEndCustomerClient', + :'production_secret' => :'String', + :'request_id' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::PartnerCustomersCreateResponse` 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::PartnerCustomersCreateResponse`. 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?(:'end_customer') + self.end_customer = attributes[:'end_customer'] + end + + if attributes.key?(:'production_secret') + self.production_secret = attributes[:'production_secret'] + end + + if attributes.key?(:'request_id') + self.request_id = attributes[:'request_id'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + end_customer == o.end_customer && + production_secret == o.production_secret && + request_id == o.request_id + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [end_customer, production_secret, request_id].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/partner_end_customer_client.rb b/lib/plaid/models/partner_end_customer_client.rb new file mode 100644 index 000000000..e758c9176 --- /dev/null +++ b/lib/plaid/models/partner_end_customer_client.rb @@ -0,0 +1,229 @@ +=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.161.5 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 5.1.1 + +=end + +require 'date' +require 'time' + +module Plaid + # The end customer details for the newly-created customer client. + class PartnerEndCustomerClient + # Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body. + attr_accessor :client_id + + attr_accessor :company_name + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'client_id' => :'client_id', + :'company_name' => :'company_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 + { + :'client_id' => :'String', + :'company_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::PartnerEndCustomerClient` 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::PartnerEndCustomerClient`. 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?(:'company_name') + self.company_name = attributes[:'company_name'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + client_id == o.client_id && + company_name == o.company_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 + [client_id, company_name].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/pay.rb b/lib/plaid/models/pay.rb index 6883fce6d..ff94750b1 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/pay_frequency.rb b/lib/plaid/models/pay_frequency.rb index 6ace2e852..777122b5a 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/pay_frequency_value.rb b/lib/plaid/models/pay_frequency_value.rb index 06df76746..4197506c4 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/pay_period_details.rb b/lib/plaid/models/pay_period_details.rb index 3fd73738f..40f49ba23 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/pay_stub_deductions_breakdown.rb b/lib/plaid/models/pay_stub_deductions_breakdown.rb index 343bb933c..fcdcbb8ac 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/pay_stub_deductions_total.rb b/lib/plaid/models/pay_stub_deductions_total.rb index 4ef796939..bd6ce5d33 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/pay_stub_distribution_breakdown.rb b/lib/plaid/models/pay_stub_distribution_breakdown.rb index aac614f64..660759a30 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/pay_stub_earnings_breakdown.rb b/lib/plaid/models/pay_stub_earnings_breakdown.rb index ab963555b..12a6fa261 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/pay_stub_earnings_total.rb b/lib/plaid/models/pay_stub_earnings_total.rb index a3ae6dfa4..3e2e75123 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/pay_stub_pay_period_details.rb b/lib/plaid/models/pay_stub_pay_period_details.rb index 265d63b1a..e5b14b1f8 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/pay_stub_taxpayer_id.rb b/lib/plaid/models/pay_stub_taxpayer_id.rb index 5da22693d..a8667e043 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/pay_stub_verification_attribute.rb b/lib/plaid/models/pay_stub_verification_attribute.rb index dd615462c..c2db6723a 100644 --- a/lib/plaid/models/pay_stub_verification_attribute.rb +++ b/lib/plaid/models/pay_stub_verification_attribute.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_amount.rb b/lib/plaid/models/payment_amount.rb index 522d5f136..51122490e 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_amount_currency.rb b/lib/plaid/models/payment_amount_currency.rb index 86c9b1ffb..6186daa72 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_channel.rb b/lib/plaid/models/payment_channel.rb index fc3f7e555..21bea5449 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_consent_max_payment_amount.rb b/lib/plaid/models/payment_consent_max_payment_amount.rb index 18d91ec65..77f151c4b 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_consent_periodic_alignment.rb b/lib/plaid/models/payment_consent_periodic_alignment.rb index b600ce3e4..450e78a78 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_consent_periodic_amount.rb b/lib/plaid/models/payment_consent_periodic_amount.rb index 6c6650995..906683852 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_consent_periodic_amount_amount.rb b/lib/plaid/models/payment_consent_periodic_amount_amount.rb index f85eeddc0..207bd40cf 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_consent_periodic_interval.rb b/lib/plaid/models/payment_consent_periodic_interval.rb index 3c426479e..bec53f4fc 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_consent_valid_date_time.rb b/lib/plaid/models/payment_consent_valid_date_time.rb index 73e557d9b..6c296931b 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_address.rb b/lib/plaid/models/payment_initiation_address.rb index 571664a66..d71cb7204 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_consent.rb b/lib/plaid/models/payment_initiation_consent.rb index 9696423ac..74e612d7f 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_consent_constraints.rb b/lib/plaid/models/payment_initiation_consent_constraints.rb index ac0197b69..01f14d272 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_consent_create_request.rb b/lib/plaid/models/payment_initiation_consent_create_request.rb index ca7243d95..69c254722 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_consent_create_response.rb b/lib/plaid/models/payment_initiation_consent_create_response.rb index 1833b26a1..2c02cffd3 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_consent_get_request.rb b/lib/plaid/models/payment_initiation_consent_get_request.rb index 3dde56ccb..480ee7f45 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_consent_get_response.rb b/lib/plaid/models/payment_initiation_consent_get_response.rb index 9f1557fa9..81aad18ba 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_consent_payment_execute_request.rb b/lib/plaid/models/payment_initiation_consent_payment_execute_request.rb index 5bf9cec11..0c214fec8 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_consent_payment_execute_response.rb b/lib/plaid/models/payment_initiation_consent_payment_execute_response.rb index 0636ebf3d..dae929b5c 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_consent_revoke_request.rb b/lib/plaid/models/payment_initiation_consent_revoke_request.rb index 60659551d..b5707a9ee 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_consent_revoke_response.rb b/lib/plaid/models/payment_initiation_consent_revoke_response.rb index 5e71206d6..f4ea6c0ef 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_consent_scope.rb b/lib/plaid/models/payment_initiation_consent_scope.rb index 1a5b2c328..5795e719b 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_consent_status.rb b/lib/plaid/models/payment_initiation_consent_status.rb index ca6e5d9dc..c6e8b873c 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_metadata.rb b/lib/plaid/models/payment_initiation_metadata.rb index 5f4485166..c33811ea9 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_optional_restriction_bacs.rb b/lib/plaid/models/payment_initiation_optional_restriction_bacs.rb index 8a4bc934e..38b566d0a 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_payment.rb b/lib/plaid/models/payment_initiation_payment.rb index c376a2b27..7fa422432 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_payment_create_request.rb b/lib/plaid/models/payment_initiation_payment_create_request.rb index b1eac26cd..0176a1d1f 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_payment_create_response.rb b/lib/plaid/models/payment_initiation_payment_create_response.rb index 9fae3759d..a9671e0a7 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_payment_create_status.rb b/lib/plaid/models/payment_initiation_payment_create_status.rb index f398148c4..1b9cabfa4 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_payment_get_request.rb b/lib/plaid/models/payment_initiation_payment_get_request.rb index d2dc8316c..1291b7b6d 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_payment_get_response.rb b/lib/plaid/models/payment_initiation_payment_get_response.rb index 3f1c3c36a..61060cfc7 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_payment_list_request.rb b/lib/plaid/models/payment_initiation_payment_list_request.rb index 6471850cd..a6fa4b69a 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_payment_list_response.rb b/lib/plaid/models/payment_initiation_payment_list_response.rb index 3efcc9f29..d4065f2a6 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_payment_reverse_request.rb b/lib/plaid/models/payment_initiation_payment_reverse_request.rb index be8714536..b1950d4eb 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_payment_reverse_response.rb b/lib/plaid/models/payment_initiation_payment_reverse_response.rb index ccf4083b2..1354b26b3 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_payment_status.rb b/lib/plaid/models/payment_initiation_payment_status.rb index ce4e37362..09a146027 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_payment_token_create_request.rb b/lib/plaid/models/payment_initiation_payment_token_create_request.rb index f35607455..abaeafb7c 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_payment_token_create_response.rb b/lib/plaid/models/payment_initiation_payment_token_create_response.rb index e7c750c49..d5dcb5794 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_recipient.rb b/lib/plaid/models/payment_initiation_recipient.rb index 44a21e03c..7ae4f23b7 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_recipient_create_request.rb b/lib/plaid/models/payment_initiation_recipient_create_request.rb index 4504a2063..491faa812 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_recipient_create_response.rb b/lib/plaid/models/payment_initiation_recipient_create_response.rb index 8e46ada6d..a9a03d0a9 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_recipient_get_request.rb b/lib/plaid/models/payment_initiation_recipient_get_request.rb index 910bcb940..d053aa188 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_recipient_get_response.rb b/lib/plaid/models/payment_initiation_recipient_get_response.rb index 5c2f34e33..9461f6124 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_recipient_get_response_all_of.rb b/lib/plaid/models/payment_initiation_recipient_get_response_all_of.rb index cbfefb94d..ff39a2822 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_recipient_list_request.rb b/lib/plaid/models/payment_initiation_recipient_list_request.rb index bb59aad68..c84696225 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_recipient_list_response.rb b/lib/plaid/models/payment_initiation_recipient_list_response.rb index d92b4eb48..82217c9e9 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_refund_status.rb b/lib/plaid/models/payment_initiation_refund_status.rb index dad346090..588a3f46b 100644 --- a/lib/plaid/models/payment_initiation_refund_status.rb +++ b/lib/plaid/models/payment_initiation_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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_initiation_standing_order_metadata.rb b/lib/plaid/models/payment_initiation_standing_order_metadata.rb index 97dd83da4..c093e5d3d 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_meta.rb b/lib/plaid/models/payment_meta.rb index d94fa098a..54c65945c 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_profile_create_request.rb b/lib/plaid/models/payment_profile_create_request.rb index 993c2bdd1..df9fe952d 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_profile_create_response.rb b/lib/plaid/models/payment_profile_create_response.rb index 4e2e16d1f..37e12b901 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_profile_get_request.rb b/lib/plaid/models/payment_profile_get_request.rb index ea86f7aad..07882e2ed 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_profile_get_response.rb b/lib/plaid/models/payment_profile_get_response.rb index e1025d71e..fbcfeea38 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_profile_remove_request.rb b/lib/plaid/models/payment_profile_remove_request.rb index 1234050f7..b0a7851a4 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_profile_remove_response.rb b/lib/plaid/models/payment_profile_remove_response.rb index df08d3747..b6b8fcbe7 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_profile_status.rb b/lib/plaid/models/payment_profile_status.rb index 742fb6561..5936c118b 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_schedule_interval.rb b/lib/plaid/models/payment_schedule_interval.rb index ce17660c0..91da8b194 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_scheme.rb b/lib/plaid/models/payment_scheme.rb index 96daaa466..20f7f26c3 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payment_status_update_webhook.rb b/lib/plaid/models/payment_status_update_webhook.rb index 43a0adc4e..53606fc5a 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -92,6 +92,7 @@ def self.openapi_nullable :'adjusted_reference', :'original_start_date', :'adjusted_start_date', + :'error' ]) end diff --git a/lib/plaid/models/payroll_income_account_data.rb b/lib/plaid/models/payroll_income_account_data.rb index 10cffc8da..6d914f410 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payroll_income_object.rb b/lib/plaid/models/payroll_income_object.rb index 31c74bf14..f57322a66 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -25,12 +25,16 @@ class PayrollIncomeObject # Array of tax form W-2s. attr_accessor :w2s + # Array of tax form 1099s. + attr_accessor :form1099s + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'account_id' => :'account_id', :'pay_stubs' => :'pay_stubs', - :'w2s' => :'w2s' + :'w2s' => :'w2s', + :'form1099s' => :'form1099s' } end @@ -44,7 +48,8 @@ def self.openapi_types { :'account_id' => :'String', :'pay_stubs' => :'Array', - :'w2s' => :'Array' + :'w2s' => :'Array', + :'form1099s' => :'Array' } end @@ -85,6 +90,12 @@ def initialize(attributes = {}) self.w2s = value end end + + if attributes.key?(:'form1099s') + if (value = attributes[:'form1099s']).is_a?(Array) + self.form1099s = value + end + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -99,6 +110,10 @@ def list_invalid_properties invalid_properties.push('invalid value for "w2s", w2s cannot be nil.') end + if @form1099s.nil? + invalid_properties.push('invalid value for "form1099s", form1099s cannot be nil.') + end + invalid_properties end @@ -107,6 +122,7 @@ def list_invalid_properties def valid? return false if @pay_stubs.nil? return false if @w2s.nil? + return false if @form1099s.nil? true end @@ -117,7 +133,8 @@ def ==(o) self.class == o.class && account_id == o.account_id && pay_stubs == o.pay_stubs && - w2s == o.w2s + w2s == o.w2s && + form1099s == o.form1099s end # @see the `==` method @@ -129,7 +146,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [account_id, pay_stubs, w2s].hash + [account_id, pay_stubs, w2s, form1099s].hash end # Builds the object from hash diff --git a/lib/plaid/models/payroll_income_rate_of_pay.rb b/lib/plaid/models/payroll_income_rate_of_pay.rb index 58b7860b2..e83387f1f 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payroll_item.rb b/lib/plaid/models/payroll_item.rb index 131adf680..7606103f8 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payroll_item_status.rb b/lib/plaid/models/payroll_item_status.rb index 939873e38..4c1d124c7 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/payroll_risk_signals_item.rb b/lib/plaid/models/payroll_risk_signals_item.rb index a4ed1a2dc..0a1364acc 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/paystub.rb b/lib/plaid/models/paystub.rb index cc4b69013..b9fad00e0 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/paystub_address.rb b/lib/plaid/models/paystub_address.rb index cbbf94fd5..7e7c94f25 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/paystub_deduction.rb b/lib/plaid/models/paystub_deduction.rb index 814626476..90cc27453 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/paystub_details.rb b/lib/plaid/models/paystub_details.rb index 604156809..2c8b22964 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/paystub_employer.rb b/lib/plaid/models/paystub_employer.rb index 6fdf625ee..5ef49af8f 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/paystub_override.rb b/lib/plaid/models/paystub_override.rb index 7ec2296b9..d1c4bae31 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/paystub_override_employee.rb b/lib/plaid/models/paystub_override_employee.rb index 257ae799b..1503fe130 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/paystub_override_employee_address.rb b/lib/plaid/models/paystub_override_employee_address.rb index b9a7829fd..ea00d3308 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/paystub_override_employer.rb b/lib/plaid/models/paystub_override_employer.rb index f57d80685..c178f00c3 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/paystub_pay_frequency.rb b/lib/plaid/models/paystub_pay_frequency.rb index eedbfc1fd..c3f8eb802 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/paystub_verification.rb b/lib/plaid/models/paystub_verification.rb index da78fe254..980b543be 100644 --- a/lib/plaid/models/paystub_verification.rb +++ b/lib/plaid/models/paystub_verification.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/paystub_verification_status.rb b/lib/plaid/models/paystub_verification_status.rb index 7f86d8c06..73eb25a15 100644 --- a/lib/plaid/models/paystub_verification_status.rb +++ b/lib/plaid/models/paystub_verification_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/paystub_ytd_details.rb b/lib/plaid/models/paystub_ytd_details.rb index c09e387fe..57e166020 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/pending_expiration_webhook.rb b/lib/plaid/models/pending_expiration_webhook.rb index 5ddacd53c..5dbba9910 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/personal_finance_category.rb b/lib/plaid/models/personal_finance_category.rb index cafa6508a..b4e021824 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/phone_number.rb b/lib/plaid/models/phone_number.rb index e019c39a1..b106f2160 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/phone_type.rb b/lib/plaid/models/phone_type.rb index b7af4278d..32d230e8d 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/physical_document_category.rb b/lib/plaid/models/physical_document_category.rb index 4eb8356eb..70bf7bed0 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/physical_document_extracted_data.rb b/lib/plaid/models/physical_document_extracted_data.rb index c0e3ab69a..17408b6da 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/physical_document_extracted_data_analysis.rb b/lib/plaid/models/physical_document_extracted_data_analysis.rb index 687f9ffba..a76e08ab1 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/physical_document_images.rb b/lib/plaid/models/physical_document_images.rb index e6415e611..70ac77d69 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/plaid_error.rb b/lib/plaid/models/plaid_error.rb index 8878b6974..8197e88be 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/platform_ids.rb b/lib/plaid/models/platform_ids.rb index 451842493..0316aa27d 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/po_box_status.rb b/lib/plaid/models/po_box_status.rb index 0360cb2a3..303bf8be3 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/processor_apex_processor_token_create_request.rb b/lib/plaid/models/processor_apex_processor_token_create_request.rb index 243a263ce..86a9cc964 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/processor_auth_get_request.rb b/lib/plaid/models/processor_auth_get_request.rb index 572af0faa..747bde834 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/processor_auth_get_response.rb b/lib/plaid/models/processor_auth_get_response.rb index 25b397f3a..5b9a382fb 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/processor_balance_get_request.rb b/lib/plaid/models/processor_balance_get_request.rb index ee7732e48..221960de8 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/processor_balance_get_request_options.rb b/lib/plaid/models/processor_balance_get_request_options.rb index a33f7399d..ffddd726a 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/processor_balance_get_response.rb b/lib/plaid/models/processor_balance_get_response.rb index 13666c1bd..2492d56f0 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/processor_bank_transfer_create_request.rb b/lib/plaid/models/processor_bank_transfer_create_request.rb index a84c629b0..f49a15ca4 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/processor_bank_transfer_create_response.rb b/lib/plaid/models/processor_bank_transfer_create_response.rb index c76dbf9f0..17b656d6f 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/processor_identity_get_request.rb b/lib/plaid/models/processor_identity_get_request.rb index fe76a6816..b7e695fa0 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/processor_identity_get_response.rb b/lib/plaid/models/processor_identity_get_response.rb index 9f2217c30..f9fe3dfb0 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/processor_number.rb b/lib/plaid/models/processor_number.rb index b9f87547f..abb4f8df6 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/processor_stripe_bank_account_token_create_request.rb b/lib/plaid/models/processor_stripe_bank_account_token_create_request.rb index 98a8fd1c0..1651a0e23 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/processor_stripe_bank_account_token_create_response.rb b/lib/plaid/models/processor_stripe_bank_account_token_create_response.rb index 69eb190d6..8f4a01585 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/processor_token_create_request.rb b/lib/plaid/models/processor_token_create_request.rb index 6c0ccef6a..f600ab89e 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/processor_token_create_response.rb b/lib/plaid/models/processor_token_create_response.rb index b5712711b..84ae8043c 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/product_access.rb b/lib/plaid/models/product_access.rb index 5218b7ac2..65ce4dec4 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/product_status.rb b/lib/plaid/models/product_status.rb index 3f3c6c7eb..09d23f808 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/product_status_breakdown.rb b/lib/plaid/models/product_status_breakdown.rb index 3da2b244f..b6c1145ee 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/products.rb b/lib/plaid/models/products.rb index b13b8ecfb..e2ccad672 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/program_name_sensitivity.rb b/lib/plaid/models/program_name_sensitivity.rb index 2b49012c2..9ab59a6f8 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/projected_income_summary_field_number.rb b/lib/plaid/models/projected_income_summary_field_number.rb index dd0a5c12a..331f00e76 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/pslf_status.rb b/lib/plaid/models/pslf_status.rb index ecb79190a..3fdb5b5b6 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/recaptcha_required_error.rb b/lib/plaid/models/recaptcha_required_error.rb index d5b4fecfc..5cf122379 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/recipient_bacs.rb b/lib/plaid/models/recipient_bacs.rb index f737ad6d0..7ba73622b 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/recipient_bacs_nullable.rb b/lib/plaid/models/recipient_bacs_nullable.rb index dad09d46e..f058eeeb1 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/recurring_transaction_frequency.rb b/lib/plaid/models/recurring_transaction_frequency.rb index 0d71af670..93a2903ee 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/recurring_transactions_update_webhook.rb b/lib/plaid/models/recurring_transactions_update_webhook.rb new file mode 100644 index 000000000..90ea9814c --- /dev/null +++ b/lib/plaid/models/recurring_transactions_update_webhook.rb @@ -0,0 +1,272 @@ +=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.161.5 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 5.1.1 + +=end + +require 'date' +require 'time' + +module Plaid + # Fired when an Item's recurring transactions data is updated. After receipt of this webhook, the updated data can be fetched from `/transactions/recurring/get`. + class RecurringTransactionsUpdateWebhook + # `TRANSACTIONS` + attr_accessor :webhook_type + + # `RECURRING_TRANSACTIONS_UPDATE` + attr_accessor :webhook_code + + # The `item_id` of the Item associated with this webhook, warning, or error + attr_accessor :item_id + + # A list of `account_ids` for accounts that have new or updated recurring transactions data. + attr_accessor :account_ids + + # 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', + :'account_ids' => :'account_ids' + } + 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', + :'account_ids' => :'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::RecurringTransactionsUpdateWebhook` 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::RecurringTransactionsUpdateWebhook`. 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?(:'account_ids') + if (value = attributes[:'account_ids']).is_a?(Array) + self.account_ids = 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 @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 @account_ids.nil? + invalid_properties.push('invalid value for "account_ids", account_ids 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 @account_ids.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 && + account_ids == o.account_ids + 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, account_ids].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/relay_event.rb b/lib/plaid/models/relay_event.rb index 99520191a..90d5becf5 100644 --- a/lib/plaid/models/relay_event.rb +++ b/lib/plaid/models/relay_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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/removed_transaction.rb b/lib/plaid/models/removed_transaction.rb index 993fb2515..fbcbeb3b2 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/report_token.rb b/lib/plaid/models/report_token.rb index b850fbe72..952a3fb64 100644 --- a/lib/plaid/models/report_token.rb +++ b/lib/plaid/models/report_token.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -16,7 +16,6 @@ module Plaid # ReportToken is a representation of a token that has a `report_type` field that can be one of `assets` or `income` and a `token` field which is the associated token with the `report_type`. The `token` can be an Asset Report token or Income Report token. class ReportToken - # The report type. It can be `assets` or `income`. attr_accessor :report_type # The report token. It can be an asset report token or an income report token. @@ -38,7 +37,7 @@ def self.acceptable_attributes # Attribute type mapping. def self.openapi_types { - :'report_type' => :'String', + :'report_type' => :'ReportType', :'token' => :'String' } end diff --git a/lib/plaid/models/report_type.rb b/lib/plaid/models/report_type.rb new file mode 100644 index 000000000..f23be97b4 --- /dev/null +++ b/lib/plaid/models/report_type.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.161.5 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 5.1.1 + +=end + +require 'date' +require 'time' + +module Plaid + class ReportType + ASSETS = "assets".freeze + INCOME = "income".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/risk_signal_document_reference.rb b/lib/plaid/models/risk_signal_document_reference.rb index 3a34e974b..7d37f2cfc 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/sandbox_bank_transfer_fire_webhook_request.rb b/lib/plaid/models/sandbox_bank_transfer_fire_webhook_request.rb index 41f5dad70..873b68591 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/sandbox_bank_transfer_fire_webhook_response.rb b/lib/plaid/models/sandbox_bank_transfer_fire_webhook_response.rb index c800f863b..05e8d71cd 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/sandbox_bank_transfer_simulate_request.rb b/lib/plaid/models/sandbox_bank_transfer_simulate_request.rb index c7738c37f..4e1c2415b 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/sandbox_bank_transfer_simulate_response.rb b/lib/plaid/models/sandbox_bank_transfer_simulate_response.rb index dc61212c3..38e7b35f9 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/sandbox_income_fire_webhook_request.rb b/lib/plaid/models/sandbox_income_fire_webhook_request.rb index ab105c91a..4a437bf6a 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/sandbox_income_fire_webhook_response.rb b/lib/plaid/models/sandbox_income_fire_webhook_response.rb index 3c1ae50a8..e79f0953b 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/sandbox_item_fire_webhook_request.rb b/lib/plaid/models/sandbox_item_fire_webhook_request.rb index b5439443a..4ba59956b 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -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", "AUTH_DATA_UPDATE"]) + webhook_code_validator = EnumAttributeValidator.new('String', ["DEFAULT_UPDATE", "NEW_ACCOUNTS_AVAILABLE", "AUTH_DATA_UPDATE", "RECURRING_TRANSACTIONS_UPDATE"]) 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", "AUTH_DATA_UPDATE"]) + validator = EnumAttributeValidator.new('String', ["DEFAULT_UPDATE", "NEW_ACCOUNTS_AVAILABLE", "AUTH_DATA_UPDATE", "RECURRING_TRANSACTIONS_UPDATE"]) 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 f1c99e877..ee5d0c7aa 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/sandbox_item_reset_login_request.rb b/lib/plaid/models/sandbox_item_reset_login_request.rb index 768412b90..7de90ca46 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/sandbox_item_reset_login_response.rb b/lib/plaid/models/sandbox_item_reset_login_response.rb index 8affaa7c8..26c414552 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/sandbox_item_set_verification_status_request.rb b/lib/plaid/models/sandbox_item_set_verification_status_request.rb index a41185e42..a5e90ebf8 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/sandbox_item_set_verification_status_response.rb b/lib/plaid/models/sandbox_item_set_verification_status_response.rb index df6bde46a..e8bfeb0e1 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/sandbox_oauth_select_accounts_request.rb b/lib/plaid/models/sandbox_oauth_select_accounts_request.rb index 4f5e59e95..c19845809 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/sandbox_processor_token_create_request.rb b/lib/plaid/models/sandbox_processor_token_create_request.rb index 2ea99ff74..0ac599ff8 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/sandbox_processor_token_create_request_options.rb b/lib/plaid/models/sandbox_processor_token_create_request_options.rb index 17c3def37..b3516e3ca 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/sandbox_processor_token_create_response.rb b/lib/plaid/models/sandbox_processor_token_create_response.rb index 55cf3ff7e..14291f429 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/sandbox_public_token_create_request.rb b/lib/plaid/models/sandbox_public_token_create_request.rb index 4b3c98c20..d27424330 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 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 f997319b7..5acbb9854 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 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 d6dde4158..5d0710aaa 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/sandbox_public_token_create_response.rb b/lib/plaid/models/sandbox_public_token_create_response.rb index 8b6e5a156..af8391ff8 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/sandbox_transfer_fire_webhook_request.rb b/lib/plaid/models/sandbox_transfer_fire_webhook_request.rb index eee2fcc14..6604ba135 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/sandbox_transfer_fire_webhook_response.rb b/lib/plaid/models/sandbox_transfer_fire_webhook_response.rb index 8f5ca9c19..586c10341 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/sandbox_transfer_repayment_simulate_request.rb b/lib/plaid/models/sandbox_transfer_repayment_simulate_request.rb index 60b322349..8e9e35633 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/sandbox_transfer_repayment_simulate_response.rb b/lib/plaid/models/sandbox_transfer_repayment_simulate_response.rb index 51e943846..ab33d07de 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/sandbox_transfer_simulate_request.rb b/lib/plaid/models/sandbox_transfer_simulate_request.rb index 2fbf8b382..7a503ecde 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/sandbox_transfer_simulate_response.rb b/lib/plaid/models/sandbox_transfer_simulate_response.rb index 7560c4254..c82f43691 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/sandbox_transfer_sweep_simulate_request.rb b/lib/plaid/models/sandbox_transfer_sweep_simulate_request.rb index eac3f41b2..6b57b4a50 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/sandbox_transfer_sweep_simulate_response.rb b/lib/plaid/models/sandbox_transfer_sweep_simulate_response.rb index b8bbdd1dd..bf069ad98 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/scopes.rb b/lib/plaid/models/scopes.rb index 4a336cf0d..86cbb2c65 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/scopes_context.rb b/lib/plaid/models/scopes_context.rb index f4c534776..cf7d40feb 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/scopes_nullable.rb b/lib/plaid/models/scopes_nullable.rb index ae01aa97a..b56ca241d 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/screening_hit_analysis.rb b/lib/plaid/models/screening_hit_analysis.rb index f6d1944b7..468162f8d 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/screening_hit_data.rb b/lib/plaid/models/screening_hit_data.rb index 0559e1142..69b3a1048 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/screening_hit_date_of_birth_item.rb b/lib/plaid/models/screening_hit_date_of_birth_item.rb index cc041e638..d8e6abb89 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/screening_hit_documents_items.rb b/lib/plaid/models/screening_hit_documents_items.rb index 0abdce6c0..d41be9dab 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/screening_hit_names_items.rb b/lib/plaid/models/screening_hit_names_items.rb index fc94bc43c..cac9172b6 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/screening_status_updated_webhook.rb b/lib/plaid/models/screening_status_updated_webhook.rb index a8dd7cdce..7f672cd6b 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/security.rb b/lib/plaid/models/security.rb index 99ce3a163..723d0ebb8 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/security_override.rb b/lib/plaid/models/security_override.rb index f5e63cb2a..fcdd303c6 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/sender_bacs_nullable.rb b/lib/plaid/models/sender_bacs_nullable.rb index 9a8bb21bc..3b0a3c32d 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/servicer_address_data.rb b/lib/plaid/models/servicer_address_data.rb index 55e82bf7a..fc45c2c49 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/signal_address_data.rb b/lib/plaid/models/signal_address_data.rb index 5301d0fcd..2a6be0594 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/signal_decision_report_request.rb b/lib/plaid/models/signal_decision_report_request.rb index 31c000e77..cf1f02d8e 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/signal_decision_report_response.rb b/lib/plaid/models/signal_decision_report_response.rb index 0e11bb897..260375b5c 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/signal_device.rb b/lib/plaid/models/signal_device.rb index 26b296af2..9cb01d706 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/signal_evaluate_core_attributes.rb b/lib/plaid/models/signal_evaluate_core_attributes.rb index 3d88611ab..d4cfe5d11 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/signal_evaluate_request.rb b/lib/plaid/models/signal_evaluate_request.rb index cc7fc925b..40fd9d178 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/signal_evaluate_response.rb b/lib/plaid/models/signal_evaluate_response.rb index a891f6f78..6c12768e7 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/signal_person_name.rb b/lib/plaid/models/signal_person_name.rb index 3340660e4..e7fc32e49 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/signal_prepare_request.rb b/lib/plaid/models/signal_prepare_request.rb index bcff35e49..b9b8aab9a 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/signal_prepare_response.rb b/lib/plaid/models/signal_prepare_response.rb index 50bdbba72..8e62aa9e5 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/signal_return_report_request.rb b/lib/plaid/models/signal_return_report_request.rb index b0e15505c..28542adc0 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/signal_return_report_response.rb b/lib/plaid/models/signal_return_report_response.rb index ec897597c..27ec90360 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/signal_scores.rb b/lib/plaid/models/signal_scores.rb index 270591207..c456df233 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/signal_user.rb b/lib/plaid/models/signal_user.rb index 03d280e2b..7791fe3d6 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/simulated_transfer_sweep.rb b/lib/plaid/models/simulated_transfer_sweep.rb index c1400bf9c..006cda907 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/single_document_risk_signal.rb b/lib/plaid/models/single_document_risk_signal.rb index a0ff1cf6e..e033c9b12 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/source.rb b/lib/plaid/models/source.rb index 28e34005e..11ab2e618 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/standalone_account_type.rb b/lib/plaid/models/standalone_account_type.rb index 3800d53b3..5fd47d3eb 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/standalone_currency_code_list.rb b/lib/plaid/models/standalone_currency_code_list.rb index 4c7608c82..d423a0d40 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/standalone_investment_transaction_type.rb b/lib/plaid/models/standalone_investment_transaction_type.rb index 34248b8c5..45b6d6fe5 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/strategy.rb b/lib/plaid/models/strategy.rb index 3e922d054..43eb430cb 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/student_loan.rb b/lib/plaid/models/student_loan.rb index 442d43bd5..36d8a8898 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/student_loan_repayment_model.rb b/lib/plaid/models/student_loan_repayment_model.rb index 23584fe3f..11fdb815e 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/student_loan_status.rb b/lib/plaid/models/student_loan_status.rb index f8694a04b..24b882f6a 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/student_repayment_plan.rb b/lib/plaid/models/student_repayment_plan.rb index 3d62d37b0..a5e6add3f 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/sync_updates_available_webhook.rb b/lib/plaid/models/sync_updates_available_webhook.rb index d75a18b84..1aca2a222 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -14,7 +14,7 @@ require 'time' module Plaid - # Fired when an Item's transactions change. This can be due to any event resulting in new changes, such as an initial, historical, or default pull. After receipt of this webhook, the new changes can be fetched for the Item from `/transactions/sync`. Note that to receive this webhook for an Item, `/transactions/sync` must have been called at least once on that Item. + # Fired when an Item's transactions change. This can be due to any event resulting in new changes, such as an initial 30-day transactions fetch upon the initialization of an Item with transactions, the backfill of historical transactions that occurs shortly after, or when changes are populated from a regularly-scheduled transactions update job. It is recommended to listen for the `SYNC_UPDATES_AVAILABLE` webhook when using the `/transactions/sync` endpoint. Note that when using `/transactions/sync` the older webhooks `INITIAL_UPDATE`, `HISTORICAL_UPDATE`, or `DEFAULT_UPDATE`, which are intended for use with `/transactions/get`, will also continue to be sent in order to maintain backwards compatibility. After receipt of this webhook, the new changes can be fetched for the Item from `/transactions/sync`. Note that to receive this webhook for an Item, `/transactions/sync` must have been called at least once on that Item. class SyncUpdatesAvailableWebhook # `TRANSACTIONS` attr_accessor :webhook_type diff --git a/lib/plaid/models/taxform.rb b/lib/plaid/models/taxform.rb index f736e7931..8e19e99bb 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/taxpayer_id.rb b/lib/plaid/models/taxpayer_id.rb index fb554710c..d6eab1414 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/total.rb b/lib/plaid/models/total.rb index 0630d837a..5a795376b 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/total_canonical_description.rb b/lib/plaid/models/total_canonical_description.rb index d204bf94b..c51d9239e 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transaction.rb b/lib/plaid/models/transaction.rb index cc26dad77..2bc56a5b3 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transaction_all_of.rb b/lib/plaid/models/transaction_all_of.rb index 4b07e8652..375657e62 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transaction_base.rb b/lib/plaid/models/transaction_base.rb index db0037417..70f035508 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transaction_code.rb b/lib/plaid/models/transaction_code.rb index ae4b5b9dc..21fbe9d95 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transaction_data.rb b/lib/plaid/models/transaction_data.rb index 049541ba2..5990412f3 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transaction_override.rb b/lib/plaid/models/transaction_override.rb index d492d964a..71adf6c39 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transaction_stream.rb b/lib/plaid/models/transaction_stream.rb index 908a17ec7..7be470fbb 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transaction_stream_amount.rb b/lib/plaid/models/transaction_stream_amount.rb index c10a7e43a..610d0d7ec 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transaction_stream_status.rb b/lib/plaid/models/transaction_stream_status.rb index ad302c38b..9c40aa7a4 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transactions_category_rule.rb b/lib/plaid/models/transactions_category_rule.rb index 4a9ade21d..e3ad6da39 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transactions_enhance_get_request.rb b/lib/plaid/models/transactions_enhance_get_request.rb index 2ec09a13a..845291903 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transactions_enhance_get_response.rb b/lib/plaid/models/transactions_enhance_get_response.rb index fbb5da978..614d97b11 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transactions_get_request.rb b/lib/plaid/models/transactions_get_request.rb index 37fd4256c..7a7e0acda 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transactions_get_request_options.rb b/lib/plaid/models/transactions_get_request_options.rb index 7f84941c2..e2495f296 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transactions_get_response.rb b/lib/plaid/models/transactions_get_response.rb index 735461c1b..075ad28c5 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transactions_recurring_get_request.rb b/lib/plaid/models/transactions_recurring_get_request.rb index d64b48f13..b31e01acd 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transactions_recurring_get_request_options.rb b/lib/plaid/models/transactions_recurring_get_request_options.rb index 4469faa7a..d94150a37 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transactions_recurring_get_response.rb b/lib/plaid/models/transactions_recurring_get_response.rb index f04fce5ad..21d69f492 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transactions_refresh_request.rb b/lib/plaid/models/transactions_refresh_request.rb index 338514428..43d09d554 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transactions_refresh_response.rb b/lib/plaid/models/transactions_refresh_response.rb index 5a5a6bec9..3f803d938 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transactions_removed_webhook.rb b/lib/plaid/models/transactions_removed_webhook.rb index 2de921a0c..bcc51307e 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -60,6 +60,7 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'error', ]) end diff --git a/lib/plaid/models/transactions_rule_details.rb b/lib/plaid/models/transactions_rule_details.rb index e59bb093b..222c0ce59 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transactions_rule_field.rb b/lib/plaid/models/transactions_rule_field.rb index 88411baee..1c9897e60 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transactions_rule_type.rb b/lib/plaid/models/transactions_rule_type.rb index 6bc9ca99f..117665cb2 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transactions_rules_create_request.rb b/lib/plaid/models/transactions_rules_create_request.rb index 5629eba72..7d4762300 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transactions_rules_create_response.rb b/lib/plaid/models/transactions_rules_create_response.rb index d63c3c863..e80b898f1 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transactions_rules_list_request.rb b/lib/plaid/models/transactions_rules_list_request.rb index fbcb09e9f..8b3e4d3f5 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transactions_rules_list_response.rb b/lib/plaid/models/transactions_rules_list_response.rb index 1bedfd410..2759af3cc 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transactions_rules_remove_request.rb b/lib/plaid/models/transactions_rules_remove_request.rb index 45844543b..15a6d2c39 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transactions_rules_remove_response.rb b/lib/plaid/models/transactions_rules_remove_response.rb index 4c161c95f..cfaabd4a8 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transactions_sync_request.rb b/lib/plaid/models/transactions_sync_request.rb index 13666e601..477db77e2 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transactions_sync_request_options.rb b/lib/plaid/models/transactions_sync_request_options.rb index 3d084df48..549f12aeb 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transactions_sync_response.rb b/lib/plaid/models/transactions_sync_response.rb index d1cbe7ef4..d123c4e72 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer.rb b/lib/plaid/models/transfer.rb index 262f8d8c0..a043ad386 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_authorization.rb b/lib/plaid/models/transfer_authorization.rb index 907634ac1..e5c9dd9f5 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_authorization_create_request.rb b/lib/plaid/models/transfer_authorization_create_request.rb index 2151928df..eb0a9cdcc 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -47,6 +47,12 @@ class TransferAuthorizationCreateRequest # The currency of the transfer amount. The default value is \"USD\". attr_accessor :iso_currency_code + # Required for guaranteed ACH customers. If the end user is initiating the specific transfer themselves via an interactive UI, this should be `true`; for automatic recurring payments where the end user is not actually initiating each individual transfer, it should be `false`. + attr_accessor :user_present + + # Plaid’s unique identifier for a payment profile. + attr_accessor :payment_profile_id + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { @@ -61,7 +67,9 @@ def self.attribute_map :'user' => :'user', :'device' => :'device', :'origination_account_id' => :'origination_account_id', - :'iso_currency_code' => :'iso_currency_code' + :'iso_currency_code' => :'iso_currency_code', + :'user_present' => :'user_present', + :'payment_profile_id' => :'payment_profile_id' } end @@ -81,16 +89,19 @@ def self.openapi_types :'network' => :'TransferNetwork', :'amount' => :'String', :'ach_class' => :'ACHClass', - :'user' => :'TransferUserInRequest', + :'user' => :'TransferAuthorizationUserInRequest', :'device' => :'TransferAuthorizationDevice', :'origination_account_id' => :'String', - :'iso_currency_code' => :'String' + :'iso_currency_code' => :'String', + :'user_present' => :'Boolean', + :'payment_profile_id' => :'String' } end # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'user_present', ]) end @@ -156,20 +167,20 @@ def initialize(attributes = {}) if attributes.key?(:'iso_currency_code') self.iso_currency_code = attributes[:'iso_currency_code'] end + + if attributes.key?(:'user_present') + self.user_present = attributes[:'user_present'] + end + + if attributes.key?(:'payment_profile_id') + self.payment_profile_id = attributes[:'payment_profile_id'] + end end # Show invalid properties with the reasons. Usually used together with valid? # @return Array for valid properties with the reasons def list_invalid_properties invalid_properties = Array.new - if @access_token.nil? - invalid_properties.push('invalid value for "access_token", access_token cannot be nil.') - end - - if @account_id.nil? - invalid_properties.push('invalid value for "account_id", account_id cannot be nil.') - end - if @type.nil? invalid_properties.push('invalid value for "type", type cannot be nil.') end @@ -196,8 +207,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 @access_token.nil? - return false if @account_id.nil? return false if @type.nil? return false if @network.nil? return false if @amount.nil? @@ -222,7 +231,9 @@ def ==(o) user == o.user && device == o.device && origination_account_id == o.origination_account_id && - iso_currency_code == o.iso_currency_code + iso_currency_code == o.iso_currency_code && + user_present == o.user_present && + payment_profile_id == o.payment_profile_id end # @see the `==` method @@ -234,7 +245,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [client_id, secret, access_token, account_id, type, network, amount, ach_class, user, device, origination_account_id, iso_currency_code].hash + [client_id, secret, access_token, account_id, type, network, amount, ach_class, user, device, origination_account_id, iso_currency_code, user_present, payment_profile_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 a376057e3..ef4158e76 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_authorization_decision.rb b/lib/plaid/models/transfer_authorization_decision.rb index a65a2ac0b..77f26c889 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_authorization_decision_rationale.rb b/lib/plaid/models/transfer_authorization_decision_rationale.rb index c2ae33af4..0ca557e16 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_authorization_decision_rationale_code.rb b/lib/plaid/models/transfer_authorization_decision_rationale_code.rb index 8705e8e34..b6df83bab 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_authorization_device.rb b/lib/plaid/models/transfer_authorization_device.rb index e1ac77b92..eb713482b 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -16,10 +16,10 @@ module Plaid # Information about the device being used to initiate the authorization. class TransferAuthorizationDevice - # The IP address of the device being used to initiate the authorization. + # The IP address of the device being used to initiate the authorization. Required for guaranteed ACH customers. attr_accessor :ip_address - # The user agent of the device being used to initiate the authorization. + # The user agent of the device being used to initiate the authorization. Required for guaranteed ACH customers. attr_accessor :user_agent # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/plaid/models/transfer_authorization_guarantee_decision.rb b/lib/plaid/models/transfer_authorization_guarantee_decision.rb index 785bd57bb..00adc21ed 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_authorization_guarantee_decision_rationale.rb b/lib/plaid/models/transfer_authorization_guarantee_decision_rationale.rb index 4d18fda2c..dc67f9dbf 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_authorization_guarantee_decision_rationale_code.rb b/lib/plaid/models/transfer_authorization_guarantee_decision_rationale_code.rb index e86760971..ae1e113d3 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -19,6 +19,7 @@ class TransferAuthorizationGuaranteeDecisionRationaleCode RETURN_CUSTOMER = "RETURN_CUSTOMER".freeze GUARANTEE_LIMIT_REACHED = "GUARANTEE_LIMIT_REACHED".freeze RISK_ESTIMATE_UNAVAILABLE = "RISK_ESTIMATE_UNAVAILABLE".freeze + REQUIRED_PARAM_MISSING = "REQUIRED_PARAM_MISSING".freeze # Builds the enum from string # @param [String] The enum value in the form of the string diff --git a/lib/plaid/models/transfer_authorization_proposed_transfer.rb b/lib/plaid/models/transfer_authorization_proposed_transfer.rb index 2e2af6778..8bd4cb0d4 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_authorization_user_in_request.rb b/lib/plaid/models/transfer_authorization_user_in_request.rb new file mode 100644 index 000000000..d0c06e352 --- /dev/null +++ b/lib/plaid/models/transfer_authorization_user_in_request.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.161.5 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 5.1.1 + +=end + +require 'date' +require 'time' + +module Plaid + # The legal name and other information for the account holder. + class TransferAuthorizationUserInRequest + # The user's legal name. + attr_accessor :legal_name + + # The user's phone number. In order to qualify for a guaranteed transfer, at least one of `phone_number` or `email_address` must be provided. + attr_accessor :phone_number + + # The user's email address. In order to qualify for a guaranteed transfer, at least one of `phone_number` or `email_address` must be provided. + attr_accessor :email_address + + attr_accessor :address + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'legal_name' => :'legal_name', + :'phone_number' => :'phone_number', + :'email_address' => :'email_address', + :'address' => :'address' + } + 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 + { + :'legal_name' => :'String', + :'phone_number' => :'String', + :'email_address' => :'String', + :'address' => :'TransferUserAddressInRequest' + } + 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::TransferAuthorizationUserInRequest` 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::TransferAuthorizationUserInRequest`. 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?(:'legal_name') + self.legal_name = attributes[:'legal_name'] + end + + if attributes.key?(:'phone_number') + self.phone_number = attributes[:'phone_number'] + end + + if attributes.key?(:'email_address') + self.email_address = attributes[:'email_address'] + end + + if attributes.key?(:'address') + self.address = attributes[:'address'] + 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 @legal_name.nil? + invalid_properties.push('invalid value for "legal_name", legal_name cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @legal_name.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + legal_name == o.legal_name && + phone_number == o.phone_number && + email_address == o.email_address && + address == o.address + 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 + [legal_name, phone_number, email_address, address].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/transfer_cancel_request.rb b/lib/plaid/models/transfer_cancel_request.rb index cb99cea05..6474a3d42 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_cancel_response.rb b/lib/plaid/models/transfer_cancel_response.rb index 8434d4b03..2b44ad7cc 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_create_request.rb b/lib/plaid/models/transfer_create_request.rb index 043e543f0..4257b5f41 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -57,6 +57,9 @@ class TransferCreateRequest # The currency of the transfer amount. The default value is \"USD\". attr_accessor :iso_currency_code + # Plaid’s unique identifier for a payment profile. + attr_accessor :payment_profile_id + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { @@ -74,7 +77,8 @@ def self.attribute_map :'user' => :'user', :'metadata' => :'metadata', :'origination_account_id' => :'origination_account_id', - :'iso_currency_code' => :'iso_currency_code' + :'iso_currency_code' => :'iso_currency_code', + :'payment_profile_id' => :'payment_profile_id' } end @@ -100,7 +104,8 @@ def self.openapi_types :'user' => :'TransferUserInRequest', :'metadata' => :'Hash', :'origination_account_id' => :'String', - :'iso_currency_code' => :'String' + :'iso_currency_code' => :'String', + :'payment_profile_id' => :'String' } end @@ -188,6 +193,10 @@ def initialize(attributes = {}) if attributes.key?(:'iso_currency_code') self.iso_currency_code = attributes[:'iso_currency_code'] end + + if attributes.key?(:'payment_profile_id') + self.payment_profile_id = attributes[:'payment_profile_id'] + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -199,14 +208,6 @@ def list_invalid_properties end - if @access_token.nil? - invalid_properties.push('invalid value for "access_token", access_token cannot be nil.') - end - - if @account_id.nil? - invalid_properties.push('invalid value for "account_id", account_id cannot be nil.') - end - if @authorization_id.nil? invalid_properties.push('invalid value for "authorization_id", authorization_id cannot be nil.') end @@ -248,8 +249,6 @@ def list_invalid_properties # @return true if the model is valid def valid? return false if !@idempotency_key.nil? && @idempotency_key.to_s.length > 50 - return false if @access_token.nil? - return false if @account_id.nil? return false if @authorization_id.nil? return false if @type.nil? return false if @network.nil? @@ -314,7 +313,8 @@ def ==(o) user == o.user && metadata == o.metadata && origination_account_id == o.origination_account_id && - iso_currency_code == o.iso_currency_code + iso_currency_code == o.iso_currency_code && + payment_profile_id == o.payment_profile_id end # @see the `==` method @@ -326,7 +326,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [client_id, secret, idempotency_key, access_token, account_id, authorization_id, type, network, amount, description, ach_class, user, metadata, origination_account_id, iso_currency_code].hash + [client_id, secret, idempotency_key, access_token, account_id, authorization_id, type, network, amount, description, ach_class, user, metadata, origination_account_id, iso_currency_code, payment_profile_id].hash end # Builds the object from hash diff --git a/lib/plaid/models/transfer_create_response.rb b/lib/plaid/models/transfer_create_response.rb index 25c5ce6e4..10303e5cc 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_event.rb b/lib/plaid/models/transfer_event.rb index 8a7243fbf..4e0b060bd 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_event_list_request.rb b/lib/plaid/models/transfer_event_list_request.rb index a958aee08..b2111092f 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_event_list_response.rb b/lib/plaid/models/transfer_event_list_response.rb index 96e42e455..7a420967e 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_event_list_transfer_type.rb b/lib/plaid/models/transfer_event_list_transfer_type.rb index e9ae39a73..ace50e786 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_event_sync_request.rb b/lib/plaid/models/transfer_event_sync_request.rb index e74517888..c0dee353f 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_event_sync_response.rb b/lib/plaid/models/transfer_event_sync_response.rb index 89949eb9d..7ddde9d9c 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_event_type.rb b/lib/plaid/models/transfer_event_type.rb index d5cd6122a..0a255b1e9 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -19,7 +19,6 @@ class TransferEventType CANCELLED = "cancelled".freeze FAILED = "failed".freeze POSTED = "posted".freeze - REVERSED = "reversed".freeze RETURNED = "returned".freeze SWEPT = "swept".freeze REVERSE_SWEPT = "reverse_swept".freeze diff --git a/lib/plaid/models/transfer_events_update_webhook.rb b/lib/plaid/models/transfer_events_update_webhook.rb index cb259d88f..199adcd43 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_failure.rb b/lib/plaid/models/transfer_failure.rb index a683a0dd0..13206d5a8 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_get_request.rb b/lib/plaid/models/transfer_get_request.rb index ecaa13933..117a86ccb 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_get_response.rb b/lib/plaid/models/transfer_get_response.rb index 380598f66..6870180b8 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_intent_authorization_decision.rb b/lib/plaid/models/transfer_intent_authorization_decision.rb index faaa6b636..ca41f23be 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_intent_create.rb b/lib/plaid/models/transfer_intent_create.rb index c4f36d157..07f3b38c5 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_intent_create_mode.rb b/lib/plaid/models/transfer_intent_create_mode.rb index 7e4943133..674497dc0 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_intent_create_request.rb b/lib/plaid/models/transfer_intent_create_request.rb index ebabd203c..e886e7442 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_intent_create_response.rb b/lib/plaid/models/transfer_intent_create_response.rb index 9246ed754..7f82c6b91 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_intent_get.rb b/lib/plaid/models/transfer_intent_get.rb index a444b67f8..06e3ddfd8 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_intent_get_failure_reason.rb b/lib/plaid/models/transfer_intent_get_failure_reason.rb index e6b50bbb6..693257a0d 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_intent_get_request.rb b/lib/plaid/models/transfer_intent_get_request.rb index fec3506d8..7d4c395fa 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_intent_get_response.rb b/lib/plaid/models/transfer_intent_get_response.rb index 9ccbf0a53..6d5fc4597 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_intent_status.rb b/lib/plaid/models/transfer_intent_status.rb index 859dc792d..41deda3bd 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_list_request.rb b/lib/plaid/models/transfer_list_request.rb index ade069001..0c9ffa11a 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_list_response.rb b/lib/plaid/models/transfer_list_response.rb index aec9ec408..c1f60d059 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_migrate_account_request.rb b/lib/plaid/models/transfer_migrate_account_request.rb index d5e885919..02b7587e3 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_migrate_account_response.rb b/lib/plaid/models/transfer_migrate_account_response.rb index 839fd4e10..031fbdbd7 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_network.rb b/lib/plaid/models/transfer_network.rb index 15654cf4f..ca01c2027 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_repayment.rb b/lib/plaid/models/transfer_repayment.rb index 04f15e25d..3bee35a6f 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_repayment_list_request.rb b/lib/plaid/models/transfer_repayment_list_request.rb index 76ea9e348..2e662c416 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_repayment_list_response.rb b/lib/plaid/models/transfer_repayment_list_response.rb index 01a5a3c25..cb38fcfa5 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_repayment_return.rb b/lib/plaid/models/transfer_repayment_return.rb index 290ea8d35..37b67e9a9 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_repayment_return_list_request.rb b/lib/plaid/models/transfer_repayment_return_list_request.rb index 0dbd89d69..7e0161d6e 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_repayment_return_list_response.rb b/lib/plaid/models/transfer_repayment_return_list_response.rb index 890322d0f..d1799b206 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_status.rb b/lib/plaid/models/transfer_status.rb index 246227fd9..e044f75c9 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -19,7 +19,6 @@ class TransferStatus POSTED = "posted".freeze CANCELLED = "cancelled".freeze FAILED = "failed".freeze - REVERSED = "reversed".freeze RETURNED = "returned".freeze # Builds the enum from string diff --git a/lib/plaid/models/transfer_sweep.rb b/lib/plaid/models/transfer_sweep.rb index ace826265..f0e008778 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_sweep_get_request.rb b/lib/plaid/models/transfer_sweep_get_request.rb index c5e5f18f0..40a6150f4 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_sweep_get_response.rb b/lib/plaid/models/transfer_sweep_get_response.rb index a8ba9dd1d..9981ae332 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_sweep_list_request.rb b/lib/plaid/models/transfer_sweep_list_request.rb index d26989743..9e4d4119c 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_sweep_list_response.rb b/lib/plaid/models/transfer_sweep_list_response.rb index ac70ee1a4..934ca4b26 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_sweep_status.rb b/lib/plaid/models/transfer_sweep_status.rb index 4fadb0e91..fb00fc661 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_type.rb b/lib/plaid/models/transfer_type.rb index 59770ae4e..5d752866f 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_user_address_in_request.rb b/lib/plaid/models/transfer_user_address_in_request.rb index 91d66f8f7..b9b811cde 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -14,7 +14,7 @@ require 'time' module Plaid - # The address associated with the account holder. + # The address associated with the account holder. Providing this data will improve the likelihood that Plaid will be able to guarantee the transfer, if applicable. class TransferUserAddressInRequest # The street number and name (i.e., \"100 Market St.\"). attr_accessor :street diff --git a/lib/plaid/models/transfer_user_address_in_response.rb b/lib/plaid/models/transfer_user_address_in_response.rb index 671fce1a3..6410b555b 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_user_in_request.rb b/lib/plaid/models/transfer_user_in_request.rb index b59a15a59..4fadfc082 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/transfer_user_in_response.rb b/lib/plaid/models/transfer_user_in_response.rb index bf5ce7392..59274b728 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/update_entity_screening_request.rb b/lib/plaid/models/update_entity_screening_request.rb index 9e59c09b9..c0da434c8 100644 --- a/lib/plaid/models/update_entity_screening_request.rb +++ b/lib/plaid/models/update_entity_screening_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/update_entity_screening_request_resettable_field.rb b/lib/plaid/models/update_entity_screening_request_resettable_field.rb index e8e4ef582..2cb00fa10 100644 --- a/lib/plaid/models/update_entity_screening_request_resettable_field.rb +++ b/lib/plaid/models/update_entity_screening_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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/update_entity_screening_request_search_terms.rb b/lib/plaid/models/update_entity_screening_request_search_terms.rb index c2a3d8e7d..20c5f9366 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/update_individual_screening_request.rb b/lib/plaid/models/update_individual_screening_request.rb index 8f7fa1ecb..804286d56 100644 --- a/lib/plaid/models/update_individual_screening_request.rb +++ b/lib/plaid/models/update_individual_screening_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/update_individual_screening_request_resettable_field.rb b/lib/plaid/models/update_individual_screening_request_resettable_field.rb index 0818f4bc7..15c39395b 100644 --- a/lib/plaid/models/update_individual_screening_request_resettable_field.rb +++ b/lib/plaid/models/update_individual_screening_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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/update_individual_screening_request_search_terms.rb b/lib/plaid/models/update_individual_screening_request_search_terms.rb index 46963a5cc..b2aad491c 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/user_address.rb b/lib/plaid/models/user_address.rb index 1acce1c8d..0ac8889a4 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -14,7 +14,7 @@ require 'time' module Plaid - # Home address for user supplied to `/identity_verification/create` + # Home address for the user. class UserAddress # The primary street portion of an address. If the user has submitted their address, this field will always be filled. attr_accessor :street diff --git a/lib/plaid/models/user_create_request.rb b/lib/plaid/models/user_create_request.rb index 1f5ed4c6f..2e68359e0 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/user_create_response.rb b/lib/plaid/models/user_create_response.rb index 926f88479..53a6a6bff 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/user_custom_password.rb b/lib/plaid/models/user_custom_password.rb index 636b7df7d..c18f4ad8d 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/user_id_number.rb b/lib/plaid/models/user_id_number.rb index a4fafb331..a8dbb64fc 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/user_name.rb b/lib/plaid/models/user_name.rb index c2329a949..d3bb7e62e 100644 --- a/lib/plaid/models/user_name.rb +++ b/lib/plaid/models/user_name.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/user_permission_revoked_webhook.rb b/lib/plaid/models/user_permission_revoked_webhook.rb index e5bef4e2f..1690ec818 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -14,7 +14,7 @@ require 'time' module Plaid - # The `USER_PERMISSION_REVOKED` webhook is fired to when an end user has used the [my.plaid.com portal](https://my.plaid.com) to revoke the permission that they previously granted to access an Item. 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. + # The `USER_PERMISSION_REVOKED` webhook is fired when an end user has used either the [my.plaid.com portal](https://my.plaid.com) or the financial institution’s consent portal to revoke the permission that they previously granted to access an Item. 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. class UserPermissionRevokedWebhook # `ITEM` attr_accessor :webhook_type @@ -55,6 +55,7 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'error' ]) end diff --git a/lib/plaid/models/user_stated_income_source_category.rb b/lib/plaid/models/user_stated_income_source_category.rb index f31bb83d9..5d7d2e45b 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/user_stated_income_source_frequency.rb b/lib/plaid/models/user_stated_income_source_frequency.rb index 52c9d503c..d8ab01af4 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/user_stated_income_source_pay_type.rb b/lib/plaid/models/user_stated_income_source_pay_type.rb index 701698ab7..8182daaa8 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/verification_attribute.rb b/lib/plaid/models/verification_attribute.rb index 1cab11b56..08711667a 100644 --- a/lib/plaid/models/verification_attribute.rb +++ b/lib/plaid/models/verification_attribute.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/verification_expired_webhook.rb b/lib/plaid/models/verification_expired_webhook.rb index b0448532a..d52ef2a42 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/verification_refresh_status.rb b/lib/plaid/models/verification_refresh_status.rb index 6b893c8ce..4bcc9599a 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/verification_status.rb b/lib/plaid/models/verification_status.rb index 3e95597f7..d9e19f919 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/w2.rb b/lib/plaid/models/w2.rb index a02584c49..e767b14f5 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/w2_box12.rb b/lib/plaid/models/w2_box12.rb index 1a8e0757b..80dd14cf4 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/w2_state_and_local_wages.rb b/lib/plaid/models/w2_state_and_local_wages.rb index 76ac441f6..c44b1948f 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/wallet.rb b/lib/plaid/models/wallet.rb index 75c7e2eed..05a0a2b6d 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/wallet_balance.rb b/lib/plaid/models/wallet_balance.rb index 0cc8aa741..e7198701f 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/wallet_create_request.rb b/lib/plaid/models/wallet_create_request.rb index c615ece55..8ca643592 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/wallet_create_response.rb b/lib/plaid/models/wallet_create_response.rb index 1777ddd9d..357ac9b49 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/wallet_get_request.rb b/lib/plaid/models/wallet_get_request.rb index 4332062f7..e2eabf5ed 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/wallet_get_response.rb b/lib/plaid/models/wallet_get_response.rb index 111e56c30..2df339b19 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/wallet_iso_currency_code.rb b/lib/plaid/models/wallet_iso_currency_code.rb index adea96b6d..50e7e6262 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/wallet_list_request.rb b/lib/plaid/models/wallet_list_request.rb index b95e40883..f70285d0c 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/wallet_list_response.rb b/lib/plaid/models/wallet_list_response.rb index 2afcbc539..5d765744f 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/wallet_numbers.rb b/lib/plaid/models/wallet_numbers.rb index ab428778f..5b41b09ec 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/wallet_transaction.rb b/lib/plaid/models/wallet_transaction.rb index 693ed667f..3c0615527 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/wallet_transaction_amount.rb b/lib/plaid/models/wallet_transaction_amount.rb index ccad8d9a5..1a56cdb06 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/wallet_transaction_counterparty.rb b/lib/plaid/models/wallet_transaction_counterparty.rb index c1e72f00d..d33a3da82 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/wallet_transaction_counterparty_bacs.rb b/lib/plaid/models/wallet_transaction_counterparty_bacs.rb index 4963e6a75..abc3e8e55 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/wallet_transaction_counterparty_international.rb b/lib/plaid/models/wallet_transaction_counterparty_international.rb index e758b3298..250d8a2a2 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/wallet_transaction_counterparty_numbers.rb b/lib/plaid/models/wallet_transaction_counterparty_numbers.rb index dedcea2a7..2a2440c95 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/wallet_transaction_execute_request.rb b/lib/plaid/models/wallet_transaction_execute_request.rb index e22d2fd79..c983f7091 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/wallet_transaction_execute_response.rb b/lib/plaid/models/wallet_transaction_execute_response.rb index dfd80d62b..96ae58d44 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/wallet_transaction_get_request.rb b/lib/plaid/models/wallet_transaction_get_request.rb index 2e3a7e653..34837e970 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/wallet_transaction_get_response.rb b/lib/plaid/models/wallet_transaction_get_response.rb index c918ecd6a..5fd1fc2a6 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/wallet_transaction_status.rb b/lib/plaid/models/wallet_transaction_status.rb index 40159d808..5bbb5dde6 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/wallet_transactions_list_request.rb b/lib/plaid/models/wallet_transactions_list_request.rb index c417cef57..6c2d7793e 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/wallet_transactions_list_response.rb b/lib/plaid/models/wallet_transactions_list_response.rb index fd77cee09..5e564e8e5 100644 --- a/lib/plaid/models/wallet_transactions_list_response.rb +++ b/lib/plaid/models/wallet_transactions_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/warning.rb b/lib/plaid/models/warning.rb index bc65a9e3f..962571aef 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_audit_trail.rb b/lib/plaid/models/watchlist_screening_audit_trail.rb index 576aad68a..f5663922f 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_create_request.rb b/lib/plaid/models/watchlist_screening_create_request.rb index ecaddb73d..1da343a7d 100644 --- a/lib/plaid/models/watchlist_screening_create_request.rb +++ b/lib/plaid/models/watchlist_screening_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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_document.rb b/lib/plaid/models/watchlist_screening_document.rb index d7ed3533f..6d55b7b68 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_document_type.rb b/lib/plaid/models/watchlist_screening_document_type.rb index f94e4dc59..c75ca22ef 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_hit.rb b/lib/plaid/models/watchlist_screening_hit.rb index c9257c3d7..af997b1fe 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_hit_locations.rb b/lib/plaid/models/watchlist_screening_hit_locations.rb index f986d624a..605f7c177 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_hit_status.rb b/lib/plaid/models/watchlist_screening_hit_status.rb index e0213f45c..46df116ca 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_individual.rb b/lib/plaid/models/watchlist_screening_individual.rb index 4ef9905a1..414641790 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_individual_response.rb b/lib/plaid/models/watchlist_screening_individual_response.rb index 6abfc1d3d..c38a29b6b 100644 --- a/lib/plaid/models/watchlist_screening_individual_response.rb +++ b/lib/plaid/models/watchlist_screening_individual_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_request_search_terms.rb b/lib/plaid/models/watchlist_screening_request_search_terms.rb index 0ceab3741..14fb3af08 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_review.rb b/lib/plaid/models/watchlist_screening_review.rb index 8a8cfda8c..6d837083f 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_review_response.rb b/lib/plaid/models/watchlist_screening_review_response.rb index f3ab99572..07e6b54e1 100644 --- a/lib/plaid/models/watchlist_screening_review_response.rb +++ b/lib/plaid/models/watchlist_screening_review_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_search_terms.rb b/lib/plaid/models/watchlist_screening_search_terms.rb index 6261e210e..c11edbddf 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/watchlist_screening_status.rb b/lib/plaid/models/watchlist_screening_status.rb index 9e3c27f0d..82f8cb9b0 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/weak_alias_determination.rb b/lib/plaid/models/weak_alias_determination.rb index 92b4a47fe..205303f3a 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/webhook_type.rb b/lib/plaid/models/webhook_type.rb index 022b31579..953880bee 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/webhook_update_acknowledged_webhook.rb b/lib/plaid/models/webhook_update_acknowledged_webhook.rb index 08c9a8c65..155a0f3b4 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -60,6 +60,7 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'error' ]) end diff --git a/lib/plaid/models/webhook_verification_key_get_request.rb b/lib/plaid/models/webhook_verification_key_get_request.rb index 70b6f1118..af247bac3 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/webhook_verification_key_get_response.rb b/lib/plaid/models/webhook_verification_key_get_response.rb index 836a8fd3c..535fe2fc4 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/ytd_gross_income_summary_field_number.rb b/lib/plaid/models/ytd_gross_income_summary_field_number.rb index 96e427dd4..230968ad8 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/models/ytd_net_income_summary_field_number.rb b/lib/plaid/models/ytd_net_income_summary_field_number.rb index 63c338ec7..95509f043 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 diff --git a/lib/plaid/version.rb b/lib/plaid/version.rb index 5cb715f08..8bfe700db 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1 @@ -11,5 +11,5 @@ =end module Plaid - VERSION = '15.10.0' + VERSION = '15.11.0' end diff --git a/plaid.gemspec b/plaid.gemspec index 17a20b068..5c3e0679d 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.146.0 +The version of the OpenAPI document: 2020-09-14_1.161.5 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.1.1